Steve Langasek
2bf710b4af
Move from hwe-22.04 to hwe-24.04 throughout, hwe-22.04 is obsolete and to be dropped from the release pocket imminently.
2024-03-27 12:03:02 -07:00
Sebastien Bacher
a2ebc11be0
Rename the casper.gschema override to livecd-rootfs.override
...
to try to avoid conflicts with the override generated in casper
2024-03-22 11:59:46 +01:00
Dan Bungert
5ac0d924ce
copy include.* directories for subiquity desktop install ISOs
...
ubuntu/include.* are the master location for these files.
Copy them over for projects with similar needs, while skipping ones that
are incorrect.
LP: #2055077
2024-03-18 20:05:24 -06:00
Erich Eickmeyer
10e718a019
Switch Ubuntu MATE to layered image
...
Ubuntu MATE is switching to a layered image in preparation to
use ubuntu-desktop-provision. Luckily, their seed structure is
already well-structured for layering, so this is easily done.
2024-03-18 12:48:39 -07:00
Steve Langasek
de9cb48be0
Merge remote-tracking branch 'feng-kylin/ubuntu/master' into ubuntu/master
2024-03-06 18:05:48 -08:00
Dan Bungert
5787be2b0c
ubuntu-mini-iso: remove hardcoded dependencies
2024-03-05 16:50:26 -07:00
handsome_feng
34fb57e362
Ubuntu Kylin ship to new installer
2024-03-05 19:35:45 +08:00
Sean Davis
007e26d80e
xubuntu: Fix description 2-line indentation
2024-02-22 17:04:38 -05:00
Sean Davis
d9a37fa351
xubuntu: Fix the variable KERNEL_FLAVOURS
2024-02-20 17:32:13 -05:00
Steve Langasek
db5f662019
Also move the definition next to where it is used
2024-02-18 12:14:20 -08:00
Steve Langasek
bf5a799935
Pare down 'BASE_SEED' handling to only those flavors which still use it.
...
Per the comments, BASE_SEED was initially used to identify the seed in the
flavor to use for identifying preseeded snaps, and later was also used to
identify which "minimal-remove" seed to apply to an image.
The first usage is now obsolete after a refactor; we now correctly detect
snaps from any of the included seeds without needing an explicit
declaration.
The second usage only applies to installer images that are NOT using layered
squashfs, since for these images 'minimal' is a separate squashfs layer
rather than a list of packages to remove after the fact.
Refactor this code to eliminate pointless definitions of BASE_SEED and
define it only for the subset of flavors today that:
- have a 'minimal-remove' seed
- are not using layered squashfs.
2024-02-18 10:28:41 -08:00
Steve Langasek
45521e71cd
Fix overlooked syntax error
2024-02-18 09:14:19 -08:00
Sean Davis
5d23ea3d83
Smarter layering (thanks vorlon)
2024-02-18 06:40:11 -05:00
Sean Davis
dabcbc0d28
Ensure only one default catalog
2024-02-17 16:01:18 -05:00
Sean Davis
1972d27866
Only generate minimal.live when building minimal
2024-02-17 15:01:26 -05:00
Sean Davis
dea479a2b1
Better laying of tasks
2024-02-17 14:47:01 -05:00
Sean Davis
ea16e4ef5a
Minimize duplication
2024-02-17 06:39:49 -05:00
Sean Davis
ba38059b0b
Copy ubuntu-cinnamon setup
2024-02-17 06:35:13 -05:00
Steve Langasek
77036593d7
Drop references to ubuntu-gnome which is not a current flavor.
2024-02-15 14:20:46 -08:00
Erich Eickmeyer
3ec5c06b4f
Copy configs
2024-02-15 09:13:15 -08:00
Erich Eickmeyer
e950cb2aa8
Change Ubuntu Cinnamon to layered image
...
Ubuntu Cinnamon now uses the new installer and therefore needs to be a layered image to accommodate the minimal install option.
2024-02-15 09:08:39 -08:00
Michael Hudson-Doyle
9e42d66ed5
Merge branch 'copy-hooks-more' into ubuntu/master
2024-02-13 13:26:40 +13:00
Michael Hudson-Doyle
810458d2a4
Edubuntu, Ubuntu Studio and Ubuntu Budgie have hooks in live-build/${PROJECT}/hooks now but they need to be copied to config/ to do anything.
2024-02-13 13:19:22 +13:00
Sebastien Bacher
fdf1a22b92
Use the ubuntu-desktop-bootstrap snap as the Ubuntu Desktop installer
2024-02-12 21:31:58 +01:00
Łukasz 'sil2100' Zemczak
3a99b297d4
For ubuntu-server, consider the actual kernel flavor when dealing with netboot layers - even if we don't really care in the end.
2024-01-30 11:29:50 +01:00
Utkarsh Gupta
d58a31e130
Merge remote-tracking branch 'utkarsh/drop-python3-systemd' into ubuntu/master
...
* utkarsh/drop-python3-systemd:
Update d/ch for 24.04.20 release
Drop python3-systemd from our minimized builds
2024-01-29 22:21:14 +05:30
Łukasz 'sil2100' Zemczak
54100874a4
Merge branch 'noble-64k' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
2024-01-25 11:59:25 +01: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
Łukasz 'sil2100' Zemczak
8c4ebae358
Add a largemem subarch that ships a 64k kernel variant by default.
2024-01-22 15:00:58 +01:00
Utkarsh Gupta
a0ebea19a8
Drop python3-systemd from our minimized builds
...
This package was once needed by ubuntu-advantage-tools for cloud images.
However, u-a-t have finally dropped this entirely in their v30 release.
cf: https://github.com/canonical/ubuntu-pro-client/issues/2692
cf: https://github.com/canonical/ubuntu-pro-client/pull/2717
cf: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2038417
2024-01-22 18:01:45 +05:30
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
Steve Langasek
650815889f
Fix overlooked syntax error in live-build/auto/config.
2024-01-03 23:38:50 -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
5cc9bbcdd9
Merge branch 'raspi-only-arm64' into ubuntu/master
2023-12-15 23:17:34 -08: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
cec2e89119
Explicitly add_package linux-$KERNEL_FLAVOURS in Ubuntu Studio.
2023-12-08 18:33:59 -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
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
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