diff --git a/src/6_pack_rootfs.sh b/src/6_pack_rootfs.sh index f9e16e523..f7e1f08ad 100755 --- a/src/6_pack_rootfs.sh +++ b/src/6_pack_rootfs.sh @@ -7,6 +7,13 @@ rm -f rootfs.cpio.gz cd rootfs +# Suggested update by John Jolly. +# +# find . | cpio -R root:root -H newc -o | gzip > ../rootfs.cpio.gz +# +# This produces a root fs with files and directories all owned by user 0, group 0. +# Note: test this change as soon as possible! +# # Packs the current folder structure in "cpio.gz" archive. find . | cpio -H newc -o | gzip > ../rootfs.cpio.gz