Compare commits

...

398 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
b1604eadc4 releasing package livecd-rootfs version 25.10.16 2025-08-13 10:34:53 +12:00
Michael Hudson-Doyle
af76e8089d do not completely delete the seed from the live layer 2025-08-13 10:32:03 +12:00
Michael Hudson-Doyle
5494522a14 Put the uc20-style system seed for TPM backed FDE in the live layer. 2025-08-13 10:32:03 +12:00
Utkarsh Gupta
e733e7b129 Update d/ch for 25.10.15 release 2025-08-12 19:37:11 +05:30
Utkarsh Gupta
793965ba6c Merge remote-tracking branch 'bryalex/bryalex/6.14-master' into ubuntu/master
* bryalex/bryalex/6.14-master:
  Add debian/changelog entry (LP: #2116199)
  feat(apparmor): Add missing components to 6.14 kernel apparmor features' preseeds
2025-08-12 19:36:17 +05:30
Dan Bungert
bcf7ded68e releasing package livecd-rootfs version 25.10.14 2025-08-07 16:21:33 -06:00
Dan Bungert
6c2b20e070 desktop TPMFDE: move most snaps to stable channels 2025-08-07 16:18:04 -06:00
Dan Bungert
e46416e873 Revert "Move back ubuntu classic to a standard model"
This reverts commit 1c631c99dc2a8fd5759e9c8f872610b1f2238ddf.

We're unfortunately not ready for the standard model yet.
2025-08-07 16:17:20 -06:00
Didier Roche
1c631c99dc
Move back ubuntu classic to a standard model
We don’t use edge anymore. The model still needs to be signed though.
2025-08-06 07:36:59 +02:00
Tim Andersson
3dd6f72a21
switch snaps back to stable now that the TPM FDE spike is over.
This was enabled for more rapid development on the snaps that go into
the live desktop image. Revert now that the spike is over.
2025-07-30 16:49:10 +01:00
Olivier Gayot
b706c97ac2 releasing package livecd-rootfs version 25.10.13 2025-07-24 17:37:44 -06:00
Olivier Gayot
a54084218f Build with multipath-tools-boot
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2025-07-24 00:34:44 +02:00
Bryan Alexander
88cd42efd1 Add debian/changelog entry (LP: #2116199) 2025-07-17 13:27:40 -07:00
Bryan Alexander
727e75341a feat(apparmor): Add missing components to 6.14 kernel apparmor features' preseeds
- Add the domain/disconnected.ipc component
 - Modified the policy/unconfined_restrictions/io_uring component
(LP: #2116199)
2025-07-17 13:25:12 -07:00
Didier Roche
30107ce354
releasing package livecd-rootfs version 25.10.12 2025-07-15 16:52:14 +02:00
Didier Roche
59e55cb364
Merge branch 'polkit-allow-snap-seeding' into ubuntu/master 2025-07-15 16:30:33 +02:00
Didier Roche
69f6b3795b
Allow the ubuntu-desktop-installer to request snap seeding state
This is used to only start the installer after all snaps have been
seeded.

Co-Authored-By: Dennis Loose <dennis.loose@canonical.com>
2025-07-15 16:24:10 +02:00
Zygmunt Krynicki
c4fbaf5d3b Use snap wait system seed.loaded to wait for snapd
We cannot use After=snapd.service as user services cannot synchronize
with system services. Using `snap system wait seed.loaded` should work,
except for the fact that it requires polkit authentication to perform
this operation.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
2025-07-14 11:15:50 +02:00
Didier Roche
9fbd9ba71e
releasing package livecd-rootfs version 25.10.11 2025-07-11 14:59:06 +02:00
Didier Roche
e672f5ca4c
Update debian/changelog 2025-07-11 14:58:47 +02:00
Didier Roche
8a70acb1ec
Make sure the system was seeded before starting the installer
The installer is a snap, and as such, the system needs to be seeded
first to avoid a race during live boot.
Fixes https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2114923
2025-07-11 13:05:08 +02:00
Adriano Cordova
56660131e3
Update changelog
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-07-01 09:15:22 -04:00
Adriano Cordova
4f0c09311d
ubuntu-cpc: enable cpc fixes for riscv
LXD is going to support launching riscv64 virtual machines,
and for riscv64 virtual machines to be usable the console
needs to be properly set. This and other fixes are currently
done in the hook 999-cpc-fixes.chroot, which was disabled for
riscv64 and which this commit enables.

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-07-01 09:13:38 -04:00
Michael Hudson-Doyle
692f72bcee releasing package livecd-rootfs version 25.10.9 2025-06-17 22:23:21 +12:00
Michael Hudson-Doyle
2ea437c340 Merge branch 'nvidia-kernels' into ubuntu/master 2025-06-17 22:21:14 +12:00
Michael Hudson-Doyle
8ea3c69736 bump number in changelog, add bug ref 2025-06-17 22:21:06 +12:00
Dan Bungert
0c0c93a826 releasing package livecd-rootfs version 25.10.8 2025-06-13 12:00:26 -06:00
Dan Bungert
4c2baf9e58 server: fix hwe kernel layer having multiple kernels
LP: #2112501
2025-06-13 11:22:39 -06:00
Dan Bungert
8679885bc0 changelog 2025-06-13 11:21:32 -06:00
Dan Bungert
f33c8ba809 lb_binary_layered: second take on fixing mtimes 2025-06-13 11:19:18 -06:00
Dan Bungert
20820cc567 changelog 2025-06-13 10:55:31 -06:00
Didier Roche
231ee26831 Switch some TPM FDE components to edge channels
We want the firmware updater and security center pointing to edge too.
The model only allow to select it, but we need to invoke them by
default in snap prepare-image
2025-06-13 10:54:19 -06:00
Dan Bungert
60c2e90746 changelog 2025-06-13 10:39:23 -06:00
Didier Roche
a02700313a
Move snapd to edge for the TPM FDE snaps
We need edge on the live session too so that subiquity knows about
latest and greatest on TPM FDE support. We will revert that once snapd
is released to the stable channel.
2025-06-13 11:47:57 +02:00
Antoine Lassagne
208d53affc Allow to chose nvidia kernel instead of generic 2025-06-13 09:32:08 +02:00
Dan Bungert
08be218c82 releasing package livecd-rootfs version 25.10.7 2025-06-10 07:57:28 -06:00
Dan Bungert
75ad30fe5d Revert "lb_binary_layered: fix mtimes in layered squashfses"
This reverts commit eec13dad681c66f3a318600827f52dde55291f9f.
2025-06-10 07:55:37 -06:00
Dan Bungert
934a269424 releasing package livecd-rootfs version 25.10.6 2025-06-02 12:23:02 -06:00
Dan Bungert
eec13dad68 lb_binary_layered: fix mtimes in layered squashfses
layer construction involves rsync, and that process ignores times to
avoid some of the layers being larger than they would otherwise where
the only difference is times.  This saves a small amount of space,
around 14MiB, but results in files in the layers having non-intended
time values.  Ensure mtime and atime in the source chroot match what is
found in the destination chroot.
2025-06-02 12:23:02 -06:00
Dan Bungert
9092fd30e9 releasing package livecd-rootfs version 25.10.5 2025-05-28 10:27:49 -06:00
Dan Bungert
a0d948f17b desktop: TPMFDE snapd from latest/edge 2025-05-28 10:03:56 -06:00
Dan Bungert
27e3f982e7 releasing package livecd-rootfs version 25.10.4 2025-05-25 23:19:01 -06:00
Dan Bungert
37dd412bfa desktop: TPMFDE kernel from 25.10/candidate 2025-05-23 19:50:34 -06:00
Dan Bungert
d053e12a68 releasing package livecd-rootfs version 25.10.3 2025-05-23 12:59:43 -06:00
Dan Bungert
dde90dfb79 desktop: cherry-pick pc-kernel from different channel
To get 25.10 Desktop ISOs with TPMFDE bits, we need matching pc-kernel
and snapd otherwise we get errors like so when running
`snap prepare-image`:

WARNING: the kernel for the specified UC20+ model does not carry
assertion max formats information, assuming possibly incorrectly the
kernel revision can use the same formats as snapd
error: snapd 2.68+ is not compatible with a kernel containing snapd
prior to 2.68

Use the "dangerous" model, which allows overriding the channel, and pick
up the matching pc-kernel which is not yet on 25.10/stable, where the
non-dangerous model would expect to find it.
2025-05-23 09:53:18 -06:00
Dan Bungert
83022a6ebe desktop: add notes about generation of a signed model 2025-05-22 10:29:05 -06:00
Dan Bungert
237595f90a desktop: no long skip 020-ubuntu-enhanced-sb.binary 2025-05-14 16:14:28 +02:00
Dan Bungert
f472f1e437 desktop: update TPMFDE model for questing 2025-05-14 16:14:28 +02:00
Dan Bungert
d1d6c1b181 releasing package livecd-rootfs version 25.10.2 2025-05-06 08:24:12 +02:00
Dan Bungert
5dc5cd082a desktop: skip 020-ubuntu-enhanced-sb.binary 2025-05-05 15:06:53 +02:00
Dan Bungert
40737df2b1 releasing package livecd-rootfs version 25.10.1 2025-04-28 09:53:36 -06:00
Dan Bungert
8c4996cce7 server: provide network config direct to netplan 2025-04-28 09:26:35 -06:00
Dan Bungert
5f5a686760 desktop: no longer involve cloud-init in early networking
LP: #2107225
2025-04-23 16:23:19 -06:00
Tomáš Virtus
78c855a08c
releasing package livecd-rootfs version 25.04.26 2025-04-10 17:26:04 +02:00
Tomáš Virtus
60641d7411
ubuntu-cpc: Restore UseDomains=true
Also see https://bugs.launchpad.net/cloud-images/+bug/2106729.

Since Oracular[1]:

    Ubuntu’s systemd-networkd no longer sets UseDomains=true for managed
    network interfaces. In effect, this means that search domains
    configured in DHCP leases will not be reflected in /etc/resolv.conf
    by default. This change aligns Ubuntu’s default behavior with that
    of upstream. System administrators may choose to override this
    default on a global, or per-interface basis. See systemd.network 4
    for details.

The default in systemd is UseDomains=false. From systemd.network(5)[2]:

    DHCP=

        Furthermore, note that by default the domain name specified
        through DHCP is not used for name resolution. See option
        UseDomains= below.

    UseDomains=

        It is recommended to enable this option only on trusted
        networks, as setting this affects resolution of all hostnames,
        in particular of single-label names. It is generally safer to
        use the supplied domain only as routing domain, rather than as
        search domain, in order to not have it affect local resolution
        of single-label names.

It has been reported to us by few clouds that this breaks local name
resolution. For instance, in Google Cloud Compute, users can no longer
reach instances in the same zone[3] nor Google Cloud services[4] by
their names.

Arguably, the security concerns for having this option disabled are not
valid in cloud environments. As one of our partners said:

    IIUC, the motivation to disable UseDomains by default is that a
    laptop might be used on an untrusted network where the domains
    provided by DHCP can be a security issue, directing users to places
    they don't intend.

    But it's not possible for a cloud instance to be connected to an
    untrusted network (barring a breached account).

    The way I'm looking at this is that DHCP option 119 exists for the
    express purpose of allowing a network administrator to configure the
    DNS search path for computers on that network. I understand there's
    a security concern if that network isn't a datacenter. But in the
    cloud there's no concern (in some clouds, it's not even possible for
    DHCP response packets to come from anywhere but the cloud's own
    DHCP).

We should restore this setting in cloud images.

[1] https://discourse.ubuntu.com/t/oracular-oriole-release-notes/44878
[2] https://manpages.ubuntu.com/manpages/plucky/en/man5/systemd.network.5.html
[3] https://cloud.google.com/compute/docs/internal-dns
[4] https://cloud.google.com/compute/docs/metadata/overview
2025-04-10 17:25:16 +02:00
Dave Jones
a237a63bf0
releasing package livecd-rootfs version 25.04.25 2025-03-20 17:29:08 +00:00
Dave Jones
8add8daa49
ubuntu-image: Avoid filling tmpfs-based /tmp 2025-03-20 17:22:32 +00:00
Dan Bungert
d79eb2cb9c releasing package livecd-rootfs version 25.04.24 2025-03-13 17:17:31 -06:00
Dan Bungert
c1d898ed2c desktop: update tpmfde model for pc-kernel channel
* Updated model to move pc-kernel to channel 25.04/stable
* Move model from heredoc to a file
2025-03-13 11:03:10 -06:00
Jess Jang
43d1478298 Add debian/changelog entry 2025-03-12 21:31:08 -05:00
Jess Jang
fa00c36419 feat: Add 6.14 kernel apparmor features' preseeds 2025-03-12 21:05:01 -05:00
Dan Bungert
043ad264d4 releasing package livecd-rootfs version 25.04.22 2025-03-11 09:16:05 -06:00
Dan Bungert
20590f0dbf ubuntu-desktop: update model for 25.04 and components
This model intentionally uses pc-kernel from a branch, for components
testing purposes.  We'll have to update this again before release when
the desired pc-kernel is on a stable channel.
2025-03-11 09:14:18 -06:00
Dan Bungert
b79160bf08 server: delete the initrd but not initrd.img symlink
The initrd is recreated later.  Leave the symlink.
2025-03-10 16:27:45 -06:00
Dan Bungert
a768818bea releasing package livecd-rootfs version 25.04.21 2025-03-05 08:18:59 -07:00
Dan Bungert
d2050181d4 subiquity: easier bridge kernel setup
For subiquity installs, make it easier to enable bridge kernel, just a
boolean to set true/false.  Don't enable yet though.
2025-03-04 15:50:15 -07:00
Michael Hudson-Doyle
362c5d1f19 releasing package livecd-rootfs version 25.04.20 2025-02-27 20:34:21 +13:00
Michael Hudson-Doyle
e814e02bf4 Again in ubuntu-server builds, configure LAYERFS_PATH in the kernel layer and ensure the initrd is freshly regenerated in that layer. LAYERFS_PATH was being set to the layer below the kernel layer, which meant that the live session did not get access to all the modules in the case that the kernel had not been installed in the base layer, which in turn means that installs fail. (LP: #2100148)
* Again in ubuntu-server builds, configure LAYERFS_PATH in the kernel layer
  and ensure the initrd is freshly regenerated in that layer. LAYERFS_PATH
  was being set to the layer below the kernel layer, which meant that the
  live session did not get access to all the modules in the case that the
  kernel had not been installed in the base layer, which in turn means that
  installs fail. (LP: #2100148)
* While we're at it, delete any initrd from any other layer than a kernel
  layer, as they just waste space on the ISO.
2025-02-27 20:32:56 +13:00
Michael Hudson-Doyle
ff331b2d94 In ubuntu-server builds, install the first kernel in the base layer, not the "ga" kernel (which may not be installed at all, as is the case in e.g. the arm64+largemem builds). 2025-02-27 20:31:38 +13:00
Michael Hudson-Doyle
cc1654bb22 set changelog back to UNRELEASED 2025-02-27 16:00:58 +13:00
Adriano Cordova
949f980646 riscv: add SUBARCH 'jh7110'
Add SUBARCH 'jh7110' for jh7110-based boards.
2025-02-25 15:28:36 -03:00
Thomas Bechtold
c9f4659b16
add debian/changelog entry 2025-02-25 13:21:23 +01:00
John Chittum
e85f367421
feat(ubuntu-cpc): sbom generation everywhere
patch create_manifest to produce an sbom when called by an ubuntu-cpc
project. Patch all the ubuntu-cpc hooks and series files to include the
newly generated manifests, filelists, and sboms. Generates a number of
new artifacts in the builds. the snap utilized, cpc-sbom, is an open
source repo and a provided via a hidden snap. there is no intention of
publisizing the snap or how we generate sboms, however partners require
the ability to audit if required.

defensively checks if the snap is already installed, in the case of
multiple hooks being called in a single build (thus sharing a build
host), and only if called in an ubuntu-cpc project.

(cherry picked from commit 7c7b7df89dc96169db1f255d6bba901ebb63a43c)
2025-02-25 13:18:55 +01:00
Michael Hudson-Doyle
bfdfba31b8 releasing package livecd-rootfs version 25.04.18 2025-02-20 10:25:50 +13:00
Simon Poirier
7f5b9374b2 fix: increase ppc64el disk size to 2.4Gib
ppc64el was and still is a bit low compared to other ubuntu-cpc archs
and started running out of space.
2025-02-19 16:12:28 -05:00
Simon Quigley
2b638d3321 Add debian/files to .gitignore 2025-02-19 11:52:25 -06:00
Simon Quigley
00b7f2dc35 Correct back to sh from previous commit for now 2025-02-19 02:18:53 -06:00
Simon Quigley
818af83d4d Add support for multiple pools (/var/lib/{livefs,preinstalled}-pool/). 2025-02-19 02:15:04 -06:00
Simon Quigley
e71a331e82 Update Standards-Version to 4.7.0, no changes needed. 2025-02-18 22:54:07 -06:00
Simon Quigley
784c7d3060 Make the package completely Lintian-clean except for no-dep5-copyright. 2025-02-18 22:53:52 -06:00
Simon Quigley
87c2e08669 Update debhelper compat to 13, no changes needed. 2025-02-18 22:26:29 -06:00
Simon Quigley
29ee4398e8 Move from http://ppa.launchpad.net to https://ppa.launchpadcontent.net when specifying EXTRA_PPAS. 2025-02-18 22:22:10 -06:00
Michael Hudson-Doyle
5fb3d42d36 Pre-emptively include the override to not try to build HWE kernel layer in post .2 server riscv64 ISOs. 2025-02-17 11:17:35 +13:00
Michael Hudson-Doyle
c3a74a4641 releasing package livecd-rootfs version 25.04.17 2025-02-14 17:25:55 +13:00
Michael Hudson-Doyle
99f61b2ad7 live-build/ubuntu-mini-iso/hooks/01-mini-iso.chroot_early: Fix paths that should have been adjusted when code moved from binary to chroot hook. 2025-02-14 11:02:21 +13:00
Michael Hudson-Doyle
11f1a1dc84 live-build/ubuntu-mini-iso/hooks/01-mini-iso.binary: Drop the assumption that the uncompressed part of the initrd is unpacked to a directory called "main". 2025-02-14 11:01:45 +13:00
Dan Bungert
9930bcd9b4 changelog 2025-02-13 13:11:17 -07:00
Dan Bungert
bf17ce99e1 build: fix FLAVOUR set for lowlatency
similar to: 06fd5dacc34d018142e8fa713b6eba6011ababfc
(cherry picked from commit 2a9992ad7d538567a6449059d998bfc8c6d3103f)
2025-02-13 13:00:16 -07:00
Utkarsh Gupta
59ea05ea90 Fix d/ch entry 2025-02-14 00:20:10 +05:30
Simon Poirier
787428ea4d changelog 2025-02-13 13:44:19 -05:00
Simon Poirier
1ee581ca0c fix(buildd): add udev to buildd images. (LP: #2092196)
On 24.10 forward, networkd relies on udev for interface setup. This addresses
forever pending interfaces in networkd on buildd lxd images.
2025-02-13 13:42:50 -05:00
Thomas Bechtold
ba529b0d80
Add debian/changelog entry 2025-02-13 12:15:14 +01:00
Thomas Bechtold
5c61d04183
Add 6.12 kernel apparmor features preseeds
Plucky is currently on kernel 6.12 so preseeding fails with a apparmor
feature mismatch given that the live-build/apparmor/generic tree is
used. Adding a 6.12 tree (which is identical with the 6.11 tree)
solves this.
2025-02-13 12:12:35 +01:00
Dan Bungert
5c18a9e496 releasing package livecd-rootfs version 25.04.14 2025-02-11 12:17:59 -07:00
Dan Bungert
e3355e29d8 ubuntu-server: default-layer.conf in casper pass
default-layer.conf needs to be done in the casperization pass or we
don't get that file.
2025-02-11 08:30:38 -07:00
Chris Peterson
15b069883f releasing package livecd-rootfs version 25.04.13 2025-02-05 17:43:56 -08:00
Chris Peterson
03f95a7c04 ubuntu-core-installer: update install-sources.yaml with kernel 2025-02-05 13:58:18 -08:00
Chris Peterson
86506c838d write_kernel_yaml: quote the default argument 2025-02-05 13:58:10 -08:00
Michael Hudson-Doyle
20356ce4cb releasing package livecd-rootfs version 25.04.12 2025-02-05 15:26:29 +13:00
Michael Hudson-Doyle
e7153d9d3d Similar changes for ubuntu-mini-iso build. 2025-02-05 11:24:25 +13:00
Michael Hudson-Doyle
8d7efb4d15 Move configuration of casper in ubuntu-serve:live builds to a "chroot early" hook for the installer layer and remove the now unnecessary update-initramfs from the binary hook that breaks because mkinitramfs now requires that /sys is mounted. (LP: #2097280) 2025-02-05 11:23:58 +13:00
Michael Hudson-Doyle
bdd7d035e2 Stop producing a rootfs tarball for the ubuntu-mini-iso builds. 2025-02-05 11:20:18 +13:00
Michael Hudson-Doyle
47333c22a7 releasing package livecd-rootfs version 25.04.11 2025-01-29 08:52:19 +13:00
Michael Hudson-Doyle
c17a99bc1f Allow snapd to re-exec in installer environment (the issues between snapd, overlayfs and apparmer that meant re-execing caused problems were fixed in snapd a long time ago). 2025-01-29 06:39:25 +13:00
Heinrich Schuchardt
0c5b7dfd0c riscv: correct installation path of dtbs
U-Boot with distroboot has:

efi_dtb_prefixes=/ /dtb/ /dtb/current/

So we should install the device-trees into dtb/ and not dtbs/ on the EFI
system partition.

Fixes: 365435ad2dbe ("riscv: copy device trees to the ESP")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-01-27 13:49:26 +01:00
Adriano Cordova
365435ad2d riscv: copy device trees to the ESP
Commit f9c5020200ce ("riscv: directly copy device trees to /boot/dtbs")
incorrectly copied devicetrees into /boot/dtbs/$kvers instead of /boot/efi/dtbs,
inside the ESP and where U-boot expects them. This commit fixes this path.

Fixes: f9c5020200ce ("riscv: directly copy device trees to /boot/dtbs")
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-01-24 11:16:32 +13:00
Didier Roche
2adb738584
releasing package livecd-rootfs version 25.04.9 2025-01-22 10:23:51 +01:00
Didier Roche
420545f892
Update reference to wsl-setup now in /usr/lib/wsl/
Microsoft expects this binary to be under that path.
2025-01-22 10:22:18 +01:00
Adriano Cordova
f9c5020200 riscv: directly copy device trees to /boot/dtbs
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2024-12-20 08:55:21 -03:00
Didier Roche
74a86b18ca
releasing package livecd-rootfs version 25.04.7 2024-12-09 14:36:14 +01:00
Didier Roche
f213d88801
Update changelog for new Microsoft image format 2024-12-09 14:35:23 +01:00
Didier Roche
8a0f0357b5
Create wsl-distribution.conf for WSL images
This file is required in the new Microsoft WSL package format.

Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
2024-12-09 14:29:28 +01:00
Didier Roche
42f3b442e9
Create livecd-roots tarball as a .wsl extension
Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
2024-12-09 14:29:27 +01:00
Didier Roche
b53628564c
Keep a single wsl rootfs upgrade policy
We are removing our different variants of wsl rootfs with the new
Microsoft format. We only keep one following the distribution policy:
- lts to lts
- intermediate release to next one

Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
2024-12-09 14:29:22 +01:00
Michael Hudson-Doyle
23a6547dfc releasing package livecd-rootfs version 25.04.6 2024-12-06 18:59:47 +13:00
Michael Hudson-Doyle
524c0f5c4e Refer to LB_DISTRIBUTION, not SUITE, in the ubuntu-mini-iso binary hook. 2024-12-06 09:56:55 +13:00
Michael Hudson-Doyle
e2c2b1c2cb releasing package livecd-rootfs version 25.04.5 2024-12-04 13:34:03 +13:00
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
9a27af4f83 Release 25.04.4 to plucky 2024-11-26 13:49:37 +00: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
bf0cfce5e0 Upload to Plucky 2024-11-23 13:52:17 -06: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
John Chittum
9fc87851f3 changelog 2024-11-08 10:49:04 +13: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
John Chittum
e128704c77
fix(buildd): create buildd homedir
LP:2083240

starting in noble, adduser no longer creates a homedir for system users.
The buildd user then does not have a home directory, causing snaps to be
unable to run, as well as possibly other issues from a missing assumed
homedir. Explicitly create /home/buildd
2024-11-06 07:17:16 -05:00
Dan Bungert
ceec72cd59 releasing package livecd-rootfs version 25.04.1 2024-10-17 08:23:27 -06:00
Dan Bungert
5219913642 changelog 2024-10-16 12:40:44 -06:00
Dan Bungert
dbfe42ad25 live-server: omit kernel-meta-package file 2024-10-16 12:40:44 -06:00
Dan Bungert
76ee7808ea lb_chroot_layered: omit kernel-meta-package file 2024-10-16 12:40:44 -06:00
Dan Bungert
2096eccd67 lb_binary_layered: use kernel.yaml 2024-10-16 12:40:44 -06:00
Dan Bungert
2f103f886c config: output kernel.yaml fragment 2024-10-16 12:40:44 -06:00
Dan Bungert
9b42f898bf update-source-catalog: support version 2 scheme
Version 1 of install-sources.yaml is a top-level list of the sources to
be offered.
Version 2 extends this by placing the list under a top-level key
`sources`, adding a `version` field, and adding a `kernel` field which
supplants the current kernel-meta-package file.  `kernel.default` is
read to know which kernel to use - unless we need to fallback to the
bridge kernel.
2024-10-14 17:13:39 -06:00
Łukasz 'sil2100' Zemczak
9b1ea66dc8 Add comment re: the cohort key in prepare-image 2024-10-08 13:30:36 +01:00
Łukasz 'sil2100' Zemczak
40d0f57a8a releasing package livecd-rootfs version 24.10.27 2024-10-08 13:18:01 +01:00
Łukasz 'sil2100' Zemczak
293ec25aba Use cohort key for prepare-image. 2024-10-08 13:08:14 +01:00
Łukasz 'sil2100' Zemczak
86f57d78a7 releasing package livecd-rootfs version 24.10.26 2024-10-04 12:53:26 +02: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
Michael Hudson-Doyle
e69728f173 releasing package livecd-rootfs version 24.10.25 2024-10-04 12:21:44 +13:00
Michael Hudson-Doyle
3f44a55392 Update the model used for TPM FDE installs, yet again. 2024-10-04 11:53:16 +13:00
Dan Bungert
0ad935a358 releasing package livecd-rootfs version 24.10.24 2024-10-02 15:18:21 -06:00
Dan Bungert
5e990020e5 desktop: remove references to subiquity snap
No subiquity snap is present on Desktop isos, these are cruft.
2024-10-02 08:20:34 -06:00
Michael Hudson-Doyle
0737221b36 releasing package livecd-rootfs version 24.10.23 2024-10-02 19:07:06 +13:00
Michael Hudson-Doyle
e5ef431598 Update the model used for TPM FDE installs, again, hopefully working this time. 2024-10-02 19:05:26 +13:00
Utkarsh Gupta
6746078386 Update d/ch for 24.10.22 release 2024-09-30 16:20:25 +05:30
Utkarsh Gupta
e8d5fde9e2 Revert "Update the model used for TPM FDE installs."
This reverts commit c4e69348aed2e89bdef0187afe79da18d855eb8c as
the more debugging is needed for autopkgtest failures and is
therefore blocking apparmor fixes for cloud images.
2024-09-30 16:15:08 +05:30
Utkarsh Gupta
b5d00fae13 Add 6.11 kernel apparmor features' preseeds 2024-09-25 13:41:12 +05:30
Michael Hudson-Doyle
c4e69348ae Update the model used for TPM FDE installs. 2024-09-25 13:51:08 +12:00
Dan Bungert
17e5802c2b releasing package livecd-rootfs version 24.10.20 2024-09-20 12:36:44 -06:00
Chad Smith
c567b71239 fix(functions): cloud-init.service renamed cloud-init-network.service
In cloud-init version 24.3, single process mode where a shared python
systemd service cloud-init-main. In that release, cloud-init.service was
renamed cloud-init-network.service to better clarify cloud-init's
systemd unit names relative to the cloud-init boot stages.

This rename only applies to Oracular and newer releases.

See: https://discourse.ubuntu.com/t/announcement-cloud-init-perfomance-optimization-single-process/47505

functions drops in a complete override for cloud-init.service. That
override in /etc/systemd/system needs to be renamed and refreshed to
latest single process configuration.

LP: #2081325
2024-09-20 10:41:57 -06:00
Chris Peterson
160cca31da releasing package livecd-rootfs version 24.10.19 2024-09-17 21:12:56 -07:00
Chris Peterson
ed1844eda1 live-{server,desktop}: USE_KDUMP=0 only live layer
kdump-tools uses ucf for config file management and naively
modifying the config file meant for the target system directly
will cause the file hash to not get updated in the ucf database.
This will then cause later modifications to fail because
"there's nothing to do". Although actually doing the modification
to the ucf database is messy. Let's just modify the file in the live
layer to get the behavior we want there.
2024-09-17 21:01:36 -07:00
Chris Peterson
c16a2fda9b releasing package livecd-rootfs version 24.10.18 2024-09-16 17:34:58 -06:00
Chris Peterson
7f1c726441 ubuntu: disable kdump-tools by default
We install the kdump-tools package to minimal layer via inclusion in the
desktop-minimal seed, but it is enabled by default. Include a new chroot
hook to set USE_KDUMP=0 to make sure it's disabled by default and let
the installer decide to enable it or not.
2024-09-16 09:48:27 -07:00
Chris Peterson
67df97f099 ubuntu-server: disable kdump-tools by default
We install the kdump-tools package to minimal layer via inclusion in the
server-minimal seed, but it is enabled by default. Include a new chroot
hook to set USE_KDUMP=0 to make sure it's disabled by default and let
the installer decide to enable it or not.
2024-09-16 09:46:33 -07:00
Dan Bungert
9509ef415a releasing package livecd-rootfs version 24.10.17 2024-09-12 15:30:37 -06:00
Dan Bungert
db0a0f0462 desktop & many flavors: kernel in minimal layer 2024-09-12 14:24:33 -06:00
Dan Bungert
c02b2224b7 releasing package livecd-rootfs version 24.10.16 2024-09-11 12:30:36 -06:00
Dan Bungert
c9df34c340 live-server: fix looking for ga variant 2024-09-11 12:29:35 -06:00
Dan Bungert
2154b4fe1f releasing package livecd-rootfs version 24.10.15 2024-09-10 17:00:56 -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
Michael Hudson-Doyle
09199d5fee releasing package livecd-rootfs version 24.10.14 2024-09-10 16:12:04 +12:00
Michael Hudson-Doyle
529d2cce97 add changelog for ubuntu-core-desktop -> ubuntu-core-installer change 2024-09-10 16:11:27 +12: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
Dan Bungert
ee0a30b589 releasing package livecd-rootfs version 24.10.13 2024-09-04 14:27:29 -06:00
Dan Bungert
df279c8292 autopkgtest: change workdir
As seen in LP: #2078980, the default workdir under /tmp may be mounted
nodev, so create our own.
2024-09-04 14:24:32 -06:00
Chris Peterson
9d57bd093e Release packaging livecd-rootfs version 24.10.12 2024-08-26 17:03:38 -07:00
Chris Peterson
7f25e9cad5 Refresh ubuntu-classic-2404-amd64 model
Update the ubuntu-classic-2404-amd64.model definition in the
ubuntu hooks after changes in [1] to update snap tracks.

[1] d864558b66
2024-08-26 12:39:51 -07:00
Utkarsh Gupta
bd5ca6e0b5 Update d/ch for 24.10.11 release 2024-08-22 04:59:09 +05:30
Simon Poirier
df4017bf10 disk-image-uefi: Fix regression with partition sizing on arm
The sgdisk arguments for arm got mistakenly reordered, with the second
partition starting at offset 0.
2024-08-21 18:44:30 -04:00
Simon Poirier
60a5c1a779 Update changelog 2024-08-20 19:13:23 -04:00
Simon Poirier
61f1b20a5a disk-image-uefi.binary: shift down boot number to 13
Support some systems which don't handle partition numbers
higher than 15. (LP: #2072929)
Partition 16 was added for /boot to enable cloud FDE (commit a8b2a9b01)
2024-08-20 18:57:07 -04:00
Utkarsh Gupta
1a6895d2ba Update d/ch for 24.10.9 release 2024-08-14 18:02:48 +05:30
Cody Shepherd
eecd0191ec
fix: remove ec2-version hook for cpc images 2024-08-09 13:25:06 -07:00
Steve Langasek
eb075b35ec releasing package livecd-rootfs version 24.10.8 2024-07-25 11:12:54 -07:00
Steve Langasek
776d9c18c3 Merge remote-tracking branch 'ubuntustudio-dev/ubuntu/master' into ubuntu/master 2024-07-25 11:12:45 -07:00
Łukasz 'sil2100' Zemczak
c78d87d638 releasing package livecd-rootfs version 24.10.7 2024-07-24 16:13:02 +01: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
adb8e34261 Fix version after rebase 2024-07-19 12:26:49 -07:00
Erich Eickmeyer
27191e873b Update changelog 2024-07-19 12:23:17 -07: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
Dan Bungert
8c254c25f0 releasing package livecd-rootfs version 24.10.6 2024-07-18 15:58:56 -06:00
Chad Smith
97dd81183b functions: proper cloud-init.service full unit override in etc
System override drop-ins cannot redact dependencies (Before or After) and
thus require a full unit override. Avoid writing the unit file delivered
by cloud-init deb package in /lib/systemd/system/cloud-init.service because
it will generate warnings fron debsums -c about modified files.

The correct place to provide a full unit override is in
/etc/systemd/system/cloud-init.service in order to drop
Before=sysinit.target from the packaged cloud-init.service file.

Note vigilance will be needed across cloud-init SRU boundaries to ensure
we sync any cloud-init.service unit changes that are introduced to
stable releases because livecd-rootfs is overriding the whole file.

LP: #2069391
2024-07-16 10:58:09 -06:00
Łukasz 'sil2100' Zemczak
fcbde8a452 releasing package livecd-rootfs version 24.10.5 2024-07-11 13:02:09 +02: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
Łukasz 'sil2100' Zemczak
60d79eebdc Tweak changelog. 2024-06-27 09:26:20 +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
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 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 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 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 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 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 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 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 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 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 2024-04-18 19:01:52 +02:00
Łukasz 'sil2100' Zemczak
d6443ce289 24.04 model assertion. 2024-04-18 18:58:17 +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
Philip Roche
f89c096cbf Updating uploader in d/ch for release 24.04.63 2024-04-17 18:30:06 +01:00
Philip Roche
6dd4f23909 releasing package livecd-rootfs version 24.04.63 2024-04-17 18:27:03 +01:00
Philip Roche
16bce0a817 Merge simpoir-lp2062024_reenable_armhf_uefi into ubuntu/master [a=simpoir] [r=jchittum,philroche]
Re-enable armhf for disk-image-uefi building. (LP: #2062024)

MP: https://code.launchpad.net/~simpoir/livecd-rootfs/+git/livecd-rootfs/+merge/464543
2024-04-17 18:06:14 +01:00
Simon Poirier
1de327d78a Update d/ch for version 24.04.63 2024-04-17 18:05:25 +01:00
Simon Poirier
b4028cf53c Re-enable disk-image-uefi for armhf. (LP:#2062024)
This reverts commit 4f51ff45 (fix: Remove UEFI booting armhf, 2024-03-12).
2024-04-17 10:46:36 -04:00
Dan Bungert
21b02cd6d2 releasing package livecd-rootfs version 24.04.62 2024-04-15 22:40:45 -06: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
1f2503f227 releasing package livecd-rootfs version 24.04.61 2024-04-11 10:46:03 +02: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
85719db8b1 releasing package livecd-rootfs version 24.04.60 2024-04-08 21:35:49 -07: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
aed3f70b29 releasing package livecd-rootfs version 24.04.59 2024-04-08 14:09:18 -06:00
Philip Roche
6e22e4d044 fix: Update d/ch for 24.04.59
This includes changes to address LP: #2060558
2024-04-08 14:06:23 -06:00
Catherine Redfield
3087627ce9 feat(apparmor): Add policy:unconfined_restrictions feature to 6.8 kernel (LP: #2060558)
Failing CPC tests show that the preseeded apparmor features don't
include policy:unconfined_restrictions for the 6.8 kernel.  This
change adds the feature preseed with values based on a successfully
booted instance.

Fixes: LP: #2060558
2024-04-08 14:05:50 -06: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
e0274d1697 releasing package livecd-rootfs version 24.04.58 2024-04-08 19:02:06 +02: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
Simon Quigley
9d1f478a76 Add a changelog entry 2024-04-07 17:39:11 -05:00
Dan Bungert
5be334018f releasing package livecd-rootfs version 24.04.56 2024-04-01 19:39:28 -06: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
d15b6d4fd6 changelog 2024-04-01 17:45:19 -06:00
Dan Bungert
368f51bed8 config: show debootstrap.log 2024-04-01 17:45:19 -06:00
Steve Langasek
65de90a1b4 releasing package livecd-rootfs version 24.04.55 2024-03-30 11:26:04 -07:00
Steve Langasek
e29c91207e No-change rebuild for CVE-2024-3094 2024-03-30 11:25:59 -07:00
Dan Bungert
e3365c7b16 releasing package livecd-rootfs version 24.04.54 2024-03-28 11:49:56 -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
Erich Eickmeyer
c76196b7e7 Update changelog 2024-03-28 11:43:28 -06:00
Erich Eickmeyer
fe6d785fa6 Add ubuntu-mate symlink for chroot_early 2024-03-28 11:36:06 -06:00
Dan Bungert
92ee910f19 releasing package livecd-rootfs version 24.04.53 2024-03-28 11:34:47 -06:00
Łukasz 'sil2100' Zemczak
4476f60b9b Add support for building Ubuntu Core 24 images. 2024-03-28 12:11:06 +01:00
Steve Langasek
64b811ac88 releasing package livecd-rootfs version 24.04.52 2024-03-27 12:03:06 -07: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
ca4d39835e releasing package livecd-rootfs version 24.04.51 2024-03-25 11:47:01 +01: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
Utkarsh Gupta
a3fb125bb9 Update d/ch for 24.04.50 release 2024-03-21 01:30:24 +05:30
Utkarsh Gupta
c86e4eff1a Add NOW env variable in autopkgtest
It was found out that autopkgtests didn't pass the NOW env variable
which is generally provided by the launchpad-buildd build and thus
the autpkgtests fail.
2024-03-20 03:32:05 +05:30
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
Dan Bungert
e4b938adbf changelog 2024-03-18 16:54:58 -06:00
Steve Langasek
4299e5fe5b releasing package livecd-rootfs version 24.04.49 2024-03-18 13:18:58 -07:00
Steve Langasek
f4daceb61d changelog 2024-03-18 13:18:52 -07: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
e18fd763ea Update d/ch for 24.04.48 release 2024-03-13 18:44:15 +05:30
Utkarsh Gupta
9000cfd8e1 Fix bash synxtax for index parameter expansion 2024-03-13 18:43:48 +05:30
Utkarsh Gupta
5b06864cea Update d/ch for 24.04.47 release 2024-03-13 18:28:41 +05:30
Utkarsh Gupta
cebc2f85d5 Merge branch 'add-buildinfo-file' into ubuntu/master
* add-buildinfo-file:
  Drop the second parameter passed to configure_oci
  Add build_name metadata to build.info file for OCI and Base images
2024-03-13 18:26:45 +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
Utkarsh Gupta
45692d4300 Add build_name metadata to build.info file for OCI and Base images
Presence of this field helps in determining if the image is an
unminimized image, which then can be leveraged in the unminimize
script to easily determine the image type.
2024-03-13 18:26:31 +05:30
John Chittum
edb396d45b
changelog entry
drop support for armhf uefi booting vm images (LP: #2057776)
2024-03-13 08:43:49 -04:00
John Chittum
4f51ff4521
fix: Remove UEFI booting armhf
short-term fix, as grub2 for armhf has issues. we are investigating if
we still need an armhf VM, as there is no armhf server hardware
available.
2024-03-12 09:15:12 -04:00
Steve Langasek
a580abfcff releasing package livecd-rootfs version 24.04.46 2024-03-06 18:31:16 -08:00
Steve Langasek
7c4db57e7e changelog 2024-03-06 18:31:11 -08: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
Utkarsh Gupta
35bf43889b Update d/ch for 24.04.45 release 2024-03-05 12:50:22 +05:30
Jess Jang
369806013f fix: Add changelog
Changelog to describe change
2024-03-04 16:30:02 -06:00
Jess Jang
70e7c5f1d2 fix: Missing apparmor feature for 6.8 kernel
apparmor features for 6.8 have been missing after
new kernel rolled out. Created 6.8 directory
to build with correct version feature.
2024-03-04 14:44:29 -06:00
Chad Smith
0c53dae35d functions: cloud-init clean script needs to declar interpreter
LP: #2055729
2024-03-01 15:23:02 -07:00
Łukasz 'sil2100' Zemczak
db991ce7d9 releasing package livecd-rootfs version 24.04.44 2024-03-01 12:10:44 +01:00
Łukasz 'sil2100' Zemczak
0e4eec7adb Use ubuntu-image from candidate. 2024-03-01 12:10:31 +01:00
Philip Roche
6ec3931471 releasing 24.04.43 2024-02-23 15:09:25 +00:00
Philip Roche
fe6b9ef9f8 fix d/ch for 24.04.41
Incorrect spacing on author name and lowercase lp instead of LP
2024-02-23 15:08:48 +00:00
Philip Roche
6ce3374ab6 Merge bugfix/ubuntu-cpc-lp-2054103-grub-pc-debconf into ubuntu/master [a=philroche] [r=mkukri,utkarsh]
fix: Set the required debconf settings to allow for non interactive grub updates in cloud images (LP: #2054103)

As part of addressing LP: #2054103 [1] an update to grub-pc added a feature to be able to ensure that grub-pc
installation can happen noninteractively on cloud images.

This change is equivalent to running

```
debconf-set-selections grub-pc grub-efi/cloud_style_installation boolean true
debconf-set-selections grub-pc grub-pc/cloud_style_installation boolean true
```

These were introduced optionally to determine the install device using
`grub-probe` dynamically instead of having to fill the `grub-pc/install-devices`
debconf entry.

[1] https://bugs.launchpad.net/cloud-images/+bug/2054103

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/461062
2024-02-23 15:07:52 +00:00
Philip Roche
e65a499069 fix: Set the required debconf settings to allow for non interactive grub updates in cloud images (LP: #2054103)
As part of addressing LP: #2054103 [1] an update to grub-pc added a feature to be able to ensure that grub-pc
installation can happen noninteractively on cloud images.

This change is equivalent to running

```
debconf-set-selections grub-pc grub-efi/cloud_style_installation boolean true
debconf-set-selections grub-pc grub-pc/cloud_style_installation boolean true
```

These were introduced optionally to determine the install device using
`grub-probe` dynamically instead of having to fill the `grub-pc/install-devices`
debconf entry.

[1] https://bugs.launchpad.net/cloud-images/+bug/2054103
2024-02-23 13:54:44 +00:00
Brian Murray
75d2ea1c1a releasing package livecd-rootfs version 24.04.42 2024-02-22 17:52:23 -08:00
Brian Murray
ac706d517e xubuntu: Fix description 2-line indentation. 2024-02-22 17:52:10 -08:00
Sean Davis
007e26d80e
xubuntu: Fix description 2-line indentation 2024-02-22 17:04:38 -05:00
Philip Roche
16e4a7e442 releasing package livecd-rootfs version 24.04.41 2024-02-22 17:46:31 +00:00
Philip Roche
bd51502c75 Merge simpoir-buildd_unpin_backports into ubuntu/master [a=simpoir] [r=philroche,utkarsh]
Unpin backports priority for buildd images.

There was a time historically where Launchpad buildd might have relied
on that behaviour, but this shouldn't be the case anymore as it sets
priority manually when building backports.
Meanwhile any other builds using buildd images (e.g. snapcraft)
shouldn't default to backports unless required. (lp: #2009871)
Refs:
- [1] https://git.launchpad.net/launchpad-buildd/commit?id=c2ebcb6752

MP: https://code.launchpad.net/~simpoir/livecd-rootfs/+git/livecd-rootfs/+merge/460194
2024-02-22 17:27:23 +00:00
Simon Poirier
1ac8e6dcec Update changelog. 2024-02-22 12:03:58 -05:00
Simon Poirier
5b4402f359 Unpin backports priority for buildd images.
There was a time historically where Launchpad buildd might have relied
on that behaviour, but this shouldn't be the case anymore as it sets
priority manually when building backports.
Meanwhile any other builds using buildd images (e.g. snapcraft)
shouldn't default to backports unless required. (lp: #2009871)

Refs:
- [1] https://git.launchpad.net/launchpad-buildd/commit?id=c2ebcb6752
2024-02-22 12:01:57 -05:00
Brian Murray
3ff34303ec releasing package livecd-rootfs version 24.04.40 2024-02-21 17:07:09 -08:00
Sean Davis
d9a37fa351
xubuntu: Fix the variable KERNEL_FLAVOURS 2024-02-20 17:32:13 -05: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
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
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
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
Julian Andres Klode
1c31fa10ff
releasing package livecd-rootfs version 24.04.36 2024-02-16 22:04:12 +01:00
Julian Andres Klode
eb7773f43a live-build/buildd/hooks/00-mirror.binary: Patch all sources files 2024-02-16 22:03:51 +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
Didier Roche
0d5ce6daa6
Ensure ubuntu-wsl images can be published in cloud-images again.
The cloud-images logic is now special case for ubuntu-wsl to not require
ending with project_prefix. Readd it first, which will allow us to
ensure backward compability on cloud-images.ubuntu.com
2024-02-16 11:08:47 +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
f8bdf50724 Merge remote-tracking branch 'ubuntucinnamon-dev/ubuntu/master' into ubuntu/master 2024-02-16 10:15:56 +13:00
Erich Eickmeyer
3fc80105d5 Add symlink for 020-ubuntu-live.chroot_early 2024-02-15 12:39:15 -08: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
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
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
Julian Andres Klode
000621b1cc Merge branch 'deb822-sources' into ubuntu/master 2024-02-12 21:55:23 +01:00
Julian Andres Klode
04d1f1af25 Setup preinstalled pool in preinstalled-pool.sources
Also Use Signed-By: /etc/apt/keyrings/preinstalled-pool.gpg and
make sure we only update from that .sources file as we did before.

This code may all be dead, who can say.

FIXME: We should figure out how to do an armored export of that key
and then embed it in the signed-by field instead of using a keyring
file.
2024-02-12 21:54:53 +01:00
Julian Andres Klode
8a0a5a7e4a Switch from sources.list to ubuntu.sources
Template is based on the specification with some rewording for
Ubuntu Pro as agreed.

v2:
- Enabled backports by default (I did not see that!)
- Enabled restricted, multiverse security updates
- Replaced tweaked with adjusted

v3:
- Insert an explanatory sources.list

LP: #2048129
2024-02-12 21:54:53 +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
Łukasz 'sil2100' Zemczak
fd3864acfe Merge branch 'u-boot-starfive' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2024-02-12 17:02:42 +01:00
Didier Roche
8bf6ad05f1
releasing package livecd-rootfs version 24.04.29 2024-02-12 11:01:59 +01:00
Didier Roche
f49ce9e3d8
Ensure ubuntu-wsl image can be published in cloud-images.
The publisher for cloud-images.ubuntu.com expects that artefacts
finishes with: file_url.endswith(project_prefix + suffix).
Now that we integrate app_id to the image name, we need thus to put it
before project_prefix and not between project_prefix and suffix.
2024-02-12 10:59:27 +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
Heinrich Schuchardt
c34e3dccd7 riscv: install u-boot-starfive on VisionFive 2 preinstalled image
The StarFive VisionFive 2 board can boot from SPI flash or SD-card.
Install U-Boot to the SD card.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-02-08 11:24:51 +01:00
Didier Roche
b4cf5a1b2c
releasing package livecd-rootfs version 24.04.27 2024-02-07 17:54:52 +01:00
Didier Roche
e5d6d07bad
Enable systemd as part of image creation
Microsoft offically support systemd now and our Pro service relies on
it. This option is enabled by default via our launcher (Windows-side) on
first run for quite a while.
Remve this file creation from it, don’t ship it in a package as the
file may be altered by the user to add additional options and ship it as
part of the rootfs.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2024-02-07 16:58:45 +01:00
Didier Roche
602463592a
Create different WSL tarball depending on upgrade policy
On WSL, we have multiple applications with the same rootfs, but
different upgrade policy:
Ubuntu: should always track latest LTS and offer upgrade.
Ubuntu-<Version>: should never offer upgrade and will stick to Version
Ubuntu-Preview: current in development version.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2024-02-07 16:58:44 +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
Ł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
e9d27dafb6 Update d/ch for 24.04.20 release 2024-01-22 18:02:29 +05:30
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
471f45101e releasing package livecd-rootfs version 24.04.19 2024-01-18 11:03:58 -08:00
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
240affbaca Share live-build/ubuntu/hooks/020-ubuntu-live.chroot_early across all flavors using new-style layered squashfs, removing need for kernel commandline options in debian-cd. 2024-01-17 16:20:54 -08:00
Utkarsh Gupta
6174e4c424 Update d/ch for 24.04.18 release 2024-01-17 14:17:42 +05:30
Thomas Bechtold
706a05b851 update debian/changelog 2024-01-16 13:07:52 +01:00
Thomas Bechtold
f82fb62222 fix: add kernel 6.6 apparmor features tree
Noble moved to the 6.6 kernel now and the preseeding optimization
doesn't work anymore given that the apparmor features used during
preseeding do not match the apparmor features used on a running system
with kernel 6.6 .
2024-01-16 13:03:34 +01:00
Utkarsh Gupta
9cda078671 Update d/ch for 24.04.17 release 2024-01-11 15:55:10 +05:30
Utkarsh Gupta
795927c48c unminimize: Use lxd-installer to install LXD itself (LP: 2036725)
By invoking LXD, lxd-installer will install LXD from the right
place, thereby make it simpler for us to not hardcode the
channel and manually snap install it.
2024-01-09 08:26:21 +05:30
339 changed files with 3030 additions and 2083 deletions

1
debian/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
files

987
debian/changelog vendored

File diff suppressed because it is too large Load Diff

1
debian/compat vendored
View File

@ -1 +0,0 @@
7

6
debian/control vendored
View File

@ -1,10 +1,12 @@
Source: livecd-rootfs
Section: devel
Priority: optional
Build-Depends: debhelper (>= 7)
Build-Depends: debhelper-compat (= 13)
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Standards-Version: 3.9.6
Standards-Version: 4.7.0
Vcs-Git: https://git.launchpad.net/livecd-rootfs -b ubuntu/master
Vcs-Browser: https://git.launchpad.net/livecd-rootfs
Rules-Requires-Root: no
Package: livecd-rootfs
Architecture: any

2
debian/copyright vendored
View File

@ -11,7 +11,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License with
your Ubuntu system, in /usr/share/common-licenses/GPL, or with the
your Ubuntu system, in /usr/share/common-licenses/GPL-2, or with the
livecd-rootfs source package as the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA.

3
debian/install vendored
View File

@ -2,7 +2,6 @@ auto-markable-pkgs usr/share/livecd-rootfs
live-build usr/share/livecd-rootfs
get-ppa-fingerprint usr/share/livecd-rootfs
minimize-manual usr/share/livecd-rootfs
magic-proxy usr/share/livecd-rootfs
lp-in-release usr/share/livecd-rootfs
checkout-translations-branch usr/share/livecd-rootfs
update-source-catalog usr/share/livecd-rootfs
sync-mtime usr/share/livecd-rootfs

10
debian/livecd-rootfs.lintian-overrides vendored Normal file
View File

@ -0,0 +1,10 @@
# This is expected and okay
livecd-rootfs: service-file-is-not-a-file [usr/share/livecd-rootfs/*.service]
livecd-rootfs: uses-dpkg-database-directly [usr/share/livecd-rootfs/live-build/lb_chroot_layered]
livecd-rootfs: package-contains-no-arch-dependent-files
# Developer documentation in an already-expected spot
livecd-rootfs: package-contains-documentation-outside-usr-share-doc [usr/share/livecd-rootfs/live-build/ubuntu-cpc/README.cpc.md]
# This is going to occur quite a bit; we're making a livefs
livecd-rootfs: repeated-path-segment * [*]

5
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1,5 @@
# This is expected and okay
livecd-rootfs source: absolute-symbolic-link-target-in-source * [live-build/*]
# The description indicates that it's not required in debhelper >= 13, which we have
livecd-rootfs source: override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS [debian/rules:*]

View File

@ -28,7 +28,6 @@ ALL_TRIPLETS="
ubuntu-cpc::ubuntu-cpc
ubuntu-cpc:minimized:ubuntu-cpc
ubuntu-dvd::
ubuntu-gnome::
ubuntukylin::
ubuntu-mate::
ubuntu-mate-core::
@ -65,19 +64,22 @@ live_build_rootfs() {
SUBPROJECT=$SUBPROJECT \
SUITE=$SUITE \
ARCH=$ARCH \
NOW=$(date '+%Y%m%d') \
lb config
mkdir chroot
# this part needs root rights, but right now the whole script ran as root by autopkgtest
env PROJECT=$PROJECT \
SUBPROJECT=$SUBPROJECT \
ARCH=$ARCH \
NOW=$(date '+%Y%m%d') \
lb build
echo "Build results for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD"
du -sh *
echo ""
}
WORKDIR=$(mktemp -d)
[ -d /adt ] || mkdir /adt
WORKDIR=$(mktemp -d -p /adt)
trap "RET=\$?; rm -rf $WORKDIR; exit \$RET" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR

View File

@ -0,0 +1 @@
0xffffff

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read perfmon bpf checkpoint_restore

View File

@ -0,0 +1 @@
acquire send receive

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
1.2

View File

@ -0,0 +1 @@
create read write exec append mmap_exec link lock

View File

@ -0,0 +1 @@
sqpoll override_creds

View File

@ -0,0 +1 @@
create read write open delete setattr getattr

View File

@ -0,0 +1 @@
mount umount pivot_root

View File

@ -0,0 +1 @@
detached

View File

@ -0,0 +1 @@
userns_create

View File

@ -0,0 +1 @@
no

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
pciu&

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
file

View File

@ -0,0 +1 @@
0x000001

View File

@ -0,0 +1 @@
allow deny subtree cond kill complain prompt audit quiet hide xindex tag label

View File

@ -0,0 +1 @@
0x000003

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
0x000001

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
read trace

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
allow deny audit quiet

View File

@ -0,0 +1 @@
cpu fsize data stack core rss nproc nofile memlock as locks sigpending msgqueue nice rtprio rttime

View File

@ -0,0 +1 @@
hup int quit ill trap abrt bus fpe kill usr1 segv usr2 pipe alrm term stkflt chld cont stop stp ttin ttou urg xcpu xfsz vtalrm prof winch io pwr sys emt lost

View File

@ -0,0 +1 @@
0xffffff

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read perfmon bpf checkpoint_restore

View File

@ -0,0 +1 @@
acquire send receive

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
1.2

View File

@ -0,0 +1 @@
create read write exec append mmap_exec link lock

View File

@ -0,0 +1 @@
sqpoll override_creds

View File

@ -0,0 +1 @@
create read write open delete setattr getattr

View File

@ -0,0 +1 @@
mount umount pivot_root

View File

@ -0,0 +1 @@
detached

View File

@ -0,0 +1 @@
userns_create

View File

@ -0,0 +1 @@
no

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
pciu&

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
file

View File

@ -0,0 +1 @@
0x000001

View File

@ -0,0 +1 @@
allow deny subtree cond kill complain prompt audit quiet hide xindex tag label

View File

@ -0,0 +1 @@
0x000003

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
0x000001

View File

@ -0,0 +1 @@
1

Some files were not shown because too many files have changed in this diff Show More