mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
installer: Change format of initrd from squashfs to cpio.
This commit is contained in:
@@ -89,8 +89,11 @@ $(TARGET) :
|
||||
|
||||
# Remove binary depmod files
|
||||
rm -rf /install/initrd/lib/modules/$(KVER)-ipfire/modules.*.bin
|
||||
|
||||
mksquashfs /install/initrd /install/images/initrd
|
||||
|
||||
cd /install/initrd && strip --strip-all {,usr/}{,s}bin/* || true
|
||||
cd /install/initrd && strip --strip-debug {,usr/}lib/* || true
|
||||
|
||||
cd /install/initrd && find . | cpio -o -H newc | lzma -9 > /install/images/initrd
|
||||
cd /install/initrd && find ./ -ls > $(DIR_INFO)/_build.initrd.log
|
||||
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user