Lines 347-358
Link Here
|
347 |
compile_lvm |
347 |
compile_lvm |
348 |
/bin/tar -jxpf "${LVM_BINCACHE}" -C "${TEMP}/initramfs-lvm-temp" || |
348 |
/bin/tar -jxpf "${LVM_BINCACHE}" -C "${TEMP}/initramfs-lvm-temp" || |
349 |
gen_die "Could not extract lvm binary cache!"; |
349 |
gen_die "Could not extract lvm binary cache!"; |
350 |
mv ${TEMP}/initramfs-lvm-temp/sbin/lvm.static ${TEMP}/initramfs-lvm-temp/bin/lvm || |
|
|
351 |
gen_die 'LVM error: Could not move lvm.static to lvm!' |
352 |
# See bug 382555 |
350 |
# See bug 382555 |
353 |
mv ${TEMP}/initramfs-lvm-temp/sbin/dmsetup.static ${TEMP}/initramfs-lvm-temp/bin/dmsetup || |
351 |
mv ${TEMP}/initramfs-lvm-temp/sbin/dmsetup.static ${TEMP}/initramfs-lvm-temp/bin/dmsetup || |
354 |
gen_die 'LVM error: Could not move dmsetup.static to dmsetup!' |
352 |
gen_die 'LVM error: Could not move dmsetup.static to dmsetup!' |
355 |
rm -rf ${TEMP}/initramfs-lvm-temp/{lib,share,man,include,sbin/{lvm,dmsetup}} |
353 |
rm -rf ${TEMP}/initramfs-lvm-temp/{lib,share,man,include,sbin/{lvm,dmsetup}} |
|
|
354 |
mv ${TEMP}/initramfs-lvm-temp/sbin/lvm{.static,} || |
355 |
gen_die 'LVM error: Could not move lvm.static to lvm!' |
356 |
fi |
356 |
fi |
357 |
if [ -x /sbin/lvm -o -x /bin/lvm ] |
357 |
if [ -x /sbin/lvm -o -x /bin/lvm ] |
358 |
then |
358 |
then |