|
|
@ -93,7 +93,7 @@ create_base_initrd_sys() {
|
|
|
|
# gen_die "could not uncompress devfsd.conf"
|
|
|
|
# gen_die "could not uncompress devfsd.conf"
|
|
|
|
|
|
|
|
|
|
|
|
# LVM2
|
|
|
|
# LVM2
|
|
|
|
if [ "${CMD_LVM2}" -eq '1' ]
|
|
|
|
if [ "${LVM2}" -eq '1' ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
if [ -e '/sbin/lvm' ] && ldd /sbin/lvm|grep -q 'not a dynamic executable';
|
|
|
|
if [ -e '/sbin/lvm' ] && ldd /sbin/lvm|grep -q 'not a dynamic executable';
|
|
|
|
then
|
|
|
|
then
|
|
|
@ -130,7 +130,7 @@ create_base_initrd_sys() {
|
|
|
|
# EVMS2
|
|
|
|
# EVMS2
|
|
|
|
if [ -e '/sbin/evms_activate' ]
|
|
|
|
if [ -e '/sbin/evms_activate' ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
if [ "${CMD_NOEVMS2}" -ne '1' ]
|
|
|
|
if [ "${CMD_NOEVMS2}" != '1' ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
print_info 1 'EVMS2: Adding support...'
|
|
|
|
print_info 1 'EVMS2: Adding support...'
|
|
|
|
mkdir -p ${TEMP}/initrd-temp/lib
|
|
|
|
mkdir -p ${TEMP}/initrd-temp/lib
|
|
|
|