3866 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
4d17ae31b3 releasing package livecd-rootfs version 24.04.20 24.04.20 2024-01-25 07:57:56 +13:00
Michael Hudson-Doyle
2414cd0aef remove spurious changelog entry 2024-01-25 07:56:45 +13:00
Philip Roche
200bde50cc fix: return 0 instead of return if the intent is not to exit build
If the previous if statement checking if PASSES_TO_LAYERS is true,
then the last return code be non-zero and a return statement with no
argument will return the error code of the if statement thus exiting
the script. This is  not our intent. So we need to return 0 here when
layer name as already been registered
2024-01-24 18:08:42 +00:00
Philip Roche
e1ab57301f fix: Fix calls to unminimize if lxd-installer package not present (LP: #2049723)
The unminimize script will try to install the lxd snap using the shim script
`/usr/sbin/lxd` from the lxd-installer package.

Previously `unminimize` was using `snap`
to install `lxd` directly which was being diverted by diverting the `snap` command.

This is no longer the case so we can remove `/usr/sbin/lxd` from the lxd-installer package
if it exists and then redirect any calls to `/usr/sbin/lxd` to `/bin/true`

This is a cherry pick forward port from Jammy livecd-rootfs version 2.765.37.

(cherry picked from commit 8b83212372e0c1adb1dbdf7ead234f93c52a189e)
2024-01-24 18:04:35 +00:00
Steve Langasek
471f45101e releasing package livecd-rootfs version 24.04.19 24.04.19 2024-01-18 11:03:58 -08:00
Steve Langasek
7de5d67bf7 live-build/auto/config: don't repeatedly add the same pass name to the list of layers. 2024-01-18 11:03:53 -08:00
Utkarsh Gupta
6174e4c424 Update d/ch for 24.04.18 release 24.04.18 2024-01-17 14:17:42 +05:30
Thomas Bechtold
706a05b851 update debian/changelog 2024-01-16 13:07:52 +01:00
Thomas Bechtold
f82fb62222 fix: add kernel 6.6 apparmor features tree
Noble moved to the 6.6 kernel now and the preseeding optimization
doesn't work anymore given that the apparmor features used during
preseeding do not match the apparmor features used on a running system
with kernel 6.6 .
2024-01-16 13:03:34 +01:00
Utkarsh Gupta
9cda078671 Update d/ch for 24.04.17 release 24.04.17 2024-01-11 15:55:10 +05:30
Utkarsh Gupta
795927c48c unminimize: Use lxd-installer to install LXD itself (LP: 2036725)
By invoking LXD, lxd-installer will install LXD from the right
place, thereby make it simpler for us to not hardcode the
channel and manually snap install it.
2024-01-09 08:26:21 +05:30
Steve Langasek
de9c5ed37e releasing package livecd-rootfs version 24.04.16 24.04.16 2024-01-03 23:38:55 -08:00
Steve Langasek
650815889f Fix overlooked syntax error in live-build/auto/config. 2024-01-03 23:38:50 -08:00
Steve Langasek
a566a8173a releasing package livecd-rootfs version 24.04.15 24.04.15 2024-01-03 23:26:07 -08:00
Steve Langasek
fc6a8a7b94 But include a sensible error message for wrong usage of .live layers
Instead of just returning 'EXPLODE: command not found', heh
2024-01-03 23:03:56 -08:00
Steve Langasek
cdcb44ebf9 include a sanity check that no layered image has more than one "live" layer
This would cause undefined behavior with the LAYERFS_LIVE handling in the
hook.
2023-12-20 22:02:30 -08:00
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.
2023-12-20 19:47:14 -08:00
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
2023-12-20 19:46:22 -08:00
Steve Langasek
5d6c97415a releasing package livecd-rootfs version 24.04.14 24.04.14 2023-12-20 11:40:05 -08:00
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.
2023-12-20 11:39:38 -08:00
Steve Langasek
915a6910fc releasing package livecd-rootfs version 24.04.13 24.04.13 2023-12-20 08:15:36 -08:00
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.
2023-12-19 12:22:05 -08:00
Steve Langasek
5cc9bbcdd9 Merge branch 'raspi-only-arm64' into ubuntu/master 2023-12-15 23:17:34 -08:00
91ea9f1fca Add a changelog entry and release 24.04.12. 24.04.12 2023-12-15 14:43:51 -06:00
Erich Eickmeyer
e8e6f967b8 Add casper to minimal.standard.live seed
Without casper in the minimal.standard.live seed for flavors using the
new ubuntu-desktop-installer (or derivitives thereof), casper cannot
create a live user. Without this live user, Ubuntu Studio has been
experiencing the inability to login automatically from either the GUI or
manually from a TTY. This leaves the boot at a black screen with a mouse
cursor. This commit is an attempt to avoid the same situation. Previous
assessments of omitting casper from this line appear to have been
incorrect.
2023-12-15 14:42:27 -06:00
Erich Eickmeyer
0b4fd8b4c0 Fix comment, edubuntu task build, yaml name 2023-12-15 14:42:27 -06:00
Erich Eickmeyer
8fd9a84b92 Switch Edubuntu to new installer 2023-12-15 14:42:27 -06:00
Steve Langasek
4a44b56857 Drop support for building armhf+raspi images; as of noble these are arm64-only. 2023-12-08 18:38:40 -08:00
Steve Langasek
942b6d9201 releasing package livecd-rootfs version 24.04.11 24.04.11 2023-12-08 18:34:13 -08:00
Steve Langasek
cec2e89119 Explicitly add_package linux-$KERNEL_FLAVOURS in Ubuntu Studio. 2023-12-08 18:33:59 -08:00
Steve Langasek
4fad0b0ca0 releasing package livecd-rootfs version 24.04.10 24.04.10 2023-12-08 15:07:43 -08:00
Steve Langasek
6ce675b57d Project name for Ubuntu Studio needs to be 'ubuntustudio-dvd' throughout, not 'ubuntustudio'. 2023-12-08 15:07:34 -08:00
Steve Langasek
770125af8c Merge branch 'default-locale-everywhere' into ubuntu/master 2023-12-07 21:21:44 -08:00
Michael Hudson-Doyle
62b0be2d85 releasing package livecd-rootfs version 24.04.9 24.04.9 2023-12-08 15:43:21 +13:00
Michael Hudson-Doyle
17499ca901 add changelog 2023-12-08 15:41:45 +13:00
Michael Hudson-Doyle
c75f6b3db4 Merge remote-tracking branch 'xypron/umount' into ubuntu/master 2023-12-08 15:41:09 +13:00
Steve Langasek
b97c9fb1f6 releasing package livecd-rootfs version 24.04.8 24.04.8 2023-12-07 15:36:32 -08:00
Steve Langasek
84e27d0de2 Merge branch 'subarch-manifest' into ubuntu/master 2023-12-06 08:40:50 -08:00
Steve Langasek
323ffd735c Also add support for riscv64 builds with 'generic' subarch
CPC team builds use null subarch but ubuntu-cdimage builds use 'generic'
subarch

https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/noble/cpc/+build/542136
2023-12-06 08:38:33 -08:00
Steve Langasek
94082a6601 And support riscv64 builds with no subarch
such as https://launchpad.net/~cloudware/+livefs/ubuntu/noble/cpc/
2023-12-06 00:04:28 -08:00
Steve Langasek
573cde58cd Remove *-dvd glob handling for live layers; Ubuntu Studio is the only remaining "DVD" flavor, and with the move to the new installer this bit is also now incorrect. 2023-12-05 21:18:13 -08:00
Steve Langasek
afdd23e548 Fixup: ubuntustudio task name is ubuntustudio-dvd-live, not ubuntustudio-live 2023-12-05 21:14:53 -08:00
Steve Langasek
6f4cef9bff changelog 2023-12-05 21:12:45 -08:00
Erich Eickmeyer
6d7797eb95 Remove cloud-init, fix add_task line 2023-12-05 15:40:28 -08:00
Erich Eickmeyer
a514428a9c Remove unnecessary lines 2023-12-05 13:12:00 -08:00
Erich Eickmeyer
72746413df Fixes to add minimal seed 2023-12-05 12:48:40 -08:00
Erich Eickmeyer
f668208cf8 Fixes per vorlon 2023-12-05 11:20:20 -08:00
Erich Eickmeyer
154a932dc7 Switch Ubuntu Studio to new installer 2023-12-05 10:28:42 -08:00
Steve Langasek
a6844722a8 releasing package livecd-rootfs version 24.04.7 24.04.7 2023-12-03 21:38:31 -08:00
Steve Langasek
220e563de3 live-build/functions: add additional debugging to mount_image() on failure since we again have loop partitions failing to be block devices. 2023-12-03 21:38:20 -08:00