Create livecd-roots tarball as a .wsl extension

Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
This commit is contained in:
Didier Roche 2024-12-05 15:22:15 +01:00
parent b53628564c
commit 42f3b442e9
No known key found for this signature in database
GPG Key ID: 98B24A9CE4AC208E

View File

@ -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