I worked up a reproducer of things operating as expected, which makes me believe it's a timing issue around when `livecd-rootfs` and `live-build` do cleanup. on livecd-rootfs:ubuntu/master, i added the following to `live-build/ubuntu-cpc/hooks.d/base/create-root-dir.binary`
I worked up a reproducer of things operating as expected, which makes me believe it's a timing issue around when `livecd-rootfs` and `live-build` do cleanup. on livecd- rootfs: ubuntu/ master, i added the following to `live-build/ ubuntu- cpc/hooks. d/base/ create- root-dir. binary`
env DEBIAN_ FRONTEND= noninteractive chroot $rootfs_dir apt-get --purge remove --assume-yes ubuntu- advantage- tools FRONTEND= noninteractive chroot $rootfs_dir apt-get autoremove --purge --assume-yes FRONTEND= noninteractive chroot $rootfs_dir apt-get install --assume-yes ubuntu- advantage- tools
env DEBIAN_
env DEBIAN_
I then ran a build of `PROJECT=ubuntu-cpc IMAGE_TARGET= tarball`
afterwards, registered an lxc container locally with the lxd metadata from cloud-images. ubuntu. com (http:// cloud-images. ubuntu. com/mantic/ 20230823/ mantic- server- cloudimg- amd64-lxd. tar.xz)
lxc image import mantic- server- cloudimg- amd64-lxd. tar.xz livecd. ubuntu- cpc.rootfs. tar.xz --alias mantic- ua-manual- install
lxc shell immortal-bobcat bobcat: ~# dpkg -l | grep ubuntu-ad advantage- tools 29.3 amd64 management tools for Ubuntu Pro bobcat: ~# ls /etc/apt/ preferences. d/ pro-esm- infra bobcat: ~# cat /etc/cloud/ build.info
root@immortal-
ii ubuntu-
root@immortal-
ubuntu-pro-esm-apps ubuntu-
root@immortal-
build_name: server
serial: 20230901.1405
I'm now going to see if i can work up a reproducer of it _failing_ on Jammy by adding a proposed install during `auto/build` rather than a hook.