diff options
-rwxr-xr-x | 1_makerootfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/1_makerootfs.sh b/1_makerootfs.sh index 82291b4..eb2d365 100755 --- a/1_makerootfs.sh +++ b/1_makerootfs.sh @@ -106,7 +106,7 @@ cp -af tweaks/usr/local/sbin/policy-rc.d "$targettemp/usr/local/sbin/" # Prepare kernel installation # TODO: support yaird and mkramfs too # FIXME: deal with initrd generated while on host -if [ -n "$RAMDISKTOOL" = "initrd-tools" ]; then +if [ "$RAMDISKTOOL" = "initrd-tools" ]; then preserveolderfile "$targettemp/etc/mkinitrd/mkinitrd.conf" orig perl -pi -e "s¡^ROOT=.*¡ROOT=$rootdev_target¡" "$targettemp/etc/mkinitrd/mkinitrd.conf" perl -pi -e "s¡^MODULES=.*¡MODULES=dep¡" "$targettemp/etc/mkinitrd/mkinitrd.conf" |