'-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
cleanup-cruft
Tim Yamin 21 years ago
parent 3329e69c09
commit 8a77def484

@ -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!'

@ -215,7 +215,7 @@ then
fi
compile_devfsd
compile_udev
[ "${CMD_UDEV}" ] && compile_udev
# Create initrd
create_initrd

Loading…
Cancel
Save