Lines 100-108
Link Here
|
100 |
print_info 1 'LVM2: Adding support (using local static binaries)...' |
100 |
print_info 1 'LVM2: Adding support (using local static binaries)...' |
101 |
cp /sbin/lvm "${TEMP}/initrd-temp/bin/lvm" || |
101 |
cp /sbin/lvm "${TEMP}/initrd-temp/bin/lvm" || |
102 |
gen_die 'Could not copy over lvm!' |
102 |
gen_die 'Could not copy over lvm!' |
103 |
ln -sf "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgscan" || |
103 |
ln "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgscan" || |
104 |
gen_die 'Could not symlink lvm -> vgscan!' |
104 |
gen_die 'Could not symlink lvm -> vgscan!' |
105 |
ln -sf "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgchange" || |
105 |
ln "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgchange" || |
106 |
gen_die 'Could not symlink lvm -> vgchange!' |
106 |
gen_die 'Could not symlink lvm -> vgchange!' |
107 |
else |
107 |
else |
108 |
print_info 1 'LVM2: Adding support (compiling binaries)...' |
108 |
print_info 1 'LVM2: Adding support (compiling binaries)...' |