Michael Hudson-Doyle
abe1dec82f
simplifications suggested in review
2024-06-07 19:38:41 +12:00
Michael Hudson-Doyle
61427da03f
Add 'ubuntu-core-installer' project.
...
The ubuntu-core-installer image is an installer that installs ubuntu
core. The environment the installer runs in is similar to the server
installer but it has a source catalog entry that points to the model
created in ubuntu-core-installer/hooks/05-prepare-image.binary, which
subiquity knows how to install.
2024-06-07 19:38:16 +12:00
Michael Hudson-Doyle
626dced7a2
Replace 'ubuntustudio-dvd' project with an almost identical 'ubuntustudio' project.
2024-05-12 11:23:46 +02:00
Łukasz 'sil2100' Zemczak
5e27db4e69
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu-core-desktop-noble
2024-04-24 10:51:45 +01:00
Łukasz 'sil2100' Zemczak
a8af6ce59e
Rename the milk-v-mars SUBARCH to milkvmars
2024-04-23 15:22:36 +01:00
Łukasz 'sil2100' Zemczak
daf856277e
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu-core-desktop-noble
2024-04-23 11:22:04 +01:00
Heinrich Schuchardt
a3a51beeaf
riscv: add pre-installed image for Milk-V Mars
...
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-04-21 18:05:41 +02:00
6617c4d779
Allow Multiverse packages in Kubuntu.
2024-04-18 11:42:50 -05:00
Łukasz 'sil2100' Zemczak
e575146fae
Forward-port the ubuntu-core-desktop changes to noble.
2024-04-17 21:13:22 +02:00
Steve Langasek
ef9f827922
Dedupe handling of catalog translations
2024-04-15 15:06:42 -07:00
Steve Langasek
f8660ee75e
Move catalog handling into the common function
2024-04-15 15:06:40 -07:00
Steve Langasek
afd93b77bc
Move seeded language handling into do_layered_desktop_image
...
This fixes a bug in Ubuntu Budgie which was actually failing to pick up the
English language seed
2024-04-15 15:06:20 -07:00
Steve Langasek
768f0e6bee
Refactor task/package handling for new installer images
...
do_layered_desktop_image() is now the standard entry point for flavors using
ubuntu-desktop-bootstrap and handles minimal/standard/live layers in a
configurable and flavor-agnostic way to reduce code duplication.
2024-04-15 15:06:04 -07:00
Steve Langasek
92e6c54dc9
Invert check for whether to include casper since the "yes" list is now much shorter than the "no" list
2024-04-15 15:04:30 -07:00
Łukasz 'sil2100' Zemczak
ac9fd8fd4c
Fix the UC24 builds: use --snap instead of --extra-snaps.
2024-04-11 10:45:34 +02:00
Steve Langasek
fa8046aab8
Drop use of 'laptop' for x13s as this is now migrated to generic.
2024-04-08 21:35:43 -07:00
Dan Bungert
ff3cedb0b7
budgie: remove add_snap of ubuntu-budgie-installer, ubuntu-desktop-bootstrap is used instead.
2024-04-08 13:49:38 -06:00
Łukasz 'sil2100' Zemczak
a907749a08
Add console-conf to UC24 extra snaps by default
2024-04-08 16:26:15 +02:00
Simon Quigley
7c9be14510
Ensure the proper hooks are copied for Ubuntu MATE (LP: #2058161 ).
2024-04-07 17:43:30 -05:00
Dan Bungert
12f5badcf8
Flavors: cloud-init needs to be present in Subiquity-based installers.
2024-04-01 19:35:58 -06:00
Steve Langasek
2ba029ab9d
Drop dkms from the riscv64 lichee images.
...
This was added for licheerv-rtl8723ds-dkms which is now dropped from
the archive (LP: #2059151 ).
2024-03-28 11:43:56 -06:00
Łukasz 'sil2100' Zemczak
4476f60b9b
Add support for building Ubuntu Core 24 images.
2024-03-28 12:11:06 +01:00
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