Comment 22 for bug 2034253

Revision history for this message
John Chittum (jchittum) wrote :

I've verified Focal and Jammy. I've posted test builds in my public fileshare for anyone to verify the test build. Build and test steps below, which should be reproducible by anyone (nothing Canonical internal needed)

https://people.canonical.com/~jchittum/buildd-lp2034253/

## Build and test steps

### Jammy
1. downloaded 2.765.26 source: https://launchpad.net/ubuntu/+source/livecd-rootfs/2.765.26
2. ran a build with Bartender locally to produce a buildd image. Command ran from the directory above where the tar unpacks (so specifying the top level of the code)

https://github.com/ubuntu-bartenders/ubuntu-old-fashioned/tree/master/scripts/ubuntu-bartender

bartender --livecd-rootfs-dir ./livecd-rootfs --build-provider multipass -- --series jammy --project ubuntu-base --image-target all --subproject buildd

**NOTE This build does require any proprietary bits. i'm using the multipass provider, but there are many providers available. This command should be reproducible

3. after success, unpacked the finished product, and launched with qemu

qemu-system-x86_64 \
-cpu host -machine type=q35,accel=kvm -m 1024 \
-nographic \
-snapshot \
-netdev id=net00,type=user,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net00 \
-drive if=virtio,format=qcow2,file=build.output/livecd.ubuntu-base.disk-linux-virtual.img \
-cdrom ./ci-ssh-pub-set.iso \ # THIS IS A cloud-init ISO build using cloud-image-utils : cloud-localds
-bios /usr/share/OVMF/OVMF_CODE.fd # local OVMF for UEFI booting

4. Watched console, and saw successful boot. was able to SSH into the node using my inserted credentials (i added my public key with cloud-init)

### Focal
1. downloaded2.664.49 source: https://launchpad.net/ubuntu/+source/livecd-rootfs/2.664.49
2. ran a build with Bartender locally to produce a buildd image. Command ran from the directory above where the tar unpacks (so specifying the top level of the code)

bartender --livecd-rootfs-dir ./livecd-rootfs --build-provider multipass -- --series focal --project ubuntu-base --image-target all --subproject buildd

3. after success, unpacked the finished product, and launched with qemu

qemu-system-x86_64 \
-cpu host -machine type=q35,accel=kvm -m 1024 \
-nographic \
-snapshot \
-netdev id=net00,type=user,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net00 \
-drive if=virtio,format=qcow2,file=build.output/livecd.ubuntu-base.disk-linux-virtual.img \
-cdrom ./ci-ssh-pub-set.iso \ # THIS IS A cloud-init ISO build using cloud-image-utils : cloud-localds
-bios /usr/share/OVMF/OVMF_CODE.fd # local OVMF for UEFI booting

4. Watched console, and saw successful boot. was able to SSH into the node using my inserted credentials (i added my public key with cloud-init)