diff options
author | Tomasz Maciej Nowak <tomek_n@o2.pl> | 2018-11-20 17:20:39 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-11-26 12:05:44 +0100 |
commit | 31075313bf69fff3803b7c1da1e0ed7e5773d999 (patch) | |
tree | 04c3a6a337e97924e2b33e1eaba5e9c1753fc1a5 | |
parent | d42a7c4699098507b459fe3ed323d829901eee9e (diff) | |
download | upstream-31075313bf69fff3803b7c1da1e0ed7e5773d999.tar.gz upstream-31075313bf69fff3803b7c1da1e0ed7e5773d999.tar.bz2 upstream-31075313bf69fff3803b7c1da1e0ed7e5773d999.zip |
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 <tomek_n@o2.pl>
-rw-r--r-- | include/rootfs.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 |