From a9e23668fc235f235647eb8f6ff570d8b91668b9 Mon Sep 17 00:00:00 2001 From: jonas Date: Wed, 2 Aug 2006 22:21:03 +0000 Subject: Fix check for old initrd-tools. git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/homebase@30 8f53b18a-e215-0410-8885-9f593d34873e --- 1_makerootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3