diff options
author | Karel Kočí <cynerd@email.cz> | 2018-04-04 20:38:00 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-04-04 20:38:00 +0200 |
commit | ecf47372506058c3d219481ce041df432ae757ff (patch) | |
tree | e466d3e36ede07cca4b57df3695a4204054098d5 /sys-boot/myinitramfs/files/gen.sh | |
parent | 8b655e710965f8226f299d596870242791f6df8a (diff) | |
download | gentoo-personal-overlay-ecf47372506058c3d219481ce041df432ae757ff.tar.gz gentoo-personal-overlay-ecf47372506058c3d219481ce041df432ae757ff.tar.bz2 gentoo-personal-overlay-ecf47372506058c3d219481ce041df432ae757ff.zip |
myinitramfs: add support for rootuuid option
And drop no encryption initramfs. There is no need for it.
Diffstat (limited to 'sys-boot/myinitramfs/files/gen.sh')
-rwxr-xr-x | sys-boot/myinitramfs/files/gen.sh | 13 |
1 files changed, 1 insertions, 12 deletions
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 |