diff --git a/debian/changelog b/debian/changelog index bde87076..2c372b18 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.761) jammy; urgency=medium + + [ Jean-Baptiste Lallement ] + [ Didier Roche ] + * Remove attributes not supported by WSL's tar + + -- Jean-Baptiste Lallement Thu, 24 Mar 2022 13:59:50 +0100 + livecd-rootfs (2.760) jammy; urgency=medium [ Jean-Baptiste Lallement ] 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