|
|
@ -75,10 +75,10 @@ append_blkid(){
|
|
|
|
rm -r "${TEMP}/initramfs-blkid-temp/"
|
|
|
|
rm -r "${TEMP}/initramfs-blkid-temp/"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
cd ${TEMP}
|
|
|
|
cd ${TEMP}
|
|
|
|
mkdir -p "${TEMP}/initramfs-blkid-temp/bin/"
|
|
|
|
mkdir -p "${TEMP}/initramfs-blkid-temp/sbin/"
|
|
|
|
[ "${DISKLABEL}" = '1' ] && { /bin/bzip2 -dc "${BLKID_BINCACHE}" > "${TEMP}/initramfs-blkid-temp/bin/blkid" ||
|
|
|
|
[ "${DISKLABEL}" = '1' ] && { /bin/bzip2 -dc "${BLKID_BINCACHE}" > "${TEMP}/initramfs-blkid-temp/sbin/blkid" ||
|
|
|
|
gen_die "Could not extract blkid binary cache!"; }
|
|
|
|
gen_die "Could not extract blkid binary cache!"; }
|
|
|
|
chmod a+x "${TEMP}/initramfs-blkid-temp/bin/blkid"
|
|
|
|
chmod a+x "${TEMP}/initramfs-blkid-temp/sbin/blkid"
|
|
|
|
cd "${TEMP}/initramfs-blkid-temp/"
|
|
|
|
cd "${TEMP}/initramfs-blkid-temp/"
|
|
|
|
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|
|
|
|
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
|
|
|
|
|| gen_die "compressing blkid cpio"
|
|
|
|
|| gen_die "compressing blkid cpio"
|
|
|
|