From ecf47372506058c3d219481ce041df432ae757ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 4 Apr 2018 20:38:00 +0200 Subject: myinitramfs: add support for rootuuid option And drop no encryption initramfs. There is no need for it. --- sys-boot/myinitramfs/files/gen.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sys-boot/myinitramfs/files/gen.sh') diff --git a/sys-boot/myinitramfs/files/gen.sh b/sys-boot/myinitramfs/files/gen.sh index 3341d93..b633731 100755 --- a/sys-boot/myinitramfs/files/gen.sh +++ b/sys-boot/myinitramfs/files/gen.sh @@ -6,23 +6,12 @@ shift cd "$(dirname "$(readlink -f "$0")")" -INIT="./init.plain" - -while [ $# -gt 0 ]; do - case "$1" in - encrypted) - INIT="./init.enc" - ;; - esac - shift -done - LIST="$(mktemp)" # Base list cp baselist "$LIST" # Init script -echo "file /init $INIT 755 0 0" >> "$LIST" +echo "file /init ./init.enc 755 0 0" >> "$LIST" echo >> "$LIST" # Executables while read EXE; do -- cgit v1.2.3