mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
Bzip2 compression in Linux initramfs/kernel
There isn't really any reason to use gzip instead of bzip2 for the Linux initramfs/kernel, since we have it! Saves a few MB (~13MB as far as I can tell)
This commit is contained in:
parent
c30ace4d4c
commit
7937797ea5
3 changed files with 4 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ if [ "${KERNEL_BOOTSTRAP}" = True ]; then
|
|||
find / -xdev -type d -printf "dir %p %m %U %G\n" >> /initramfs.list
|
||||
find / -xdev -type f -printf "file %p %p %m %U %G\n" >> /initramfs.list
|
||||
find / -xdev -type l -printf "slink %p %l %m %U %G\n" >> /initramfs.list
|
||||
kexec-linux "/dev/ram1" "/boot/vmlinuz" "!gen_init_cpio /initramfs.list | gzip -c"
|
||||
kexec-linux "/dev/ram1" "/boot/vmlinuz" "!gen_init_cpio /initramfs.list | bzip2 -c"
|
||||
else
|
||||
mkdir /etc
|
||||
# kexec time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue