From 28c360c0ab342ab8ccc9c21829404a00127589d2 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lallement Date: Thu, 24 Mar 2022 14:02:40 +0100 Subject: [PATCH] remove attributes not supported by WSL's tar Co-authored-by: Didier Roche --- live-build/ubuntu-wsl/hooks/99-tar.binary | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/live-build/ubuntu-wsl/hooks/99-tar.binary b/live-build/ubuntu-wsl/hooks/99-tar.binary index c6a5e562..2a72c89a 100755 --- a/live-build/ubuntu-wsl/hooks/99-tar.binary +++ b/live-build/ubuntu-wsl/hooks/99-tar.binary @@ -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