3208 Commits

Author SHA1 Message Date
Thomas Bechtold
be8c7aed7a Add debian/changelog 2022-07-11 14:16:15 +02:00
Thomas Bechtold
7ed77a5e64 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 9a8d7a6e4d7a0b50024df6b92e0711a2f42454a0.
2022-07-11 14:14:49 +02:00
Thomas Bechtold
d93cdfd8c5 add debian/changelog 2.765.3 2022-07-01 09:15:16 +02:00
Thomas Bechtold
9a8d7a6e4d 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.

(cherry picked from commit b54d24ff3310f7ace00ab08e0dacfdc89e026f1c)
2022-07-01 09:13:53 +02:00
Łukasz 'sil2100' Zemczak
89a7e6a9ac releasing package livecd-rootfs version 2.765.2 2.765.2 2022-06-30 17:31:20 +02:00
Łukasz 'sil2100' Zemczak
71405af933 Merge branch 'jammy-iotg-bump' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/jammy 2022-06-30 17:26:30 +02:00
Simon Poirier
8eb4f2d447 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)

(cherry picked from commit 3da8e81bf27f3770f3664a332d8767fa62fd4771)

Conflicts:
        debian/changelog

Conflict solved by copying the debian/changelog entry from the archive.
2.764.1
2022-06-29 12:53:27 +02:00
Łukasz 'sil2100' Zemczak
9261aec27a Add bug numbers 2022-06-28 10:42:12 +02:00
Łukasz 'sil2100' Zemczak
a894c4e85f Make sure the intel-iotg flavor is handled in auto/build 2022-06-13 10:09:31 +02:00
Łukasz 'sil2100' Zemczak
198a2f6faf Switch the intel-iot images to use the linux-intel-iotg kernel instead. 2022-06-10 11:16:19 +02:00
Utkarsh Gupta
47b93e2349 Update d/ch for 2.764 release 2.764 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 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>
2.762
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>
2.761
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>
2.760
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 2.759 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 2.758 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 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 2.756 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 2.754 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 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