cd "${TEMP}/initramfs-base-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -rf "${TEMP}/initramfs-base-temp" > /dev/null
}
cd "${TEMP}/initramfs-busybox-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -rf "${TEMP}/initramfs-busybox-temp" > /dev/null
}
chmod a+x "${TEMP}/initramfs-blkid-temp/bin/blkid"
cd "${TEMP}/initramfs-blkid-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -rf "${TEMP}/initramfs-blkid-temp" > /dev/null
}
chmod a+x "${TEMP}/initramfs-unionfs-fuse-temp/sbin/unionfs"
cd "${TEMP}/initramfs-unionfs-fuse-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -rf "${TEMP}/initramfs-unionfs-fuse-temp" > /dev/null
}
fi
cd "${TEMP}/initramfs-multipath-temp"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -r "${TEMP}/initramfs-multipath-temp/"
}
cd "${TEMP}/initramfs-dmraid-temp/"
fi
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -r "${TEMP}/initramfs-dmraid-temp/"
}
chmod a+x "${TEMP}/initramfs-iscsi-temp/bin/iscsistart"
cd "${TEMP}/initramfs-iscsi-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -rf "${TEMP}/initramfs-iscsi-temp" > /dev/null
}
fi
cd "${TEMP}/initramfs-lvm-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -r "${TEMP}/initramfs-lvm-temp/"
}
fi
cd "${TEMP}/initramfs-evms-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -r "${TEMP}/initramfs-evms-temp/"
}
fi
cd "${TEMP}/initramfs-mdadm-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
+ cd "${TEMP}"
rm -rf "${TEMP}/initramfs-mdadm-temp" > /dev/null
}
cd "${TEMP}/initramfs-splash-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|| gen_die "compressing splash cpio"
+ cd "${TEMP}"
rm -r "${TEMP}/initramfs-splash-temp/"
else
print_warning 1 ' >> No splash detected; skipping!'
fi
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|| gen_die "appending firmware to cpio"
+ cd "${TEMP}"
rm -r "${TEMP}/initramfs-firmware-temp/"
}