[neon/neon/livecd-rootfs/Neon/release] live-build/ubuntu-wsl/hooks: Create livecd-roots tarball as a .wsl extension
Didier Roche
null at kde.org
Wed Feb 19 22:35:44 GMT 2025
Git commit c1e2deee9fda5c31803b6b5df5d9ed97a0b76d37 by Didier Roche.
Committed on 23/01/2025 at 13:13.
Pushed by carlosdem into branch 'Neon/release'.
Create livecd-roots tarball as a .wsl extension
Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira at canonical.com>
M +5 -0 live-build/ubuntu-wsl/hooks/99-tar.binary
https://invent.kde.org/neon/neon/livecd-rootfs/-/commit/c1e2deee9fda5c31803b6b5df5d9ed97a0b76d37
diff --git a/live-build/ubuntu-wsl/hooks/99-tar.binary b/live-build/ubuntu-wsl/hooks/99-tar.binary
index c28915fe..58c50efc 100755
--- a/live-build/ubuntu-wsl/hooks/99-tar.binary
+++ b/live-build/ubuntu-wsl/hooks/99-tar.binary
@@ -16,5 +16,10 @@ esac
setfattr -x system.posix_acl_access chroot/var/log/journal
setfattr -x system.posix_acl_default chroot/var/log/journal
+# Create the rootfs as a .wsl extension
+cd chroot
+tar --xattrs --sort=name -czf ../livecd.$PROJECT${SUBARCH:+-$SUBARCH}.wsl *
+cd ..
+
# Remove initial ext4-formatted fs
rm -f binary/boot/filesystem.ext4
More information about the Neon-commits
mailing list