mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
sstate/lib.oe.path: Ensure file sparseness is preserved
Files when restored from sstate were missing their sparseness. Fix up various functions to preserve this and make things more deterministic. (From OE-Core rev: 055402e5504f041c346571e243c7cf0894955cad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -721,9 +721,9 @@ sstate_create_package () {
|
||||
TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX`
|
||||
|
||||
# Use pigz if available
|
||||
OPT="-cz"
|
||||
OPT="-czS"
|
||||
if [ -x "$(command -v pigz)" ]; then
|
||||
OPT="-I pigz -c"
|
||||
OPT="-I pigz -cS"
|
||||
fi
|
||||
|
||||
# Need to handle empty directories
|
||||
|
||||
Reference in New Issue
Block a user