mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
fixup: Use 'gzip' to compress method for 'initramfs'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I6dfc1bda3cf312f325801b3b84bcf000298e3325
This commit is contained in:
12
fixups/S90-initramfs
Executable file
12
fixups/S90-initramfs
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
CONF=/etc/initramfs-tools/initramfs.conf
|
||||
|
||||
if [ -f $CONF ]; then
|
||||
. $CONF
|
||||
|
||||
if [ "$COMPRESS" != "gzip" ]; then
|
||||
sed -i "s/COMPRESS=.*/COMPRESS=gzip/g" $CONF
|
||||
/usr/sbin/update-initramfs -u
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user