From 8a77def484984a0dee0824265e158c4852960a3e Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Thu, 29 Jul 2004 20:38:35 +0000 Subject: [PATCH] '-ne' >> '!=' for LVM2 static support to work properly; bug #58816. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@122 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- gen_initrd.sh | 2 +- genkernel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_initrd.sh b/gen_initrd.sh index 75b88fd..78a4687 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -93,7 +93,7 @@ create_base_initrd_sys() { # LVM2 if [ -e '/sbin/vgscan.static' -a -e '/sbin/vgchange.static' ] then - if [ "${CMD_NOLVM2}" -ne '1' ] + if [ "${CMD_NOLVM2}" != '1' ] then cp /sbin/vgscan.static "${TEMP}/initrd-temp/bin/vgscan" || gen_die 'Could not copy over vgscan!' diff --git a/genkernel b/genkernel index 65fa1e7..d554576 100755 --- a/genkernel +++ b/genkernel @@ -215,7 +215,7 @@ then fi compile_devfsd - compile_udev + [ "${CMD_UDEV}" ] && compile_udev # Create initrd create_initrd -- 2.26.2