mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-07 06:44:09 +00:00
We are removing our different variants of wsl rootfs with the new Microsoft format. We only keep one following the distribution policy: - lts to lts - intermediate release to next one Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
21 lines
537 B
Bash
Executable File
21 lines
537 B
Bash
Executable File
#!/bin/bash -eu
|
|
# vi: ts=4 expandtab
|
|
#
|
|
# Generate the compressed root directory for WSL manually.
|
|
# Type "plain" unfortunately does not execute lb_binary_* helpers.
|
|
|
|
case $ARCH in
|
|
amd64|arm64)
|
|
;;
|
|
*)
|
|
echo "WSL root tarballs are not generated for $ARCH."
|
|
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
|
|
|
|
# Remove initial ext4-formatted fs
|
|
rm -f binary/boot/filesystem.ext4
|