3800 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 2.767 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 2.766 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
2.765
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