Compare commits

...

1479 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
Steve Langasek
de9c5ed37e releasing package livecd-rootfs version 24.04.16 2024-01-03 23:38:55 -08:00
Steve Langasek
650815889f Fix overlooked syntax error in live-build/auto/config. 2024-01-03 23:38:50 -08:00
Steve Langasek
a566a8173a releasing package livecd-rootfs version 24.04.15 2024-01-03 23:26:07 -08:00
Steve Langasek
fc6a8a7b94 But include a sensible error message for wrong usage of .live layers
Instead of just returning 'EXPLODE: command not found', heh
2024-01-03 23:03:56 -08:00
Steve Langasek
cdcb44ebf9 include a sanity check that no layered image has more than one "live" layer
This would cause undefined behavior with the LAYERFS_LIVE handling in the
hook.
2023-12-20 22:02:30 -08:00
Steve Langasek
80cd4153e1 check for glib-compile-schemas presence before calling from the ubuntu hook
This makes the hook ok to use cross-flavor.

We could also move glib-compile-schemas to a separate hook, to ensure we never
silently fail because glib-compile-schemas is broken/missing.
2023-12-20 19:47:14 -08:00
Steve Langasek
6680b3be8d generalize live-build/ubuntu/hooks/020-ubuntu-live.chroot_early
apply this to any layer ending in '.live' so it can be reused across flavors
2023-12-20 19:46:22 -08:00
Steve Langasek
5d6c97415a releasing package livecd-rootfs version 24.04.14 2023-12-20 11:40:05 -08:00
Steve Langasek
b45cad12b4 Ship static files instead of generating in a hook
When the files we're creating in the live layer have static content, ship
them in live-build/ubuntu/includes.chroot.minimal.standard.live instead of
generating them from live-build/ubuntu/hooks/020-ubuntu-live.chroot_early.

Also fixes the fact that
live-build/ubuntu/hooks/020-ubuntu-live.chroot_early was incorrectly writing
to /root in the previous upload instead of /usr.
2023-12-20 11:39:38 -08:00
Steve Langasek
915a6910fc releasing package livecd-rootfs version 24.04.13 2023-12-20 08:15:36 -08:00
Steve Langasek
25d1aa42a1 move code here from scripts/casper-bottom/61desktop_canary_tweaks
this should be done statically at image build time, not at boot.
2023-12-19 12:22:05 -08:00
Steve Langasek
5cc9bbcdd9 Merge branch 'raspi-only-arm64' into ubuntu/master 2023-12-15 23:17:34 -08:00
91ea9f1fca Add a changelog entry and release 24.04.12. 2023-12-15 14:43:51 -06:00
Erich Eickmeyer
e8e6f967b8 Add casper to minimal.standard.live seed
Without casper in the minimal.standard.live seed for flavors using the
new ubuntu-desktop-installer (or derivitives thereof), casper cannot
create a live user. Without this live user, Ubuntu Studio has been
experiencing the inability to login automatically from either the GUI or
manually from a TTY. This leaves the boot at a black screen with a mouse
cursor. This commit is an attempt to avoid the same situation. Previous
assessments of omitting casper from this line appear to have been
incorrect.
2023-12-15 14:42:27 -06:00
Erich Eickmeyer
0b4fd8b4c0 Fix comment, edubuntu task build, yaml name 2023-12-15 14:42:27 -06:00
Erich Eickmeyer
8fd9a84b92 Switch Edubuntu to new installer 2023-12-15 14:42:27 -06:00
Steve Langasek
4a44b56857 Drop support for building armhf+raspi images; as of noble these are arm64-only. 2023-12-08 18:38:40 -08:00
Steve Langasek
942b6d9201 releasing package livecd-rootfs version 24.04.11 2023-12-08 18:34:13 -08:00
Steve Langasek
cec2e89119 Explicitly add_package linux-$KERNEL_FLAVOURS in Ubuntu Studio. 2023-12-08 18:33:59 -08:00
Steve Langasek
4fad0b0ca0 releasing package livecd-rootfs version 24.04.10 2023-12-08 15:07:43 -08:00
Steve Langasek
6ce675b57d Project name for Ubuntu Studio needs to be 'ubuntustudio-dvd' throughout, not 'ubuntustudio'. 2023-12-08 15:07:34 -08:00
Steve Langasek
770125af8c Merge branch 'default-locale-everywhere' into ubuntu/master 2023-12-07 21:21:44 -08:00
Michael Hudson-Doyle
62b0be2d85 releasing package livecd-rootfs version 24.04.9 2023-12-08 15:43:21 +13:00
Michael Hudson-Doyle
17499ca901 add changelog 2023-12-08 15:41:45 +13:00
Michael Hudson-Doyle
c75f6b3db4 Merge remote-tracking branch 'xypron/umount' into ubuntu/master 2023-12-08 15:41:09 +13:00
Steve Langasek
b97c9fb1f6 releasing package livecd-rootfs version 24.04.8 2023-12-07 15:36:32 -08:00
Steve Langasek
84e27d0de2 Merge branch 'subarch-manifest' into ubuntu/master 2023-12-06 08:40:50 -08:00
Steve Langasek
323ffd735c Also add support for riscv64 builds with 'generic' subarch
CPC team builds use null subarch but ubuntu-cdimage builds use 'generic'
subarch

https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/noble/cpc/+build/542136
2023-12-06 08:38:33 -08:00
Steve Langasek
94082a6601 And support riscv64 builds with no subarch
such as https://launchpad.net/~cloudware/+livefs/ubuntu/noble/cpc/
2023-12-06 00:04:28 -08:00
Steve Langasek
573cde58cd Remove *-dvd glob handling for live layers; Ubuntu Studio is the only remaining "DVD" flavor, and with the move to the new installer this bit is also now incorrect. 2023-12-05 21:18:13 -08:00
Steve Langasek
afdd23e548 Fixup: ubuntustudio task name is ubuntustudio-dvd-live, not ubuntustudio-live 2023-12-05 21:14:53 -08:00
Steve Langasek
6f4cef9bff changelog 2023-12-05 21:12:45 -08:00
Erich Eickmeyer
6d7797eb95 Remove cloud-init, fix add_task line 2023-12-05 15:40:28 -08:00
Erich Eickmeyer
a514428a9c Remove unnecessary lines 2023-12-05 13:12:00 -08:00
Erich Eickmeyer
72746413df Fixes to add minimal seed 2023-12-05 12:48:40 -08:00
Erich Eickmeyer
f668208cf8 Fixes per vorlon 2023-12-05 11:20:20 -08:00
Erich Eickmeyer
154a932dc7 Switch Ubuntu Studio to new installer 2023-12-05 10:28:42 -08:00
Steve Langasek
a6844722a8 releasing package livecd-rootfs version 24.04.7 2023-12-03 21:38:31 -08:00
Steve Langasek
220e563de3 live-build/functions: add additional debugging to mount_image() on failure since we again have loop partitions failing to be block devices. 2023-12-03 21:38:20 -08:00
Steve Langasek
a2e35e06d8 Merge remote-tracking branch 'simpoir/lp2007419_add_resolved_to_buildd' into ubuntu/master 2023-12-03 21:26:30 -08:00
Steve Langasek
4fb141bbec Merge remote-tracking branch 'dbungert/adt-hang-vagrant' into ubuntu/master 2023-12-03 21:20:22 -08:00
Steve Langasek
df83a7afed Set C.UTF-8 locale in /etc/default/locale for all images; originally intended to be landed in the cosmic cycle.. 2023-12-03 21:07:54 -08:00
Steve Langasek
5728443d00 Merge remote-tracking branch 'jibel/germinate_with_updates' into ubuntu/master 2023-12-03 19:59:07 -08:00
Dave Jones
5d8dd4c95d changelog 2023-11-28 16:03:56 +00:00
Dave Jones
2a415654a5 Use oem-config-prepare package
Remove this hook; it's only for pre-installed desktop images and
8fb2180842c452ff08dd41a5746c00bfd69521cf already removed the other bits
for pre-installed desktop images.
2023-11-28 16:00:42 +00:00
Philip Roche
2d12330484 Merge ankushpathak-fix/launchpad_bug_2044154 into ubuntu/master [a=ankushpathak] [r=philroche,vorlon]
fix: Re-enable universe for pre-installed images (LP: #2044154)

MP: https://code.launchpad.net/~ankushpathak/livecd-rootfs/+git/livecd-rootfs/+merge/455996
2023-11-21 17:11:36 +00:00
Ankush Pathak
19bceac8b3 fix: Re-enable universe for pre-installed images (LP: #2044154) 2023-11-21 11:31:06 -05:00
Michael Hudson-Doyle
b701208893 releasing package livecd-rootfs version 24.04.5 2023-11-17 17:20:47 +13:00
Michael Hudson-Doyle
d6069b41c9 add changelog entry 2023-11-17 17:18:59 +13:00
Yao Wei (魏銘廷)
02a7faaa43 ubuntu-oem: add dummy files in order not to fail make-hooks 2023-11-15 13:06:41 +01:00
Steve Langasek
95b96df6db releasing package livecd-rootfs version 24.04.4 2023-11-05 16:42:22 +02:00
Steve Langasek
8fb2180842 Drop cargo-culted code for "preinstalled" images.
Somewhere along the line, we started trying to add packages to the live
environment of flavor "preinstalled" images.  But:

- we don't build preinstalled images for any flavors
- the preinstalled images for projects like cloud images and wsl are
  explicitly excepted from this code
- the only desktop project we do produce preinstalled images for, Ubuntu
  on Raspberry Pi, uses ubuntu-image for building so this code is never
  reached
2023-11-05 16:14:34 +02:00
Steve Langasek
99d2064f32 Drop a few remaining 'legacy' references. 2023-11-05 15:58:23 +02:00
Steve Langasek
ff23c153e8 releasing package livecd-rootfs version 24.04.3 2023-11-04 22:07:04 +02:00
Steve Langasek
74c1ee4bdf We no longer need to remove ubiquity from the Ubuntu live layer and install ubuntu-desktop-installer, this is now handled via the seeds. 2023-11-04 22:01:02 +02:00
Steve Langasek
5634c7e769 Drop the legacy images for both Ubuntu and Ubuntu Budgie. 2023-11-04 21:56:23 +02:00
Brian Murray
22a26cc97a Remove part of a comment which is incorrect 2023-10-31 00:01:48 -07:00
Philip Roche
cf8b696ec2 Merge bugfix/ubuntu-cpc-LP-2038957-ppc64el-vmlinux into ubuntu/master [a=philroche] [r=jchittum,vorlon]
fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)

ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This
is then used to determine the kernel major minor version installed so that the correct apparmor features can be used
during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz
being checked did not exist.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/453306
2023-10-26 18:20:27 +01:00
Philip Roche
5d959b24da fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)
ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This
is then used to determine the kernel major minor version installed so that the correct apparmor features can be used
during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz
being checked did not exist.
2023-10-26 18:02:32 +01:00
Paride Legovini
3ebbe9d447 d/changelog: add LP bug reference
Gbp-Dch: ignore
2023-10-25 20:24:16 +02:00
Paride Legovini
4bd7d5d076 Update changelog for 24.04.1 release 2023-10-25 17:58:24 +02:00
Paride Legovini
1586916934 Merge remote-tracking branch 'xypron/armhf' into ubuntu/master 2023-10-25 17:57:14 +02:00
Heinrich Schuchardt
21321ac018 arm: fix console parameter for ARM cloud-images
On armhf and arm64 the QEMU virt machine provides the serial console as an
emulated AMBA PrimeCell UART which the kernel refers to as /dev/ttyAMA0.

