Łukasz 'sil2100' Zemczak
d6443ce289
24.04 model assertion.
9 months ago
Sebastien Bacher
a2ebc11be0
Rename the casper.gschema override to livecd-rootfs.override
...
to try to avoid conflicts with the override generated in casper
10 months ago
Sebastien Bacher
fdf1a22b92
Use the ubuntu-desktop-bootstrap snap as the Ubuntu Desktop installer
11 months ago
Simon Quigley
c6a66eaa8d
Add missing mkdir invocation from 24.04.26 (LP: #2052617 ).
11 months ago
Steve Langasek
80cd4153e1
check for glib-compile-schemas presence before calling from the ubuntu hook
...
This makes the hook ok to use cross-flavor.
We could also move glib-compile-schemas to a separate hook, to ensure we never
silently fail because glib-compile-schemas is broken/missing.
1 year ago
Steve Langasek
6680b3be8d
generalize live-build/ubuntu/hooks/020-ubuntu-live.chroot_early
...
apply this to any layer ending in '.live' so it can be reused across flavors
1 year ago
Steve Langasek
b45cad12b4
Ship static files instead of generating in a hook
...
When the files we're creating in the live layer have static content, ship
them in live-build/ubuntu/includes.chroot.minimal.standard.live instead of
generating them from live-build/ubuntu/hooks/020-ubuntu-live.chroot_early.
Also fixes the fact that
live-build/ubuntu/hooks/020-ubuntu-live.chroot_early was incorrectly writing
to /root in the previous upload instead of /usr.
1 year ago
Steve Langasek
25d1aa42a1
move code here from scripts/casper-bottom/61desktop_canary_tweaks
...
this should be done statically at image build time, not at boot.
1 year ago
Dave Jones
2a415654a5
Use oem-config-prepare package
...
Remove this hook; it's only for pre-installed desktop images and
8fb2180842
already removed the other bits
for pre-installed desktop images.
1 year ago
Sebastien Bacher
51b7278c4b
Update the desktop fde model to include firmware-updater
1 year ago
Dimitri John Ledkov
d5e9651fe0
remove live-build/ubuntu/hooks/020-ubuntu-live.binary: handled elsewhere
...
Now that kernel names use expected -generic flavour, and kernels are
installed in the live layer, we can go back to stock behaviour of
auto/build noticing that binary hooks are called on a live layer and
executing the extraction & rename of the kernel flavours.
BTW we can even later expand that to support 2 generic abis, and
calling the bigger one the hwe generic such that can also remove
./live-build/ubuntu-server/hooks/04-kernel-bits.binary.
This fixes ubuntu arm64+x13s that is unable to find
ubuntu-x13s.kernel-laptop as due to this hook, which currently
produces ubuntu.kernel-generic in error which is not at all expected
by ubuntu-cdimage. Also this unbreaks producing oem & intel-iot
images, although we will build these in 24.04 only next.
This reverts ubuntu daily-live to use `--linux-flavours
laptop-generic-hwe-22.04` instead of `--linux-flavours none
--linux-packages=none --initramfs=none`, like it did in lunar and
pre-canary-image or images that install kernel in live layer.
Fixes: c00bbf3fb3
("desktop: place kernel in the live layer")
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
1 year ago
Dimitri John Ledkov
378322380e
live-build/ubuntu/hooks: ensure kernel artifacts named with subarch
...
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
1 year ago
Dan Bungert
41fbfd6bb6
desktop: construct minimal+tpmfde variation
1 year ago
Łukasz 'sil2100' Zemczak
6c608be212
Fix recent build failures by changing kernel/initrd naming and adjust hook conditionals for the minimal layer re-addition.
1 year ago
Dan Bungert
c00bbf3fb3
desktop: place kernel in the live layer
...
Placing the kernel in the live layer allows for selecting at install
time which kernel to install.
1 year ago
Łukasz 'sil2100' Zemczak
9b33f085c1
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-as-default
1 year ago
Łukasz 'sil2100' Zemczak
47a88df62f
I suppose w don't need the 020-canary-live.binary hook anymore.
1 year ago
Łukasz 'sil2100' Zemczak
353d222c94
Merge branch 'seed.yaml-live' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
1 year ago
Łukasz 'sil2100' Zemczak
4a2e30a3b3
Update enhanced-sb layer model assertion.
1 year ago
Michael Hudson-Doyle
6ab6066c05
Use a traditional seed.yaml style seed for the canary installer's live session.
1 year ago
Steve Langasek
ac65e0b05c
Remove obsolete comment. We do want this hook executed for non-canary builds!
1 year ago
Steve Langasek
21333e9889
Drop mke2fs.conf override, no longer needed.
1 year ago
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 .
1 year ago
Michael Hudson-Doyle
f354d76a83
Stop launching a gnome-terminal at startup of the canary live session. (LP: #2032647 )
1 year ago
Steve Langasek
2b80fdecd2
No need to use rsync in hooks now to avoid file duplication since layer handling as a whole now uses rsync.
1 year ago
Steve Langasek
b43e3b84f4
Reset /var/lib/snapd in the upper layers before calling snap prepare-image
1 year ago
Łukasz 'sil2100' Zemczak
b1a118f4d7
Update canary model assertions.:
1 year ago
Łukasz 'sil2100' Zemczak
9d9a68d6bf
Fix the 020-canary-* hooks referencing the wrong layer names after changes introduced in 23.10.17.
1 year ago
Łukasz 'sil2100' Zemczak
6eca613644
Refresh the canary model assertions.
1 year ago
Łukasz 'sil2100' Zemczak
8a9ba050c3
Make canary images default for Ubuntu.
1 year ago
Łukasz 'sil2100' Zemczak
9d9f7a71a5
canary: use 23.10 models.
2 years ago
Michael Hudson-Doyle
b5387cb32b
Disable the orphan_file ext4 feature in the canary live environment so that the installed system can be handled by the e2fsck in the extant kernel snap (cf. bug 2025339).
2 years ago
Michael Hudson-Doyle
7d0aa68826
live-build/ubuntu/hooks/033-disk-image-uefi.binary: update to point at ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary, fixing canary build.
2 years ago
Łukasz 'sil2100' Zemczak
ed8d11d25b
Follow up fix to the CHANNEL handling for subiquity images
2 years ago
Dan Bungert
3397098ff8
Allow choosing snap channel on subiquity ISOs
2 years ago
Steve Langasek
9db14f7dee
Merge remote-tracking branch 'origin/always-enable-i386' into ubuntu/master
2 years ago
Dan Bungert
6bc353602f
canary: fix systems directory
2 years ago
Łukasz 'sil2100' Zemczak
a418f52bd4
Switch canary desktop installer model.
2 years ago
Steve Langasek
a631afcb7f
Unconditionally enable i386 in the chroot for Ubuntu Desktop; the new installer doesn't handle enabling this at install time, and late enablement also misses us some recommends.
2 years ago
Dave Jones
b6f1f7b7b3
Remove redundant creation of oem user
2 years ago
Łukasz 'sil2100' Zemczak
97f3799289
Do not reset seeds for canary.
2 years ago
Łukasz 'sil2100' Zemczak
b8649c321f
Add default values to PASS in canary hooks.
2 years ago
Łukasz 'sil2100' Zemczak
1dd00d9795
Add the includes as well.
2 years ago
Łukasz 'sil2100' Zemczak
3ec8601feb
Ok, early hooks do not have the environment. Just case on canary being the only one using hooks for now.
2 years ago
Łukasz 'sil2100' Zemczak
3752ea7cf1
Add -eu to the early hook as well.
2 years ago
Łukasz 'sil2100' Zemczak
edc6a7d576
SUBPROJECT is not defined by default in chroot_early hooks.
2 years ago
Łukasz 'sil2100' Zemczak
4997edb190
Use never model assertion.
2 years ago
Łukasz 'sil2100' Zemczak
4e49b4df60
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-build
2 years ago
Łukasz 'sil2100' Zemczak
11a583d619
Initial implementation of canary image builds.
2 years ago
William Wilson
a52543341c
Only set up oem-config if the user doesn't already exist
2 years ago