4066 Commits

Author SHA1 Message Date
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
782d564441 Update changelog 2024-06-19 15:54:01 -07: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
e3dbb76a27 Update d/ch for 24.10.4 release 24.10.4 2024-06-19 22:03:18 +05:30
Utkarsh Gupta
a8991217d3 Merge branch 'drop-unminimize' into ubuntu/master
* drop-unminimize:
  Drop unminimize spit out by livecd-rootfs
2024-06-19 22:02:17 +05:30
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
Utkarsh Gupta
7535bf7bc7 Use packaged unminimize in the ubuntu-server images
unminimize is currently present at /usr/local/sbin/unminimize,
which is spit out by livecd-rootfs currently. We'd like to switch
that to use the packaged unminimize, which will be at
/usr/bin/unminimize instead.
2024-06-19 21:51:50 +05:30
Philip Roche
1e8cdd60a8
Merge bugfix/LP-2069828-restore-unminimize-during-server-build into ubuntu/master [a=philroche] [r=sdeziel,utkarsh]
fix: Revert removal of unminimize call in server builds (LP: #2069828)

There was a change made by me in https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466388
as part of LP: #2066905 to remove references to LXD in the unminimize scripts
but I also removed the calls to `unminimize` in error.

This still needs to run but without any references to LXD which no longer
needs to be `unminimized` via snap installation.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/467826
2024-06-19 16:46:32 +01:00
Philip Roche
f574fc8200
fix: Revert removal of unminimize call in server builds (LP: #2069828)
There was a change made by me in https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466388
as part of LP: #2066905 to remove references to LXD in the unminimize scripts
but I also removed the calls to `unminimize` in error.

This still needs to run but without any references to LXD which no longer
needs to be `unminimized` via snap installation.
2024-06-19 15:47:18 +01:00
Michael Hudson-Doyle
07aded687c releasing package livecd-rootfs version 24.10.3 24.10.3 2024-06-11 11:51:50 +12:00
Michael Hudson-Doyle
216ad48bcf Merge branch 'ubuntu-core-installer' into ubuntu/master 2024-06-11 10:31:54 +12:00
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
Brian Murray
5122c279aa Add a changelog entry for the last merge 2024-06-06 14:04:30 -07:00
Heinrich Schuchardt
6b3e2b5a97 riscv64: use earlycon=sbi on command line
With current kernel we need to specify the SBI driver
for the early console to work.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-06-06 16:19:24 +02:00
Philip Roche
789729be3b releasing package livecd-rootfs version 24.10.2 24.10.2 2024-05-24 12:04:21 +01:00
Philip Roche
05b66d0897 Merge bugfix/lxd-no-longer-seeded-unminimize-oracular into ubuntu/master [a=philroche] [r=paride,sdeziel,utkarsh,vorlon]
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.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466316
2024-05-24 12:03:30 +01: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
Phil Roche
52b244f4d5 Upload initial 24.10.1 for oracular 24.10.1 2024-05-06 15:59:19 +02:00
Phil Roche
eb0d0cdfce fix: Transition to ocular versioning for livecd-rootfs - initial version 24.10.1 2024-05-06 15:58:36 +02:00
Phil Roche
d63b16bdf0 Merge feature/re-enable-noble-hyperv-desktop-builds into ubuntu/master [a=philroche] [r=jchittum,jibel,vorlon]
fix(HyperV desktop): Re-enable ability to build HyperV desktop images (LP: #2064280)

We have not built Hyperv desktop images since Jammy and with the re-introduction of HyperV for Noble we have encountered build issues caused by refactoring and removals of code assumed to be redundant but the HyperV desktop images were actually using these code paths.

In bbedffe6 we split the building of cloud images and non cloud to using an ddisk-image-uefi.binary and disk-image-uefi-non-cloud.binary respectively. In e38264ca there was a change which meant that any attempt to build hyperv images would result in incorrect disk size and incorrect disk label.

This has been fixed by ensuring that the ubuntu:desktop-preinstalled $PROJECT:$SUBPROJECT matches and sets the correct disk size and correct disk label.

A change in 76d79466 changed the logic of how the image size for amd64 images were being set. This overrode the sizes set for the desktop images incorrectly.

This MP ensures that hyperv desktop images can now be built and successfully launched with hyperv manager.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/465288
2024-05-06 14:24:04 +02:00
Philip Roche
0945c40fb2 fix(Hyperv Desktop): remove redundant case statement match ubuntu
`ubuntu` will never match `${PROJECT:-}:${SUBPROJECT:-}` cases statement and can be safely removed.
2024-05-02 10:23:35 +01:00
Philip Roche
8fe26586cc fix(Hyperv Desktop): as we are using oem-config we do not need ubiquity-slideshow-ubuntu
As we are only using oem-config, oem-config-slideshow-ubuntu will suffice
2024-05-02 10:21:50 +01:00
Philip Roche
dc2d1318d2 fix(Hyperv Desktop): ubiquity-frontend-gtk is a dependency of the oem-config-gtk package so does not need to be added explicitly 2024-05-02 10:21:50 +01:00
Philip Roche
7895eb2240 d/ch update for 24.04.70 to re-enable ability to build HyperV desktop images (LP: #2064280) 2024-05-02 10:21:50 +01:00
Philip Roche
ff47664d8c feat(Hyperv Desktop): Disable cloud-init for Hyperv Desktop images (LP: #2064280)
For Ubuntu 24.04 and later cloud-init is included in desktop images. This is not applicable for Hyperv images so
we can disable cloud-init. This leaves the cloud-init package installed but disabled so users can still
use it if they want.

This is a documented way to disable cloud-init. See https://cloudinit.readthedocs.io/en/latest/howto/disable_cloud_init.html
2024-05-02 10:21:50 +01:00
Phil Roche
c459e5e5af fix(HyperV desktop): Ensure removed hyperv dependencies are present in HyperV builds (LP: #2064280)
A change in 8fb21808 also removed many of the dependencies that the hyperv images require.
This removal has been restored in this commit by adding them expliciltly in the hyperv hook.
2024-04-30 18:00:14 +01:00
Phil Roche
48aed40194 fix(HyperV desktop): Re-enable ability to build HyperV desktop images (LP: #2064280)
We have not built Hyperv desktop images since Jammy and with the re-introduction of HyperV for Noble we have encountered build issues caused by refactoring and removals of code assumed to be redundant but the HyperV desktop images were actually using these code paths.

In bbedffe6 we split the building of cloud images and non cloud to using an ddisk-image-uefi.binary and disk-image-uefi-non-cloud.binary respectively. In e38264ca there was a change which meant that any attempt to build hyperv images would result in incorrect disk size and incorrect disk label.

This has been fixed by ensuring that the ubuntu:desktop-preinstalled $PROJECT:$SUBPROJECT matches and sets the correct disk size and correct disk label.

A change in 76d79466 changed the logic of how the image size for amd64 images were being set. This overrode the sizes set for the desktop images incorrectly.

This commit ensures that any desktop image being created uses the correct image size.
2024-04-30 18:00:07 +01:00
Łukasz 'sil2100' Zemczak
e001491e47 Add changelog. 2024-04-24 10:54:35 +01: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
Dan Bungert
2c268fca31 releasing package livecd-rootfs version 24.04.69 24.04.69 2024-04-23 13:37:07 -06:00
Dan Bungert
9946962363 desktop: move udisks2-inhibit to service (LP: #2063192) 2024-04-23 09:57:57 -06:00
Dan Bungert
58d01c0d05 changelog 2024-04-23 09:06:29 -06:00
Łukasz 'sil2100' Zemczak
04c1fdc899 releasing package livecd-rootfs version 24.04.68 24.04.68 2024-04-23 15:25:57 +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
Łukasz 'sil2100' Zemczak
f56d59226b releasing package livecd-rootfs version 24.04.67 24.04.67 2024-04-22 13:45:35 +01:00
Łukasz 'sil2100' Zemczak
296d580564 Update the 24.04 models. 2024-04-22 13:45:06 +01:00
Łukasz 'sil2100' Zemczak
84dcd0ee53 Changelog entry. 2024-04-22 13:01:06 +01:00
Łukasz 'sil2100' Zemczak
4197aaefda Merge branch 'universe-wording' of git+ssh://git.launchpad.net/~juliank/livecd-rootfs into ubuntu/master 2024-04-22 13:00:29 +01:00
Julian Andres Klode
6b4c6fc422 Update wording for universe sources
As specified in US095, following discussions.
2024-04-22 11:40:41 +02:00
Łukasz 'sil2100' Zemczak
1cceeae5bd releasing package livecd-rootfs version 24.04.66 24.04.66 2024-04-22 09:14:08 +01:00
Łukasz 'sil2100' Zemczak
a7bd933154 Changelog entry. 2024-04-22 09:12:33 +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
Łukasz 'sil2100' Zemczak
0e0403e491 releasing package livecd-rootfs version 24.04.65 24.04.65 2024-04-18 19:37:07 +02:00
Łukasz 'sil2100' Zemczak
4f4bd8e4ed Add changelog 2024-04-18 19:36:35 +02:00
Łukasz 'sil2100' Zemczak
2c827660d7 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~arraybolt3/livecd-rootfs into ubuntu/master 2024-04-18 19:35:39 +02:00
Łukasz 'sil2100' Zemczak
ce40dc102f releasing package livecd-rootfs version 24.04.64 24.04.64 2024-04-18 19:01:52 +02:00