1917 Commits

Author SHA1 Message Date
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
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
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
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
Ł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
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
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
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
912e15c7fc Explicitly define the kernel flavor for ubuntucinnamon. 2023-03-06 13:06:29 +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
f10fd68124 Add ubuntucinnamon to the seed-determination switch-case. 2023-03-03 15:08:09 +01: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
Sean Davis
91e1771b03 Remove snap base seed for xubuntu:minimal 2023-02-28 05:26:51 -05: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
b4190c7b97 Clarified with Erich that edubuntu should install ubuntu-desktop-minimal task. 2023-02-24 21:11:53 -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
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
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
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
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
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
202ad011c1 Merge remote-tracking branch 'edubuntu-dev/ubuntu/master' into ubuntu/master 2023-02-14 15:55:20 -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
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
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
Łukasz 'sil2100' Zemczak
c56e7aab04 Minor code-duplication removal. 2022-12-16 11:13:42 +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
Sebastien Bacher
12846905fd Change the desktop build to let canary be the default 2022-11-23 17:15:15 +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
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
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