remove attributes not supported by WSL's tar

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
This commit is contained in:
Jean-Baptiste Lallement 2022-03-24 14:02:40 +01:00
parent c4cb3570a5
commit 28c360c0ab

View File

@ -12,6 +12,10 @@ case $ARCH in
exit 0;;
esac
## remove attributes not supported by WSL's tar
setfattr -x system.posix_acl_access chroot/var/log/journal
setfattr -x system.posix_acl_default chroot/var/log/journal
# The reason not using just tar .. -C chroot . is that using '.' was found
# not working once and checking if using the simpler command is safe needs
# verification of the app installation on all Windows 10 builds we support