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
Dave Jones
1f497fe04f
Get rid of growfs option in fstab
2 years ago
Dave Jones
a312ab11a7
Remove the mkswap and swapfile units
...
These will be provided by the ubuntu-raspi-settings-desktop in future
2 years ago
Dave Jones
4a4e2924c8
Tidy up fstab mods on preinstalled desktop images
...
The UNCONFIGURED FSTAB warning was being left in the result, the discard
option wasn't included, and the fsck flag was 0 (all in marked contrast
to the preinstalled server images).
3 years ago
Dave Jones
990b7c8a38
Generate the default swapfile on first boot
...
Changes in either livecd-rootfs or ubuntu-image seem to periodically
break the transfer of the pre-allocated swapfile (copying it in such a
fashion that it winds up "with holes" and thus unable to be used as a
swapfile). Rather than fight this, just use a simple systemd service to
generate the swapfile if it doesn't exist (using fallocate to keep
things snappy).
3 years ago
Jason C. McDonald
f75c3254b0
Generate manifest for HyperV desktop images
...
Manifests are necessary for candidate checking in the
CPC automated workflow for building and publishing
HyperV desktop images.
4 years ago
Dimitri John Ledkov
33b7272a23
Perform fsck on all rootfs.
...
LP: #1912835
4 years ago
Jinming Wu, Patrick
72e47a9f8b
Hyper-V hook fix
4 years ago
Łukasz 'sil2100' Zemczak
f4f4fec5dc
Add the pi desktop oem user to the adm and sudo groups
4 years ago
Łukasz 'sil2100' Zemczak
5d0e1c602a
duh, Laney is right, we can do 1G straight away.
4 years ago
Łukasz 'sil2100' Zemczak
1a8d6d203e
Add creation of a 1GB swapfile for desktop pi images.
4 years ago