Added crc32 check and x86 BCJ (see #239)

This commit is contained in:
John Davidson 2021-07-23 22:52:23 +03:00 committed by GitHub
parent 4393977a3c
commit c381971d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ rm -f $WORK_DIR/rootfs.cpio.xz
cd $ROOTFS
# Packs the current 'initramfs' folder structure in 'cpio.xz' archive.
find . | cpio -R root:root -H newc -o | xz -9 --check=none > $WORK_DIR/rootfs.cpio.xz
find . | cpio -R root:root -H newc -o | xz -9 --check=crc32 --x86 > $WORK_DIR/rootfs.cpio.xz
echo "Packing of initramfs has finished."