git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@154
67a159dc-881f-0410-a524-
ba9dfbe2cb84
UDEV=0
DEVFS=1
fi
+
+ if isTrue "${CMD_LVM2}"
+ then
+ LVM2=1
+ else
+ LVM2=0
+ fi
}
# gen_die "could not uncompress devfsd.conf"
# LVM2
- if [ "${CMD_LVM2}" -eq '1' ]
+ if [ "${LVM2}" -eq '1' ]
then
if [ -e '/sbin/lvm' ] && ldd /sbin/lvm|grep -q 'not a dynamic executable';
then
# EVMS2
if [ -e '/sbin/evms_activate' ]
then
- if [ "${CMD_NOEVMS2}" -ne '1' ]
+ if [ "${CMD_NOEVMS2}" != '1' ]
then
print_info 1 'EVMS2: Adding support...'
mkdir -p ${TEMP}/initrd-temp/lib