Skip to content

Commit

Permalink
Use gzip 9 level to compress initrd
Browse files Browse the repository at this point in the history
  • Loading branch information
niusmallnan committed Apr 12, 2019
1 parent 28bcc84 commit ec973f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package-initrd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ cp ${ARTIFACTS}/firmware${SUFFIX}.squashfs ${INITRD_DIR}/firmware.squashfs

pushd ${INITRD_DIR}
echo Creating ${ARTIFACTS}/${INITRD}
find | cpio -H newc -o | gzip > ${ARTIFACTS}/${INITRD}
find | cpio -H newc -o | gzip -9 > ${ARTIFACTS}/${INITRD}
echo Done creating ${ARTIFACTS}/${INITRD}
popd

0 comments on commit ec973f8

Please sign in to comment.