Commit 7162f36c authored by kpcyrd's avatar kpcyrd Committed by Natanael Copa
Browse files
parent c0bc08e1
......@@ -167,6 +167,12 @@ initfs_cpio() {
return
fi
rm -f $outfile
if [ -n "$SOURCE_DATE_EPOCH" ]; then
# normalize timestamps
find "$tmpdir" -exec touch -h -d "@$SOURCE_DATE_EPOCH" {} +
fi
umask 0077
(cd "$tmpdir" && find . | sort | cpio --quiet -o -H newc | $comp) > $outfile
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment