1057 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
c59b2165fd fix ubuntu-mini-iso build
replace reliance on cd-boot-images-amd64 with direct use of debian-cd sccripts.
2024-12-04 12:50:25 +13:00
Loïc Minier
9f0bc6a17c Merge remote-tracking branch 'rmartin013/rename-tegra-igx' into ubuntu/master
Fix typo in live-build/auto/config
2024-11-26 13:49:19 +00:00
Simon Quigley
3c39128f16 Add optional Dracut support for installed images, enable it for Lubuntu. 2024-11-23 13:49:04 -06:00
Simon Quigley
c73b51ec43 Switch Lubuntu to stacked squashfses, and split apart the common functionality to avoid Subiquity-specific commands. 2024-11-23 13:48:02 -06:00
Remy MARTIN
a666bf4110
Add tegra-jetson subarch,model,variant
The previous Tegra kernel metapackage implementation (linux-nvidia-tegra-igx)
was initially planned to apply both for Jetson devices and IGX systems. It turned
out recently (LP: #2069179) that we now need to reserve the metapackage name
linux-nvidia-tegra-igx for IGX systems, and use the new linux-nvidia-tegra-jetson
metapackage for Jetson devices. For the sake of clarity, the image name, model,
sub-arch, variant should align with the kernel metapackage name.
2024-11-06 15:47:23 +01:00
Dan Bungert
2f103f886c config: output kernel.yaml fragment 2024-10-16 12:40:44 -06:00
Heinrich Schuchardt
e5977a2e2b riscv: use generic kernel flavor for Nezha D1 and LicheeRV Dock
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-10-04 12:11:47 +02:00
Dan Bungert
db0a0f0462 desktop & many flavors: kernel in minimal layer 2024-09-12 14:24:33 -06:00
Dan Bungert
c9df34c340 live-server: fix looking for ga variant 2024-09-11 12:29:35 -06:00
Dan Bungert
8acf29a786 live-server: place kernel in the minimal layer
By placing the kernel in minimal, we can achieve the following
improvements:

1. Space savings - there are redundant packages present in the ship-live
   pool and in the live layer.  Adding the kernel to minimal means that
   the kernel is already in the live layer, and we don't then also need
   it in the pool.
2. Time savings - informal vm testing suggests more than a minute
   improvement to have the kernel preinstalled over installing it at
   runtime.

As always, there is a cost tradeoff:

1. If a different kernel is desired, we need to be able to remove this
   preinstalled kernel.  Relevant curtin and subiquity changes are
   already landed.
2. When installing that other kernel, it'll take longer than today due
   to still needing to install a kernel at runtime + the time cost of
   removing the preinstalled kernel.
2024-09-10 17:00:56 -06:00
Sergio Costas Rodriguez
d8fa3db5dc
Integrate Core Desktop 24 as a Core subproject
This patch updates Core Desktop to version 24, and also makes
it a subproject of Core, so it shares nearly the whole project
files and simplifies maintenance. It is based on a proposal from
Michael Hudson-Doyle. https://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/commit/?id=94cb68d47530a564060155f985f963f59786809f
2024-09-05 13:06:32 +02:00
Steve Langasek
776d9c18c3 Merge remote-tracking branch 'ubuntustudio-dev/ubuntu/master' into ubuntu/master 2024-07-25 11:12:45 -07:00
Heinrich Schuchardt
5fda764262 riscv64: preinstalled image for Microchip PIC64GX Curiosity Kit
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-07-22 15:24:21 +02:00
Erich Eickmeyer
8f33879432 Add a minimal installation for Ubuntu Studio
Ubuntu Studio wants to add a minimal installation. The individual tasks
are metapackages that can be installed by the ubuntustudio-desktop task.

With that in mind, we would like to reintroduce
ubuntustudio-desktop-core as a minimal installation. This is made much
easier with the layered images compared to the package removal format
used by ubiquity. This also means ubuntustudio-desktop-core becomes the
base seed.

If I'm missing anything, please advise.
2024-07-19 12:21:16 -07:00
Łukasz 'sil2100' Zemczak
c9fc7f390d Add changelog, fix typo. 2024-07-11 13:01:44 +02:00
Łukasz 'sil2100' Zemczak
b6135788ba Build qcow2 images for non-SUBARCH core images for lxd purposes. 2024-07-05 11:36:42 +02:00
Zhai Zhaoxuan
f189a4e680
support specify sector size in ubuntu-image
Signed-off-by: Zhai Zhaoxuan <zhai.zhaoxuan@canonical.com>
2024-06-27 09:58:59 +08:00
Erich Eickmeyer
adcbbe388d Switch ubuntustudio to generic kernel
The lowlatency kernel will eventually undergo deprecation. Rather than
wait for such a time to happen and be reactive, Ubuntu Studio would
rather be proactive about this now that the generic kernel can act as a
lowlatency kernel with certain command line parameters as outlined by
https://discourse.ubuntu.com/t/fine-tuning-the-ubuntu-24-04-kernel-for-low-latency-throughput-and-power-efficiency/44834.

As such, we have modified our `ubuntustudio-lowlatency-settings`
package, which installs `/etc/default/grub.d/ubuntustudio.cfg` with the
following line:

-GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT threadirqs"
+GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT preempt=full
nohz_full=all threadirqs"

Additionally, that same file used to set "GRUB_FLAVOUR_ORDER" which is
no longer needed.
2024-06-19 15:53:52 -07:00
Utkarsh Gupta
34482819f0 Drop unminimize spit out by livecd-rootfs
And prefer the one that is packaged separately as
src:unminimize, which installs the package in
/usr/bin/unminimize
2024-06-19 21:59:31 +05:30
Michael Hudson-Doyle
d6484f4de0 add a comment explaining what the ubuntu-core-installer project is 2024-06-07 19:38:41 +12:00
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
Philip Roche
46c19dfa91 fix: No longer install LXD snap in unminimize script (LP: #2066905)
The LXD snap is no longer seeded in any images since Noble+ so the LXD related unminimize logic in
./live-build/auto/build?h=ubuntu/noble and ./live-build/ubuntu-server/hooks/01-unminimize.chroot_early
 is no longer required.

lxd-installer can remain installed.
2024-05-23 14:13:30 +01: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
Dan Bungert
368f51bed8 config: show debootstrap.log 2024-04-01 17:45:19 -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
Utkarsh Gupta
9000cfd8e1 Fix bash synxtax for index parameter expansion 2024-03-13 18:43:48 +05:30
Utkarsh Gupta
3bc9857bc7 Drop the second parameter passed to configure_oci
This has become moot now that the code block has been
moved out from live-build/functions to live-build/auto/build
so passing the argument is not needed anymore.
2024-03-13 18:26:31 +05:30