4014 Commits

Author SHA1 Message Date
Steve Langasek
6e30df92f2 releasing package livecd-rootfs version 23.10.27 23.10.27 2023-08-29 10:39:26 -07:00
Steve Langasek
b30e7e4146 lb_chroot_layered: if the unmount of the chroot mountpoint fails, dump mount information for debugging. 2023-08-29 10:39:21 -07:00
Steve Langasek
5a0909dd20 Add ubuntu to the list of targets we autopkgtest for on amd64, to ensure coverage of the lb_chroot_layered behavior. 2023-08-29 10:34:26 -07:00
Łukasz 'sil2100' Zemczak
4c5f394653 releasing package livecd-rootfs version 23.10.26 23.10.26 2023-08-28 15:48:38 +02:00
Łukasz 'sil2100' Zemczak
353d222c94 Merge branch 'seed.yaml-live' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2023-08-28 15:48:00 +02:00
Łukasz 'sil2100' Zemczak
4a2e30a3b3 Update enhanced-sb layer model assertion. 2023-08-28 12:23:30 +02:00
Michael Hudson-Doyle
6ab6066c05 Use a traditional seed.yaml style seed for the canary installer's live session. 2023-08-28 21:29:24 +12:00
Michael Hudson-Doyle
e00e189ad6 releasing package livecd-rootfs version 23.10.25 23.10.25 2023-08-28 14:03:04 +12:00
Michael Hudson-Doyle
b91452e7fe snap-seed-parse.py: fix builds with no snaps. 2023-08-28 14:02:51 +12:00
Michael Hudson-Doyle
0d35c7645f releasing package livecd-rootfs version 23.10.24 23.10.24 2023-08-28 12:49:08 +12:00
Michael Hudson-Doyle
db6f685b84 snap-seed-parse.py: Update to allow parsing uc20-style seeds. (LP: #2028984) 2023-08-28 11:30:11 +12:00
Michael Hudson-Doyle
3d5fd1120c Configure universe sources in canary ISO. (LP: #2033109) 2023-08-28 10:43:52 +12:00
Michael Hudson-Doyle
a83925b8ac update-source-catalog: Fix case where a variaton does not point at the base layer (i.e. most builds) (LP: #2033168) 2023-08-28 10:40:53 +12:00
Steve Langasek
57fb4b2b04 releasing package livecd-rootfs version 23.10.23 23.10.23 2023-08-26 16:34:30 -07:00
Steve Langasek
ac65e0b05c Remove obsolete comment. We do want this hook executed for non-canary builds! 2023-08-26 15:14:08 -07:00
Steve Langasek
21333e9889 Drop mke2fs.conf override, no longer needed. 2023-08-26 15:12:09 -07:00
Steve Langasek
cb3f3292b2 i386 foreign-arch support was added for the canary image before 23.04 released, but by mistake it was only added to the squashfs for the live session, and not the squashfs layer used as the source for installation. split the chroot hooks to add this to the standard.squashfs. LP: #2033170. 2023-08-26 15:06:14 -07:00
Michael Hudson-Doyle
809fbee16b releasing package livecd-rootfs version 23.10.22 23.10.22 2023-08-25 18:45:15 +12:00
Michael Hudson-Doyle
a945ef83a7 fix silly typo in update-source-catalog 2023-08-25 17:09:03 +12:00
Michael Hudson-Doyle
f354d76a83 Stop launching a gnome-terminal at startup of the canary live session. (LP: #2032647) 2023-08-25 15:22:02 +12:00
Michael Hudson-Doyle
9b75387648 update-source-catalog: work better when we want a variation to point at the base layer. 2023-08-25 15:15:02 +12:00
Michael Hudson-Doyle
5456e4e5e6 Undo preseeding in reset_snapd_state. 2023-08-25 14:50:08 +12:00
Steve Langasek
19c8076966 releasing package livecd-rootfs version 23.10.21 23.10.21 2023-08-23 10:31:51 -07:00
Michael Hudson-Doyle
e992090dca add an essay about rsync options 2023-08-23 22:30:44 +12:00
Steve Langasek
2b80fdecd2 No need to use rsync in hooks now to avoid file duplication since layer handling as a whole now uses rsync. 2023-08-23 22:21:41 +12:00
Steve Langasek
b43e3b84f4 Reset /var/lib/snapd in the upper layers before calling snap prepare-image 2023-08-23 22:21:41 +12:00
Steve Langasek
d3a75c9bec Consolidate canary layers to merge 'classic' back into 'standard' 2023-08-23 22:21:32 +12:00
Michael Hudson-Doyle
6890dfe5ca Deduplicate the layers just before creating the squashfs, to enable deduplication of the result of binary hooks as well. 2023-08-23 22:14:15 +12:00
Łukasz 'sil2100' Zemczak
caedce593b releasing package livecd-rootfs version 23.10.20 23.10.20 2023-08-22 17:16:00 +02:00
Łukasz 'sil2100' Zemczak
b1a118f4d7 Update canary model assertions.: 2023-08-22 17:15:36 +02:00
Utkarsh Gupta
13c3321bb8 Update d/ch for 23.10.19 release 23.10.19 2023-08-22 14:55:35 +05:30
Utkarsh Gupta
7b1b63147e Add python3-systemd to our minimized builds
This package is needed by ubuntu-advantage-tools for cloud images
only. u-a-t ultimately will drop this entirely in their next release.
(cf: https://github.com/canonical/ubuntu-pro-client/issues/2692)

So instead of putting this in the seeds and then having to deal
with the seed changes to Mantic (after its release) and SRU of
ubuntu-meta, I'd rather have changes in livecd-rootfs done. Once
python3-systemd dependency is dropped from u-a-t, we'll drop it
from livecd-rootfs in Mantic+, too.
2023-08-22 14:48:33 +05:30
Łukasz 'sil2100' Zemczak
139234da82 releasing package livecd-rootfs version 23.10.18 23.10.18 2023-08-18 18:00:47 +02:00
Łukasz 'sil2100' Zemczak
9d9a68d6bf Fix the 020-canary-* hooks referencing the wrong layer names after changes introduced in 23.10.17. 2023-08-18 18:00:24 +02:00
Łukasz 'sil2100' Zemczak
6eca613644 Refresh the canary model assertions. 2023-08-18 17:50:56 +02:00
Łukasz 'sil2100' Zemczak
8a9ba050c3 Make canary images default for Ubuntu. 2023-08-18 12:16:28 +02:00
Steve Langasek
121e5d8195 releasing package livecd-rootfs version 23.10.17 23.10.17 2023-08-17 09:39:48 -07:00
Steve Langasek
94ab5c0f7a Merge branch 'meta-squash-fs' into ubuntu/master 2023-08-17 08:16:49 -07:00
Philip Roche
3531a2b2b4 fix: Only close LP bug once in changelog entry
Indent related fixes under same bug heading
23.10.16
2023-08-17 12:41:46 +01:00
Philip Roche
a373fb527c fix: Install required package fuse3 when preseeding snaps (LP: #2031640)
fuse3 was previously installed through recommends but with minimized images we no longer install recommends packages.

It is only required when preseeding snaps so does not need to be present in all minimized images so does not
need to be in the cloud-minimal seed.
2023-08-17 11:50:20 +01:00
Philip Roche
294a65452d fix: Ensure required dependencies are installed before trying grub-install (LP: #2031640)
As a result of not installing recommended packages the packages required to run `grub-install`
are no longer installed by default.

To ensure we can successfully run `grub-install` we install both `grub-pc` and `grub2-common`
packages.
2023-08-17 11:49:11 +01:00
Philip Roche
711c5c291f fix: Remove dangling symlink /boot/initrd.img.old if exists (LP: #2031640)
As a result of not installing recommended packages we have dangling symlink `/boot/initrd.img.old`

As per the preceding `/boot/initrd.img` cleanup. Cleanup of `/boot/initrd.img.old`
only happens if it is a dangling symlink.

These `rm` commands also have `--verbose` flags now to make it easier when debugging logs
2023-08-17 11:48:22 +01:00
Philip Roche
d1ec6f8947 fix: Do not install recommends for ubuntu-cpc minimized project (LP: #2031640)
For minimized images we do not want to install any recommended packages.
We can do this by setting APT::Install-Recommends to false in apt config
or by passing --no-install-recommends to apt-get install.
2023-08-17 11:46:59 +01:00
Utkarsh Gupta
21fa212d12 Update d/ch for 23.10.15 release 23.10.15 2023-08-17 07:07:16 +05:30
Utkarsh Gupta
75e67290b6 Merge remote-tracking branch 'hammerstefan/fix-armhf' into ubuntu/master
* hammerstefan/fix-armhf:
  fix(armhf): Fix armhf kernel file detection
2023-08-17 07:06:15 +05:30
Dan Bungert
fcde591061 changelog 2023-08-16 17:21:37 -06:00
Dan Bungert
91641eeeec cpc/hooks: fix hang when running adt locally
While attempting to run autopkgtest locally, the test stops at the
following command:
ssh-keygen -t ed25519 -C ubuntu_vagrant_insecure_key -b 4096 -f
/tmp/tmp.VuAfnsBv1G/vagrant_insecure_key

This is found in live-build/ubuntu-cpc/hooks.d/base/vagrant.binary

It appears to be waiting for a passphrase, as running that outside of
adt gives a more helpful "Enter passphrase" prompt.

Explicitly set the passphrase to empty with the `-N` argument.
2023-08-16 17:20:54 -06:00
Steve Langasek
6f1fc57ebc Merge the minimal and standard layers on the Ubuntu Desktop images (both daily-live and canary), now that there is no separate minimal install target. 2023-08-16 14:35:27 -07:00
Dan Bungert
51dcf5f115 changelog for 23.10.14 23.10.14 2023-08-15 18:05:50 -06:00
Dan Bungert
e03d43e069 canary: drop minimal install source 2023-08-15 18:03:45 -06:00