|
|
@ -273,7 +273,7 @@ append_iscsi(){
|
|
|
|
append_lvm(){
|
|
|
|
append_lvm(){
|
|
|
|
if [ -d "${TEMP}/initramfs-lvm-temp" ]
|
|
|
|
if [ -d "${TEMP}/initramfs-lvm-temp" ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
rm -r "${TEMP}/initramfs-lvm-temp/"
|
|
|
|
rm -rf "${TEMP}/initramfs-lvm-temp/"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
cd ${TEMP}
|
|
|
|
cd ${TEMP}
|
|
|
|
mkdir -p "${TEMP}/initramfs-lvm-temp"/{bin,sbin}
|
|
|
|
mkdir -p "${TEMP}/initramfs-lvm-temp"/{bin,sbin}
|
|
|
@ -305,7 +305,7 @@ append_lvm(){
|
|
|
|
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|
|
|
|
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|
|
|
|
|| gen_die "compressing lvm cpio"
|
|
|
|
|| gen_die "compressing lvm cpio"
|
|
|
|
cd "${TEMP}"
|
|
|
|
cd "${TEMP}"
|
|
|
|
rm -r "${TEMP}/initramfs-lvm-temp/"
|
|
|
|
rm -rf "${TEMP}/initramfs-lvm-temp/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
append_mdadm(){
|
|
|
|
append_mdadm(){
|
|
|
|