Consider this when constructing GRUB_CMDLINE_LINUX_DEFAULT in file
/etc/default/grub.d/50-cloudimg-settings.cfg (LP: #2036730).

Reviewed-by: Gauthier Jolly <gauthier.jolly@canonical.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-10-18 10:20:28 +02:00
Steve Langasek
b85dd7d8e6 Adjust version number for new release cycle 2023-10-12 10:10:30 -07:00
Steve Langasek
0a3babb81a call ubuntu-image classic with --debug, because --verbose doesn't give us anything useful in the livefs build logs. 2023-10-11 18:03:30 -07:00
Utkarsh Gupta
14778d8aa8 Update d/ch for 23.10.55 release 2023-10-05 18:05:20 +05:30
John Chittum
5427e5ad6c
fix: Add 6.5 kernel apparmor feats
lp: #2037567. starting in kernel 6.5.0.1006, there's been an update to
apparmor features. Creates the 6.5 kernel directory, fully populates
with feats checked from a machine running 6.5.0.1006 installed from
proposed (as of 20230927).
2023-10-05 07:30:01 -05:00
Sebastien Bacher
00508edc13 releasing package livecd-rootfs version 23.10.54 2023-10-03 22:33:43 +02:00
Sebastien Bacher
51b7278c4b Update the desktop fde model to include firmware-updater 2023-10-03 21:13:03 +02:00
Dan Bungert
089e773f26 changelog 2023-10-03 10:43:38 -06:00
Dan Bungert
2cccd614a6 oem, budgie: kernel in the live layer 2023-10-03 10:43:35 -06:00
Steve Langasek
7b11e47acf releasing package livecd-rootfs version 23.10.52 2023-10-02 18:13:26 -07:00
Steve Langasek
fadeb495e3 remove ssl-cert "snakeoil" private keys from images, since this makes them not very private. LP: #2037869. 2023-10-02 18:06:26 -07:00
Steve Langasek
fdf0091580 Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-project-images-not-producing-all-expected-filelists-LP-2033751' into ubuntu/master 2023-10-02 17:00:28 -07:00
Steve Langasek
85606c8b9d Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-filelist-sort-LP-2033677' into ubuntu/master 2023-10-02 16:57:29 -07:00
Dan Bungert
42d5a97576 changelog for 23.10.51 2023-10-02 15:00:44 -06:00
Dimitri John Ledkov
dc7519a44a Create subiquity meta-package hint 2023-10-02 17:28:40 +01:00
Dimitri John Ledkov
deb31732db Ensure chroot_linux-image is only exectued on live layers
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-10-02 10:39:30 +01:00
Dimitri John Ledkov
d5e9651fe0 remove live-build/ubuntu/hooks/020-ubuntu-live.binary: handled elsewhere
Now that kernel names use expected -generic flavour, and kernels are
installed in the live layer, we can go back to stock behaviour of
auto/build noticing that binary hooks are called on a live layer and
executing the extraction & rename of the kernel flavours.

BTW we can even later expand that to support 2 generic abis, and
calling the bigger one the hwe generic such that can also remove
./live-build/ubuntu-server/hooks/04-kernel-bits.binary.

This fixes ubuntu arm64+x13s that is unable to find
ubuntu-x13s.kernel-laptop as due to this hook, which currently
produces ubuntu.kernel-generic in error which is not at all expected
by ubuntu-cdimage. Also this unbreaks producing oem & intel-iot
images, although we will build these in 24.04 only next.

This reverts ubuntu daily-live to use `--linux-flavours
laptop-generic-hwe-22.04` instead of `--linux-flavours none
--linux-packages=none --initramfs=none`, like it did in lunar and
pre-canary-image or images that install kernel in live layer.

Fixes: c00bbf3fb3 ("desktop: place kernel in the live layer")

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-10-02 10:39:29 +01:00
Dimitri John Ledkov
1180791b48 releasing package livecd-rootfs version 23.10.50 2023-09-29 21:36:12 +01:00
Dimitri John Ledkov
ecb60bd158 Merge remote-tracking branch 'xnox/fix-x13s-try2' into ubuntu/master 2023-09-29 21:35:52 +01:00
Dimitri John Ledkov
378322380e live-build/ubuntu/hooks: ensure kernel artifacts named with subarch
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-09-29 04:45:12 +01:00
Steve Langasek
546217868f releasing package livecd-rootfs version 23.10.49 2023-09-27 22:37:50 -07:00
Steve Langasek
9468c51c0f Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-LP-2037074-flashkernel-removal' into ubuntu/master 2023-09-27 14:20:14 -07:00
Steve Langasek
f9b299ec4d Another arm64 subarch about to land 2023-09-27 13:38:12 -07:00
Steve Langasek
c79ee20bae releasing package livecd-rootfs version 23.10.48 2023-09-27 12:49:06 -07:00
Steve Langasek
6c4b217a6b changelog 2023-09-27 12:49:00 -07:00
Steve Langasek
e5d3ec78f6 Merge remote-tracking branch 'xnox/X13s' into ubuntu/master 2023-09-27 12:46:01 -07:00
Philip Roche
cf15cc4810 fix: arm flash-kernel removal from ubuntu-cpc project cloud images (LP: #2037074)
With the migration from linux-kvm to linux-virtual/generic for the mantic minimal
images we can now start building arm64 minimal cloud images.

When building initial test images we noticed that the flash-kernel package was being
installed. This is not required for EFI images.

This commit removes the flash-kernel package from the cloud images arm installs

The only images built using the livecd-rootfs ubuntu-cpc project for arm64 and armhf
which are not cloud images (which therefore do not require flash-kernel) are the
raspi images. raspi does require flash-kernel. But the raspi images use the
`ubuntu-server-raspi` task to install the flash-kernel. As such this non raspi
flash-kernel package install can be completely removed.

It also means that initramfs-tools and dracut-install are installed as these are dependencies
of flash-kernel package.
2023-09-27 11:36:51 +01:00
Dimitri John Ledkov
f1ab0f33c8 lowercase
Gbp-Dch: ignore
2023-09-27 00:02:57 +01:00
Steve Langasek
4677659484 releasing package livecd-rootfs version 23.10.47 2023-09-26 15:04:13 -07:00
Dimitri John Ledkov
f3a33b7dce Add support for X13s subarch
Add mapping to use laptop-23.10 kernel. Ensure that
enhanced-secureboot is only setup on amd64 arch.

LP: #2037099

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-09-26 18:54:39 +01:00
Steve Langasek
9fce6428c3 alphabetize the list 2023-09-26 10:18:26 -07:00
Philip Roche
1a884c1427 fix: Ensure that grub/shim package installs do not install recommends for minimized ubuntu-cpc image builds (LP: #2037075)
minimized cloud image policy, introduced in version 23.10.16, is to not install recommends for any package
installs during build. This is to keep the image as small as possible. This also extends to
the grub related packages.

This solves the problems detailed in LP: #2037075 and aligns other arches more with amd64 install of
grub/shim packages for both minimized and non minimized ubuntu-cpc cloud image builds.
2023-09-26 18:08:09 +01:00
Steve Langasek
1f2523920d Add missing '|' 2023-09-26 09:46:16 -07:00
Michael Hudson-Doyle
94ea97758d add changelog for previous merge 2023-09-26 15:11:53 +13:00
Michael Hudson-Doyle
e349c38b77 Merge remote-tracking branch 'simpoir/lp2037338_var_scoping' into ubuntu/master 2023-09-26 15:10:46 +13:00
Simon Poirier
f3114e7fb5 fix: fix var used before declaration in snap_validate_seed
Fix use of variable declared in conditional branch and used in parent
scope in snap_validate_seed. This would affect binary for images without
kernel and using "set -u". (LP: #2037338)
2023-09-25 19:31:58 -04:00
Dan Bungert
1637ed0609 changelog for budgie sources 2023-09-25 13:57:40 -06:00
Dan Bungert
ad6f99a9bf budgie: include universe & multiverse 2023-09-25 09:53:48 -06:00
Steve Langasek
cec7b99665 live-build/auto/config: fail immediately on unknown arch/subarch.
When trying to make changes to refactor livecd-rootfs, it is difficult to
know what side effects a change may have because of the use of globs on
arch/subarch and the lack of an authoritative list of supported arch
combinations.

This assembles a list of all possible values for $ARCH:$SUBARCH by looking at
all existing uses of $SUBARCH in live-build/auto/config and combining with
etc/default-arches from ubuntu-cdimage:

$ grep + etc/default-arches |grep -vE '(trusty|xenial|bionic|focal)[[:space:]]|appliance'

It also includes a special-case *appliance* glob, because there are many
Ubuntu Core appliance builds and there may be more in the future, and we
don't want to have to update livecd-rootfs with a hard-coded list.

Otherwise, this includes all currently used / supported combinations.  The
amd64+kassel subarch is referenced in the code, but stopped being built a
while ago because "end of contract"; and there are some older no-longer-used
subarchs for particular raspi variants, which there is work to clean up
separately.  So this should be a no-op wrt buildability of any existing
images on mantic - and if not, that's important for us to know!
2023-09-22 22:34:04 -07:00
Steve Langasek
3f0ac95248 releasing package livecd-rootfs version 23.10.44 2023-09-22 10:59:00 -07:00
Steve Langasek
0b1caf70c5 Fix the subarch here as well 2023-09-22 10:58:48 -07:00
Steve Langasek
16450169d9 Fix the subarch used in the hook to identify images for sifive unmatched. LP: #2037060. 2023-09-22 10:58:47 -07:00
Utkarsh Gupta
ffb064925f Update d/ch for 23.10.43 release 2023-09-22 15:02:15 +05:30
Utkarsh Gupta
fdf8779e8d Get rid of all whitespaces in d/ch 2023-09-22 15:01:41 +05:30
Steve Langasek
5e38cbea1d Changelog 2023-09-22 02:13:53 -07:00
Utkarsh Gupta
12a2109c22 fix: install LXD snap from stable/ubuntu-<version> channel (LP: #2036725)
In the past, we'd directly snap install lxd which defaults to
the latest/stable channel. However, whilst working on enhancing
unminimize, it was observed that we install this snap from
the stable/ubuntu-<version> channel instead.

This was also noted as a failure when running the CTF tests:
`lxd installed from latest/stable, not stable/ubuntu-23.10`
2023-09-22 13:05:29 +05:30
Steve Langasek
2712c65939 word wrapping 2023-09-19 10:34:28 -07:00
Philip Roche
2e8544186b Update d/ch for 23.10.42 release 2023-09-19 17:03:50 +01:00
Philip Roche
a5c5883712 fix: Fix the missing fi with the recent changes in the unminimize script for ubuntu-cpc project (LP: #2036591)
Fixes bug introduced in commit 75db56ce

The missing if statement end `fi` caused build failures due to syntax errors.
2023-09-19 17:02:56 +01:00
Steve Langasek
308f52ecf0 releasing package livecd-rootfs version 23.10.41 2023-09-19 08:21:05 -07:00
Steve Langasek
6820ef310c Merge remote-tracking branch 'toabctl/boot-partition' into ubuntu/master 2023-09-19 08:20:12 -07:00
Utkarsh Gupta
e26b264b0d Update d/ch for 23.10.40 release 2023-09-19 14:06:13 +05:30
Utkarsh Gupta
75db56ce61 Merge branch 'enhance-minimize' into ubuntu/master
* enhance-minimize:
  Install linux-virtual to restore the stripped headers
  Enhance unminimize to transform into a base image for ubuntu-cpc
2023-09-19 14:05:13 +05:30
Steve Langasek
a7e4887525 releasing package livecd-rootfs version 23.10.39 2023-09-18 15:06:28 -07:00
Steve Langasek
9ff1479b4c Merge remote-tracking branch 'vorlon/lp.2036195' into ubuntu/master 2023-09-18 15:06:20 -07:00
Dan Bungert
a677bcd12c changelog for 23.10.38 2023-09-18 15:48:42 -06:00
Dan Bungert
41fbfd6bb6 desktop: construct minimal+tpmfde variation 2023-09-18 15:48:41 -06:00
Steve Langasek
1deccc2edd The chroot tmpfs mount should only be /var/lib/apt/lists, not /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. LP: #2036195. 2023-09-16 17:27:45 -07:00
Steve Langasek
0542e9d218 Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-LP-2036192-armhf' into ubuntu/master 2023-09-15 14:44:00 -07:00
Philip Roche
8333dbac7a fix: armhf flavour for 6.5+ kernel is now generic (LP: #2033677)
With the introduction of the 6.5 kernel for mantic on 13th September ago we are seeing image build failures
on the armhf builds. The build failure was `No kernel output for generic-lpae!`.

Introduced in the 6.4 kernel and therefore now also in 6.5 there is no generic-lpae flavor anymore. it's just generic now.

As such this commit updates the expected flavour for armhf to generic.
2023-09-15 12:00:15 +01:00
Philip Roche
0a1e1cc0a7 fix: ensure minimize-manual script uses passed in argument for all commands (LP: #2036198)
minimize-manual takes an argument of the path to the chroot but of the 3 commands that are run the argument
is only used twice and with the third hardcoding "chroot" as the path to the chroot.

Thankfully "chroot" has been the patch passed in for the current uses of minimize-manual but this
could cause issues later if that were to change.

This commit resolves the problem preventing future issues.
2023-09-15 11:59:12 +01:00
Gauthier Jolly
f35ff6d0d5 update d/c 2023-09-14 22:18:37 +02:00
Gauthier Jolly
51d4756700 ubuntu-cpc: increase arm64 image size
This is needed following the addition of the new boot partition. This
also gives us the opportunity to refactor the logic and use a case
statement instead of ifs
2023-09-14 22:18:31 +02:00
Gauthier Jolly
a8b2a9b01e ubuntu-cpc: create a partition for /boot on all UEFI images
In order to support better support Full Disk Encryption on the clouds,
the boot assets have to sit on an un-encrypted partition. We've tried
mounting the ESP on /boot before but it didn't work as /boot has to
support linking for DPKG to work and the ESP has to be FAT.
2023-09-14 09:50:27 +02:00
Gauthier Jolly
626e59b4e5 functions: add support for mounting boot partition
If the partition exists, we should mount it on /boot. Partition 16 was
chosen because it is not used anywhere else in livecd-rootfs yet.
2023-09-14 09:50:27 +02:00
Łukasz 'sil2100' Zemczak
e601fd6fc6 releasing package livecd-rootfs version 23.10.36 2023-09-13 11:48:41 +02:00
Łukasz 'sil2100' Zemczak
6c608be212 Fix recent build failures by changing kernel/initrd naming and adjust hook conditionals for the minimal layer re-addition. 2023-09-13 11:48:21 +02:00
Sebastien Bacher
d828932160 releasing package livecd-rootfs version 23.10.35 2023-09-12 13:13:34 +02:00
Sebastien Bacher
ac41893c14 Fix the minimal option for the oem mode config 2023-09-12 12:34:31 +02:00
Sebastien Bacher
faf88cbbe7 Restore a desktop minimal layer and use if by default 2023-09-12 11:11:22 +02:00
Utkarsh Gupta
940df6e060 Install linux-virtual to restore the stripped headers
In a minimized image, the linux headers are stripped, so when
unminimizing it, we should restore those stripped headers
by installing the linux-virtual package.
2023-09-12 12:29:25 +05:30
Utkarsh Gupta
4400dd37c6 Enhance unminimize to transform into a base image for ubuntu-cpc
The unminimize script previously just restored the system documentation
and translations, man pages, and installed ubuntu-minimal and ubuntu-standard
packages to provide the familiar Ubuntu minimal system. But such an image
never became an equivalent of base image.

Upon investigation and looking at how the base image is constructed -
https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/config#n1108 -
we use the following things:
 - minimal task
 - standard task
 - cloud-image task (which involves ubuntu-server)
 - ubuntu-minimal package
 - server task if arch != amd64

OTOH, in the unminimize script, we use the following:
(https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/build#n286)
 - ubuntu-minimal package
 - ubuntu-standard package

So upon running some tests, it was found that if we install ubuntu-server
(with --fix-policy flag), we get the resulting image equivalent to that
of a base image.

cf: https://warthogs.atlassian.net/browse/CPC-3033
2023-09-12 12:29:17 +05:30
Dan Bungert
4c6d5b0501 releasing 23.10.34 2023-09-08 08:58:12 -06:00
Dan Bungert
4c6bb3c386 Merge remote-tracking branch 'dbungert/lp-2026225-surely' into ubuntu/master 2023-09-07 21:31:20 -06:00
Steve Langasek
31847e264b changelog 2023-09-07 17:10:41 -07:00
Dan Bungert
07fec08555 changelog 2023-09-07 16:54:53 -06:00
Dan Bungert
c00bbf3fb3 desktop: place kernel in the live layer
Placing the kernel in the live layer allows for selecting at install
time which kernel to install.
2023-09-07 16:52:53 -06:00
Dave Jones
7fbe0825b7 Remove spam from boot mountpoint
The pi images contain redundant copies of cmdline.txt and config.txt in
the boot partition mount-point (which get hidden by the *actual* boot
partition). This commit removes those and simplifies the subarch check
(again, +raspi is the only subarch in use at this point on the Raspberry
Pi images)
2023-09-07 10:58:18 +01:00
Steve Langasek
61c1b9bacb Merge remote-tracking branch 'mwhudson/use-server-live-task' into ubuntu/master 2023-09-06 20:04:03 -07:00
Steve Langasek
867f5465d0 changelog 2023-09-06 18:28:30 -07:00
Michael Hudson-Doyle
2e1b092a0e auto/config: use the new server-live task to reduce the use of explicit calls to add_package and add_snap a bit. 2023-09-07 12:55:53 +12:00
Steve Langasek
6be1e868f0 Drop live-build/ubuntu-server/includes.chroot.ubuntu-server-minimal/etc/hosts
/etc/hosts in an installed system comes from one of several places:
- the netbase package which ships a sane default
- scripts/casper-bottom/18hostname, which is mostly identical to the netbase
  one but sets a hostname to the flavor name
- the installer which writes one to the target fs
- chroot includes in livecd-rootfs

A chroot include is only needed for images that don't include netbase (so
don't inherit from the minimal seed), don't boot casper, and don't run an
installer.

NONE of these conditions are true for the ubuntu-server live image.  And in
addition, the /etc/hosts here differs from the others.

So, remove it.
2023-09-06 17:55:43 -07:00
Steve Langasek
1e91885827 releasing package livecd-rootfs version 23.10.33 2023-09-06 15:51:15 -07:00
Steve Langasek
5a456417d2 Drop code only used for d-i based ubuntu-server images, no longer supported. 2023-09-06 15:40:55 -07:00
Steve Langasek
6d834be1bf More consolidation of duplicate configs 2023-09-06 15:39:55 -07:00
Steve Langasek
86917060b8 Remove dead code: is never 'amd64' 2023-09-06 15:35:40 -07:00
Steve Langasek
65157e0c13 Duplicate if condition 2023-09-06 15:16:01 -07:00
Steve Langasek
cd9c0e4bd7 More consolidation of duplicate configs 2023-09-06 15:13:01 -07:00
Steve Langasek
e501d7ab4c More consolidation of duplicate configs 2023-09-06 14:56:54 -07:00
Steve Langasek
76d133becf Remove unnecessary arch guarding of the UbuntuStudio kernel selection: we only build this image on amd64 (the arch checking is from i386 days), and the lowlatency kernel also exists on arm64. 2023-09-06 14:47:11 -07:00
Steve Langasek
d169cb531c ubuntukylin-default-settings is part of the task, don't hard-code the package. 2023-09-06 14:36:29 -07:00
Steve Langasek
a53fe72235 Drop references to kubuntu-dvd, obsoleted in 2012. 2023-09-06 14:34:36 -07:00
Steve Langasek
7c4ad85509 Merge some more live image definitions 2023-09-06 12:59:40 -07:00
Steve Langasek
214fee87ee generic is the default kernel flavor in live-build on Ubuntu; remove hard-coded cargo-culting of this setting. 2023-09-06 12:56:27 -07:00
Steve Langasek
5776828153 Parameterize and consolidate live image definitions for flavors using a common pattern 2023-09-06 12:04:45 -07:00
Steve Langasek
80d331ef9c Clearer changelogs about when things went obsolete 2023-09-06 11:59:53 -07:00
Steve Langasek
458f58bb7a Drop references to mythbuntu, obsolete after xenial. 2023-09-06 11:59:32 -07:00
Steve Langasek
f763efa40e Drop references to ubuntu-dvd, obsolete since precise. 2023-09-06 11:53:23 -07:00
Steve Langasek
d7e77d7acf Alphabetize for clarity 2023-09-06 11:49:28 -07:00
Steve Langasek
f2360a58c8 remove redundancy from case statement 2023-09-06 11:48:22 -07:00
Steve Langasek
f44c2aac8c merge redundant cases for seed/mirror handling 2023-09-06 11:43:11 -07:00
Steve Langasek
caace43cb9 ubuntu-unity-live task exists, use it also instead of hard-coded list of packages. 2023-09-06 11:36:18 -07:00
Steve Langasek
fc49fb286c Drop references to ubuntu-netbook, obsolete since Ubuntu 11.04. 2023-09-06 11:32:43 -07:00
Steve Langasek
e8a08ad084 Don't hard-code addition of xterm package on xubuntu, it's in the task already. 2023-09-06 11:28:50 -07:00
Steve Langasek
7c51e152f1 ubuntucinnamon-live task has existed for a while now, use it instead of hard-coded list of packages. 2023-09-06 11:26:58 -07:00
Steve Langasek
abc60bc135 Drop references to kubuntu-plasma5, obsolete since wily 2023-09-06 11:24:06 -07:00
Łukasz 'sil2100' Zemczak
d7f2a4f240 releasing package livecd-rootfs version 23.10.32 2023-09-06 18:24:28 +02:00
Łukasz 'sil2100' Zemczak
e38264ca7a Merge branch 'canary-as-default' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2023-09-06 18:23:07 +02:00
Steve Langasek
e5646cd530 releasing package livecd-rootfs version 23.10.31 2023-09-05 14:43:26 -07:00
Steve Langasek
7ae752357f mark the minimized autopkgtest as also allowing stderr, in the event of any error messages from blkid. 2023-09-05 14:40:35 -07:00
Steve Langasek
34e850d4a5 blkid is unreliable in mount_image(), but this blkid call is only here for debugging, so ignore any failures (even if we don't understand them). LP: #2034299. 2023-09-05 12:30:15 -07:00
Łukasz 'sil2100' Zemczak
76141ad5f3 Add changelog. 2023-09-05 19:23:32 +02:00
Łukasz 'sil2100' Zemczak
9b33f085c1 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-as-default 2023-09-05 19:00:32 +02:00
Simon Poirier
3729e2ae94 fix: add back systemd-resolved to buildd images.
systemd-resolved got moved out of the systemd package in kinetic and is
required for bootable buildd environement (as opposed to launchpad buildd)
(LP: #2007419)
2023-09-01 17:29:15 -04:00
Utkarsh Gupta
990e66dadd Update d/ch for 23.10.30 release 2023-09-02 02:30:13 +05:30
Utkarsh Gupta
78a98c6835 Fix unminimize to correctly list packages (LP: #1996489)
Prior to dpkg/1.21.0, there was a bug where dpkg -V/--verify
couldn't list all the correct packages correctly but with
that being fix and in archive since Jammy, this works perfectly
but the syntax to report the missing files have changed. It
just prints 'missing' now. With that new format, we can now
fix the regex to simply list the packages.

With this patch, the unminimize script works flawlessly
on a minimized image.
2023-09-02 00:39:41 +05:30
Philip Roche
ad7ac10fba Update changelog for livecd-rootfs 23.10.31 (LP: #2033751) 2023-09-01 12:24:59 +01:00
Philip Roche
57153243a6 fix: disk-image-non-cloud ubuntu-cpc build target now provides manifest and filelist (LP: #2033751)
These were being created so now they can be downloaded post launchpad image build
2023-09-01 12:21:39 +01:00
Philip Roche
7dd9b1bd84 fix: Create .filelist in ubuntu-cpc project binary hooks that do not use create_manifest shared function (LP: #2033751)
ubuntu-cpc project binary hooks were not all producing .filelist files as they were not using
the create_manifest shared function.

This commit ensures the disk-image-uefi, disk-image-ppc64el and disk-image-uefi-non-cloud hooks create
a filelist during build.
2023-09-01 12:21:34 +01:00
Philip Roche
c72d1a7f2b fix: Ensure any created .filelist is symlinked with expected prefix and correct permissions (LP: #2033751)
If a .filelist is present, use it as the filelist for the image by
symlinking with expected name and updating permissions
2023-09-01 12:21:12 +01:00
Philip Roche
f8bd628c83 fix: Sort filelists creating when building ubuntu-cpc images (LP: #2033677)
The image filelists created during ubuntu-cpc project image builds were not sorted.

Soring the filelists makes it easier to compare the filelists without needing to sort first.
2023-08-31 20:36:00 +01:00
Łukasz 'sil2100' Zemczak
322b822087 releasing package livecd-rootfs version 23.10.29 2023-08-31 15:25:05 +02:00
Łukasz 'sil2100' Zemczak
4a5af08b91 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-sync-tasks 2023-08-31 15:22:50 +02:00
Steve Langasek
459665593c releasing package livecd-rootfs version 23.10.28 2023-08-30 08:28:59 -07:00
Steve Langasek
8c3d3087d6 Allow stderr in the autopkgtest. 2023-08-30 08:28:51 -07:00
Łukasz 'sil2100' Zemczak
3a715d2fff Don't reset KERNEL_FLAVOURS for canary. 2023-08-30 16:47:21 +02:00
Łukasz 'sil2100' Zemczak
47a88df62f I suppose w don't need the 020-canary-live.binary hook anymore. 2023-08-30 14:25:26 +02:00
Łukasz 'sil2100' Zemczak
bbf7466695 Changelog entry. 2023-08-30 12:05:49 +02:00
Łukasz 'sil2100' Zemczak
0c6e4314e5 canary: switch to use the live task, try to use KERNEL_FLAVOURS instead of a manual kernel add_package. 2023-08-30 11:57:04 +02:00
Steve Langasek
6e30df92f2 releasing package livecd-rootfs version 23.10.27 2023-08-29 10:39:26 -07:00
Steve Langasek
b30e7e4146 lb_chroot_layered: if the unmount of the chroot mountpoint fails, dump mount information for debugging. 2023-08-29 10:39:21 -07:00
Steve Langasek
5a0909dd20 Add ubuntu to the list of targets we autopkgtest for on amd64, to ensure coverage of the lb_chroot_layered behavior. 2023-08-29 10:34:26 -07:00
Łukasz 'sil2100' Zemczak
4c5f394653 releasing package livecd-rootfs version 23.10.26 2023-08-28 15:48:38 +02:00
Łukasz 'sil2100' Zemczak
353d222c94 Merge branch 'seed.yaml-live' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2023-08-28 15:48:00 +02:00
Łukasz 'sil2100' Zemczak
4a2e30a3b3 Update enhanced-sb layer model assertion. 2023-08-28 12:23:30 +02:00
Michael Hudson-Doyle
6ab6066c05 Use a traditional seed.yaml style seed for the canary installer's live session. 2023-08-28 21:29:24 +12:00
Michael Hudson-Doyle
e00e189ad6 releasing package livecd-rootfs version 23.10.25 2023-08-28 14:03:04 +12:00
Michael Hudson-Doyle
b91452e7fe snap-seed-parse.py: fix builds with no snaps. 2023-08-28 14:02:51 +12:00
Michael Hudson-Doyle
0d35c7645f releasing package livecd-rootfs version 23.10.24 2023-08-28 12:49:08 +12:00
Michael Hudson-Doyle
db6f685b84 snap-seed-parse.py: Update to allow parsing uc20-style seeds. (LP: #2028984) 2023-08-28 11:30:11 +12:00
Michael Hudson-Doyle
3d5fd1120c Configure universe sources in canary ISO. (LP: #2033109) 2023-08-28 10:43:52 +12:00
Michael Hudson-Doyle
a83925b8ac update-source-catalog: Fix case where a variaton does not point at the base layer (i.e. most builds) (LP: #2033168) 2023-08-28 10:40:53 +12:00
Steve Langasek
57fb4b2b04 releasing package livecd-rootfs version 23.10.23 2023-08-26 16:34:30 -07:00
Steve Langasek
ac65e0b05c Remove obsolete comment. We do want this hook executed for non-canary builds! 2023-08-26 15:14:08 -07:00
Steve Langasek
21333e9889 Drop mke2fs.conf override, no longer needed. 2023-08-26 15:12:09 -07:00
Steve Langasek
cb3f3292b2 i386 foreign-arch support was added for the canary image before 23.04 released, but by mistake it was only added to the squashfs for the live session, and not the squashfs layer used as the source for installation. split the chroot hooks to add this to the standard.squashfs. LP: #2033170. 2023-08-26 15:06:14 -07:00
Michael Hudson-Doyle
809fbee16b releasing package livecd-rootfs version 23.10.22 2023-08-25 18:45:15 +12:00
Michael Hudson-Doyle
a945ef83a7 fix silly typo in update-source-catalog 2023-08-25 17:09:03 +12:00
Michael Hudson-Doyle
f354d76a83 Stop launching a gnome-terminal at startup of the canary live session. (LP: #2032647) 2023-08-25 15:22:02 +12:00
Michael Hudson-Doyle
9b75387648 update-source-catalog: work better when we want a variation to point at the base layer. 2023-08-25 15:15:02 +12:00
Michael Hudson-Doyle
5456e4e5e6 Undo preseeding in reset_snapd_state. 2023-08-25 14:50:08 +12:00
Steve Langasek
19c8076966 releasing package livecd-rootfs version 23.10.21 2023-08-23 10:31:51 -07:00
Michael Hudson-Doyle
e992090dca add an essay about rsync options 2023-08-23 22:30:44 +12:00
Steve Langasek
2b80fdecd2 No need to use rsync in hooks now to avoid file duplication since layer handling as a whole now uses rsync. 2023-08-23 22:21:41 +12:00
Steve Langasek
b43e3b84f4 Reset /var/lib/snapd in the upper layers before calling snap prepare-image 2023-08-23 22:21:41 +12:00
Steve Langasek
d3a75c9bec Consolidate canary layers to merge 'classic' back into 'standard' 2023-08-23 22:21:32 +12:00
Michael Hudson-Doyle
6890dfe5ca Deduplicate the layers just before creating the squashfs, to enable deduplication of the result of binary hooks as well. 2023-08-23 22:14:15 +12:00
Łukasz 'sil2100' Zemczak
caedce593b releasing package livecd-rootfs version 23.10.20 2023-08-22 17:16:00 +02:00
Łukasz 'sil2100' Zemczak
b1a118f4d7 Update canary model assertions.: 2023-08-22 17:15:36 +02:00
Utkarsh Gupta
13c3321bb8 Update d/ch for 23.10.19 release 2023-08-22 14:55:35 +05:30
Utkarsh Gupta
7b1b63147e Add python3-systemd to our minimized builds
This package is needed by ubuntu-advantage-tools for cloud images
only. u-a-t ultimately will drop this entirely in their next release.
(cf: https://github.com/canonical/ubuntu-pro-client/issues/2692)

So instead of putting this in the seeds and then having to deal
with the seed changes to Mantic (after its release) and SRU of
ubuntu-meta, I'd rather have changes in livecd-rootfs done. Once
python3-systemd dependency is dropped from u-a-t, we'll drop it
from livecd-rootfs in Mantic+, too.
2023-08-22 14:48:33 +05:30
Łukasz 'sil2100' Zemczak
139234da82 releasing package livecd-rootfs version 23.10.18 2023-08-18 18:00:47 +02:00
Łukasz 'sil2100' Zemczak
9d9a68d6bf Fix the 020-canary-* hooks referencing the wrong layer names after changes introduced in 23.10.17. 2023-08-18 18:00:24 +02:00
Łukasz 'sil2100' Zemczak
6eca613644 Refresh the canary model assertions. 2023-08-18 17:50:56 +02:00
Łukasz 'sil2100' Zemczak
8a9ba050c3 Make canary images default for Ubuntu. 2023-08-18 12:16:28 +02:00
Steve Langasek
121e5d8195 releasing package livecd-rootfs version 23.10.17 2023-08-17 09:39:48 -07:00
Steve Langasek
94ab5c0f7a Merge branch 'meta-squash-fs' into ubuntu/master 2023-08-17 08:16:49 -07:00
Philip Roche
3531a2b2b4 fix: Only close LP bug once in changelog entry
Indent related fixes under same bug heading
2023-08-17 12:41:46 +01:00
Philip Roche
a373fb527c fix: Install required package fuse3 when preseeding snaps (LP: #2031640)
fuse3 was previously installed through recommends but with minimized images we no longer install recommends packages.

It is only required when preseeding snaps so does not need to be present in all minimized images so does not
need to be in the cloud-minimal seed.
2023-08-17 11:50:20 +01:00
Philip Roche
294a65452d fix: Ensure required dependencies are installed before trying grub-install (LP: #2031640)
As a result of not installing recommended packages the packages required to run `grub-install`
are no longer installed by default.

To ensure we can successfully run `grub-install` we install both `grub-pc` and `grub2-common`
packages.
2023-08-17 11:49:11 +01:00
Philip Roche
711c5c291f fix: Remove dangling symlink /boot/initrd.img.old if exists (LP: #2031640)
As a result of not installing recommended packages we have dangling symlink `/boot/initrd.img.old`

As per the preceding `/boot/initrd.img` cleanup. Cleanup of `/boot/initrd.img.old`
only happens if it is a dangling symlink.

These `rm` commands also have `--verbose` flags now to make it easier when debugging logs
2023-08-17 11:48:22 +01:00
Philip Roche
d1ec6f8947 fix: Do not install recommends for ubuntu-cpc minimized project (LP: #2031640)
For minimized images we do not want to install any recommended packages.
We can do this by setting APT::Install-Recommends to false in apt config
or by passing --no-install-recommends to apt-get install.
2023-08-17 11:46:59 +01:00
Utkarsh Gupta
21fa212d12 Update d/ch for 23.10.15 release 2023-08-17 07:07:16 +05:30
Utkarsh Gupta
75e67290b6 Merge remote-tracking branch 'hammerstefan/fix-armhf' into ubuntu/master
* hammerstefan/fix-armhf:
  fix(armhf): Fix armhf kernel file detection
2023-08-17 07:06:15 +05:30
Dan Bungert
fcde591061 changelog 2023-08-16 17:21:37 -06:00
Dan Bungert
91641eeeec cpc/hooks: fix hang when running adt locally
While attempting to run autopkgtest locally, the test stops at the
following command:
ssh-keygen -t ed25519 -C ubuntu_vagrant_insecure_key -b 4096 -f
/tmp/tmp.VuAfnsBv1G/vagrant_insecure_key

This is found in live-build/ubuntu-cpc/hooks.d/base/vagrant.binary

It appears to be waiting for a passphrase, as running that outside of
adt gives a more helpful "Enter passphrase" prompt.

Explicitly set the passphrase to empty with the `-N` argument.
2023-08-16 17:20:54 -06:00
Steve Langasek
6f1fc57ebc Merge the minimal and standard layers on the Ubuntu Desktop images (both daily-live and canary), now that there is no separate minimal install target. 2023-08-16 14:35:27 -07:00
Dan Bungert
51dcf5f115 changelog for 23.10.14 2023-08-15 18:05:50 -06:00
Dan Bungert
e03d43e069 canary: drop minimal install source 2023-08-15 18:03:45 -06:00
Dan Bungert
16c1c3499e canary: fix lang layers generation 2023-08-15 18:03:27 -06:00
Dan Bungert
2d33c8de61 canary: fix layer for "classic" variation 2023-08-15 18:01:44 -06:00
Dan Bungert
592f753e26 canary: +dctrl-tools, subiquity uses it 2023-08-15 18:01:12 -06:00
Utkarsh Gupta
61ae209071 Update d/ch for 23.10.13 release 2023-08-10 01:44:53 +05:30
Stefan Hammer
08db5c2418 fix(armhf): Fix armhf kernel file detection
Armhf images install the `generic-lpae` kernel, while other ARCHes use the
standard `generic` kernel when building the "virtual" image flavour.
Code was looking for a kernel binary ending with -generic in armhf
builds, and failed. Add a special condition to handle armhf builds'
kernel ending with `generic-lpae`

References:
[1] https://bugs.launchpad.net/cloud-images/+bug/2029527
2023-08-09 10:09:22 -05:00
Jess Jang
5e96ff013e fix: bind correct apparmor feature for validating snap seed
During Realtime kernel image build, there was an error during
validating snap seed which derivative images copied 5.19
apparmor feature and can't validate when Realtime kernel (5.15)
installed [0].

To prevent this, bind correct apparmor feature with kernel
version.

[0] https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2024639

(cherry picked from commit 6b54faa6be6286017eb2dc701534cf780ae462ce)
2023-08-08 10:12:27 -05:00
Utkarsh Gupta
774b7c6c5a Update d/ch for 23.10.12 release 2023-08-08 15:45:56 +05:30
Utkarsh Gupta
7647b027b9 Merge branch 'drop-more-packages' into ubuntu/master
* drop-more-packages:
  Avoid purging packages for ubuntu-cpc
2023-08-08 15:44:33 +05:30
Utkarsh Gupta
ca84320688 Avoid purging packages for ubuntu-cpc
With the switch to the ubuntu-cloud-minimal seed, we
don't really need to purge anything now. On the contrary,
the purging of packages if not installed, fails with the
exit code of 100.
2023-08-08 15:17:02 +05:30
Michael Hudson-Doyle
fb465e6921 releasing package livecd-rootfs version 23.10.11 2023-08-08 13:58:15 +12:00
Michael Hudson-Doyle
4f6f63dd6b Remove additional dependencies from subiquity units as they are now interfering with the boot process. (LP: #2028862) 2023-08-08 13:02:08 +12:00
Łukasz 'sil2100' Zemczak
494ef427e8 Merge branch 'canary-locale' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2023-08-07 11:31:02 +02:00
Dan Bungert
3522847a77 changelog 2023-08-03 21:39:19 -06:00
Dan Bungert
aa2d04bd9d revert KERNEL_FLAVORS=none 2023-08-03 21:39:04 -06:00
Łukasz 'sil2100' Zemczak
4fc64be673 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-locale 2023-08-03 12:51:12 +02:00
Łukasz 'sil2100' Zemczak
4cc5d37900 Fix changelog version and whitespace. 2023-08-03 12:48:47 +02:00
Dan Bungert
95b37dcb8c budgie: KERNEL_FLAVOURS=none 2023-08-02 16:06:31 -06:00
Dan Bungert
6010b5de5e desktop: KERNEL_FLAVOURS=none
no need to include the kernel directly, it is installed at
runtime (LP: #2026225)
2023-08-02 16:06:31 -06:00
Michael Hudson-Doyle
101e5b6f19 releasing package livecd-rootfs version 23.10.8 2023-08-02 13:19:51 +12:00
Michael Hudson-Doyle
cf75120068 lb_chroot_layered: use rsync to make more minimal overlay layers. (LP: #2028213) 2023-08-02 13:18:03 +12:00
Michael Hudson-Doyle
276d577722 add changelog entry for vf2_edk2 merge 2023-08-02 13:16:55 +12:00
Heinrich Schuchardt
fd75a28558 risc-v: increase loader 2 partition for VF2
EDK II is available for the StarFive VisionFive 2 board. As it is larger
than U-Boot we need to increase the size of the loader 2 partition to
accommodate it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-08-01 16:06:00 +02:00
Michael Hudson-Doyle
cb1a24a5fb releasing package livecd-rootfs version 23.10.7 2023-07-30 09:18:36 +12:00
Michael Hudson-Doyle
d3dfb12f85 Actually fix live-build/ubuntu-cpc/hooks.d/base/disk-image.binary to not call force_boot_without_initramfs on s390x rather than disk-image-uefi.binary which obviously would never run on s390x. 2023-07-29 13:02:56 +12:00
Michael Hudson-Doyle
41f4783f19 releasing package livecd-rootfs version 23.10.6 2023-07-29 07:56:41 +12:00
Michael Hudson-Doyle
37341541b4 live-build/ubuntu-cpc/hooks.d/base/disk-image.binary: Do not call force_boot_without_initramfs on s390x. 2023-07-29 07:34:35 +12:00
Michael Hudson-Doyle
c42f2ef3b1 live-build/ubuntu-cpc/hooks.d/base/disk-image-*.binary: Fix invocations of force_boot_without_initramfs to pass "mountpoint" and not "${mountpoint}" (which actually worked on most arches for VERY BAD reasons but fails on s390x). 2023-07-29 07:33:22 +12:00
Michael Hudson-Doyle
777fe1f699 releasing package livecd-rootfs version 23.10.5 2023-07-28 11:05:57 +12:00
Michael Hudson-Doyle
0595a12093 add changelog entry for previous merge 2023-07-28 11:03:44 +12:00
Michael Hudson-Doyle
ee2b6290bc Merge remote-tracking branch 'utkarsh/ubuntu-cloud-minimal' into ubuntu/master 2023-07-28 11:01:41 +12:00
Łukasz 'sil2100' Zemczak
09cec13e37 canary: attempt to enable locale support for canary layers. 2023-07-19 17:15:57 +02:00
Utkarsh Gupta
06defc4348 Use ubuntu-cloud-minimal metapackage in minimized CPC images
Now that we have the cloud-minimal seed for minimized cloud
image builds, we should drop all the workarounds and hacks
we once needed when we were using the server seed. We can
directly use the new metapackage and get rid of the tasks and
other autoremoves, et al.
2023-07-19 16:36:35 +05:30
Łukasz 'sil2100' Zemczak
f045e9d376 releasing package livecd-rootfs version 23.10.4 2023-07-19 11:07:08 +02:00
Łukasz 'sil2100' Zemczak
9d9f7a71a5 canary: use 23.10 models. 2023-07-19 11:06:40 +02:00
Loïc Minier
8cd0c5a852 Depend on devscripts
classic ubuntu-image builds will build the gadget from a repository
using make, and the reference pc-gadget snap uses chdist to pull the
latest GRUB/shim from the proper series x pocket; NB: chdist was used
instead of the more convenient pull-lp-debs as devscripts is in main
while ubuntu-dev-tools is in universe. It's inelegant for livecd-rootfs
to pick up dependencies needed to build gadgets, even if it's for the
official ones as other gadgets might want other dependencies, rather
this should be expressed as part of the build contract of the gadget, or
livecd-rootfs should only consume pre-built gadgets built in a standard
way (e.g. snap build, deb build etc.).
2023-07-16 10:47:29 +00:00
Dimitri John Ledkov
e1eab51d3a
releasing package livecd-rootfs version 23.10.2 2023-07-14 13:42:08 +01:00
Dimitri John Ledkov
7ae6dbbb8e
Set gbp dch vendor to debian for correct new changelog version.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-14 13:40:56 +01:00
Dimitri John Ledkov
c18d3f75ad
Fixup up two more places with kvm removal.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-14 13:16:05 +01:00
Dimitri John Ledkov
5cd0542da5
releasing package livecd-rootfs version 23.10.1 2023-07-14 00:27:00 +01:00
Dimitri John Ledkov
433a79d5a9
Merge remote-tracking branch 'origin/xnox/virtual-armhf' into ubuntu/master 2023-07-14 00:24:43 +01:00
Dimitri John Ledkov
731a0b49e3
Merge remote-tracking branch 'origin/xnox/deprecate-kvm' into ubuntu/master 2023-07-14 00:24:36 +01:00
Yao Wei (魏銘廷)
1038f94330 feat: add ubuntu-oem project for oem images 2023-07-12 11:10:40 +08:00
Michael Hudson-Doyle
448defa7f3 Merge branch 'revert/cpc/esp_on_boot' into ubuntu/master 2023-07-10 22:26:38 +12:00
Michael Hudson-Doyle
9fbf523b47 update version number 2023-07-10 22:26:33 +12:00
gauthier
f3afd862d5 update d/c 2023-07-10 12:05:38 +02:00
Sebastien Bacher
7164bf9d68 releasing package livecd-rootfs version 2.898 2023-07-07 07:42:10 +02:00
Sebastien Bacher
a67777a41f Remove the catalog entry for minimal Ubuntu desktop 2023-07-06 20:35:31 +02:00
Gauthier Jolly
2929ff092e Revert "ubuntu-cpc: Make the ESP 2GiB and mount it to /boot"
Revert this change for now as /boot then becomes a FAT partition which
breaks DPKG requirements[1]. This change is going to be re-evaluated and
maybe introduced in a different way.

This is not a clean revert because of 3282efb ("ubuntu-cpc: cleanup
disk-images-uefi.binary") which we want to keep.

[1] https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_What_are_the_filesystem_requirements_by_dpkg.3F

This reverts commit 6a66666e0a5ab1ad96cb0e388f278aafbd012ffe.
2023-07-06 11:12:01 +02:00
Gauthier Jolly
a3307ebdb7 Revert "ubuntu-cpc: disable kernel and initramfs symlinks in /boot"
This reverts commit b20e894a9878837ed84f9db71997f68476d632b5.
2023-07-06 11:04:20 +02:00
Łukasz 'sil2100' Zemczak
7c302dc436 releasing package livecd-rootfs version 2.897 2023-07-06 09:58:02 +02:00
Łukasz 'sil2100' Zemczak
370f0f5f9c Changelog entry. 2023-07-05 21:01:36 +02:00
Heinrich Schuchardt
af577c87b2 RISC-V: handle kernel flavour allwinner
Package linux-allwinner has a kernel with the generic flavour as
dependency. Add this translation to our code checking the correct
installation.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-05 14:52:54 +02:00
Heinrich Schuchardt
476e202403 Revert RISC-V: sunset allwinner kernel flavour
According to the kernel team the Linux Meta package linux-allwinner shall
continue to be supplied. It will depend on generic packages.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-05 14:51:08 +02:00
Michael Hudson-Doyle
1a3980ec6c releasing package livecd-rootfs version 2.896 2023-07-05 13:24:17 +12:00
Michael Hudson-Doyle
b5387cb32b Disable the orphan_file ext4 feature in the canary live environment so that the installed system can be handled by the e2fsck in the extant kernel snap (cf. bug 2025339). 2023-07-05 11:41:44 +12:00
Michael Hudson-Doyle
7d0aa68826 live-build/ubuntu/hooks/033-disk-image-uefi.binary: update to point at ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary, fixing canary build. 2023-07-05 10:13:38 +12:00
Dimitri John Ledkov
dc59fe83ca Deprecate linux-kvm usage
Remove kvm-image altogether.

Previously for minimal image replace_kernel function replaced virtual
images with kvm, and called force_boot_without_initramfs. Now simply
call force_boot_without_initramfs for minimal image without replacing
kernel flavour.

This also means minimal images can now be built for arm64 and armhf.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-04 12:58:03 +01:00
Dimitri John Ledkov
1b6bfda382 Switch armhf from generic-lpae to virtual
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-04 12:51:39 +01:00
Steve Langasek
13db048c9d releasing package livecd-rootfs version 2.895 2023-07-03 17:29:23 -07:00
Steve Langasek
9e9d3d627e Changelog 2023-07-03 12:35:31 -07:00
Steve Langasek
aa59c86540 Merge remote-tracking branch 'gjolly/ubuntu-cpc/uefi_cleanup' into ubuntu/master 2023-07-03 12:34:34 -07:00
Łukasz 'sil2100' Zemczak
93122043c5 releasing package livecd-rootfs version 2.894 2023-07-03 16:34:08 +02:00
Łukasz 'sil2100' Zemczak
4329753fa4 Changelog entry for previous commit. 2023-07-03 16:33:30 +02:00
Heinrich Schuchardt
2e9201952f RISC-V: sunset allwinner kernel flavour
The Nezha D1 and LicheRV Dock now use the generic kernel.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-03 13:01:43 +02:00
Loïc Minier
9390fdaa0a Update changelog 2023-06-28 10:15:10 +00:00
Gauthier Jolly
3282efb287 ubuntu-cpc: cleanup disk-images-uefi.binary
Remove all the logic that is not related to cloud-images. Non
cloud-images should use disk-image-uefi-non-cloud.binary
2023-06-28 12:03:42 +02:00
Loïc Minier
ea8564afe2 Add channel override for ubuntu-image channel 2023-06-28 09:26:29 +00:00
Loïc Minier
430ec27308 Use ubuntu-image for pre-installed Tegra images 2023-06-28 09:22:56 +00:00
Loïc Minier
b6c9a4d711 Add support for tegra-igx (similar to tegra) 2023-06-28 09:21:03 +00:00
Loïc Minier
a239256c06 Set MODEL=tegra for arm64+tegra 2023-06-28 09:16:03 +00:00
Loïc Minier
8bf4d3500f Use image definition path rather than making a copy 2023-06-28 09:15:49 +00:00
Loïc Minier
262d0f3170 Offer overrides for ubuntu-images definitions 2023-06-28 09:15:41 +00:00
Łukasz 'sil2100' Zemczak
16571fe97e releasing package livecd-rootfs version 2.892 2023-06-28 10:45:49 +02:00
Łukasz 'sil2100' Zemczak
99189cc727 Merge branch 'cpc/riscv/install_grub' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master 2023-06-28 10:45:13 +02:00
Łukasz 'sil2100' Zemczak
01879eb72f Add changelog entry. 2023-06-28 10:43:39 +02:00
Łukasz 'sil2100' Zemczak
95d6a004a6 Some minor tweaks to the changes done by xypron. 2023-06-28 10:42:27 +02:00
Heinrich Schuchardt
e14379f405 RISC-V: use GRUB on Unmatched board
Up to now we have used u-boot-menu for preinstalled images for the SiFive
HiFive Unmatched and Unleashed boards and GRUB for all other RISC-V images.
The choice was made because RISC-V GRUB was not available when the SiFive
boards where released.

Let the Unmatched and Unleashed board preinstalled images use GRUB.
Simplify the code.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-27 14:02:37 +02:00
Łukasz 'sil2100' Zemczak
c956d081b3 Add changelog entry for previous merge. 2023-06-26 16:49:02 +02:00
Łukasz 'sil2100' Zemczak
52549de72d Merge branch 'cpc/non-cloud' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master 2023-06-26 16:47:13 +02:00
Heinrich Schuchardt
bcfd8645f5 changelog: fix email address with comma
Avoid lintian error bogus-mail-host-in-debian-changelog.

The name part of an email address containing a comma must
be enclosed in double quotation marks.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-23 16:34:58 +02:00
Gauthier Jolly
bbedffe6ec ubuntu-cpc: fix images for hardware devices
Canonical Public Cloud's project seems a bad place to build images for
hardware devices however this is how things were done a we now need to
maintain this.
The recent change to mount the ESP on /boot breaks those images, instead
of adding more hacky things in the hook, create a dedicated target for
those images and use a different hook to build UEFI images.
2023-06-23 13:55:59 +02:00
Gauthier Jolly
7d7afb8abf update d/c 2023-06-23 13:28:50 +02:00
Gauthier Jolly
946c5cf90c ubuntu-cpc: install grub-efi on riscv images
grub-efi-riscv64 is in the archive and edk2 support for riscv is being
merged upstream.
2023-06-23 13:28:50 +02:00
Łukasz 'sil2100' Zemczak
775a2a718d releasing package livecd-rootfs version 2.891 2023-06-19 10:06:56 +02:00
Łukasz 'sil2100' Zemczak
ed8d11d25b Follow up fix to the CHANNEL handling for subiquity images 2023-06-19 10:06:10 +02:00
Dan Bungert
d702ed08a6 remove debian/files cruft 2023-06-16 11:16:17 -06:00
Dan Bungert
eecf65218e releasing package livecd-rootfs version 2.890 2023-06-16 11:05:45 -06:00
Dan Bungert
d34c2f5d8f Changelog entry for snap channel changes 2023-06-16 11:02:37 -06:00
Dan Bungert
3397098ff8 Allow choosing snap channel on subiquity ISOs 2023-06-16 11:02:37 -06:00
Steve Langasek
761dc8f9b2 releasing package livecd-rootfs version 2.849 2023-06-15 12:18:50 -07:00
Gauthier Jolly
f7b3182214 update d/c 2023-06-15 12:50:56 +02:00
Gauthier Jolly
b20e894a98 ubuntu-cpc: disable kernel and initramfs symlinks in /boot
This is required by the new UEFI binary hook as we mount the ESP on
/boot and the ESP filesystem doesn't support symlinks.
We keep symlinks for s390x images which do not use UEFI anyway.
2023-06-15 12:50:56 +02:00
Gauthier Jolly
6a66666e0a ubuntu-cpc: Make the ESP 2GiB and mount it to /boot
This is driven by online encryption scenarios. In order to efficiently
encrypt the root filesystem without modifying the partition layout, the
kernel should sit in an un-encrypted /boot partition.  Instead of
creating a new partition that would change the default partition layout,
we mount the ESP on /boot. We also need to then bind mount /boot on
/boot/efi because that's where Grub expects the ESP to be located.
2023-06-13 10:48:35 +02:00
Łukasz 'sil2100' Zemczak
e1f18982e6 releasing package livecd-rootfs version 2.848 2023-06-07 13:35:45 +02:00
Łukasz 'sil2100' Zemczak
38891ad4ef Add changelog for the budgie changes. 2023-06-07 13:35:18 +02:00
Łukasz 'sil2100' Zemczak
127f524068 The ubuntu-budgie installer snap is called ubuntu-budgie-installer, not ubuntu-budgie-desktop-installer. 2023-06-07 11:29:09 +02:00
Łukasz 'sil2100' Zemczak
9ef33dd59f Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into add-new-budgie 2023-06-07 11:27:55 +02:00
Łukasz 'sil2100' Zemczak
48fd86d762 releasing package livecd-rootfs version 2.847 2023-06-05 17:03:52 +02:00
Łukasz 'sil2100' Zemczak
40a1fdd60a Add boot-managed-by-snapd preinstalled for canary installs 2023-06-05 17:03:06 +02:00
Łukasz 'sil2100' Zemczak
d6c79b3ff6 releasing package livecd-rootfs version 2.846 2023-06-01 11:42:16 +02:00
Łukasz 'sil2100' Zemczak
95971f6b8f Make mtools arch-dependent. 2023-06-01 11:41:56 +02:00
Łukasz 'sil2100' Zemczak
2e8e87fb2a releasing package livecd-rootfs version 2.845 2023-05-31 17:09:52 +02:00
Łukasz 'sil2100' Zemczak
fef989b0fe Add the mtools dependency. 2023-05-31 17:09:32 +02:00
Łukasz 'sil2100' Zemczak
c7382d765e releasing package livecd-rootfs version 2.844 2023-05-31 15:17:25 +02:00
Łukasz 'sil2100' Zemczak
cf1c564854 Changelog entry. 2023-05-31 15:16:47 +02:00
Łukasz 'sil2100' Zemczak
a027e767d2 Explicitly use the snap binary for ubuntu-image. 2023-05-31 15:14:55 +02:00
Łukasz 'sil2100' Zemczak
157e4b2ac2 Better support for ubuntu-image artifact handling. 2023-05-31 15:08:35 +02:00
Łukasz 'sil2100' Zemczak
fdf685fc5e Be more verbose when using ubuntu-image, use the ubuntu-image stable snap. 2023-05-31 14:38:53 +02:00
Łukasz 'sil2100' Zemczak
381a8febb2 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ui-by-default 2023-05-31 14:34:27 +02:00
Steve Langasek
99f54dd2b6 releasing package livecd-rootfs version 2.843 2023-05-26 13:51:21 -07:00
Steve Langasek
6fac77b481 Revert "Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."""
This reverts commit 1931bbcb194febe241aa82f03a6730ba82a84409.
2023-05-26 09:41:41 -07:00
Steve Langasek
9db14f7dee Merge remote-tracking branch 'origin/always-enable-i386' into ubuntu/master 2023-05-26 09:39:35 -07:00
Łukasz 'sil2100' Zemczak
8eba29578e Fix small typo 2023-05-24 16:41:14 +02:00
Łukasz 'sil2100' Zemczak
8b6085bb67 Some initial work on getting Ubuntu Budgie building new installer images. 2023-05-24 15:31:04 +02:00
Łukasz 'sil2100' Zemczak
f343191384 releasing package livecd-rootfs version 2.842 2023-05-24 11:09:34 +02:00
Łukasz 'sil2100' Zemczak
9f6f689b6d Add changelog entry for recent reverts. 2023-05-24 11:09:08 +02:00
Łukasz 'sil2100' Zemczak
1931bbcb19 Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM.""
This reverts commit ada1f09b39332ec828369e0a30f2870df5c4dc3e.
2023-05-24 11:06:56 +02:00
Łukasz 'sil2100' Zemczak
4dbd985231 Revert "Try to use udevadm settle after losetup to resolve race in riscv64 image builds."
This reverts commit ef146db89529fc7fbc48052e0b684f7cb95f34ee.
2023-05-24 11:05:47 +02:00
Steve Langasek
25b92777a0 releasing package livecd-rootfs version 2.841 2023-05-17 23:51:01 -07:00
Steve Langasek
5157d775f9 The base seed for edubuntu is desktop-gnome, not desktop. LP: #2019060. 2023-05-17 23:50:51 -07:00
Michael Hudson-Doyle
3e5931c19b releasing package livecd-rootfs version 2.840 2023-05-18 11:34:21 +12:00
Michael Hudson-Doyle
628134dfe7 auto/config: alter check for unexpectedly seeded snaps in ubuntu-cpc:minimized build. As the build no longer implicitly seeds the snaps from the server seed, we can just assert no snaps are seeded. This fixes an autopkgtest regression but also cleaner. 2023-05-18 11:21:58 +12:00
Michael Hudson-Doyle
35a56a5e03 auto/config: switch ubuntucinnamon and ubuntu-unity builds to use add_task to get their desktop packages. Previously most (all?) flavour builds got the snaps from that flavour's "desktop" seed implicitly added, but now an explicit add_task is needed. 2023-05-18 09:33:48 +12:00
Steve Langasek
e8ea466483 releasing package livecd-rootfs version 2.839 2023-05-17 09:28:03 -07:00
Steve Langasek
d377e535b2 Drop use of --removable flag to grub-install from buildd/hooks
This now matches the cloud images (7c760864fdcb278ca37396f06f5e3f297428d63d)
fixing bootloader updates in the buildd images, but also fixing
compatibility with using devtmpfs for losetup.
2023-05-17 09:27:08 -07:00
Michael Hudson-Doyle
51fe90d31e releasing package livecd-rootfs version 2.838 2023-05-17 15:54:01 +12:00
Michael Hudson-Doyle
cafbd6f7d6 actual content change to drop edubuntu referencing ubuntu-desktop-minimal task 2023-05-17 15:53:46 +12:00
Michael Hudson-Doyle
8704aafecc live-build/expand-task: handle seeding of classic snaps correctly. 2023-05-17 15:49:41 +12:00
Michael Hudson-Doyle
7c4fb6b804 auto/config: Do not include the ubuntu-desktop-minimal task in edubuntu. Cross flavour task references do not work with the approach expand-task takes, and the ubuntu-desktop-minimal package is part of the edubuntu-desktop-gnome task already. 2023-05-17 15:48:24 +12:00
Michael Hudson-Doyle
734da44d00 live-build/expand-task: Fix expansion of tasks with non-flavour specific name (e.g. "minimal") when building a non-Ubuntu flavour. 2023-05-17 15:45:12 +12:00
Michael Hudson-Doyle
01b851e162 auto/config: Set FLAVOUR appropriately for flavours added since the expand-task branch was created. 2023-05-17 15:41:54 +12:00
Michael Hudson-Doyle
6b92be9504 releasing package livecd-rootfs version 2.837 2023-05-15 09:36:46 +12:00
Michael Hudson-Doyle
a65c181596 auto/config: Rewrite add_task to use a Python script that cribs the logic from lp:ubuntu-archive-publishing's generate_extra_overrides.py. This means we can avoid some dubious hacks around seeding snaps and no longer depend on the Task headers in the archive. 2023-05-12 13:19:47 +12:00
Dan Bungert
db029cd387 releasing package livecd-rootfs version 2.836 2023-05-11 19:16:53 -06:00
Dan Bungert
55ecac3ca7 canary: include cryptsetup in the live layer 2023-05-11 19:07:20 -06:00
Dan Bungert
11e3de7847 releasing package livecd-rootfs version 2.835 2023-05-10 16:02:39 -06:00
Dan Bungert
56952ad06d rev changelog 2023-05-10 09:22:00 -06:00
Dan Bungert
6bc353602f canary: fix systems directory 2023-05-10 07:29:37 -06:00
Steve Langasek
6d66b8d602 releasing package livecd-rootfs version 2.834 2023-05-09 19:06:53 -07:00
Steve Langasek
cfbcf2d690 Use the correct seed base for edubuntu. LP: #2019060. 2023-05-09 19:06:48 -07:00
Steve Langasek
66f22e1730 releasing package livecd-rootfs version 2.833 2023-05-08 15:47:12 -07:00
Steve Langasek
ef146db895 Try to use udevadm settle after losetup to resolve race in riscv64 image builds. 2023-05-08 15:47:04 -07:00
Steve Langasek
ada1f09b39 Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."
This reverts commit 7b07db91110a3dda2723bc853a43f81c4e2a2f75.
2023-05-02 15:27:41 +02:00
Łukasz 'sil2100' Zemczak
a418f52bd4 Switch canary desktop installer model. 2023-04-26 13:40:17 +02:00
Łukasz 'sil2100' Zemczak
fba9d176a6 Add cinnamon, unity and edubuntu to the workaround list. 2023-04-18 10:24:07 +01:00
Łukasz 'sil2100' Zemczak
2d234ac689 Changelog entry. 2023-04-18 10:19:30 +01:00
Łukasz 'sil2100' Zemczak
7b07db9111 Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM. 2023-04-18 10:10:28 +01:00
Steve Langasek
2f2eb7b5f3 releasing package livecd-rootfs version 2.832 2023-04-17 18:50:26 -07:00
Steve Langasek
1e0daf6af9 Clean up some remaining references to /dev/mapper. 2023-04-17 18:50:08 -07:00
Steve Langasek
a631afcb7f Unconditionally enable i386 in the chroot for Ubuntu Desktop; the new installer doesn't handle enabling this at install time, and late enablement also misses us some recommends. 2023-04-17 16:52:23 -07:00
Steve Langasek
863883793c releasing package livecd-rootfs version 2.831 2023-04-17 16:11:57 -07:00
Steve Langasek
6b40317404 Use the correct path for the loop device. 2023-04-17 16:11:50 -07:00
Steve Langasek
bdc2037bd1 releasing package livecd-rootfs version 2.830 2023-04-17 12:22:21 -07:00
Steve Langasek
a130ee17c3 Call losetup -d properly. 2023-04-17 12:22:17 -07:00
Steve Langasek
fa29b73130 releasing package livecd-rootfs version 2.829 2023-04-17 08:22:25 -07:00
Steve Langasek
a40d9de803 changelog 2023-04-17 08:22:18 -07:00
Steve Langasek
eb8fb32591 Retain dependency on kpartx - not used by us but by cpc sauce. 2023-04-17 08:20:49 -07:00
Steve Langasek
5e4b2d3cc3 Use losetup instead of kpartx to set up loopback partitions
kpartx on riscv64 appears to be racy.  Rather than trying to debug these
fraught races somewhere between udev and libdevmapper, we can use losetup
which should be simpler and less error-prone.
2023-04-17 08:20:49 -07:00
Steve Langasek
4112488a44 Merge remote-tracking branch 'lool/add-tegra-liver-server' into ubuntu/master 2023-04-14 16:45:08 -07:00
Loïc Minier
9f3b345b06 Initial support for NVIDIA Tegra
live-build/auto/config:
- for Ubuntu Server live images and the arm64+tegra full arch, build a
  tegra variant with linux-nvidia-tegra as the flavor and
  linux-nvidia-tegra as the kernel meta-package
- default to nvidia-$SUBARCH as the kernel flavor for all images using
  arm64+tegra as full arch

hooks/03-kernel-metapkg.chroot_early:
- use linux-nvidia-tegra as kernel meta-package for the nvidia-tegra
  flavor
2023-04-14 23:21:43 +00:00
Łukasz 'sil2100' Zemczak
22152cfad5 releasing package livecd-rootfs version 2.828 2023-04-14 17:42:29 +02:00
Dave Jones
18955e31bb changelog 2023-04-14 11:18:50 +01:00
Dave Jones
b6f1f7b7b3 Remove redundant creation of oem user 2023-04-14 11:18:20 +01:00
Łukasz 'sil2100' Zemczak
bfcf01f9d3 releasing package livecd-rootfs version 2.827 2023-04-13 19:44:44 +02:00
Łukasz 'sil2100' Zemczak
ac8f964b19 Fix for netboot tarballs generation. 2023-04-13 19:41:16 +02:00
Łukasz 'sil2100' Zemczak
b540ca7806 releasing package livecd-rootfs version 2.826 2023-04-13 14:48:44 +02:00
Łukasz 'sil2100' Zemczak
97f3799289 Do not reset seeds for canary. 2023-04-13 14:48:09 +02:00
Łukasz 'sil2100' Zemczak
6fcdd3b01a releasing package livecd-rootfs version 2.825 2023-04-13 11:48:16 +02:00
Łukasz 'sil2100' Zemczak
735db252ed For canary images, actually consider moving the seed listed snaps from both minimal and standard layers to the classic layer. 2023-04-13 11:47:47 +02:00
Łukasz 'sil2100' Zemczak
fc69c546de releasing package livecd-rootfs version 2.824 2023-04-13 09:45:31 +02:00
Łukasz 'sil2100' Zemczak
b8649c321f Add default values to PASS in canary hooks. 2023-04-13 09:45:04 +02:00
Steve Langasek
44d5591113 releasing package livecd-rootfs version 2.823 2023-04-12 10:40:58 -07:00
Steve Langasek
a13f729927 Make PROPOSED=1 builds work with NotAutomatic (lunar and later). LP: #2016022. 2023-04-12 10:40:53 -07:00
Steve Langasek
9fc5d2ce13 Update infinite_scream URL to mastodon 2023-04-12 09:38:00 -07:00
Steve Langasek
b88d4e62de releasing package livecd-rootfs version 2.822 2023-04-10 08:37:37 -07:00
John Chittum
d49cd0e373
changelog entry 2023-04-10 07:35:56 -05:00
John Chittum
c0af2ca443
fix: riscv64 efi conditional
missing a && between icicle and visionfive, led to /boot/efi still being
in place, and grub-install running instead of exiting the func.
fixes LP:2015750
2023-04-10 07:33:08 -05:00
Dan Bungert
38cb20bd88 changelog entry for i386 fix 2023-04-07 17:25:00 -06:00
Dan Bungert
a7d66f6bc4 d/control: fix uninstallability - rsync vs i386 2023-04-07 17:24:00 -06:00
Chad Smith
3d8d08015a releasing package livecd-rootfs version 2.821 2023-04-07 17:11:48 -06:00
Chad Smith
bec2406475 changelog entry 2023-04-07 17:11:48 -06:00
Chad Smith
9a82720f1c cloud-init: prefer netplan to handle all network manager config
Cloud-init cannot write directly to
/etc/NetworkManager/system-connections because subiquity may
need to emit config to /etc/netplan/00-installer.yaml and call
netplan apply for autoinstall.network use-cases.

When cloud-init's config is written directly to
/etc/NetworkManager, neither netplan nor subiquity has knowledge of
this config and this results in namespace collisions in NetworkManager
due to `netplan-` named connections and `cloud-init` connection ids
fighting over which config own a given interface name.

Deleting this config overlay allows subiquity to manage all network
setup when it needs to with netplan directly.

Subiquity already has logic to rename any unwanted netplan
configuration when it intends to write cfg and run netplan apply[1].
This should allow subiquity full control of network config when needed.

[1] https://github.com/canonical/subiquity/blob/
    92ac6544cdfedfd332d8cd94dbcfad0aab994575/subiquitycore/
        controllers/network.py#L267

LP: #2015605
2023-04-07 17:09:11 -06:00
Łukasz 'sil2100' Zemczak
fce09c0e05 releasing package livecd-rootfs version 2.820 2023-04-06 21:43:35 +02:00
Łukasz 'sil2100' Zemczak
1dd00d9795 Add the includes as well. 2023-04-06 21:42:12 +02:00
Łukasz 'sil2100' Zemczak
3ec8601feb Ok, early hooks do not have the environment. Just case on canary being the only one using hooks for now. 2023-04-06 19:25:44 +02:00
Łukasz 'sil2100' Zemczak
0ca404dd14 Missing dependency for gadget priming. 2023-04-06 17:22:26 +02:00
Łukasz 'sil2100' Zemczak
3752ea7cf1 Add -eu to the early hook as well. 2023-04-06 16:47:59 +02:00
Łukasz 'sil2100' Zemczak
edc6a7d576 SUBPROJECT is not defined by default in chroot_early hooks. 2023-04-06 16:45:58 +02:00
Łukasz 'sil2100' Zemczak
6a2cb2be27 Fix using the wrong branch name for ubuntu-image. 2023-04-06 16:05:32 +02:00
Łukasz 'sil2100' Zemczak
1fe8f8f178 Another missed change - pass IMAGEFORMAT further down. 2023-04-06 12:40:51 +02:00
Łukasz 'sil2100' Zemczak
59f12263ed Some missing changes for image definition handling. 2023-04-06 10:05:40 +02:00
Łukasz 'sil2100' Zemczak
4997edb190 Use never model assertion. 2023-04-06 09:21:27 +02:00
Łukasz 'sil2100' Zemczak
959011d5fc Some fixes per review - thanks Dan! 2023-04-06 09:19:29 +02:00
Łukasz 'sil2100' Zemczak
7673c4f98f For now, don't build the base images with ubuntu-image. 2023-04-05 22:20:46 +02:00
Łukasz 'sil2100' Zemczak
dc89df7ee2 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ui-by-default 2023-04-05 22:20:10 +02:00
Łukasz 'sil2100' Zemczak
2508d5add3 Use ubuntu-image from a snap (candidate for now). Only build raspi images with ubuntu-image 3.0 for now. 2023-04-05 22:14:30 +02:00
Łukasz 'sil2100' Zemczak
0518f73a7f Changelog entry. 2023-04-05 20:51:42 +02:00
Łukasz 'sil2100' Zemczak
4e49b4df60 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-build 2023-04-05 20:50:27 +02:00
Łukasz 'sil2100' Zemczak
11a583d619 Initial implementation of canary image builds. 2023-04-05 20:49:16 +02:00
Łukasz 'sil2100' Zemczak
3e2b71fafa releasing package livecd-rootfs version 2.819 2023-04-05 20:15:27 +02:00
Łukasz 'sil2100' Zemczak
6ba7d53be5 Sync the uncommitted direct upload to lunar. 2023-04-05 20:15:10 +02:00
Łukasz 'sil2100' Zemczak
8824af2ad8 releasing package livecd-rootfs version 2.818 2023-04-05 17:37:10 +02:00
Łukasz 'sil2100' Zemczak
b713f7c622 Add changelog entry. 2023-04-05 17:23:17 +02:00
Heinrich Schuchardt
d42c7c5989 Add image for StarFive VisionFive 2
SUBARCH=visionfive2 is used to build images for the StarFive VisionFive 2
boards. For the device-tree we assume board revision 1.3B.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-04-05 15:08:04 +02:00
Steve Langasek
e1090424bb Update URL to point to ubuntu-archive-team.ubuntu.com. 2023-04-03 13:15:48 -07:00
William Wilson
a52543341c Only set up oem-config if the user doesn't already exist 2023-03-30 09:14:46 -04:00
Dave Jones
b3641074f1 changelog 2023-03-28 16:01:19 +01:00
Dave Jones
1f497fe04f Get rid of growfs option in fstab 2023-03-28 16:00:38 +01:00
Dave Jones
021960a5ab changelog 2023-03-28 14:55:33 +01:00
Dave Jones
6a804b7b2c Don't add 01-network-manager-all.yaml to preinstalled desktop images 2023-03-28 14:55:33 +01:00
Dave Jones
da4481d013 changelog 2023-03-28 14:39:09 +01:00
Dave Jones
a312ab11a7 Remove the mkswap and swapfile units
These will be provided by the ubuntu-raspi-settings-desktop in future
2023-03-28 14:38:22 +01:00
Steve Langasek
6d1b422a3f releasing package livecd-rootfs version 2.817 2023-03-27 12:11:21 -07:00
Steve Langasek
45335a719b Merge remote-tracking branch 'jchittum/lunar-revert-ipc-removal' into ubuntu/master 2023-03-27 12:10:58 -07:00
Dan Bungert
140385c10c Update changelog 2023-03-24 18:39:17 -06:00
Chad Smith
fba5be17fd cloud-init.service: systemd ordering after after NetworkManager
Autoinstall directives can be provided on the grub cmdline to
cloud-init via kernel parameters like the following:
 autoinstall 'ds=nocloud-net;s=http://somedomain/'

In order to support DNS resolution for NoCloud datasource at
datasource discovery time, cloud-init.service needs to be
orderered after NetworkManager.service and
NetworkManager-wait-online.service
which will have brought up applicable NICs.

Since NetworkManager is After=dbus.service, the cloud-init.service
avoids systemd ordering cycles by also dropping
Before=sysinit.target when it adds, After=NetworkManager.service and
After=NetworkManager-wait-online.service

Add this file overlay for /lib/systemd/system/cloud-init.service
because systemd drop-in files can only add constraints and not
drop prexisting service constraints.

Also add an AUTOMATION_HEADER comment to any generated files to
add discoverability in the event of future bugs/concerns.

LP: #2008952
2023-03-23 17:05:30 -06:00
Łukasz 'sil2100' Zemczak
e1d6746467 releasing package livecd-rootfs version 2.815 2023-03-23 11:09:08 +01:00
Łukasz 'sil2100' Zemczak
cfcb023f28 Adjust changelog. 2023-03-23 11:08:55 +01:00
Łukasz 'sil2100' Zemczak
279b9473d8 Add zstd dep for mini-iso + minor fixes to get it building on livefs builders. 2023-03-23 10:57:26 +01:00
John Chittum
0be258fa8d
open 2.815 2023-03-21 14:06:28 -05:00
John Chittum
20bb504bb3
Revert "fix: remove ipc from apparmor features in 6.1"
This reverts commit 075e7a0eb4d59625f265f05dc44ceb7d9f52fdb4.
2023-03-21 14:03:24 -05:00
Dan Bungert
41acfaa911 changelog 2023-03-20 15:09:54 -06:00
Dan Bungert
2cec504334 zstd is ok for reading the journal from core22 2023-03-20 15:00:50 -06:00
Dan Bungert
b1db77eaa2 no-compact systemd conf: journal backwards compat 2023-03-20 15:00:50 -06:00
Steve Langasek
857fcbeca4 releasing package livecd-rootfs version 2.813 2023-03-18 08:25:07 -07:00
Steve Langasek
a6d7181cc1 No new dependencies on i386 (xorriso). 2023-03-18 08:25:01 -07:00
Łukasz 'sil2100' Zemczak
19ef20f0bb Fix typo. 2023-03-17 12:35:49 +01:00
Łukasz 'sil2100' Zemczak
85f93d836a Add intel-iot server image support to devel. 2023-03-17 12:15:05 +01:00
Łukasz 'sil2100' Zemczak
3ad215e3f1 Forward port some intel-iot changes. 2023-03-17 11:54:46 +01:00
Łukasz 'sil2100' Zemczak
ccd8441a64 releasing package livecd-rootfs version 2.812 2023-03-14 15:47:51 +01:00
Łukasz 'sil2100' Zemczak
c335e6ed8b Merge branch 'cloud-init-and-u-d-i' of git+ssh://git.launchpad.net/~dbungert/livecd-rootfs into ubuntu/master 2023-03-10 12:21:22 +01:00
Dimitri John Ledkov
4a883c26f7
releasing package livecd-rootfs version 2.811 2023-03-09 18:10:28 +00:00
Dimitri John Ledkov
173d22dce6
Merge branch 'lunar-fix-apparmor-for-6.1' of git+ssh://git.launchpad.net/~jchittum/livecd-rootfs into ubuntu/master 2023-03-09 18:09:57 +00:00
Łukasz 'sil2100' Zemczak
e7f2ecaa89 releasing package livecd-rootfs version 2.810 2023-03-07 14:13:11 +01:00
Łukasz 'sil2100' Zemczak
e88307eae8 Revert changelog to UNRELEASED, for now. 2023-03-07 10:51:23 +01:00
John Chittum
0dcada3904
open 2.810 release 2023-03-06 14:25:04 -06:00
John Chittum
075e7a0eb4
fix: remove ipc from apparmor features in 6.1
ipc was dropped as an apparmor feature. checked by grabbing the latest
lunar VM, installing the latest kernel, doing a reboot, and comparing
directories and files. compared all files and the only diff is the ipc
posix_mqueue
2023-03-06 14:04:27 -06:00
Dan Bungert
0d61fce909 Add ubuntu-mini-iso project 2023-03-06 08:21:29 -07:00
Łukasz 'sil2100' Zemczak
f53e528de9 releasing package livecd-rootfs version 2.809 2023-03-06 13:07:40 +01:00
Łukasz 'sil2100' Zemczak
912e15c7fc Explicitly define the kernel flavor for ubuntucinnamon. 2023-03-06 13:06:29 +01:00
Łukasz 'sil2100' Zemczak
0b2eedb0fc Changelog adjustments. 2023-03-06 11:48:44 +01:00
Łukasz 'sil2100' Zemczak
73f0355304 cinnamon: don't use the live task as well. 2023-03-06 11:43:47 +01:00
Łukasz 'sil2100' Zemczak
7798221957 Do not use the ubuntucinnamon-desktop task for cinnamon builds, it doesn't seem to be present in the archive yet. Use the metapackage instead, which seems like a better way forward anyway. 2023-03-06 11:28:30 +01:00
Łukasz 'sil2100' Zemczak
b2008366b7 releasing package livecd-rootfs version 2.808 2023-03-03 15:08:55 +01:00
Łukasz 'sil2100' Zemczak
f10fd68124 Add ubuntucinnamon to the seed-determination switch-case. 2023-03-03 15:08:09 +01:00
Dimitri John Ledkov
95adff2ba1
releasing package livecd-rootfs version 2.807 2023-03-02 18:18:35 +00:00
Dimitri John Ledkov
63317374e5
auto/config: Add support for ubuntu core arm64 generic images
LP: #2009067

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-03-02 18:11:24 +00:00
Steve Langasek
381a5b956e releasing package livecd-rootfs version 2.806 2023-02-28 08:00:12 -08:00
Steve Langasek
33e7560e1f Changelog 2023-02-28 08:00:03 -08:00
Sean Davis
91e1771b03 Remove snap base seed for xubuntu:minimal 2023-02-28 05:26:51 -05:00
Heinrich Schuchardt
1b6b3db5ed functions: fix unmounting for local builds
When building locally using the auto/build script unmounting fails.

Avoid mounting via bind. Mount mountpoint/dev as devtmpfs file system and
mountpoint/dev/pts as devpts file system.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-28 09:57:02 +00:00
Michael Hudson-Doyle
91d635d844 releasing package livecd-rootfs version 2.805 2023-02-27 21:49:46 +13:00
Michael Hudson-Doyle
573422e46f add changelog 2023-02-27 21:49:22 +13:00
Michael Hudson-Doyle
1ecd1320d6 Merge remote-tracking branch 'xypron/required_partition' into ubuntu/master 2023-02-27 21:47:54 +13:00
Steve Langasek
bd0749c905 releasing package livecd-rootfs version 2.804 2023-02-24 21:12:00 -08:00
Steve Langasek
b4190c7b97 Clarified with Erich that edubuntu should install ubuntu-desktop-minimal task. 2023-02-24 21:11:53 -08:00
Steve Langasek
0b0eb5a583 releasing package livecd-rootfs version 2.803 2023-02-24 21:05:50 -08:00
Steve Langasek
d4fe8aedc1 Fix edubuntu build: ubuntu-minimal is not a task and minimal is already declared. 2023-02-24 21:05:46 -08:00
Steve Langasek
6a6ac87e24 Fix wrong task name for xubuntu-minimal. 2023-02-24 20:57:00 -08:00
Steve Langasek
722b4d33d7 releasing package livecd-rootfs version 2.802 2023-02-24 17:47:58 -08:00
Steve Langasek
4dbeba4ba3 Address the fact that debootstrap doesn't follow Recommends and as a result we're missing several Recommends that should be installed by default and are on upgrades but not on new installs. This is not applied to minimized images, which don't follow Recommends; but does get separately applied to the ubuntu-server full squashfs. 2023-02-24 17:47:51 -08:00
Dimitri John Ledkov
3fa9d74b79
releasing package livecd-rootfs version 2.801 2023-02-24 12:20:14 +00:00
Dimitri John Ledkov
88f8976e64
Terrible hack workaround for clearing out the non-offline apt cache for desktop related images. 2023-02-24 12:19:26 +00:00
Dimitri John Ledkov
957f157b4a
ubuntu-cpc: set default ext4 mount option commit=30 (LP: #2006511) 2023-02-24 12:02:02 +00:00
Dimitri John Ledkov
ef072ea77a
Merge branch 'tune2fs' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2023-02-24 12:01:43 +00:00
Łukasz 'sil2100' Zemczak
1ec696a842 Add ubuntucinnamon. 2023-02-23 19:32:10 +01:00
Łukasz 'sil2100' Zemczak
e2fdac3b95 Add changelog. 2023-02-23 16:28:45 +01:00
Łukasz 'sil2100' Zemczak
1123aaa6f5 Merge branch 'watchdog_thresh' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2023-02-23 16:27:56 +01:00
Didier Roche
c02c5e43da
releasing package livecd-rootfs version 2.800 2023-02-20 12:00:19 +01:00
Didier Roche
199644871f
WSL: do not depend on standard anymore.
Evolve the seed to only ship the specific part useful to WSL users. This
allows to trim down the image size.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2023-02-20 11:58:07 +01:00
Steve Langasek
af442dd1aa releasing package livecd-rootfs version 2.799 2023-02-14 15:55:47 -08:00
Steve Langasek
d95b3badf0 Changelog 2023-02-14 15:55:38 -08:00
Steve Langasek
202ad011c1 Merge remote-tracking branch 'edubuntu-dev/ubuntu/master' into ubuntu/master 2023-02-14 15:55:20 -08:00
Steve Langasek
4a1ddcedaa releasing package livecd-rootfs version 2.798 2023-02-13 21:07:33 -08:00
Steve Langasek
a1598f767b Changelog 2023-02-13 21:07:23 -08:00
Steve Langasek
d7d2c1fbfd Merge remote-tracking branch 'xubuntu-dev/xubuntu-core' into ubuntu/master 2023-02-13 21:06:42 -08:00
Heinrich Schuchardt
eea1308301 RISC-V: avoid soft lockup Radeon GPUs with u-boot-menu
For the SiFive HiFive Unmatched board we create a pre-installed image using
u-boot-menu. Increase the watchdog threshold in this case too.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-13 22:05:22 +00:00
Erich Eickmeyer
55c7d5720d Bring back Edubuntu 2023-02-12 10:03:13 -08:00
Heinrich Schuchardt
0924d50aee RISC-V: avoid soft lockup Radeon GPUs with GRUB
With Radeon GPUs and kernel 5.19 a soft lockup was observed.
Increase the watchdog threshold.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-10 20:55:11 +00:00
Heinrich Schuchardt
ee843c14de RISC-V: rename cmdline.cfg to 10_cmdline.cfg
Using numbered configuration fragments makes the order of application
easier to track

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-10 20:55:11 +00:00
Dimitri John Ledkov
dc3f8a6ea0
ubuntu-cpc: set default ext4 mount option commit=30
This allows to consolidate linux-kvm and linux-generic kernel
flavours. This brings the perfomance benefit of linux-kvm flavour to
all cloud and pre-installed images. It does trade data-safety.

LP: #2006511

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-02-07 20:58:53 +00:00
Steve Langasek
e2c06f9109 releasing package livecd-rootfs version 2.797 2023-02-01 07:44:39 -08:00
Steve Langasek
fb57bd4bea Drop dependency on rsync, not used in a very long time and lets us drop rsync on i386. 2023-02-01 07:43:20 -08:00
Sean Davis
6cf691e25b Make xubuntu minimal a subproject 2023-01-21 11:51:20 -06:00
Heinrich Schuchardt
536cd09b73 riscv64: set attribute required partition for firmware
According to the EBBR specification the GPT partitions for firmware should
have attribute bit 0 (Required Partition) set.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-01-16 21:52:36 +01:00
Sean Davis
cf6104b94e Rename task to xubuntu-desktop-minimal 2023-01-13 07:37:30 -05:00
Łukasz 'sil2100' Zemczak
e04a19d595 releasing package livecd-rootfs version 2.796 2023-01-09 14:21:59 +01:00
Łukasz 'sil2100' Zemczak
85cbc6abcd Add changelog. 2023-01-09 14:11:28 +01:00
Heinrich Schuchardt
71308d500b riscv64: adjust U-Boot installation for Nezha D1 and LicheeRV
Since version 2022.10 U-Boot SPL and U-Boot are installed onto the same partition.
Package nezha-boot0 is not needed anymore.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-01-09 11:52:44 +01:00
Sean Davis
c72e5c8d03 Rename Xubuntu Core > Xubuntu Minimal 2023-01-08 00:19:56 -05:00
Sean Davis
fa81e76cbe Enable xubuntu-core 2023-01-07 22:47:49 -05:00
Steve Langasek
a91b0cfda5 releasing package livecd-rootfs version 2.795 2023-01-05 22:07:21 -08:00
Steve Langasek
c532387635 Don't depend on python3-launchpadlib on i386. This breaks ppa-enabled builds on i386, but avoids pulling in a large dependency tree that's not otherwise needed on i386. 2023-01-05 22:07:15 -08:00
Łukasz 'sil2100' Zemczak
c56e7aab04 Minor code-duplication removal. 2022-12-16 11:13:42 +01:00
Łukasz 'sil2100' Zemczak
4bcc0f2d52 Get rid of some unneeded dependencies. 2022-12-15 10:25:01 +01:00
Łukasz 'sil2100' Zemczak
beada31662 Use ubuntu-image image definitions for riscv, raspi and ubuntu-base builds. 2022-12-15 10:22:06 +01:00
Łukasz 'sil2100' Zemczak
90067f99e2 releasing package livecd-rootfs version 2.794 2022-12-08 15:41:24 +01:00
Łukasz 'sil2100' Zemczak
7649091f2b Add changelog for latest changes. 2022-12-08 15:36:33 +01:00
Sebastien Bacher
12846905fd Change the desktop build to let canary be the default 2022-11-23 17:15:15 +01:00
Łukasz 'sil2100' Zemczak
88ce5fe010 releasing package livecd-rootfs version 2.793 2022-11-16 13:27:59 +01:00
Łukasz 'sil2100' Zemczak
d0dd1d48eb Add changelog entry. 2022-11-16 13:26:52 +01:00
Heinrich Schuchardt
c6ad92c0f4 riscv64: use efi=debug earlycon
RISC-V boards tend to boot slowly.
We should provide progress information when booting.

Use 'efi=debug earlycon' on the Linux command line via new file
/etc/default/grub.d/cmdline.cfg.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-11-14 14:04:42 +01:00
Utkarsh Gupta
953fccaedb Update d/ch for 2.792 release 2022-11-14 15:28:38 +05:30
Utkarsh Gupta
e04ea00f1f Remove whitespaces 2022-11-14 15:28:02 +05:30
Samir Akarioh
8b8ad2e0ac feat: Add Ubuntu user
We add a ubuntu user inside the image because we
want to have a operational nonroot user and also
be aligned with the other Ubuntu images.

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
2022-11-08 12:01:35 +01:00
Samir Akarioh
105acdebc7 feat: Add metadata on ubuntu-oci image
Add a file build.info on etc/cloud
with the serial information

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
2022-10-27 09:03:38 +02:00
Brian Murray
f45167691b releasing package livecd-rootfs version 2.791 2022-10-17 13:09:09 -07:00
Brian Murray
89b6412946 Merge remote-tracking branch 'simpoir/kinetic-update-apparmor-feat' into ubuntu/master 2022-10-17 13:06:50 -07:00
Brian Murray
151f73e8b0 Finish the rename of FK_FORCE_CONTAINER into FK_FORCE. (LP: #1989194) 2022-10-17 13:01:45 -07:00
Brian Murray
d06b5bdd20 Finalize the changelog as that didn't get done 2022-10-17 12:55:42 -07:00
Simon Poirier
50e4844634 release 2.791 2022-10-17 09:37:37 -04:00
Simon Poirier
7813938d17 fix: add apparmor ipc feature to the chroot 2022-10-17 09:37:29 -04:00
Łukasz 'sil2100' Zemczak
e8938fc610 Add an additional subdir. 2022-10-14 10:49:25 +02:00
Łukasz 'sil2100' Zemczak
a2a341a8b2 Merge branch 'allwinner-initrd' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2022-10-14 10:39:32 +02:00
John Chittum
652a33ae03
release 2.789 2022-10-13 12:42:39 -05:00
John Chittum
e11d091106
Revert "Disable the snap-preseed"
This reverts commit 31d42bfd2ff86d175f389ee5bbed6f275597c185.

Disable the snap-preseed calls in the interest of
getting images built for the 22.10 beta. (LP: #1990884)"
2022-10-13 12:39:17 -05:00
Heinrich Schuchardt
2869890eaf Update changelog for release 2.789
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-13 08:05:47 +02:00
Heinrich Schuchardt
b39824539c riscv: reduce initrd size for Nezha and LicheeRV boards
The Nezha and the LicheeRV boards do not have enough memory for an initrd
with most modules. Therefore the number of included modules has to be
reduced.

Create file /etc/initramfs-tools/conf.d/modules_list.conf
to set MODULES=list.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-13 08:05:47 +02:00
Heinrich Schuchardt
1555f5f46b riscv: remove invalid redirections
Remove redirections of type

    command &1>2

Executing the command in the background and creating and empty file '2'
was never intended.

As the messages are information only redirecting to stderr would not make
sense either.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-13 08:05:47 +02:00
Łukasz 'sil2100' Zemczak
a9c46eed3f releasing package livecd-rootfs version 2.788 2022-10-12 16:53:10 +02:00
Alexandre Ghiti
c946fbd65f Update changelog
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:17:11 +02:00
Alexandre Ghiti
6838060860 riscv: Install dkms by default on the LicheeRV board
So that people without network access can download the package and
install it using a usb drive for example.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:15:46 +02:00
Alexandre Ghiti
79e36dd7df Revert "riscv: Install Wifi driver by default for the LicheeRV"
This reverts commit d5a7d6655f2fa653c8bc0f316613f37f58a9c2cc.

The Wifi driver package is in universe and can't be promoted in time for
the release, so revert this.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:15:46 +02:00
Utkarsh Gupta
805a4f9241 Update d/ch for 2.787 release 2022-09-29 13:56:42 +05:30
Utkarsh Gupta
acf76bb3c7 Merge remote-tracking branch 'samirakarioh/fix-oci-bug' into ubuntu/master
* samirakarioh/fix-oci-bug:
  fix: build OCI image failed to build
2022-09-29 13:54:27 +05:30
Samir Akarioh
8fca716ca3 fix: build OCI image failed to build
Fix the bug added by this commit [0]. The bug added
is that the build livefs for a OCI image file failed
see Jenkins logs [1] and buildlog [2]. This commit
permit to fix this issue.

Refs: [0] https://git.launchpad.net/livecd-rootfs/commit/?id=2b5e8a81e57ae89b9ebed9bab20423d2e61d80d0
      [1] https://jenkins.canonical.com/devel-cloud-images/view/OCI/job/22.10-UbuntuOCI-Build-Images/73/ARCH=amd64,NODE=kinetic/console
      [2] https://launchpad.net/~cloud-images-release-managers/+livefs/ubuntu/kinetic/ubuntu-oci/+build/375833

Signed_by: Samir Akarioh and Tomas Virtus
2022-09-28 13:54:48 +02:00
Brian Murray
bc7c9738f6 releasing package livecd-rootfs version 2.786 2022-09-27 13:51:17 -07:00
Brian Murray
4cfe993c3a s/linux-firmware-raspi2/linux-firmware-raspi/ 2022-09-27 13:50:08 -07:00
Brian Murray
6791054145 releasing package livecd-rootfs version 2.785 2022-09-26 15:55:38 -07:00
Brian Murray
31d42bfd2f Disable the snap-preseed calls in the interest of getting images built for the 22.10 beta. (LP: #1990884) 2022-09-26 15:55:19 -07:00
Steve Langasek
48a20ca91d releasing package livecd-rootfs version 2.784 2022-09-25 01:53:16 -07:00
Steve Langasek
cbc0b66066 autopkgtest now references ubuntu-server:live, the only ubuntu-server we still build. 2022-09-25 01:52:32 -07:00
Steve Langasek
d3d636a6e0 Don't set a desktop base seed for ubuntu-base or ubuntu-core. 2022-09-25 01:52:09 -07:00
Łukasz 'sil2100' Zemczak
537282ebf9 releasing package livecd-rootfs version 2.783 2022-09-23 12:04:21 +02:00
Łukasz 'sil2100' Zemczak
b692997907 Add changelog entry. 2022-09-23 12:04:07 +02:00
Łukasz 'sil2100' Zemczak
e159d2267c Merge branch 'int/alex/riscv_mpfs' of git+ssh://git.launchpad.net/~alexghiti/livecd-rootfs into ubuntu/master 2022-09-23 12:01:56 +02:00
Steve Langasek
75dadc3be0 releasing package livecd-rootfs version 2.782 2022-09-22 15:36:57 -07:00
Steve Langasek
2b5e8a81e5 Default to using 'desktop' for the base seed so we don't have another place we have to extend the list for each new flavor (ubuntu-unity) 2022-09-22 15:36:47 -07:00
Steve Langasek
c482518e19 releasing package livecd-rootfs version 2.781 2022-09-21 16:47:53 -07:00
Steve Langasek
1f0a3d7797 Fix passing of components to germinate commandline (how did this ever work?) 2022-09-21 16:47:47 -07:00
Steve Langasek
b3343c1255 Drop edubuntu and kubuntu-active, both obsolete in *all* supported releases. 2022-09-21 16:12:36 -07:00
Steve Langasek
e41c6f50df Drop use of deprecated apt-key. 2022-09-21 16:08:36 -07:00
Steve Langasek
3722d2ee58 Drop override of components for raspi images 2022-09-21 13:35:08 -07:00
Steve Langasek
97645adca7 releasing package livecd-rootfs version 2.780 2022-09-21 12:59:26 -07:00
Steve Langasek
9cc8267f07 live-build/auto/config: set COMPONENTS for all flavors *before* we invoke germinate. Fixes a regression introduced in commit 07873ec. In the process, stop declarations of COMPONENTS that shadow the default in germinate (main restricted). 2022-09-21 12:59:06 -07:00
Alexandre Ghiti
a752a99ad8 riscv: LicheeRV must use u-boot-nezha package
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
f68433098d riscv: Add support to build Microchip Icicle Kit image
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
d5a7d6655f riscv: Install Wifi driver by default for the LicheeRV
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
e8ea6335d5 riscv: Add support to build LicheeRV Dock images
The LicheeRV Dock board comes with only 512MB of DRAM so the only difference
with a Nezha image is the fact that we have to remove
cryptsetup-initramfs package which makes the initrd too big for the
board to boot.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:39 +02:00
Ivan Kapelyukhin
76d794664a
Bump UEFI disk image size for amd64 to 3.5 GB
Current Kinetic GCE image builds are failing with the following error:

update-initramfs: Generating /boot/initrd.img-5.19.0-1004-gcp
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25

Seems like after `linux-gcp` update from 5.15 to 5.19 `linux-modules` package
has gotten ~40MB larger and with that GCE image builds are over the edge wrt
available disk space in chroot.

Bumped up disk image size for amd64 to 3.5GB to match the sizes used by armhf
and generic images.
2022-09-14 22:30:54 +02:00
William Wilson
ee40e951f2 releasing package livecd-rootfs version 2.778 2022-09-14 10:16:52 -05:00
Łukasz 'sil2100' Zemczak
c520230559 releasing package livecd-rootfs version 2.777 2022-09-14 16:12:34 +02:00
Łukasz 'sil2100' Zemczak
bace7d61fe Add changelog entry. 2022-09-14 16:11:50 +02:00
Łukasz 'sil2100' Zemczak
815d26a19c Comment cleanup for ubuntu-unity. 2022-09-14 16:11:07 +02:00
Rudra Bali
0581c7fd8a fix typo 2022-09-14 14:55:01 +05:30
Rudra Bali
7f278b020d use ubuntu-unity-desktop metapackage for now 2022-09-14 14:54:11 +05:30
Rudra Bali
c897750648 add live packages for Ubuntu Unity, since live task does not exist 2022-09-14 08:34:45 +05:30
Rudra Bali
bbd0e9fa5a switch to ubuntu-unity-desktop task for Ubuntu Unity 2022-09-14 08:34:45 +05:30
Utkarsh Gupta
061d8a11df Update d/ch for 2.776 release 2022-09-12 17:21:52 +05:30
Thomas Bechtold
4fc446e078 Add changelog entry 2022-09-09 12:09:35 +02:00
Thomas Bechtold
480d5b26ea fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
The cloud-init bug (see LP:1968873) got fixed now so using a sshd
config snippet should work now.

This partly reverts commit aa1be5eaaa1fdbb4c31104cc49e54b15f66c3343
but uses now 60-cloudimg-settings.conf instead of
10-cloudimg-settings.conf .
2022-09-09 12:08:45 +02:00
Steve Langasek
68d2205e30 releasing package livecd-rootfs version 2.775 2022-08-31 13:35:12 -07:00
Steve Langasek
559c9dd1b7 changelog entry 2022-08-31 13:34:49 -07:00
Rudra Bali
503f9e8950 add Ubuntu Unity to daily flavors 2022-09-01 01:50:54 +05:30
Steve Langasek
0d69fea5ee releasing package livecd-rootfs version 2.774 2022-08-04 11:25:02 -07:00
Steve Langasek
239453d644 Remove modemmanager and udisks2 from cloud images in addition to fwupd. The use of tasks at install means all packages are marked manually installed in the apt database, so removing fwupd does not remove its dependencies. LP: #1981109. 2022-08-04 11:24:53 -07:00
Dan Bungert
e93a80bb6e changelog 2022-08-01 15:02:28 -06:00
Dan Bungert
ef834c2e7d functions: let cloud-init clean inform about NM 2022-08-01 14:57:37 -06:00
Dan Bungert
eb0530b7a7 functions: inform cloud-init about network manager
LP: #1982855
Co-authored-by: Chad Smith <chad.smith@canonical.com>
2022-08-01 14:57:37 -06:00
Łukasz 'sil2100' Zemczak
0e3f689432 releasing package livecd-rootfs version 2.773 2022-07-29 18:06:39 +02:00
Łukasz 'sil2100' Zemczak
38bc85f189 Changelog entry 2022-07-29 18:06:03 +02:00
Łukasz 'sil2100' Zemczak
e760da3284 When adding the new RISC-V platforms, some of the generic non-SUBARCH code went missing and some invalid assumptions have been made, causing cloud images to fail building. 2022-07-29 17:44:33 +02:00
Brian Murray
4d0d9aa7af releasing package livecd-rootfs version 2.772 2022-07-28 16:42:38 -07:00
Brian Murray
b71aeeeba7 Add in a changelog entry. 2022-07-28 14:04:33 -07:00
Brian Murray
995295964b Use default compat for qcow2 images.
This will cause images to be created with more moderm features which
will make our images faster and provide better sparse handling.
2022-07-28 13:57:05 -07:00
Łukasz 'sil2100' Zemczak
e72421d18e releasing package livecd-rootfs version 2.771 2022-07-28 14:13:23 +02:00
Łukasz 'sil2100' Zemczak
eec8f595d3 Make sure that the recent riscv64 changes for our supported devices don't install wpasupplicant on non-SUBARCH builds (like for clouds). 2022-07-28 14:08:52 +02:00
Alexandre Ghiti
90c5d5c14a Add changelog entry 2022-07-28 11:18:02 +02:00
Alexandre Ghiti
2485e0bebf riscv: Install wpasupplicant by default
For now, all RISC-V hardware is SBC-like board which embed a Wifi
chipset so install wpasupplicant by default. We'll certainly split the
seeds between server and embedded hardware later.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-28 11:17:24 +02:00
Michael Hudson-Doyle
13ed256581 Fix some issues with the netboot tarballs:
* Fix some issues with the netboot tarballs:
  - Include the signed shim (oops).
  - Make the kernel path on disk and in the bootloader config match (more
    oops).
  - Make paths more architecture dependent as the code in grubnetXXX.efi to
    probe a platform dependent path first doesn't work.
2022-07-28 12:00:35 +12:00
Steve Langasek
941cd3c64a Remove fwupd from the cloud images. LP: #1981109. 2022-07-25 13:02:06 -07:00
Steve Langasek
abcfabdbc0 Drop support for building i386 images aside from the launchpad builder images. 2022-07-25 12:50:56 -07:00
Łukasz 'sil2100' Zemczak
6b217c3242 releasing package livecd-rootfs version 2.770 2022-07-25 10:20:42 +02:00
Łukasz 'sil2100' Zemczak
c991b7bfdd Add changelog entry. 2022-07-25 10:19:58 +02:00
Alexandre Ghiti
17e659ddf8 riscv: Fix SiFive Unmatched build
While merging the VisionFive support, we removed the installation of
u-boot-menu for the Unmatched by mistake: fix this by reinstating it.

Fixes: ce9f5caccadf ("riscv: Add support for StarFive VisionFive")
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-25 09:36:43 +02:00
Łukasz 'sil2100' Zemczak
03597e8cb4 releasing package livecd-rootfs version 2.769 2022-07-14 14:41:48 +02:00
Łukasz 'sil2100' Zemczak
894e8640fe More changelog tweaks (bug numbers). 2022-07-14 14:40:03 +02:00
Łukasz 'sil2100' Zemczak
bcc55b8aa9 Tweak changelog 2022-07-14 14:37:33 +02:00
Łukasz 'sil2100' Zemczak
c5571b17a2 Merge branch 'int/alex/riscv_no_beaglev_container' of https://git.launchpad.net/~alexghiti/livecd-rootfs into ubuntu/master 2022-07-14 14:33:25 +02:00
Thomas Bechtold
73ef7227f1 Add debian/changelog 2022-07-11 14:12:01 +02:00
Thomas Bechtold
aa1be5eaaa Revert "fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)"
This change triggered a bug in cloud-init (see LP:1968873). cloud-init
does not recongnize sshd options set in /etc/ssh/sshd_config.d/ and
cloud-init modifies directly /etc/ssh/sshd_config which gets then
overwritten by settings from /etc/ssh/sshd_config.d/ .

This reverts commit b54d24ff3310f7ace00ab08e0dacfdc89e026f1c.
2022-07-11 14:08:48 +02:00
Alexandre Ghiti
7a3159fc62 d/changelog: Add FK_FORCE_CONTAINER entry
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-11 12:47:40 +02:00
Alexandre Ghiti
00f35ae9bf riscv: Use FK_FORCE_CONTAINER to force flash-kernel to run in a container
As explained in LP: #1980929, we need this in order to build RISC-V
images.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-11 12:47:16 +02:00
Alexandre Ghiti
7a1b5f67dd disk-image-uefi.binary: Fix wrong parenthesis
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-08 15:00:05 +02:00
Alexandre Ghiti
0f74cc2aa1 d/changelog: Add entry for the VisionFive and Nezha support 2022-07-05 11:41:03 +02:00
Alexandre Ghiti
42b68d5d0f riscv: Bump image size to 4.5G
3.5G is not enough for riscv64 preinstalled as the creation of the initrd fails
with the following error:

Creating config file /etc/default/grub with new version
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-1011-generic
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-1011-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
74e9088bbc riscv: Use UEFI bootflow for the Nezha Board
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
6224b11fc0 riscv: Add support for StarFive VisionFive
The image created uses a UEFI bootflow, so we install grub for this board
only. We also need flash-kernel to install the dtb where grub can find
it.

This image is specifically architectured so that it can be installed on
a "factory" board, meaning using the u-boot firmware which was
originally implemented for Fedora, so we need the p3 partition that
embeds a uEnv.txt file to tell u-boot what/where to load next stage.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
be54b8b7a1 riscv: Fix nezha hardcoded password attempt
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
f751ff7218 RISC-V: enable building for Nezha board
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-07-05 11:40:24 +02:00
Heinrich Schuchardt
46711a9af6 riscv: define partitioning scheme for Nezha board
Define the image layout for the Nezha board.

The U-Boot SPL based boot0 may be installed starting in sector 16 or 256.
As sector 16 is incompatible with GPT partitioning use sector 256.

The primary U-Boot image is expected to start at sector 32800 and its
backup in sector 24576.

Cf. https://linux-sunxi.org/index.php?title=Allwinner_Nezha&oldid=24469

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-07-05 11:40:24 +02:00
Michael Hudson-Doyle
428878760d releasing package livecd-rootfs version 2.768 2022-06-30 14:38:15 +12:00
Michael Hudson-Doyle
364e561308 Use the new iso-url= parameter in the bootloader configs in the netboot tarballs. 2022-06-30 14:36:47 +12:00
Utkarsh Gupta
6f3b02da44 Bump 2.766 to 2.767 because an upload was missing in git 2022-06-29 13:33:15 +05:30
Utkarsh Gupta
cb099966b2 Merge remote-tracking branch 'simpoir/lp1970795-jammy-ova-cdrom' into ubuntu/master
* simpoir/lp1970795-jammy-ova-cdrom:
  fix: VMware cdrom OVF import requires to be on IDE
2022-06-29 13:30:26 +05:30
Utkarsh Gupta
b720f013e7 Update d/ch for 2.766 release 2022-06-29 12:36:22 +05:30
Thomas Bechtold
c88dcecceb Add debian/changelog 2022-06-28 14:21:58 +02:00
Thomas Bechtold
b54d24ff33 fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
Modifying directly /etc/ssh/sshd_config creates "problems" when
upgrading eg. from Focal to Jammy because the upgrade will ask the
user what to do with the modified config. To avoid that, put the
custom configuration into /etc/ssh/sshd_config.d/ so the upgrade of
openssh-server can just replace /etc/ssh/sshd_config without asking
the user.
2022-06-28 14:21:56 +02:00
Simon Poirier
3da8e81bf2 fix: VMware cdrom OVF import requires to be on IDE
This reverts part of a change causing regression with vmware import due to the
cdrom getting moved to SCSI while shifting controller IDs. (LP: #1970795)
2022-06-11 13:17:48 -04:00
Utkarsh Gupta
a81bea1f0c Merge remote-tracking branch 'jchittum/jammy-vagrant-more-secure-private-key' into ubuntu/master
* jchittum/jammy-vagrant-more-secure-private-key:
  changelog update
  fix: move Vagrant 22.04+ to ephemeral ed25519 key
2022-05-28 01:08:27 +05:30
Michael Hudson-Doyle
fb589ecf00 Produce a tarball of artifacts for netbooting during live-server build. 2022-05-26 14:33:59 +12:00
Michael Hudson-Doyle
31937f1a4d auto/config: Emit error message to stderr in _sanitize_passes. 2022-05-25 21:26:00 +12:00
Michael Hudson-Doyle
ed38882219 auto/config: preserve germinate-output directory when removing config
Germinate doesn't take very long at all to run but downloading the
indices it operates on can take a while and nothing else in auto/config
does so not doing it every time you run "lb config" can be a real time
saver.

The code that invokes germinate already checked if the output was
already there but it was unconditionally deleted by the time control got
to that point.
2022-05-24 12:49:38 +12:00
John Chittum
dd0728a9ea
changelog update 2022-04-21 09:29:35 -05:00
John Chittum
5c8aa8447e
fix: move Vagrant 22.04+ to ephemeral ed25519 key
LP: 1969664 tracks an issue related to the deprecation of rsa+ssh on
Jammy+ openssh server, coupled with upstream vagrant bugs, that cause
Jammy vagrant images fail to bootstrap due to ssh negotiation issues.
Moving to a different key algo from the upstream insecure key matches
Jammy's expectations, and works with older vagrant versions.

vagrant >= 2.2.16 hosts are unaffected by the issue, as an upstream
change was made. This change keep compatibility with newer vagrant
versions as well.
2022-04-21 09:13:37 -05:00
Utkarsh Gupta
47b93e2349 Update d/ch for 2.764 release 2022-04-11 23:04:05 +05:30
Michał Sawicz
997fd08e62 Add arm64 buildd bootable image 2022-04-11 23:02:23 +05:30
Dimitri John Ledkov
1470f5ecec
releasing package livecd-rootfs version 2.763 2022-04-06 15:09:56 +01:00
Dimitri John Ledkov
97a4f58403
Merge branch 'hwe-22.04' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2022-04-06 14:55:24 +01:00
Jean-Baptiste Lallement
dc1f2618b9 Create missing groups in chroot
netdev and admin where missing from the image after the build has been
separated from CPC

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-31 10:32:49 +02:00
Dimitri John Ledkov
e5443e3588
auto/config: upgrade from hwe-20.04 to hwe-22.04 variant. 2022-03-28 11:54:14 +01:00
Dimitri John Ledkov
df59dc65d2
Update changelog 2022-03-28 11:52:20 +01:00
Dimitri John Ledkov
461731d538
Merge branch 'rip-0c3.net' into ubuntu/master 2022-03-28 11:51:17 +01:00
Jean-Baptiste Lallement
0d2e1bece1 Updated changelog
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-24 15:51:16 +01:00
Jean-Baptiste Lallement
28c360c0ab remove attributes not supported by WSL's tar
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-24 14:12:40 +01:00
Jean-Baptiste Lallement
c4cb3570a5 Readd ubuntu-cpc/wsl.binary hook
Readding this file per reviewer's request until CPC splits the
pipelines. Removing this file would make CPC image builds fail.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-21 12:19:30 +01:00
Jean-Baptiste Lallement
beec477cac Updated changelog
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-17 10:12:18 +01:00
Jean-Baptiste Lallement
80ccea8d63 Separate WSL from CPC
Create a separate WSL image than CPC so it can be managed independently.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-17 10:11:39 +01:00
Utkarsh Gupta
68b26a790b Update d/ch for 2.759 release 2022-03-09 11:52:20 +05:30
Thomas Bechtold
e4fbc791c4 Add debian/changelog 2022-03-09 07:07:33 +01:00
Thomas Bechtold
34735684d5 Allow to install core snap optionally
Commit 245f7772bdb74 added code to abort the build if a snap wants to
install "core" (the 16.04 runtime). That's great but there are still
some CPC maintained image builds that use snaps based on "core". So
make it possible to continue the build if the "ALLOW_CORE_SNAP" env
variable is set.
2022-03-09 07:04:06 +01:00
Utkarsh Gupta
b6118d0346 Update d/ch for 2.758 release 2022-03-09 11:14:12 +05:30
Ivan Kapelyukhin
0c13baf990
Update changelog 2022-03-03 15:49:09 +01:00
Ivan Kapelyukhin
b40ce74fd6
perf(cpc): split disk-image-uefi out of disk-image series file
Due to how `disk-image` file is structured, it builds BIOS and UEFI
images at the same time. However, certain images (e.g., GCE images)
require only UEFI image to be built, BIOS image is being simply
discarded. This results in longer build times.

Splitting out `disk-image-uefi` would allow images to use it instead of
`disk-image` and thus avoid building unused BIOS images.

`disk-image` now depends on `disk-image-uefi` for backward
compatibility.
2022-03-03 15:44:01 +01:00
Dimitri John Ledkov
27e7780d70
auto/config: drop support for 0c3.net
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2022-02-24 10:10:01 +00:00
Łukasz 'sil2100' Zemczak
de0575b360 releasing package livecd-rootfs version 2.757 2022-02-23 16:21:00 +01:00
Łukasz 'sil2100' Zemczak
ef7a95ab82 Merge branch 'pi-desktop-one-gadget' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2022-02-23 16:19:57 +01:00
Łukasz 'sil2100' Zemczak
9e682c67a6 ...not released yet 2022-02-23 16:18:16 +01:00
Łukasz 'sil2100' Zemczak
0a7892b7c7 Add changelog. 2022-02-22 11:35:18 +01:00
Łukasz 'sil2100' Zemczak
e4c846199b Following Dave's changes to the classic pi gadget, switch to using the classic branch for desktop images as well. 2022-02-22 11:33:26 +01:00
Dave Jones
925012e1b3 changelog 2022-02-22 00:46:12 +00:00
Dave Jones
4a4e2924c8 Tidy up fstab mods on preinstalled desktop images
The UNCONFIGURED FSTAB warning was being left in the result, the discard
option wasn't included, and the fsck flag was 0 (all in marked contrast
to the preinstalled server images).
2022-02-15 16:26:29 +00:00
Dave Jones
990b7c8a38 Generate the default swapfile on first boot
Changes in either livecd-rootfs or ubuntu-image seem to periodically
break the transfer of the pre-allocated swapfile (copying it in such a
fashion that it winds up "with holes" and thus unable to be used as a
swapfile). Rather than fight this, just use a simple systemd service to
generate the swapfile if it doesn't exist (using fallocate to keep
things snappy).
2022-02-15 16:26:29 +00:00
Utkarsh Gupta
701eb38bf0 Update d/ch for 2.756 release 2022-02-14 17:52:49 +05:30
Ivan Kapelyukhin
c0fbbe0eb8
Update changelog 2022-02-14 13:10:04 +01:00
Ivan Kapelyukhin
50e32d93c0
fix: unset initrdless_boot_fallback_triggered instead of setting it to 0
This fixes GCE shielded VM instances integrity monitoring failures on
focal and later. Our images are built with an empty /boot/grub/grubenv
file, however after the first boot `initrdless_boot_fallback_triggered`
is set to 0. This change in `grubenv` results in integrity monitoring
`lateBootReportEvent` error.

It seems that the only thing that's checking for this `grubenv` variable
is `grub-common.service`, and it is looking specifically for a `1`
value:

  if grub-editenv /boot/grub/grubenv list | grep -q
  initrdless_boot_fallback_triggered=1; then echo "grub:
  GRUB_FORCE_PARTUUID set, initrdless boot paniced, fallback triggered.";
  fi

Unsetting this variable instead of setting it to 0 would prevent issues
with integrity monitoring.
2022-02-14 13:10:04 +01:00
Brian Murray
d92e2b9444 releasing package livecd-rootfs version 2.755 2022-02-10 13:54:58 -08:00
Brian Murray
b1ce69b44e Update the changelog 2022-02-10 13:54:38 -08:00
John Chittum
ce5dd6f411 Add sleep to workaround e2fsck errors
LP: 1960537 illustrates an issue where the calls to e2fsck in the
umount_partition call are failing due to an open file handle. At this
time, we are unable to find a root cause, and it's causing many builds
to fail for CPC. Adding a sleep 30 as a workaround as the file handle
releases within  that timeframe. This does not address root cause.
2022-02-10 13:53:23 -08:00
Brian Murray
16c1851a90 Add the casper package instead of the lupin-casper package as the installer for Windows is a project that is no longer supported and lupin is being removed the archive in LP: 1960457. 2022-02-10 11:42:59 -08:00
Utkarsh Gupta
adb2122b45 Update d/ch for 2.754 release 2022-02-07 18:43:15 +05:30
Thomas Bechtold
14a628e3c8 Disable APT periodic update for OCI/docker images
When cron-like services are installed in the OCI/docker image, APT
should not do periodic updates by default. LP: #1810451
2022-02-04 11:44:05 +01:00
Michael Hudson-Doyle
776269b4d2 releasing package livecd-rootfs version 2.753 2022-02-02 22:43:38 +13:00
Michael Hudson-Doyle
a4a7b385cc Merge branch 'lp-1953744' into ubuntu/master 2022-02-02 22:42:56 +13:00
Michael Hudson-Doyle
b2094f0319 Disable compression and "hash table hardening" for journald in the live installer environment as these features make the journal unreadable using the systemd libraries from 20.04 that are included in the subiquity snap. 2022-02-02 13:51:20 +13:00
Steve Langasek
54044a17a6 releasing package livecd-rootfs version 2.752 2022-01-27 14:32:13 -08:00
Steve Langasek
5474af17df Remove references to archive.canonical.com, which is no longer used and should not be included in the default sources.list. 2022-01-27 14:32:09 -08:00
William Wilson
2312c08d26 Revert change for local builds as it is breaking autopkgtests 2022-01-12 18:19:57 -06:00
Steve Langasek
40cbbbb9c9 releasing package livecd-rootfs version 2.750 2022-01-11 17:34:46 -08:00
Steve Langasek
245f7772bd Treat it as a fatal error if we are asked to install a snap that would pull in the core snap. Ubuntu 20.04 and Ubuntu 22.04 official images should never require snaps that depend on an Ubuntu 16.04 runtime, this indicates a misconfiguration that will bloat the install. 2022-01-11 16:32:51 -08:00
Steve Langasek
bcfad43fd4 We don't pipe grep to awk in this house, young man 2022-01-11 16:29:32 -08:00
Steve Langasek
0b4811f7a9 Do not look for a base snap on snaps of type base, because recursive dependencies are not allowed for snaps. LP: #1957123. 2022-01-11 16:26:57 -08:00
Łukasz 'sil2100' Zemczak
4fb2616598 releasing package livecd-rootfs version 2.749 2021-12-16 12:42:36 +01:00
Łukasz 'sil2100' Zemczak
9c1a611577 Changelog entry for previous merge. 2021-12-16 12:41:10 +01:00
Łukasz 'sil2100' Zemczak
6df425bb34 Merge branch 'umount' of https://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2021-12-16 12:40:11 +01:00
Łukasz 'sil2100' Zemczak
40637a23b9 Add changelog entry for previous change. 2021-12-16 12:26:33 +01:00
Łukasz 'sil2100' Zemczak
32b54e6242 Merge branch 'partalign' of https://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2021-12-16 12:25:05 +01:00
Brian Murray
b5b64e5255 releasing package livecd-rootfs version 2.748 2021-12-15 10:09:55 -08:00
Brian Murray
9765df27fd live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl: do not automatically allocate serial0 as it causes a hang when upgrading. (LP: #1895104) 2021-12-15 10:09:42 -08:00
Brian Murray
fe662c5c8a Merge remote-tracking branch 'jessica-youjeong/111721-ubuntu-master-ova' into ubuntu/master 2021-12-15 10:06:54 -08:00
Heinrich Schuchardt
b6701e556f riscv64: ensure reasonable partition alignment
Currently the RISC-V preinstalled server images come with partitions that
are only 1 KiB aligned. Ext4 may use 4 KiB block size. The existing
misalignment leads to decreased performance.

Decrease the size of the loader2 partition by 34 512-byte blocks. This
results in 1 MiB alignment of the EFI and root partitions.

The remaining loader2 partition size of close to 4 MiB is still large
enough for U-Boot or a future EDK II.

Fixes: a808b28d47ec ("riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2021-12-01 18:22:02 +01:00
Heinrich Schuchardt
d65af891f3 functions: fix unmounting for local builds
livecd-rootfs creates non-private mounts. When building locally using
the auto/build script unmounting fails.

To unmount dev/pts it is insufficient to make the mount private. Its
parents must be private too. Change teardown_mountpoint() accordingly.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2021-12-01 18:11:57 +01:00
Thomas Bechtold
1a7e9ca8c9 Bump UEFI disk image size for armhf to 3.5 GB
Current jammy builds fail with:
dpkg: error processing archive /var/cache/\
  apt/archives/grub-common_2.04-1ubuntu48_armhf.deb (--unpack):
cannot copy extracted data for './usr/share/grub/unicode.pf2' \
  to '/usr/share/grub/unicode.pf2.dpkg-new': \
  failed to write (No space left on device)
2021-11-23 11:30:47 +01:00
Jess Jang
a97e98c968 Change serial0 allocation as false (LP:#1895104)
It hangs during booting when upgrading hardware
version ESXi after deploying image in groovy.
(Current default version is 10)
It could be resolved by adding serial port in VM
when vm version is larger than 10.

Seriaol port1 has been configured as default so
we need to change setting serial0 as false.
2021-11-17 07:50:19 -06:00
Brian Murray
55a54242ed releasing package livecd-rootfs version 2.746 2021-11-16 17:01:08 -08:00
Brian Murray
e5beee30fd Add the capability to build an ISO image for the Intel IoT project. Additionally, stop using universe with the project given that the kernel is now in main. 2021-11-16 17:00:38 -08:00
Steve Langasek
568e76119b releasing package livecd-rootfs version 2.745 2021-11-08 13:43:55 -08:00
Steve Langasek
0a699eaa34 Changelog 2021-11-08 13:43:51 -08:00
Erich Eickmeyer
04c4a14a4e Remove fonts and publishing tasks form ubuntustudio 2021-11-08 12:23:04 -08:00
Didier Roche
2342c3dd4f releasing package livecd-rootfs version 2.744 2021-11-05 17:52:13 +01:00
Didier Roche
6a05e7fa22 Install desired already seeded snap in wsl.
As wsl is an image target of ubuntu-cpc, the base seed is hardcoded to
ubuntu-server instead of wsl one. For now, add it, as for the other
cpc images, in hooks.
2021-11-05 17:51:52 +01:00
Thomas Bechtold
e0b79f1253 debian/changelog entry 2021-10-26 14:29:01 +05:30
Thomas Bechtold
af888e24ff magic-proxy: fix exception handling for URLError LP:#1946520
A urllib.error.URLError.reason variable can either be a string or
another Exception[0]. In case it's another exception, the current code
fails because the exception is passed into send_error() which tries
call html.escape() on the Exception. That fails because the Exception
is not a string. Converting the Exception to a string fixes this.

This fixes:

AttributeError: 'TimeoutError' object has no attribute 'replace'

[0]
https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError.reason
2021-10-21 10:54:10 +02:00
Steve Langasek
5339f1691b releasing package livecd-rootfs version 2.742 2021-10-05 13:11:36 -07:00
Steve Langasek
7d6d42a74d Changelog entry 2021-10-05 13:11:31 -07:00
Sebastien Bacher
808220c868 Enable universe sources on the desktop canary 2021-10-05 17:16:22 +02:00
Brian Murray
85fb768f4f Properly check ARCH when setting the intel-iot model. 2021-09-29 16:34:51 -07:00
Steve Langasek
58259c7d23 releasing package livecd-rootfs version 2.741 2021-09-29 11:25:46 -07:00
John Chittum
fb41e53a84
Open new release
Add entry to open new release
2021-09-28 16:10:19 -05:00
John Chittum
9c3851d401
Mount cgroup2 type for snapd
LP: 1944004 described an issue where a libc transition caused snapd
seccomp profiles to reference a path that no longer existed, leading to
permission denied errors. The committed fix for snapd then raised an
issue where running `snapd debug seeding` would present a
preseed-system-key and seed-restart-system-key due to a mismatch
between the running kernel capabilities and the profiles being loaded by
snapd. By mounting a cgroup2 type to /sys/fs/cgroup, the capabilities
match for snapd as mounted in the chroot. This is done similarly to
live-build/functions:138-140 where apparmour and seccomp actions are
mounted after updating the buildd.
2021-09-28 16:08:55 -05:00
Steve Langasek
271d498ab6 releasing package livecd-rootfs version 2.740 2021-09-27 08:38:03 -07:00
Steve Langasek
66c8929f07 changelog 2021-09-27 08:37:55 -07:00
Steve Langasek
f7e125aa1c Merge remote-tracking branch 'toabctl/fix-magic-proxy-with-repo-stamp' into ubuntu/master 2021-09-27 08:34:36 -07:00
Michael Hudson-Doyle
ae45e9356f releasing package livecd-rootfs version 2.739 2021-09-27 11:10:54 +13:00
Michael Hudson-Doyle
f5bdeaf4fb Merge branch 'language-support-in-catalogs' into ubuntu/master 2021-09-27 11:09:39 +13:00
Michael Hudson-Doyle
391439d44c Record information about locale support (in particular, whether to install langpacks and which languages have pre-baked squashfses). 2021-09-27 11:06:01 +13:00
Michael Hudson-Doyle
0a48a1c7ae add changelog entry 2021-09-27 09:40:30 +13:00
Dan Bungert
a96d56a110 desktop: install-sources.yaml type fsimage-layered 2021-09-24 15:25:40 -06:00
Thomas Bechtold
3559153c7d magic-proxy: fix TypeError when trying to call get_uri() LP:#1944906
Currently the uri that is passed into urllib.parse.urlparse() is not
prefixed with "http(s)://" which leads urlparse() to return a wrong
scheme/netloc/path. Currently it looks like:

ParseResult(scheme='', netloc='',
  path='de.archive.ubuntu.com/ubuntu/dists/impish-backports/InRelease'
 , params='', query='', fragment='')

That's wrong. The path should look like
'ubuntu/dists/impish-backports/InRelease'.
Prefixing the 'host' header with 'http://' in case it's not there does
fix the problem.

This fixes:

Traceback (most recent call last):
  File "/usr/lib/python3.9/socketserver.py", line 683, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.9/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.9/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/lib/python3.9/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/lib/python3.9/http/server.py", line 415, in handle_one_request
    method()
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 787, in do_GET
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 838, in __get_request
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 84, in get_uri
TypeError: can only concatenate str (not "NoneType") to str
2021-09-24 10:26:49 +02:00
Steve Langasek
1977636e28 ugh fix version number 2021-09-20 09:42:15 -07:00
Steve Langasek
d488d07c74 releasing package livecd-rootfs version 2.737ubuntu1 2021-09-20 09:40:30 -07:00
Steve Langasek
e81f333aec changelog entry 2021-09-20 09:40:23 -07:00
Steve Langasek
9e6b983728 Merge remote-tracking branch 'toabctl/keep-debian-native-package-changelogs' into ubuntu/master 2021-09-20 09:39:17 -07:00
Thomas Bechtold
2b2f67c7fb Keep changelogs in minimized builds for native deb pkgs
Debian changelog.Debian.* files are already keept for minimized
builds. But those changelogs are from non-native .deb packages (see
man dh_installchangelogs). Native .deb packages name their changelog
just changelog.* . So keep them in a minimized build, too.

LP: #1943114
2021-09-20 13:43:27 +02:00
Michael Hudson-Doyle
e19d501949 releasing package livecd-rootfs version 2.737 2021-09-14 21:39:55 +12:00
Michael Hudson-Doyle
1b87b238ea Check for duplicate ids in update-source-catalog. 2021-09-14 21:29:26 +12:00
Michael Hudson-Doyle
8f8fc220c7 Generate source catalogs for the desktop canary build. 2021-09-14 21:28:50 +12:00
Michael Hudson-Doyle
23f307754c releasing package livecd-rootfs version 2.736 2021-08-30 15:30:59 +12:00
Michael Hudson-Doyle
fe38bd02c1 Change the per language layers in the desktop canary build to have more regular names (and make their implementation better documented and hopefully more comprehensible). 2021-08-27 11:52:08 +12:00
Michael Hudson-Doyle
356b08c475 releasing package livecd-rootfs version 2.735 2021-08-23 15:42:48 +12:00
Michael Hudson-Doyle
8106244b42 add a little debugging output 2021-08-20 14:14:35 +12:00
Michael Hudson-Doyle
17279822d5 Get source catalog translations from subiquity git, as brz is in universe. 2021-08-20 10:32:13 +12:00
Michael Hudson-Doyle
c78f283d9f releasing package livecd-rootfs version 2.734 2021-08-19 16:50:02 +12:00
Michael Hudson-Doyle
543c40b347 Merge branch 'source-catalog-2' into ubuntu/master 2021-08-18 11:10:01 +12:00
Michael Hudson-Doyle
021c8e063c better minimal ubuntu server description 2021-08-18 08:15:14 +12:00
Łukasz 'sil2100' Zemczak
3032953f44 Changelog entry. 2021-08-17 12:04:49 +02:00
Łukasz 'sil2100' Zemczak
2dc48a1687 Make the UBUNTU_STORE_ARCH adjustment more fool-proof 2021-08-17 12:02:39 +02:00
Łukasz 'sil2100' Zemczak
744585ed9a Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~ethan.hsieh/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2021-08-17 11:58:39 +02:00
Michael Hudson-Doyle
cda8c920dd create source catalogs for live server install sources 2021-08-17 16:07:07 +12:00
Michael Hudson-Doyle
fb8c694530 add script to fill out a template install source description 2021-08-17 16:05:41 +12:00
Michael Hudson-Doyle
10288220fc add a script to checkout a translations branch
and compile the po files into mo files
2021-08-17 16:05:41 +12:00
Brian Murray
d0e0454547 releasing package livecd-rootfs version 2.733 2021-08-16 12:23:40 -07:00
Brian Murray
0a54de462d fix the changelog entry 2021-08-16 12:22:23 -07:00
Brian Murray
e7cfdeec89 add a changelog entry for the intel-iot change 2021-08-16 11:50:12 -07:00
Brian Murray
44384357ad add missing for intel-iot 2021-08-04 08:51:01 -07:00
Michael Hudson-Doyle
8fcaf94c3b Merge branch 'minimal-server-layer-3' into ubuntu/master 2021-08-03 21:02:04 +12:00
Michael Hudson-Doyle
116a51a080 bootstrap the minimal variant for the minimal server layer 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
b341c81ff3 do the mounting in an initrd script rather than systemd units 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5fda0bb2aa apply dpkg minimizations to minimal layer, and undo them for full layer 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5232f2f8cc fix /media/filesystem mount 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
d11c71a686 add a minimal server layer under the full server layer 2021-08-03 16:36:00 +12:00
Łukasz 'sil2100' Zemczak
1e24a44866 releasing package livecd-rootfs version 2.732 2021-08-02 22:12:01 +02:00
Łukasz 'sil2100' Zemczak
09cbdfa7e9 Revert /dev sharing improvements. 2021-08-02 22:11:41 +02:00
Michael Hudson-Doyle
75fe0241f3 lb_chroot_layered: fix quoting when searching for trusted.overlay.opaque 2021-07-30 11:56:07 +12:00
Łukasz 'sil2100' Zemczak
7d41087381 releasing package livecd-rootfs version 2.731 2021-07-28 22:07:02 +02:00
Łukasz 'sil2100' Zemczak
ea1fea050d Add changelog entry. 2021-07-28 22:02:51 +02:00
Łukasz 'sil2100' Zemczak
d198821c07 Fix sharing of the /dev tree to make sure we can safely umount the chroot when needed. This fixes local non-livefs-builder image builds. 2021-07-28 21:54:34 +02:00
Sebastien Bacher
5ba545f2b6 Tweaks to the canary packages
Install cloud-init on the live and target, remove ubiquity
2021-07-27 10:49:03 +02:00
Sebastien Bacher
cdbb5598ad Remove lupin-casper from the canary image
The description states it was for wubi which we aren't using anymore
2021-07-27 10:48:48 +02:00
Michael Hudson-Doyle
5e21dd89f6 Merge branch 'hyperv-manifest' into ubuntu/master 2021-07-27 09:27:41 +12:00
Michael Hudson-Doyle
e5b7eaab1c update version number in changelog 2021-07-27 09:27:27 +12:00
Brian Murray
9f47116a1f releasing package livecd-rootfs version 2.730 2021-07-26 13:49:18 -07:00
Brian Murray
4525395e45 Rename subarch of intel-iotg to intel-iot, add support for intel-iot models. 2021-07-26 11:55:38 -07:00
Brian Murray
dbab97caa9 switch amd64 to the arch variable 2021-07-26 11:45:00 -07:00
Brian Murray
c09110cfa8 add support for intel-iot models 2021-07-16 11:03:41 -07:00
Brian Murray
f2c1300f71 rename iotg iot so the names are consistent with the models 2021-07-16 10:14:00 -07:00
Jason C. McDonald
f75c3254b0 Generate manifest for HyperV desktop images
Manifests are necessary for candidate checking in the
CPC automated workflow for building and publishing
HyperV desktop images.
2021-07-14 06:26:16 -07:00
Michael Hudson-Doyle
6928b79bb6 releasing package livecd-rootfs version 2.729 2021-07-12 10:28:02 +12:00
Michael Hudson-Doyle
aab48dc987 Merge branch 'move-live-server-to-layers-3' into ubuntu/master 2021-07-12 10:26:16 +12:00
Ethan Hsieh
f4312118cc functions: download snap packages with correct architecture
Have to set UBUNTU_STORE_ARCH when the architecture of host machine is
different from target machine
2021-07-08 15:16:43 +08:00
Michael Hudson-Doyle
bb0bba1793 address review comments 2021-07-08 11:50:22 +12:00
Michael Hudson-Doyle
d233655180 update changelog 2021-07-07 19:32:16 +12:00
Michael Hudson-Doyle
2928c3d9cd fix reduce_pass_size behaviour around deleted directories 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
fc890b15e7 adjust hooks for move of live-server to layers 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
e06046aaa0 move includes around for move of live-server to layers 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
f563b310d3 update auto/config for move of live-server to layers 2021-07-07 19:31:53 +12:00
Brian Murray
7a180f8d29 Merge remote-tracking branch 'kajiya/lp-1895104-add-serial-port-to-ovf' into ubuntu/master 2021-07-02 13:34:06 -07:00
Michael Hudson-Doyle
cb28f14e7c Merge branch 'layer-fixes' into ubuntu/master 2021-07-01 22:18:02 +12:00
Michael Hudson-Doyle
18bf308be0 go back to only running 'lb chroot_archives' on root layers
but still run configure_universe after archive removal, not before
2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
c4402139a2 go back to only running lb_chroot_hacks on live layers
otherwise each and every layer above a layer with a kernel gets its own
initramfs, which is silly.

Copy/paste the cruft cleaning bit of lb_chroot_hacks to be run on
non-live layers.
2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
653b925646 attempt to fix obscure failure 2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
0501f73231 update changelog 2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
fb8af1fd80 add a way to prevent a layer (and descendants) from being made into a sqashfs
for the live server build, i want to make a layer to install the kernel
into but do not want the layer itself to be published.

the implementation is a bit clunky but it works.
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
e4ca30e351 lb_binary_layered: use create_squashfs function to pick up some default excludes 2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
30cc2f1982 lb_chroot_layered: install archives on each layer
also only call configure_universe after packages are installed.
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
3a3558203b run chroot_hacks on each layer in lb_chroot_layered
the comment says this was not done to avoid overlay size inflation but aiui reduce_pass_size
deals with that now
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
ce458ba31e run binary hooks on each layer in lb_binary_layered 2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
75165aeb34 replace call to Echo_warning with plan echo as former is not defined at this point 2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
b6df5d1b76 releasing package livecd-rootfs version 2.728 2021-07-01 11:00:22 +12:00
Brian Murray
0fbaccf301 Add a subarch of intel-iotg which is used for creating images with a kernel optimized for Intel IOT devices. 2021-06-30 15:56:40 -07:00
Brian Murray
89ff3c4f87 Merge branch 'bdmurray/iotg' which adds the ability to create an image for Intel IOT devices. 2021-06-30 15:52:36 -07:00
Brian Murray
ad3e755974 rename iotg to intel-iotg so its slightly more descriptive 2021-06-30 15:43:47 -07:00
Michael Hudson-Doyle
093fbb1404 Merge branch 'more-subiquity-serial-pain' into ubuntu/master 2021-07-01 09:46:58 +12:00
Michael Hudson-Doyle
48c3a11a70 Make sure the process that prints SSH connection info on s390x has its output connected to the console. (LP: #1933523) 2021-07-01 09:31:31 +12:00
Michael Hudson-Doyle
4aa703f48a add changelog message 2021-06-30 11:09:29 +12:00
Dan Bungert
5b0825a297 Remove custom final_message
At this point all of the custom final_message is now obsolete.
Remove it, letting us instead use the default final_message.
Leave a note about the above.
2021-06-29 16:43:19 -06:00
Dan Bungert
bfce7c126f Remove reference to password for ssh usage
This reference to a temporary password being logged for the installer
user for SSH usage is obsolete.
2021-06-28 17:02:10 -06:00
Michael Hudson-Doyle
8f1deb00d3 releasing package livecd-rootfs version 2.727 2021-06-24 11:52:33 +12:00
Michael Hudson-Doyle
9a983305ee Remove assumption in 032-installer-squashfs.binary that all core snaps needed for subiquity are already in the filesystem layer. (LP: #1933352) 2021-06-24 11:49:21 +12:00
Brian Murray
066422894b also support building an ubuntu-cpc amd64 iotg image 2021-06-23 11:09:19 -07:00
Brian Murray
d8b24aaae6 add iotg as a subarch of amd64 w/ image-intel kernel 2021-06-23 09:12:44 -07:00
Chloé Smith
ffab8ceac4
Add a serial port to OVF template (LP: #1895104)
groovy hangs during boot on ESXi when the version is greater than
10. Adding a serial port by default fixes this specific bug - increasing
the HW version will be for another branch.

This is because more investigation is needed into whether it is possible to
increment ddb.virtualHWVersion without disrupting Oracle VirtualBox images.
2021-06-21 21:29:47 +01:00
Michael Hudson-Doyle
cac00a68aa releasing package livecd-rootfs version 2.726 2021-06-19 11:44:53 +12:00
Michael Hudson-Doyle
e1e992d295 Fix overriding of ExecStart in serial-getty@sclp_line0.service.d/subiquity-serial.conf. 2021-06-19 11:44:04 +12:00
Łukasz 'sil2100' Zemczak
5ad256f7ab releasing package livecd-rootfs version 2.725 2021-06-15 09:45:56 +02:00
Łukasz 'sil2100' Zemczak
83852ca96b Revert previous change, use ubuntu-server-raspi task name. 2021-06-15 09:45:40 +02:00
Łukasz 'sil2100' Zemczak
9a27811add releasing package livecd-rootfs version 2.724 2021-06-09 11:31:00 +02:00
Łukasz 'sil2100' Zemczak
d2cfa41ec2 Use the server-raspi task name instead of ubuntu-server-raspi 2021-06-09 11:30:38 +02:00
Sebastien Bacher
48f3682969 Define a new add_snap and use it for canary
We can install the new ubuntu-desktop-installer on the iso this way
2021-06-08 15:20:41 +02:00
Łukasz 'sil2100' Zemczak
7b4c8bba59 releasing package livecd-rootfs version 2.723 2021-05-20 10:28:50 +02:00
Łukasz 'sil2100' Zemczak
f50209ef65 Add changelog entry. 2021-05-20 10:28:28 +02:00
Sebastien Bacher
740c960575 The u-boot-tools package was typoed
Should fix the ubuntu-preinstalled impish build
2021-05-19 16:05:15 +02:00
Michael Hudson-Doyle
a1a21e9ecb Merge branch 'delete-base-project' into ubuntu/master 2021-05-13 10:30:27 +12:00
Michael Hudson-Doyle
5c3bb6896c Remove all references to the "base" project, which has not been built since 16.04 release day. 2021-05-13 05:24:48 +12:00
Steve Langasek
c7b751e401 Drop code for the 'ubuntu-core' project when not using image_format: ubuntu-image, as this is obsolete and not used to build core* snaps in recent series. 2021-05-11 17:12:20 -07:00
Jean-Baptiste Lallement
0c3bbd7d99 Use -updates for germinate
Some packages are in universe at release time then promoted to
the main pocket in -updates during the release lifecycle.
These packages should be considered by germinate when the root fs is
built (LP: #1921862)

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-05-11 15:05:28 +02:00
Michael Hudson-Doyle
f436352463 releasing package livecd-rootfs version 2.722 2021-05-11 11:44:20 +12:00
Michael Hudson-Doyle
cc20dbcf33 Merge branch 'live-server-serial-argh' into ubuntu/master 2021-05-11 11:43:32 +12:00
Michael Hudson-Doyle
7cd7f1e0bf Merge branch 'ubuntu/master' into live-server-serial-argh 2021-05-06 10:28:28 +12:00
Dimitri John Ledkov
eded2359b5
releasing package livecd-rootfs version 2.721 2021-05-05 19:08:50 +01:00
Dimitri John Ledkov
f58b0693f6
Merge branch 'raspi-server-seed' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2021-05-05 12:01:37 +01:00
Dimitri John Ledkov
7dbd0b8293
Changelog 2021-05-05 11:42:35 +01:00
Dimitri John Ledkov
9596134d8a
Merge branch 'remove-1893818-workaround' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2021-05-05 11:42:22 +01:00
Dimitri John Ledkov
e3ca48349e
Update changelog 2021-05-05 11:40:03 +01:00
Dimitri John Ledkov
b194e57eff
Merge branch 'usr-merge' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-05-05 11:38:55 +01:00
Michael Hudson-Doyle
c64c81d7fe remove the workaround for bug #1893818
subiquity now contains a version of curtin that can cope with the
partition nodes for a multipathed disk going away
2021-05-05 13:58:56 +12:00
Dimitri John Ledkov
dd79c5c75d
buildd: Re-enable merged /usr by default, as it is now required
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2021-04-30 17:54:00 +01:00
Dimitri John Ledkov
56d64dbf31
Merge branch 'magic-proxy-fixes' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:51:46 +01:00
Dimitri John Ledkov
dc2a472871
magic-proxy: replace http.client with urllib calls
Initialize passwords from sources.list.
Use urllib everywhere.
This way authentication is added to all the required requests.
And incoming headers, are passed to the outgoing requests.
And all the response headers, are passed to the original client.
And all the TCP & HTTP errors are passed back to the client.
Thus should avoiding hanging requests upon failure.
Also rewrite the URI when requesting things.
This allows to use private-ppa.buildd outside of launchpad.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2021-04-30 17:50:28 +01:00
Dimitri John Ledkov
1cd8fe14b7
Change iptables calls, to query rules and quickly check that connectivity works after transparent proxy has been installed. LP: #1917920 2021-04-30 17:48:09 +01:00
Dimitri John Ledkov
20f76e7cf8
Merge branch 'preinstalled' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:46:20 +01:00
Dimitri John Ledkov
143e72abdc
Merge branch 'fix-grub-images' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:39:45 +01:00
Michael Hudson-Doyle
f54cb7094f releasing package livecd-rootfs version 2.720 2021-04-30 11:48:56 +12:00
Michael Hudson-Doyle
b3b1a5f5ed Merge branch 'new-ubuntu-oci' into ubuntu/master 2021-04-30 11:48:16 +12:00
Michael Hudson-Doyle
b1c7f9f63b add changelog entry for addition of ubuntu-oci project 2021-04-30 11:48:00 +12:00
Michael Hudson-Doyle
749bdeac44 Merge branch 'ubuntu/master' into new-ubuntu-oci 2021-04-30 11:46:16 +12:00
Dimitri John Ledkov
d5a8116428
Add support for generic preinstalled images. LP: #1923832 2021-04-26 11:04:37 +01:00
Dimitri John Ledkov
41fd537bc2
999-cpc-fixes: enable more code on grub2 armhf & arm64
armhf & arm64 images use grub. And despite disk-image &
disk-image-uefi installing all the grubs, some of the configuration is
done in the 999-cpc-fixes. Specifically removal of "quiet splash" is
done there, but not active on armhf & arm64. This results in arm
images to boot with "quiet splash".

Enable running the later portions of 999-cpc-fixes on armhf & arm64.

Drop duplicate call to update-grub, as update-grub2 is simply a
symlink to update-grub.

Add a guard around the call to reconfigure grub-pc, to only do that
when it is installed.

This makes armhf & arm64 uefi images consistent with amd64 uefi
images.

LP: #1925780
2021-04-23 12:47:18 +01:00
Thomas Bechtold
a81972a58b
add configure_oci function and use it in ubuntu-oci
With that, the Dockerfile modifications[0] currently done externally
are done now here. That means that the created rootfs tarball can be
directly used within a Dockerfile to create a container from scratch:

FROM scratch
ADD livecd.ubuntu-oci.rootfs.tar.gz /
CMD ["/bin/bash"]

[0]
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
2021-04-22 08:48:00 +02:00
Thomas Bechtold
ac4a95b931
Add new ubuntu-oci project
This is a copy of the ubuntu-base project.
Currently ubuntu-base is used as a base for the docker/OCI container
images. The rootfs tarball that is created with ubuntu-base is
published under [0]. That tarball is used in the FROM statement of the
Dockerfile as base and then a couple of modifications are done inside
of the Dockerfile[1].
The ubuntu-oci project will include the changes that are currently
done in the Dockerfile. With that:

1) a Dockerfile using that tarball will be just a 2 line thing:

   FROM scratch
   ADD ubuntu-hirsute-core-cloudimg-amd64-root.tar.gz /
   CMD ["/bin/bash"]

2) Ubuntu has the full control about the build process of the
docker/OCI container. No external sources (like [1]) need to be
modified anymore.
3) Ubuntu can publish containers without depending on the official
dockerhub containers[2]. Currently the containers for the AWS ECR
registry[3] use as a base[4] the official dockerhub containers. That's
no longer needed because a container just needs a Dockerfile described
in 1)

When the ubuntu-oci project has the modifications from [1] included,
we'll also update [1] to use the ubuntu-oci rootfs tarball as a base
and drop the modifications done at [1].

Note: Creating a new ubuntu-oci project instead of using ubuntu-base
will make sure that we don't break users who are currently using
ubuntu-base rootfs tarballs for doing their own thing.

[0] https://partner-images.canonical.com/core/
[1]
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
[2] https://hub.docker.com/_/ubuntu
[3] https://gallery.ecr.aws/ubuntu/ubuntu
[4]
https://launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+oci/ubuntu/+recipe/ubuntu-20.04
2021-04-22 07:39:15 +02:00
Michael Hudson-Doyle
8324041cdb add bug ref to changelog 2021-04-21 20:22:26 +12:00
Michael Hudson-Doyle
6c19637072 reword changelog a touch 2021-04-21 16:12:34 +12:00
Michael Hudson-Doyle
c1cb61a8f6 just plain mask getty@tty1, ExecStart is a list 2021-04-21 14:54:03 +12:00
Michael Hudson-Doyle
7ba371b315 Simplify how serial-getty@.service is customized in the live server installer environment. 2021-04-21 11:38:41 +12:00
Łukasz 'sil2100' Zemczak
f148fb8bf4 Add changelog. 2021-04-20 11:17:39 +02:00
Łukasz 'sil2100' Zemczak
52f3b69331 Enable using ubuntu-server-raspi, clean up handling of raspi setup. 2021-04-20 11:15:44 +02:00
Łukasz 'sil2100' Zemczak
b9eb0aaee3 Drop imx6 support as it never really happened. 2021-04-20 10:54:50 +02:00
Łukasz 'sil2100' Zemczak
05023332bc releasing package livecd-rootfs version 2.719 2021-04-19 23:57:39 +02:00
Łukasz 'sil2100' Zemczak
37e3826d69 Changelog 2021-04-19 22:57:59 +02:00
Łukasz 'sil2100' Zemczak
1d537bf78d Temporarily hack in ubuntu-raspi-settings for raspi images (we should be using seeds tho). 2021-04-19 21:49:43 +02:00
Michael Hudson-Doyle
fbdf8bf063 releasing package livecd-rootfs version 2.718 2021-03-30 10:57:49 +13:00
Michael Hudson-Doyle
e28938b482 Do not have cloud-init set the installer user's password to something random during boot, as cloud-init now hides the value it was set to much better. Instead, subiquity will reset the password itself. 2021-03-24 14:09:12 +13:00
Dimitri John Ledkov
f700f07d59
releasing package livecd-rootfs version 2.717 2021-03-11 17:08:58 +00:00
Dimitri John Ledkov
4428dbbf8f
riscv64: generalise slightly how preinstalled server images are built, to allow using subarch to pick u-boot binaries to install. 2021-03-11 17:08:15 +00:00
Michael Hudson-Doyle
4514901328 releasing package livecd-rootfs version 2.716 2021-03-11 10:50:11 +13:00
Michael Hudson-Doyle
d5bc59f2fb Use the correct config keys in suppressing cloud-init output during boot of live server ISO. 2021-03-10 12:03:56 +13:00
Robert C Jennings
49c01ef0a0
releasing package livecd-rootfs version 2.715 2021-03-02 11:59:59 -06:00
Gauthier Jolly
76330897dc ubuntu-cpc: make /etc/fstab consistent with other ubuntu images
Modify the mount options in fstab to make the Cloud images consistent
with the default we have elsewhere.

LP: #1902103
LP: #1881006
2021-03-02 14:21:36 +00:00
Michael Hudson-Doyle
8725445e01 releasing package livecd-rootfs version 2.714 2021-02-26 09:58:07 +13:00
Michael Hudson-Doyle
974bb5bfd1 Merge branch 'quieter-live-server-boot' into ubuntu/master 2021-02-25 15:26:23 +13:00
Łukasz 'sil2100' Zemczak
bf4be0a585 releasing package livecd-rootfs version 2.713 2021-02-24 12:58:35 +01:00
Łukasz 'sil2100' Zemczak
1b0212a76c Use the full name of the 'boot' flag in parted calls 2021-02-24 12:58:08 +01:00
Robert C Jennings
81fe9de42f
releasing package livecd-rootfs version 2.712 2021-02-23 14:33:04 -06:00
Michael Hudson-Doyle
8ab15a145d set new cloud-init option to suppress final bit of output during boot 2021-02-23 11:06:19 +13:00
Michael Hudson-Doyle
52c8985454 Suppress cloud-init output during boot of live server ISO. 2021-02-18 13:08:09 +13:00
Cody Shepherd
265ef9797b
Update changelog 2021-02-12 13:59:51 -08:00
Cody Shepherd
4acd2e3085
Install lxd-agent-loader in bootable buildd image to improve user
experience with lxd vms
2021-02-12 13:24:54 -08:00
Cody Shepherd
5de661e137
Set grub configs to hide boot menu and enable output on ttyS0 2021-02-10 10:11:22 -08:00
Dimitri John Ledkov
87454604ec
releasing package livecd-rootfs version 2.711 2021-02-05 12:48:57 +00:00
Dimitri John Ledkov
82aca610dc
Merge remote-tracking branch 'xnox/fix-misisng-systemd-detect-virt' into ubuntu/master 2021-02-05 12:48:18 +00:00
Dimitri John Ledkov
72f2647eb0
Merge remote-tracking branch 'xnox/fsck-all-the-things' into ubuntu/master 2021-02-05 12:47:53 +00:00
Dimitri John Ledkov
096a00f404
functions: stop removing systemd-detect-virt unconditionally in undivert_grub
One can call divert_grub; replace_kernel; undivert_grub. And
replace_kernel will call into force_boot_without_initramfs, which
under certain conditions can call divert_grub &
undivert_grub. Resulting in undivert_grub called twice in a row.

When undivert_grub is called twice in a row it wipes
systemd-detect-virt binary from disk, as the rm call is unguarded to
check that there is something to divert if systemd package is
installed. And if the systemd package is not installed, it does not
check that systemd-detect-virt file is in-fact what divert_grub has
created.

Add a guard to check that systemd-detect-virt is the placeholder one,
before removing it.

LP: #1902260
2021-02-03 14:45:54 +00:00
Dimitri John Ledkov
33b7272a23
Perform fsck on all rootfs.
LP: #1912835
2021-02-01 14:45:42 +00:00
Dimitri John Ledkov
d699d8db19
releasing package livecd-rootfs version 2.710 2021-01-28 10:43:37 +00:00
Dimitri John Ledkov
0e2208121e
Merge branch 'fix-esp' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-01-28 10:43:13 +00:00
Dimitri John Ledkov
53b28d5f58
esp: perform fsck.
LP: #1912835
2021-01-22 19:16:47 +00:00
Dimitri John Ledkov
7c760864fd
esp: install grub in ubuntu bootloader id path, instead of removable.
Do not use removable uefi bootloader path in the cloud-images by
default, as that prevents upgrades of the bootloader.

LP: #1912830
2021-01-22 19:09:25 +00:00
Iain Lane
126ed87783
Update & finalise changelog 2021-01-04 10:38:25 +00:00
Iain Lane
42409e7068
auto/config: Install pi-bluetooth for raspi images
These are in restricted, and so cannot be depended on by the
metapackages which are in main.
2021-01-04 10:25:09 +00:00
Sebastien Bacher
1a979b1528 Desktop is using the hwe kernel, do the same on canary 2020-12-15 16:51:32 +01:00
Dimitri John Ledkov
890f24c0e1
releasing package livecd-rootfs version 2.708 2020-12-08 09:15:57 +00:00
Dimitri John Ledkov
6746d9fbd9
disk-image-uefi: fix riscv64 subarch user-data. 2020-12-08 09:15:09 +00:00
Dimitri John Ledkov
e0095d8c47
releasing package livecd-rootfs version 2.707 2020-12-05 15:18:50 +00:00
Dimitri John Ledkov
ff692b0e70
releasing package livecd-rootfs version 2.706ubuntu1 2020-12-05 15:17:53 +00:00
Dimitri John Ledkov
4881f5260a
qcow2-image: unbreak builds without subarch. 2020-12-05 15:17:16 +00:00
Dimitri John Ledkov
d492dcb378
releasing package livecd-rootfs version 2.706 2020-12-03 21:42:47 +00:00
Sebastien Bacher
ed8ee60c98 Desktop is using the hwe kernel, do the same on canary 2020-12-03 20:29:59 +01:00
Dimitri John Ledkov
3e1e76b94a
riscv64: fixup subarch build, unbound variable 2020-12-03 16:17:32 +00:00
Łukasz 'sil2100' Zemczak
c2733a55f7 Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18. 2020-12-03 12:18:57 +01:00
Dimitri John Ledkov
067e286ce6
releasing package livecd-rootfs version 2.705 2020-12-02 14:10:05 +00:00
Dimitri John Ledkov
2f84bc9a84
config: on hirsute build UC22 images 2020-12-02 11:05:18 +00:00
Dimitri John Ledkov
6df1c71416
releasing package livecd-rootfs version 2.704 2020-12-01 17:16:21 +00:00
Dimitri John Ledkov
a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA. 2020-12-01 17:14:40 +00:00
Łukasz 'sil2100' Zemczak
a984bf59be releasing package livecd-rootfs version 2.703 2020-12-01 10:00:47 +01:00
Łukasz 'sil2100' Zemczak
dda73b5591 Do not hard-code the UC20 amd64 image size anymore. 2020-11-27 17:57:18 +01:00
Dimitri John Ledkov
17116a48f5
releasing package livecd-rootfs version 2.702 2020-11-25 13:00:18 +00:00
Dimitri John Ledkov
3962f4ac23
disk-image-uefi: riscv64 add ubuntu:ubuntu login, without expiry. 2020-11-24 18:40:40 +00:00
Dimitri John Ledkov
da578b2c6b
disk-image-uefi: riscv64 add u-boot spl
LP: #1905274
2020-11-24 18:40:34 +00:00
Dimitri John Ledkov
ba8649ef80
get-ppa-fingerprint: use production instance with latest api.
Otherwise it defaults to staging lp instance, with obsolete API.
2020-11-24 18:39:56 +00:00
Sebastien Bacher
fb0d16ea8a Correctly set the environment needed by snapd in layered
The change is similar to commit #1ca11c97 but for the canary image.
2020-11-24 11:38:10 +01:00
Sebastien Bacher
79e8f3b53e Use the target realpath to do the unmounting 2020-11-24 11:36:13 +01:00
Robert C Jennings
40da2925c4
releasing package livecd-rootfs version 2.701 2020-11-20 14:57:23 -06:00
Cody Shepherd
edaab1def3
Omit file type exensions in manifest names 2020-11-20 12:36:23 -08:00
Cody Shepherd
762124dbd7
Create manifests for buildd tarballs 2020-11-19 12:59:06 -08:00
Dimitri John Ledkov
bf59d6c31c
releasing package livecd-rootfs version 2.700 2020-11-19 17:43:55 +00:00
Dimitri John Ledkov
3a20f2669c
Merge remote-tracking branch 'davidkrauser/buildd-image-perform-upgrade' into ubuntu/master 2020-11-19 17:39:26 +00:00
Dimitri John Ledkov
f53a681d8a
Merge remote-tracking branch 'patviafore/use_ftpmaster_instead_of_archive_in_binary_hooks' into ubuntu/master 2020-11-19 17:36:39 +00:00
Dimitri John Ledkov
8e986c20fd
Merge remote-tracking branch 'seb128/layered-languages-fix' into ubuntu/master 2020-11-19 17:34:02 +00:00
Dimitri John Ledkov
83c77f9c60
Merge remote-tracking branch 'davidkrauser/dk/buildd-unpack-kernel-initrd' into ubuntu/master 2020-11-19 17:28:21 +00:00
Dimitri John Ledkov
80e98a937b
Merge remote-tracking branch 'xnox/disk-images-all-the-things' into ubuntu/master 2020-11-19 17:26:00 +00:00
Dimitri John Ledkov
914997827d
disk-image-uefi.binary: build riscv64 image without a bootloader.
We want GPT image with ESP, however there is no bootloader for it
yet. Build without it.
2020-11-19 15:47:12 +00:00
Dimitri John Ledkov
122364df65
disk-image-uefi.binary: enable secureboot on the arm64 image. 2020-11-19 15:47:09 +00:00
Sebastien Bacher
fa5c2092c7 During the layered build generate the right content for no languages
The structure changed as part of bug #1873374
2020-11-19 16:28:11 +01:00
Dimitri John Ledkov
e8f53aabdf
disk-image.binary: however still build MBR image on amd64.
It is used to derive vagrant and ec2 images. I do wonder, if those
could be converted to derive from uefi one.
2020-11-18 00:09:08 +00:00
Dimitri John Ledkov
8e548f37d9
disk-image.binary: skip building MBR image on riscv64. 2020-11-17 23:40:53 +00:00
Dimitri John Ledkov
ff175e3f4a
disk-image.binary: actually skip building MBR image on EFI platforms.
The case is for arch:subarch combo, not just arch alone even if
subarch is empty. Thus currently on adm64/arm64/armhf ubuntu-cpc
builds mbr image is created and then ignored, as the convert to qcow2
hook prefers the uefi image whenever available.

Skipping building these correctly, should speed up the build a little
bit and use slightly less disk space.
2020-11-17 23:37:52 +00:00
Iain Lane
62986bd84b
Finalise changelog 2020-11-03 10:13:56 +00:00
Iain Lane
bff59ee0af
Update changelog 2020-11-03 10:11:28 +00:00
Jinming Wu, Patrick
72e47a9f8b
Hyper-V hook fix 2020-11-03 16:19:01 +08:00
Dimitri John Ledkov
a92b0a4fb6
releasing package livecd-rootfs version 2.698 2020-10-29 22:22:35 +00:00
Dimitri John Ledkov
18a5309531
control: install qemu-utils & snapd on riscv64.
These are now available.
2020-10-29 22:21:39 +00:00
Dimitri John Ledkov
07d9e9ca9d
Merge branch 'shim-signed-wants-pc' of https://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2020-10-29 22:18:17 +00:00
Dimitri John Ledkov
0f7c511892
amd64: always install grub-pc with shim-signed (LP: #1901906) 2020-10-28 22:56:32 +00:00
Dimitri John Ledkov
e2fd168f50
amd64: always install grub-pc with shim-signed
shim-signed depends on grub-efi-amd64-signed, which in turn has
alternative depends on either `grub-efi-amd64 | grub-pc`. However to
support booting with either via shim&signed-grub and BIOS, the choice
must be made to install grub-pc, not grub-efi-amd64.

This makes images consistent with Ubuntu Deskop, Live Server, buildd
bootable images; all of which already do install grub-pc and
shim-signed.

LP: #1901906
2020-10-28 22:56:31 +00:00
Robert C Jennings
7033e0fae9
releasing package livecd-rootfs version 2.697 2020-10-28 12:02:39 -05:00
Robert C Jennings
df38b9ba75
Merge ensure-vmtools-in-vmdk-header into ubuntu/master [a=jchittum] [r=rcj]
vmtools version in vmdk header (LP: #1893898)

LP: #1893898 describes missing vmtools version from the vmdk headers.
The version should be added as ddb.toolsVersion = "2147483647" however
the sed was no longer replacing a ddb.comment field with the tools
version. Rather than subbing ddb.comment with toolsVersion, this commit
deletes ddb.comment (which the comment mentions could cause errors),
and adds the correct value. There was no visibility into the descriptor
during hook creation, so debug statements were added. This allows us to
quickly verify in the logs that bad statements are removed (the possibly
offending commetns), as well as ensuring that the toolsVersion is added

MP: https://code.launchpad.net/~jchittum/livecd-rootfs/+git/livecd-rootfs/+merge/392401
2020-10-28 12:00:57 -05:00
Dimitri John Ledkov
75c196cb0e
Correct bug number 2020-10-28 10:43:51 +00:00
Dimitri John Ledkov
55ce3027ba
releasing package livecd-rootfs version 2.696 2020-10-28 10:37:13 +00:00
Dimitri John Ledkov
eae27b6737
Merge branch 'unbreak-hyperv-desktop-preinstalled' of https://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2020-10-28 10:36:22 +00:00
Dimitri John Ledkov
1c7d688319
auto/config: scope ubuntu:desktop-preinstalled:raspi image options
When desktop-preinstalled image options were added in
38157b37487d244b27af33f7863e6b15253c8f94, for the raspi subarch, the
options listed there were not scoped for raspi subarch. This results
in those options getting also applied for the HYPERV
ubuntu:desktop-preinstalled image.

Thus scope the newly added options under raspi subarch case only.
2020-10-27 20:42:08 +00:00
Dimitri John Ledkov
5d9af7f3c5
auto/config: seed ubuntu-desktop when building hyperv image
Regression introduced in 38157b37487d244b27af33f7863e6b15253c8f94 when
desktop-preinstalled code branch was added, it dropped addint
ubuntu-desktop task. Instead it added ubuntu-desktop-raspi task, only
for the raspi subarch, which depends on ubuntu-desktop. But the hyperv
case, now ended up without ubuntu-desktop task.

It looks like introduction of "desktop-preinstalled" assumed, that it
is for raspi only, when in fact that code path now started to be used
for hyperv gallery image too.
2020-10-27 20:26:50 +00:00
Joshua Powers
a0b58df7ae
fix changelog version 2020-10-26 12:03:35 -07:00
Joshua Powers
b96d6a5263
Update changelog 2020-10-26 12:01:31 -07:00
Joshua Powers
b0c8b628b2
ubuntu-cpc: only install shim-signed, run autoremove
The CPC build hooks for amd64 incorrectly attempt to install shim-signed
in addition to grub-efi-amd64 and grub-pc. These latter two packages
conflict with each other. Instead shim-signed should install whatever
packages are required.

Additionally, this will ensure that autoremove is run after installing
anything in the CPC build hooks. This is done to avoid shipping images
that include packages that are autoremovable. This will clean-up as
packages are installed and detect any breakage at build time.
2020-10-26 11:48:24 -07:00
John Chittum
4f1df739f6
Debug logging information
Added context lines for debugging lines.
2020-10-26 09:22:32 -05:00
David Krauser
065c823144 Produce buildd kernel and initrd as separate artifacts
Multipass on Mac OS X requires standalone kernel and initrd artifacts
to boot.

Also call update-initramfs on all installed kernels. We only have one
kernel installed, so we don't need to specify an explicit version.
2020-10-20 15:00:23 -04:00
Łukasz 'sil2100' Zemczak
a3d6f34970 releasing package livecd-rootfs version 2.694 2020-10-20 19:57:11 +02:00
Łukasz 'sil2100' Zemczak
f4f4fec5dc Add the pi desktop oem user to the adm and sudo groups 2020-10-20 17:26:40 +02:00
John Chittum
201addb317
Remove sed and move size check
There was a question on if the comment removals in the `sed` were
required. The comments (`#`) are created by vmdk-stream-converter and
seem to cause no issues. `ddb.comment` is no longer being written by the
tool anymore. Moved the check earlier to ensure the new header isn't too
large before running truncate (otherwise it may be too long, and we
remove bits we want)
2020-10-19 13:22:32 -05:00
John Chittum
4f5eacbfae
Fixup Debian Changlog
Rebase, fixedup changelog, opened new release
2020-10-19 10:54:59 -05:00
John Chittum
24ee4b8c4d
vmtools version in vmdk header (LP: #1893898)
LP: #1893898 describes missing vmtools version from the vmdk headers.
The version should be added as ddb.toolsVersion = "2147483647" however
the sed was no longer replacing a ddb.comment field with the tools
version. Rather than subbing ddb.comment with toolsVersion, this commit
deletes ddb.comment (which the comment mentions could cause errors),
and adds the correct value. There was no visibility into the descriptor
during hook creation, so debug statements were added. This allows us to
quickly verify in the logs that bad statements are removed (the possibly
offending commetns), as well as ensuring that the toolsVersion is added
2020-10-19 10:51:44 -05:00
Łukasz 'sil2100' Zemczak
81eba8db72 releasing package livecd-rootfs version 2.693 2020-10-19 13:06:02 +02:00
Łukasz 'sil2100' Zemczak
49a0243465 Changelog 2020-10-19 13:03:59 +02:00
Łukasz 'sil2100' Zemczak
5a7b332745 Build classic raspi server images by default from the 'classic' branch now. 2020-10-19 12:58:08 +02:00
Łukasz 'sil2100' Zemczak
fdef469af0 releasing package livecd-rootfs version 2.692 2020-10-19 12:56:12 +02:00
Łukasz 'sil2100' Zemczak
5d0e1c602a duh, Laney is right, we can do 1G straight away. 2020-10-15 11:44:26 +02:00
Łukasz 'sil2100' Zemczak
af0356e402 Add changelog entry. 2020-10-15 11:24:30 +02:00
Łukasz 'sil2100' Zemczak
729e12c846 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into pi-desktop-swapfile 2020-10-15 11:23:38 +02:00
Michael Hudson-Doyle
cb4e8cec58 releasing package livecd-rootfs version 2.691 2020-10-15 08:56:20 +13:00
Michael Hudson-Doyle
b677bdbcc6 Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818) 2020-10-15 08:33:23 +13:00
Łukasz 'sil2100' Zemczak
1a8d6d203e Add creation of a 1GB swapfile for desktop pi images. 2020-10-14 15:09:34 +02:00
Łukasz 'sil2100' Zemczak
66621a8aed releasing package livecd-rootfs version 2.690 2020-10-07 17:06:12 +02:00
Łukasz 'sil2100' Zemczak
eda716902e For desktop-preinstalled we don't need cloud-image. 2020-10-07 17:04:08 +02:00
Łukasz 'sil2100' Zemczak
42b28cf70a Fix braces broken again. 2020-10-07 13:04:49 +02:00
Łukasz 'sil2100' Zemczak
7d524ffb98 Remove unneeded sedding. 2020-10-07 10:52:47 +02:00
Łukasz 'sil2100' Zemczak
6fe2354261 Add changelog entry. 2020-10-07 10:51:55 +02:00
Łukasz 'sil2100' Zemczak
99556c77ea Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into raspi-desktop-1 2020-10-07 10:49:32 +02:00
Łukasz 'sil2100' Zemczak
fdd8b1cba0 Use the right task name - ubuntu-desktop-raspi. 2020-10-07 10:49:03 +02:00
Łukasz 'sil2100' Zemczak
38157b3748 First batch of changes for raspi desktop. 2020-10-01 11:23:28 +02:00
Steve Langasek
dd81544956 releasing package livecd-rootfs version 2.689 2020-09-30 15:57:25 -07:00
Steve Langasek
394abc17ea Include bug reference in changelog 2020-09-30 15:57:11 -07:00
John Chittum
953857c8f9
Uprev and update changelog 2020-09-29 13:00:05 -05:00
John Chittum
1abc43a2d0
Remove virtualbox-guest-utils (LP: #1895862)
virtualbox-guest-utils kernel modules is included in linux-modules
starting in kernel 5.4.0-33 in focal-updates. The vagrant hook also
explicit installed virtualbox-guest-utils. An error occurred with the
version installed from the archives, however, with the inclusion in
linux-modules, there's no need to explicitly install
virtualbox-guest-utils. Removes the code for the explicit install.
2020-09-29 11:41:05 -05:00
Pat Viafore
78ced6b26e
Rename function to be shorter 2020-09-21 12:10:08 -05:00
Pat Viafore
32d5afc40a
Expose a variable for sources.list backup
MOUNTPOINT_BACKUP_SOURCE_LIST is exposed when you call
setup_mountpoint.  Consumers can use this variable if they need to
explicitly change something in sources.list wihout relying on the name
livecd-rootfs chooses.
2020-09-21 12:07:48 -05:00
Robert C Jennings
5190aff932
Ensure a binary hook has not changed the temporary sources.list 2020-09-21 12:07:47 -05:00
Robert C Jennings
5362e3a7e7
Use build env archive mirror in binary hooks 2020-09-21 12:07:47 -05:00
Robert C Jennings
76f9f34177
releasing package livecd-rootfs version 2.688 2020-09-16 08:49:06 -05:00
Robert C Jennings
2be2a168ee
ubuntu-cpc: Fix spelling in vagrant file 2020-09-16 08:48:28 -05:00
Robert C Jennings
3a23df1711
releasing package livecd-rootfs version 2.687 2020-09-15 15:26:26 -05:00
John Chittum
fb33fe9026
Minor fixes to Vagrantfile comments 2020-08-27 15:46:36 -05:00
John Chittum
cfd43992a8
Reorder comments to ensure clarity
Long history comment moved to the end with short clarifying comments
before the relevant code. Update changelog with proper attribution
2020-08-27 15:11:15 -05:00
John Chittum
c92e885303
ubuntu-cpc: Vagrant Serial to Null (LP: #1874453)
Original fix proposed by Stanislav German-Evtushenko (giner)

CPC Ubuntu cloud images default to enabling a serial console connection
via the kernel commandline option `console=ttyS0`. Many clouds support
the serial connection, and utilize it for debugging purposes. Virtualbox
supports the serial connection as well. In Bionic and earlier images,
Vagrant boxes created a serial log file in the directory of the
Vagrantfile by default. However this is not standard behaviour for
Vagrant images, and so it was removed in Eoan onwards.

Starting in Eoan, there were reports of image booting slowdown (1874453
is a single example). After testing, it was determined that the serial
connection starting, without a device attached, was the cause of the
slow down. However, we did not want to revert to the old functionality
of creating a file. Much thanks to <giner> for providing the Ruby syntax
for sending to File::NULL.

This option will not create a local file, however, the default
Vagrantfile configuration is overwritable via a users Vagrantfile. The
original syntax for creating a file local to the users Vagrantfile has
been included as an example.
2020-08-27 14:37:40 -05:00
Stanislav German-Evtushenko
b0144d3018
vagrant: Use dummy file for the console output
Links:
- https://bugs.launchpad.net/cloud-images/+bug/1874453
2020-08-27 14:36:22 -05:00
Steve Langasek
10dae25655 releasing package livecd-rootfs version 2.685 2020-08-27 12:18:19 -07:00
Steve Langasek
08c09dc42a changelog 2020-08-27 12:17:22 -07:00
Steve Langasek
37f5f8881f Revert "Revert "Remove fstab from squashfs images""
This reverts commit d9de2701897608710ed97e206ee29f28af8cc82a.
2020-08-27 12:17:22 -07:00
Steve Langasek
ff6116a5c8 use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:17:20 -07:00
Dan Streetman
82f206190d use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:16:48 -07:00
Robert C Jennings
a17961a974
Release package livecd-rootfs version 2.685 2020-08-27 11:10:15 -05:00
Robert C Jennings
2844aa530d
Revert ubuntu-cpc: Disable boot splash
These introduced a regression for ppc64el and needs more time to bake.
This reverts commits 1deb0c68e8be6b06190402e32292c3c55134eee2 &
6dbb30f53bd3f2086021abdecaee04645c9ccda0.

 * "ubuntu-cpc: Fix ppc64el grub console update"
 * "ubuntu-cpc: Disable boot splash in all cloud images (LP: #1725358)"
2020-08-12 16:49:41 -05:00
Robert C Jennings
5b32b7e373
Release package livecd-rootfs version 2.684 2020-08-12 13:48:51 -05:00
Robert C Jennings
1deb0c68e8
ubuntu-cpc: Fix ppc64el grub console update
The commit 6dbb30f5 (2.682) which disabled boot splash for all cloud
images introduced an error in the ppc64el hook.  This patch corrects the
name of the variable that contains grub console overrides.  The error
seen during testing was
 'disk-image-ppc64el.binary: line 44: CONSOLES: unbound variable'
and this was due to a typo.
2020-08-12 13:48:03 -05:00
Steve Langasek
a2a0ec7d7c releasing package livecd-rootfs version 2.683 2020-08-12 11:35:49 -07:00
Steve Langasek
484c5fa8b1 Changelog entry 2020-08-12 11:35:29 -07:00
Steve Langasek
d9de270189 Revert "Remove fstab from squashfs images"
This reverts commit f96e874ed12e7e080111d27aa14c4f97aa6bec87.
2020-08-12 11:35:06 -07:00
Robert C Jennings
b907a03f54
Release package livecd-rootfs version 2.682 2020-08-12 04:53:17 -05:00
Robert C Jennings
6dbb30f53b
ubuntu-cpc: Disable boot splash in all cloud images (LP: #1725358)
When trying to debug an issue on ARM64 it was reported that it was
quite difficult to debug because of control codes on the console from
the splash.

For cloud image there is a chroot customization the drops 'quiet splash'
but this is only applied to amd64.  It hasn't made it into other
architectures because they don't have grub by default in the chroot.
However, when we get into binary hook for the uefi disk image and it's
derivatives grub is installed and this includes architectures that were
skipped in the chroot hook.

This patch changes the cpc-fixes chroot hook to add a cloud-images
grub config with basic overrides, including dropping the boot splash,
for all architectures.  For images that never get grub installed this
addition is harmless and small while ensuring that the grub experience
is consistent for images that have grub.  The configuration of console
devices as hard-coded remains arch specific.
2020-08-12 04:50:36 -05:00
Steve Langasek
c39b9b2d54 releasing package livecd-rootfs version 2.681 2020-08-10 14:54:28 -07:00
Steve Langasek
57d487b11d Use the Azure kernel for the HyperV gallery images. 2020-08-10 14:54:21 -07:00
Steve Langasek
9348a2e9cb Merge remote-tracking branch 'callmepk/ubuntu/master' into ubuntu/master 2020-08-10 14:52:07 -07:00
Steve Langasek
fa8398d671 releasing package livecd-rootfs version 2.680 2020-08-04 12:30:37 -07:00
Steve Langasek
e1c745e193 Merge remote-tracking branch 'codyshepherd/bootable-buildd/dist-upgrade/groovy' into ubuntu/master 2020-08-04 12:29:52 -07:00
Robert C Jennings
6f67e275a5
Release package livecd-rootfs version 2.679
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized

The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images.  This same pattern will be used in groovy near/after release.
This patch updates the pattern to accept 'lxd' or 'lxd=*'.

MP: https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/388320
2020-07-29 15:25:57 -05:00
Robert C Jennings
e3dce0ab17
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images.  This patch updates the pattern to accept 'lxd' or 'lxd=*'.
2020-07-29 14:56:26 -05:00
Dimitri John Ledkov
c69c79ea75
releasing package livecd-rootfs version 2.678 2020-07-27 17:38:35 +01:00
Dimitri John Ledkov
4d4f113f42
functions: provide nss_systemd-less nsswitch.conf in chroots. 2020-07-24 21:03:55 +01:00
Dimitri John Ledkov
109e6c6613
auto/build: use setup|teardown_mountpoint to reduce duplication 2020-07-24 20:59:57 +01:00
Robert C Jennings
9c52eaef60
Merge feature/initrdless-detection into ubuntu/master [a=davidkrauser] [r=rcj]
MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/387862
2020-07-23 14:01:06 -05:00
David Krauser
83499f1a95 Add mechanism to detect initrdless boot fallback
In v2.672 the default boot behavior of cloud images changed:

- Prior to v2.672, cloud images with the linux-generic kernel attempt
  to boot without an initramfs, would fail, and then retry with an
  initramfs.

- After v2.672, cloud images with the linux-generic kernel boot with
  an initramfs on the first try.

While the behavior is different between the two, they both result in
an instance that has booted with an initramfs. To ensure the changes
in v2.672 do not regress, we need an automated way to check if we are
attempting to boot without an initramfs and failing.

With this change, when we attempt to boot with an initramfs and fail,
initrdless_boot_fallback_triggered is set to non-zero in the grubenv.
This value can be checked after boot by looking in /boot/grub/grubenv
or by using the grub-editenv list command.
2020-07-22 16:41:10 -04:00
Jinming Wu, Patrick
afda365565
Additional fixes for Hyper-V builds
use of linux-azure, which is the optimized kernel for Hyper-V by
Microsoft
2020-07-22 17:27:03 +08:00
Robert C Jennings
2edabc31c2
releasing package livecd-rootfs version 2.677
* Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
2020-07-18 18:12:24 -05:00
Robert C Jennings
84397b5098
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
Builds in LP with the Xenial kernel were happy with the recursive mount of
/sys inside the chroot while performing snap-preseeding but autopkgtests
with the groovy kernel failed.  With the groovy kernel the build was
unable to unmount sys/kernel/slab/*/cgroup/* (Operation not permitted).

This patch mounts /sys and /sys/kernel/security in the chroot in the
same way we've added for binary hooks.  This provides the paths under
/sys needed for snap-preseed while avoiding issues unmounting other
paths.
2020-07-18 16:52:18 -05:00
Dimitri John Ledkov
b22d7dc38c
releasing package livecd-rootfs version 2.676 2020-07-18 01:18:18 +01:00
Dimitri John Ledkov
b14f79ce2e
apparmor: compile all profiles 2020-07-18 00:45:26 +01:00
Dimitri John Ledkov
31861fd40d
seccomp: mount more up-to-date seccomp features 2020-07-18 00:24:16 +01:00
Dimitri John Ledkov
bc4d32a422
seccomp: add more up-to-date seccomp actions 2020-07-18 00:20:42 +01:00
Dimitri John Ledkov
a14a31b751
apparmor: mount more up-to-date apparmor features in the chroot. 2020-07-18 00:20:41 +01:00
Dimitri John Ledkov
37be000f39
apparmor: Add generic v5.4 kernel apparmor features 2020-07-17 23:42:53 +01:00
Dimitri John Ledkov
3694cf3f75
releasing package livecd-rootfs version 2.675 2020-07-17 21:19:57 +01:00
Dimitri John Ledkov
6e6ab16bf2
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed. 2020-07-17 21:17:34 +01:00
Robert C Jennings
1ca11c9795
Apply snap-preseed optimizations after seeding snaps
The snap-preseed command can do a number of things during the build
that are currently performed at first boot (apparmor profiles, systemd
unit generation, etc).  This patch adds a call to reset the seeding and
apply these optimizations when adding a seeded snap.  As a prerequisite
to calling snap-preseed we need to make /dev/mem available as well as
mounts from the host to perform this work, so those are also added here.
2020-07-17 21:17:33 +01:00
Steve Langasek
2513613002 releasing package livecd-rootfs version 2.674 2020-07-16 15:40:22 -07:00
David Krauser
4c504f6781 Fix broken minimal cloud image boot on amd64
I recently pulled initramfs logic out of the base build hook, and
dropped that into the `replace_kernel` function. Any cloud image that
does not leverage the generic virtual kernel was expected to call
`replace_kernel` to pull in a custom kernel. That function will
disable initramfs boot for images that use a custom kernel.

Minimal cloud images on amd64 use the linux-kvm kernel, but the build
hook does not utilize the `replace_kernel` function. Instead, the
kernel flavor is set in `auto/config`. I pulled that logic out of
`auto/config` and am now calling `replace_kernel` in the build hook.

I also moved a call to generate the package list so that it will pick
up the change to the linux-kvm kernel.
2020-07-16 17:25:46 -04:00
Michael Hudson-Doyle
83ce5e32a8 releasing package livecd-rootfs version 2.673 2020-07-14 14:58:45 +12:00
Michael Hudson-Doyle
f277d1f355 update changelog 2020-07-14 14:57:16 +12:00
Joshua Powers
d542e8e4a0
functions: fix unbound variable 2020-07-13 13:05:43 -07:00
Cody Shepherd
7ad64297f7
Remove explicit install of grub-efi-* package as it is not necessary,
and potentially overexplicit
2020-07-13 09:10:50 -07:00
Robert C Jennings
a6a7be7c18
Release package livecd-rootfs version 2.672
* Boot with an initramfs by default in cloud images, except when using a non-generic kernel.
   MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/386913
2020-07-10 07:48:22 -05:00
Dimitri John Ledkov
2976a99f29 Fix-up seeding snaps with tracks. 2020-07-10 01:56:10 +01:00
Cody Shepherd
5136ee4104
Perform a dist-upgrade prior to installing packages for bootable-buildd
image in order to pull in package updates
2020-07-09 13:00:04 -07:00
Dimitri John Ledkov
c60421ae57 releasing package livecd-rootfs version 2.670 2020-07-09 18:35:03 +01:00
Dimitri John Ledkov
bdec14015c Merge branch 'snap-preseed-channel-specification' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2020-07-09 18:34:31 +01:00
Dimitri John Ledkov
7bae9201d2 snap_preseed: support channel specification with snap name
snap_name[/classic]=track/risk/branch is now the supported snap name
specification, which allows to specify the full default track and
optional classic confinemnt.

Supporting such specification in the seedtext allows one to specify a
better default channel. For example, this will allow lxd to switch
from latest/stable/ubuntu-20.04 to 4.0/stable/ubuntu-20.04 as 4.0 is
the LTS track matching 20.04 support timeframe.

LP: #1882374
2020-07-09 18:32:10 +01:00
David Krauser
5a4541b01e Add changelog entry for initramfs changes 2020-07-08 17:29:15 -04:00
David Krauser
e8e3e6760f Drop hack in kvm image that forces initramfs-less boot
Since the kvm image now boots without an initramfs by default, we
don't need to force it in the build hook.
2020-07-08 17:29:15 -04:00
David Krauser
8a2cdec470 Boot without an initramfs by default if running a custom kernel
Initramfs-less boot, which is a boot optimization, should only be
applied where we know it could work for users and provide an improved
boot boot experience; images with custom kernels are candidates for
that.
2020-07-08 17:26:50 -04:00
David Krauser
1ca1330eae Boot with an initramfs by default in cloud images
Generic cloud images with the linux-generic kernel are not able to
boot without an initramfs. Previously, these images attempted to boot
without an initramfs, would fail, and then retry with an initramfs.
This slows the boot and is confusing behavior.
2020-07-08 17:13:49 -04:00
Dimitri John Ledkov
4f11f40c96 releasing package livecd-rootfs version 2.669 2020-06-25 18:02:57 +01:00
Dimitri John Ledkov
1ff35cf438 chroot: disable amd64 codepath on riscv64 2020-06-24 16:08:31 +01:00
Dimitri John Ledkov
04c2fda36c releasing package livecd-rootfs version 2.668 2020-06-23 15:05:15 +01:00
Dimitri John Ledkov
90602e00de Merge branch 'empty-fstab-in-lxd' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master 2020-06-23 15:04:46 +01:00
Steve Langasek
05d219a319 add changelog entry for hyperv changes 2020-06-22 08:46:23 -07:00
Steve Langasek
4a02400dec Merge remote-tracking branch 'callmepk/hyper-v-fix' into ubuntu/master 2020-06-22 08:45:21 -07:00
Balint Reczey
f96e874ed1 Remove fstab from squashfs images
The default fstab is not valid, since squashfs does not support labels.

LP: #1877078
2020-06-16 22:14:59 +02:00
Łukasz 'sil2100' Zemczak
40103430d8 Enable overrides of UC20 grade dangerous channels 2020-05-25 19:11:22 +02:00
Philip Roche
60665a434b Revert of initramfs package removal in KVM image (LP: #1875400)
It was reported and confirmed in LP bug #1875400
(https://bugs.launchpad.net/cloud-images/+bug/1875400) that on the public
KVM cloud image there exists a large list of packages marked for auto-removal.

This should never be the case on a released cloud image.

These packages are marked for auto-removal because in the KVM image binary hook
we removed both initramfs-tools and busybox-initramfs packages. Due to package
dependencies this also removed:

busybox-initramfs* cloud-initramfs-copymods* cloud-initramfs-dyn-netconf*
cryptsetup-initramfs* initramfs-tools* initramfs-tools-core* multipath-tools*
overlayroot* sg3-utils-udev* ubuntu-server*

But it did not remove all the packages that the above list depended on.
This resulted in all those packages being marked for auto-removal because they
were not manually installed nor did they have any manually installed packages
that depended on them.

The removal of initramfs-tools and busybox-initramfs was to avoid the
generation of initramfs in images that should boot initramfsless.

This requirement is obsolete now because the initramfsless boot handling
is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg.

In test images I have verified that GRUB_FORCE_PARTUUID is set and that
boot speeds have not regressed.

LP: #1875400
2020-05-18 17:08:30 +01:00
Dimitri John Ledkov
9640e60515 releasing package livecd-rootfs version 2.666 2020-05-12 12:29:58 +01:00
Dimitri John Ledkov
dbf5b84bc8 Merge branch 'xnox/lxd-add-riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-12 12:28:56 +01:00
Dimitri John Ledkov
1979e61c36 Merge branch 'kpartx-fun' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2020-05-12 12:19:32 +01:00
Dimitri John Ledkov
29b99b70ec Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master 2020-05-12 11:51:46 +01:00
Dimitri John Ledkov
bb9a7dd43e make-lxd-metadata: add riscv64 lxd architecture tag 2020-05-11 14:20:34 +01:00
Jinming Wu, Patrick
81b1cbbfc2
Add extra policy for xrdp session 2020-05-11 19:45:04 +08:00
Jinming Wu, Patrick
8d26a3036c
force to use systemwide config 2020-05-11 19:43:27 +08:00
Jinming Wu, Patrick
c9a2d8abad
Hyper-V: remove legacy option 2020-05-11 19:39:38 +08:00
Dimitri John Ledkov
b9177cfd59 Fixup indentation
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-07 15:09:57 +01:00
Jinming Wu, Patrick
bc24ef964e
hyper-v enhanced mode fix: port change 2020-05-05 18:03:10 +08:00
Dimitri John Ledkov
3575edfb4d releasing package livecd-rootfs version 2.665 2020-05-01 20:00:13 +01:00
Dimitri John Ledkov
3f4a3c6fa0 Merge branch 'xnox/riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:58:17 +01:00
Dimitri John Ledkov
50dc35bb17 ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet. (LP: #1876359) 2020-05-01 19:56:18 +01:00
Dimitri John Ledkov
282c5a5bd5 ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet.
LP: #1876359
2020-05-01 19:55:31 +01:00
Dimitri John Ledkov
ecfe6658fc Merge branch 'xnox/fix-pi-models' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:53:29 +01:00
Dimitri John Ledkov
e25aec1ca2 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name. (LP: #1876358) 2020-05-01 19:52:02 +01:00
Dimitri John Ledkov
6e8b5b94c4 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
LP: #1876358
2020-05-01 19:50:41 +01:00
Dimitri John Ledkov
99e129f30c Merge branch 'xnox/lp-uc20-8gb' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:48:27 +01:00
Dimitri John Ledkov
e013459a08 Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible. (LP: #1875430) 2020-05-01 19:47:17 +01:00
Dimitri John Ledkov
668898d92c Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
LP: #1875430
2020-05-01 19:43:30 +01:00
David Krauser
1aef616afd Include -security and -updates packages in bootable buildd images
The base image is built with packages from the release pocket; however,
we want the latest from updates and security. Those pockets are already
enabled, we just need to perform an upgrade to pull in the latest
packages.
2020-03-26 15:44:05 -04:00
Michael Hudson-Doyle
2498aadebb Call udevadm settle before kpartx -d
Back in 2017 some code was added to ignore failures tearing down loop
devices. But debugging that growpart race on cloud images made me (very)
aware of a potential cause of the race: doing something like zerofree on
a device will cause udev scripts to run, and if they are still running
by the time kpartx is called, you would expect the kpartx -d to fail. So
lets see if a udevadm settle helps, and get rid of one of the "sometimes
this fails but we don't know why" comments...
2020-03-21 00:08:07 +13:00
Balint Reczey
cff135b43e debian/gbp.conf: Add minimal configuration for branch and tag naming 2019-11-13 21:09:24 +01:00
512 changed files with 8434 additions and 3635 deletions

23
checkout-translations-branch Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
set -eux
branch=$1
dir=$2
target="$(readlink -f "${3}")"
tmpdir="$(mktemp -d)"
cd "${tmpdir}"
cleanup () {
rm -rf "${tmpdir}"
}
trap cleanup EXIT
mkdir -p $target
git clone $branch checkout
for po in checkout/$dir/*.po; do
msgfmt "${po}" -o "${target}/$(basename "${po}" .po).mo"
done

1
debian/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
files

3401
debian/changelog vendored

File diff suppressed because it is too large Load Diff

1
debian/compat vendored
View File

@ -1 +0,0 @@
7

25
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
@ -12,12 +14,14 @@ Depends: ${misc:Depends},
apt-utils,
attr,
debootstrap,
devscripts,
distro-info,
dosfstools,
e2fsprogs,
gdisk,
genisoimage,
germinate (>= 1.25.1),
gettext,
git,
gnupg,
grep-dctrl,
@ -26,22 +30,25 @@ Depends: ${misc:Depends},
lsb-release,
lzma,
make,
mount,
mtools [!i386],
parted,
procps,
python3,
python3-apt,
python3-software-properties,
python3-launchpadlib [!i386],
python3-yaml,
qemu-utils [!i386 !riscv64],
rsync,
snapd (>= 2.39) [!i386 !riscv64],
qemu-utils [!i386],
rsync [!i386],
snapd (>= 2.39) [!i386],
squashfs-tools (>= 1:3.3-1),
sudo,
u-boot-tools [armhf arm64],
ubuntu-image [!i386],
u-boot-tools [arm64 armhf],
python3-vmdkstream [amd64 i386],
xorriso [!i386],
xz-utils,
zerofree
zerofree,
zstd
Breaks: ubuntu-defaults-builder (<< 0.32)
Description: construction script for the livecd rootfs
livecd-rootfs provides the script used to create the root filesystem

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.

4
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
debian-branch=ubuntu/master
debian-tag = %(version)s
dch-opt = --vendor=debian

5
debian/install vendored
View File

@ -2,5 +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

@ -1,7 +1,7 @@
Tests: default-bootstraps
Depends: @, lsb-release
Restrictions: needs-root isolation-machine
Restrictions: needs-root isolation-machine allow-stderr
Tests: minimized
Depends: @, lsb-release
Restrictions: needs-root isolation-machine
Restrictions: needs-root isolation-machine allow-stderr

View File

@ -13,41 +13,41 @@ fi
# Listed subprojects can be combined with other projects as well,
# but this list gives reasonable coverage.
ALL_TRIPLETS="
base::
edubuntu::
edubuntu-dvd::
kubuntu::
kubuntu-active::
kubuntu-dvd::
kubuntu-plasma5::
lubuntu::
mythbuntu::
ubuntu-unity::
ubuntu::
ubuntu:canary:
ubuntu-base::
ubuntu-base:buildd:
ubuntu-budgie::
ubuntu-budgie-desktop::
ubuntu-budgie-live::
ubuntucinnamon::
ubuntu-core:system-image:ubuntu-core
ubuntu-cpc::ubuntu-cpc
ubuntu-cpc:minimized:ubuntu-cpc
ubuntu-dvd::
ubuntu-gnome::
ubuntukylin::
ubuntu-mate::
ubuntu-mate-core::
ubuntu-mate-desktop::
ubuntu-mate-live::
ubuntu-netbook::
ubuntu-server::
xubuntu::"
ubuntu-server:live:ubuntu-server
xubuntu::
xubuntu:minimal:"
ARCH=$(dpkg --print-architecture)
if [ -z "$SELECTED_TRIPLETS" ]; then
SELECTED_TRIPLETS="
ubuntu-base::
ubuntu-cpc::ubuntu-cpc
"
if [ "$ARCH" = amd64 ]; then
SELECTED_TRIPLETS="$SELECTED_TRIPLETS
ubuntu::"
fi
fi
live_build_rootfs() {
@ -55,7 +55,6 @@ live_build_rootfs() {
local SUBPROJECT_TMP=${1%:*}
SUBPROJECT=${SUBPROJECT_TMP#*:}
TEMPLATE=${1##*:}
ARCH=$(dpkg --print-architecture)
echo "Building rootfs for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD"
cp -a /usr/share/livecd-rootfs/live-build/auto .
if [ -n "$TEMPLATE" ]; then
@ -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

@ -2,16 +2,14 @@
from __future__ import print_function
from launchpadlib.launchpad import Launchpad
from optparse import OptionParser
from softwareproperties import ppa
parser = OptionParser(usage="%prog OWNER/NAME")
_, args = parser.parse_args()
if not args:
parser.error("must provide a PPA owner/name")
owner_name, ppa_name = args[0].split("/", 1)
owner_name = "~%s" % owner_name
ppa_info = ppa.get_ppa_info_from_lp(owner_name, ppa_name)
print(ppa_info["signing_key_fingerprint"])
lp = Launchpad.login_anonymously('livecd-rootfs', 'production', version='devel')
print(lp.people(owner_name).getPPAByName(name=ppa_name).signing_key_fingerprint)

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

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