Currently every file in /boot directory is copied over target /boot on root file system and is usually inaccessible because appropriate boot file system is mounted on top of it. Therefore move /boot with contents to staging directory for later processing, which in result will also save space on target root file system.
Signed-off-by: Tomasz Maciej Nowak <tome...@o2.pl> --- include/rootfs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rootfs.mk b/include/rootfs.mk index 76425c017a..2530fd8d07 100644 --- a/include/rootfs.mk +++ b/include/rootfs.mk @@ -90,6 +90,7 @@ define prepare_rootfs rm -f $(1)/usr/lib/opkg/lists/* rm -f $(1)/usr/lib/opkg/info/*.postinst* rm -f $(1)/var/lock/*.lock + -mv -f $(1)/boot $(STAGING_DIR)/ $(call clean_ipkg,$(1)) $(call mklibs,$(1)) endef -- 2.17.0 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev