diff --git a/docs/buildroot.html b/docs/buildroot.html index e97d6011f7..b49208c273 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -37,6 +37,7 @@
When using BR2 in an environment where own software binaries or
+ static data should be part of the generated rootfs package, the
+ BR2_ROOTFS_POST_BUILD_SCRIPT
feature might interest
+ you. You can specify a command here which is called after BR2
+ built all the selected software, but before the the rootfs
+ packages are assembled. The destination rootfs folder is given as
+ first argument. You can add own components here, change
+ default configurations and remove unwanted files.
You should, however, use that feature with care. Whenever you + find that a certain package generates wrong or unneeded files, you + should rather fix than package than working around it with a + cleanup script.
+