3856 Commits

Author SHA1 Message Date
Steve Langasek
40cbbbb9c9 releasing package livecd-rootfs version 2.750 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 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)
2.747
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 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 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 2.743 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 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 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 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 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 2.738 2021-09-20 09:42:15 -07:00
Steve Langasek
d488d07c74 releasing package livecd-rootfs version 2.737ubuntu1 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 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 2.736 2021-08-30 15:30:59 +12:00