Lines 200-206
Link Here
|
200 |
cd ${TEMP} |
200 |
cd ${TEMP} |
201 |
mkdir -p "${TEMP}/initramfs-lvm-temp/bin/" |
201 |
mkdir -p "${TEMP}/initramfs-lvm-temp/bin/" |
202 |
mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/" |
202 |
mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/" |
203 |
if [ -e '/sbin/lvm' ] && LC_ALL="C" ldd /sbin/lvm|grep -q 'not a dynamic executable' |
203 |
if [ -e '/sbin/lvm.static' ] |
|
|
204 |
then |
205 |
print_info 1 ' LVM: Adding support (using local static binaries)...' |
206 |
cp /sbin/lvm.static "${TEMP}/initramfs-lvm-temp/bin/lvm" || |
207 |
gen_die 'Could not copy over lvm!' |
208 |
elif [ -e '/sbin/lvm' ] && LC_ALL="C" ldd /sbin/lvm|grep -q 'not a dynamic executable' |
204 |
then |
209 |
then |
205 |
print_info 1 ' LVM: Adding support (using local static binaries)...' |
210 |
print_info 1 ' LVM: Adding support (using local static binaries)...' |
206 |
cp /sbin/lvm "${TEMP}/initramfs-lvm-temp/bin/lvm" || |
211 |
cp /sbin/lvm "${TEMP}/initramfs-lvm-temp/bin/lvm" || |