96 Commits

Author SHA1 Message Date
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
Łukasz 'sil2100' Zemczak
95971f6b8f Make mtools arch-dependent. 2023-06-01 11:41:56 +02:00
Łukasz 'sil2100' Zemczak
fef989b0fe Add the mtools dependency. 2023-05-31 17:09:32 +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
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
Ł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
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
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
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
Dan Bungert
a7d66f6bc4 d/control: fix uninstallability - rsync vs i386 2023-04-07 17:24:00 -06:00
Łukasz 'sil2100' Zemczak
0ca404dd14 Missing dependency for gadget priming. 2023-04-06 17:22:26 +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
11a583d619 Initial implementation of canary image builds. 2023-04-05 20:49:16 +02: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
Steve Langasek
a6d7181cc1 No new dependencies on i386 (xorriso). 2023-03-18 08:25:01 -07:00
Dan Bungert
0d61fce909 Add ubuntu-mini-iso project 2023-03-06 08:21:29 -07: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
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
4bcc0f2d52 Get rid of some unneeded dependencies. 2022-12-15 10:25:01 +01: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
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
Dimitri John Ledkov
18a5309531
control: install qemu-utils & snapd on riscv64.
These are now available.
2020-10-29 22:21:39 +00:00
Dan Streetman
82f206190d use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:16:48 -07: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
528ec787ed Remove dependencies on qemu-utils and snapd on riscv64, we don't have those yet, but at least we can be on parity with i386 livecd-rootfs already. 2020-04-09 17:05:49 +01:00
Steve Langasek
aafbc0e9fe Also make qemu-utils a non-i386 dependency, since it is only used for cloud images we're not making and pulls in a lot of other dependencies. 2019-11-30 20:56:26 -08:00
Steve Langasek
c86284f83d Also make the ubuntu-image dependency arch-conditional, since ubuntu-image pulls in snapd. 2019-11-29 21:47:02 -08:00
Steve Langasek
3ca02be281 Don't depend on snapd on i386, since i386 support in focal is only for launchpad buildd chroots. 2019-11-29 10:49:17 -08:00
Michael Vogt
8bc09a160b Run "snap debug validate-seed" to do basic validation of the geerated seed.yaml 2019-07-12 17:55:16 +02:00
Steve Langasek
4b18800182 Add an explicit build-dependency on python3-yaml since livecd-rootfs uses it, rather than relying on this dependency being pulled in indirectly via ubuntu-image. 2019-05-30 14:23:09 -07:00
Balint Reczey
3ae9628528 Build WSL rootfs tarball
LP: #1827930
2019-05-16 18:16:44 +02:00
Steve Langasek
1053349a32 Drop python3-minimal alternate dependency; nothing should depend on python3-minimal. 2019-02-20 08:26:11 +01:00
Steve Langasek
d314a8c9b1 Also drop dependency on python. 2019-02-20 08:24:46 +01:00
Steve Langasek
7e4a2627ed Use python3 vmdkstream exclusively; we should not fall back to python2. 2019-02-18 18:06:01 +01:00
Dimitri John Ledkov
a77ec4a9df
Add python3 vmdkstream support 2019-02-18 12:01:25 +01:00
Balint Reczey
25b16f97a6 debian/control: Update Vcs-*: URLs 2018-12-12 16:25:54 +01:00
Łukasz 'sil2100' Zemczak
6345ccd34c Add a few minor fixes for raspi3 builds. 2018-11-28 16:05:24 +01:00
Łukasz 'sil2100' Zemczak
72716862ff Missing comma in debian/control. 2018-11-26 12:41:52 +01:00
Łukasz 'sil2100' Zemczak
f8529c9038 Add support for building classic images using makefile-based gadget trees. 2018-10-30 14:13:02 +01:00
Julian Andres Klode
9360135b2c Minimize the number of manually installed packages in images by marking
dependencies of metapackages as automatically installed.
2018-09-18 09:01:12 +02:00
Steve Langasek
93176f134f Add dependency on distro-info for the above. 2018-03-06 10:15:41 +01:00
Balint Reczey
510f16b757 Stop suggesting partimage which is not used anymore 2018-01-05 01:52:00 +01:00
Dimitri John Ledkov
5f64c373f1 Drop android-tools-fsutils dependency, and instead install it on
demand for the nexus7 sub-arch. This target is no longer produced,
thus by doing this android-tools can fall out of main to universe.
2017-12-11 12:22:31 +00:00
Balint Reczey
59fe9b1550 Bump needed live-build version which can build images without initrd 2017-09-29 15:16:25 -04:00
Balint Reczey
cfda7d20bd Use xz -T4 -0 instead of pxz
Test showed very little difference in file-size between -0 and -9 while
both compression and decompression need much less memory and compression
needs less CPU time for -0.

Supported xz versions before 5.2 also accept the -T4 option but ignore it.

Also depend on xz-utils instead of on pxz.

LP: #1701132
2017-06-30 12:22:29 +02:00
Balint Reczey
6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime 2017-06-14 18:25:15 +02:00
Balint Reczey
aa54a130c3 Depend on packages in main instead of installing them at runtime 2017-06-14 18:25:11 +02:00
Balint Reczey
0109d5304e Optionally use ubuntu-image for building snap based images 2017-04-28 22:30:18 +02:00