52 Commits

Author SHA1 Message Date
Łukasz 'sil2100' Zemczak
47a88df62f I suppose w don't need the 020-canary-live.binary hook anymore. 2023-08-30 14:25:26 +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
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
f354d76a83 Stop launching a gnome-terminal at startup of the canary live session. (LP: #2032647) 2023-08-25 15:22:02 +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
Łukasz 'sil2100' Zemczak
b1a118f4d7 Update canary model assertions.: 2023-08-22 17:15:36 +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
9d9f7a71a5 canary: use 23.10 models. 2023-07-19 11:06:40 +02:00
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). 2023-07-05 11:41:44 +12:00
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. 2023-07-05 10:13:38 +12:00
Łukasz 'sil2100' Zemczak
ed8d11d25b Follow up fix to the CHANNEL handling for subiquity images 2023-06-19 10:06:10 +02:00
Dan Bungert
3397098ff8 Allow choosing snap channel on subiquity ISOs 2023-06-16 11:02:37 -06:00
Steve Langasek
9db14f7dee Merge remote-tracking branch 'origin/always-enable-i386' into ubuntu/master 2023-05-26 09:39:35 -07:00
Dan Bungert
6bc353602f canary: fix systems directory 2023-05-10 07:29:37 -06:00
Łukasz 'sil2100' Zemczak
a418f52bd4 Switch canary desktop installer model. 2023-04-26 13:40:17 +02:00
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. 2023-04-17 16:52:23 -07:00
Dave Jones
b6f1f7b7b3 Remove redundant creation of oem user 2023-04-14 11:18:20 +01:00
Łukasz 'sil2100' Zemczak
97f3799289 Do not reset seeds for canary. 2023-04-13 14:48:09 +02:00
Łukasz 'sil2100' Zemczak
b8649c321f Add default values to PASS in canary hooks. 2023-04-13 09:45:04 +02:00
Łukasz 'sil2100' Zemczak
1dd00d9795 Add the includes as well. 2023-04-06 21:42:12 +02:00
Łukasz 'sil2100' Zemczak
3ec8601feb Ok, early hooks do not have the environment. Just case on canary being the only one using hooks for now. 2023-04-06 19:25:44 +02:00
Łukasz 'sil2100' Zemczak
3752ea7cf1 Add -eu to the early hook as well. 2023-04-06 16:47:59 +02:00
Łukasz 'sil2100' Zemczak
edc6a7d576 SUBPROJECT is not defined by default in chroot_early hooks. 2023-04-06 16:45:58 +02:00
Łukasz 'sil2100' Zemczak
4997edb190 Use never model assertion. 2023-04-06 09:21:27 +02:00
Łukasz 'sil2100' Zemczak
4e49b4df60 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-build 2023-04-05 20:50:27 +02:00
Łukasz 'sil2100' Zemczak
11a583d619 Initial implementation of canary image builds. 2023-04-05 20:49:16 +02:00
William Wilson
a52543341c Only set up oem-config if the user doesn't already exist 2023-03-30 09:14:46 -04:00
Dave Jones
1f497fe04f Get rid of growfs option in fstab 2023-03-28 16:00:38 +01:00
Dave Jones
a312ab11a7 Remove the mkswap and swapfile units
These will be provided by the ubuntu-raspi-settings-desktop in future
2023-03-28 14:38:22 +01:00
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).
2022-02-15 16:26:29 +00:00
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).
2022-02-15 16:26:29 +00:00
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.
2021-07-14 06:26:16 -07:00
Dimitri John Ledkov
33b7272a23
Perform fsck on all rootfs.
LP: #1912835
2021-02-01 14:45:42 +00:00
Jinming Wu, Patrick
72e47a9f8b
Hyper-V hook fix 2020-11-03 16:19:01 +08:00
Łukasz 'sil2100' Zemczak
f4f4fec5dc Add the pi desktop oem user to the adm and sudo groups 2020-10-20 17:26:40 +02:00
Łukasz 'sil2100' Zemczak
5d0e1c602a duh, Laney is right, we can do 1G straight away. 2020-10-15 11:44:26 +02:00
Łukasz 'sil2100' Zemczak
1a8d6d203e Add creation of a 1GB swapfile for desktop pi images. 2020-10-14 15:09:34 +02:00
Łukasz 'sil2100' Zemczak
42b28cf70a Fix braces broken again. 2020-10-07 13:04:49 +02:00
Łukasz 'sil2100' Zemczak
7d524ffb98 Remove unneeded sedding. 2020-10-07 10:52:47 +02:00
Łukasz 'sil2100' Zemczak
38157b3748 First batch of changes for raspi desktop. 2020-10-01 11:23:28 +02:00
Jinming Wu, Patrick
afda365565
Additional fixes for Hyper-V builds
use of linux-azure, which is the optimized kernel for Hyper-V by
Microsoft
2020-07-22 17:27:03 +08:00
Jinming Wu, Patrick
81b1cbbfc2
Add extra policy for xrdp session 2020-05-11 19:45:04 +08:00
Jinming Wu, Patrick
8d26a3036c
force to use systemwide config 2020-05-11 19:43:27 +08:00
Jinming Wu, Patrick
c9a2d8abad
Hyper-V: remove legacy option 2020-05-11 19:39:38 +08:00