2810 Commits

Author SHA1 Message Date
Brian Murray
3ff34303ec releasing package livecd-rootfs version 24.04.40 2024-02-21 17:07:09 -08:00
Łukasz 'sil2100' Zemczak
da41618121 releasing package livecd-rootfs version 24.04.39 2024-02-20 17:07:24 +01:00
Łukasz 'sil2100' Zemczak
cf5124e912 Fix changelog version. 2024-02-20 17:06:44 +01:00
Łukasz 'sil2100' Zemczak
ace66cbb52 Attempt building netboot tarballs for largemem arm64 server images. 2024-02-20 17:05:10 +01: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
f64c281a3f releasing package livecd-rootfs version 24.04.38 2024-02-18 09:14:24 -08:00
Steve Langasek
45521e71cd Fix overlooked syntax error 2024-02-18 09:14:19 -08:00
Steve Langasek
5fc0c52a00 releasing package livecd-rootfs version 24.04.37 2024-02-18 09:08:54 -08:00
Steve Langasek
3c00114e32 changelog 2024-02-18 09:08:46 -08:00
Julian Andres Klode
1c31fa10ff
releasing package livecd-rootfs version 24.04.36 2024-02-16 22:04:12 +01:00
Didier Roche
4b3b721d49
releasing package livecd-rootfs version 24.04.35 2024-02-16 11:12:12 +01:00
Didier Roche
d813325da7
Update changelog 2024-02-16 11:11:46 +01:00
Steve Langasek
77036593d7 Drop references to ubuntu-gnome which is not a current flavor. 2024-02-15 14:20:46 -08:00
Michael Hudson-Doyle
40991b3832 releasing package livecd-rootfs version 24.04.34 2024-02-16 10:18:13 +13:00
Michael Hudson-Doyle
363eaf823e Update changelog for Ubuntu Cinnamon change 2024-02-16 10:16:58 +13:00
Michael Hudson-Doyle
0636a5bad4 Hooks and other things need to go in live-build/$PROJECT and $PROJECT for Ubuntu Studio is ubuntustudio-dvd, not ubuntustudio. 2024-02-16 09:33:22 +13:00
Steve Langasek
637e814f2e releasing package livecd-rootfs version 24.04.33 2024-02-14 09:42:11 -08:00
Steve Langasek
afbe3e53e6 bug link 2024-02-13 08:20:12 -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
Julian Andres Klode
7b83391a7f
releasing package livecd-rootfs version 24.04.32 2024-02-12 21:55:47 +01:00
Sebastien Bacher
9480b91abc releasing package livecd-rootfs version 24.04.31 2024-02-12 21:32:16 +01: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
790d183622 releasing package livecd-rootfs version 24.04.30 2024-02-12 17:08:10 +01:00
Łukasz 'sil2100' Zemczak
3ce13b0e2a Add changelog. 2024-02-12 17:07:46 +01:00
Didier Roche
8bf6ad05f1
releasing package livecd-rootfs version 24.04.29 2024-02-12 11:01:59 +01:00
Simon Quigley
859bca6fed Upload to Noble. 2024-02-09 13:32:47 -06:00
Simon Quigley
c6a66eaa8d Add missing mkdir invocation from 24.04.26 (LP: #2052617). 2024-02-09 13:32:33 -06:00
Didier Roche
b4cf5a1b2c
releasing package livecd-rootfs version 24.04.27 2024-02-07 17:54:52 +01:00
dann frazier
6559222079 releasing package livecd-rootfs version 24.04.26 2024-02-01 11:10:54 -07:00
dann frazier
3a00ad5263 Use flock to avoid races with systemd-udevd
The race causes loop device partitions to briefly disappear. LP: #2045586.
2024-01-31 15:12:42 -07:00
Steve Langasek
20a43b540d Merge remote-tracking branch 'vorlon/common-hooks-for-layered-images' into ubuntu/master 2024-01-30 23:16:33 -08:00
Łukasz 'sil2100' Zemczak
e195b7fda5 Import Debian version 24.04.25
livecd-rootfs (24.04.25) noble; urgency=medium
.
  * live-build/auto/config: for ubuntu-server, consider the actual kernel
    flavor when dealing with netboot layers - even if we don't really care.
2024-01-30 23:08:17 -08: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
Utkarsh Gupta
e37253418b Merge remote-tracking branch 'virtustom/mount-partnum-param' into ubuntu/master
* virtustom/mount-partnum-param:
  feat: mount_disk_image: Add rootpart parameter
2024-01-29 22:19:20 +05:30
Michael Hudson-Doyle
3bf0f98ca1 releasing package livecd-rootfs version 24.04.23 2024-01-29 14:54:03 +13:00
Michael Hudson-Doyle
ffe99d4008 Remove magic-proxy and all references to it as it is not used by any builds of any release newer than 18.04. 2024-01-29 14:51:54 +13:00
Łukasz 'sil2100' Zemczak
37d450ca57 releasing package livecd-rootfs version 24.04.22 2024-01-25 12:00:06 +01:00
Ł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
Michael Hudson-Doyle
7464467cc9 releasing package livecd-rootfs version 24.04.21 2024-01-25 10:31:13 +13:00
Michael Hudson-Doyle
57592e6dc1 live-build/functions: avoid losetup -P as it appears to race with udev and do it a bit more by-hand instead. (LP: #2045586) 2024-01-25 10:26:19 +13:00
Michael Hudson-Doyle
4d17ae31b3 releasing package livecd-rootfs version 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
Tomáš Virtus
dab1f8c765
feat: mount_disk_image: Add rootpart parameter
mount_disk_image function expects root partition to be at number 1. But
some images require the root partition to be at other some other number.
For example, EKS Anywhere images for bare metal are used with Tinkerbell
deployment with a default configuration that expects the root device to
be found at /dev/sda2. The knowledge of the root device path is needed
to modify certain files in the root filesystem (e.g. cloud-init configs)
for the machine to join Kubernetes cluster control plane.

The partition number can be changed in the hook by "sgidsk --transpose".
Allow the hook to use mount_disk_image with custom root partition number
by making it an optional third parameter that defaults to 1.
2024-01-24 13:53:24 +01:00
Łukasz 'sil2100' Zemczak
4399b709e0 Add bug number, for tracking. 2024-01-22 16:56:11 +01:00
Łukasz 'sil2100' Zemczak
f65a6dafc2 Add changelog entry. 2024-01-22 15:02:19 +01:00
Utkarsh Gupta
e9d27dafb6 Update d/ch for 24.04.20 release 2024-01-22 18:02:29 +05:30