From: Tomasz Maciej Nowak Date: Tue, 20 Nov 2018 16:20:39 +0000 (+0100) Subject: include/rootfs.mk: remove boot directory X-Git-Tag: v19.07.0-rc1~2133 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=31075313bf69fff3803b7c1da1e0ed7e5773d999;p=openwrt%2Fstaging%2Fhauke.git include/rootfs.mk: remove boot directory 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 remove /boot, which in result will also save space on target root file system. Signed-off-by: Tomasz Maciej Nowak --- diff --git a/include/rootfs.mk b/include/rootfs.mk index 76425c017a..dc8621dbae 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 + rm -rf $(1)/boot $(call clean_ipkg,$(1)) $(call mklibs,$(1)) endef