88 Commits

Author SHA1 Message Date
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
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
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
Balint Reczey
cf20be3266 ddd 2017-04-28 22:27:35 +02:00
Balint Reczey
b616075f47 Sort and list dependencies nicely 2017-04-28 22:26:51 +02:00
Loïc Minier
4b414c06a6 Reapply changes from 1033..1038; fix conflict in changelog.
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
  group to etc/group and etc/gshadow static maps.
* live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
  symlink as suggested by lintian.
* Bump Standards-Version to 3.9.6.
2015-02-04 13:32:24 +01:00
Loïc Minier
5f8355200a Revert to r1033 to apply uncommitted upload. 2015-02-04 13:28:43 +01:00
Loïc Minier
e96d307720 Bump Standards-Version to 3.9.6. 2015-02-04 13:24:45 +01:00
Stéphane Graber
9caf7cafdd * Add two new hooks for Ubuntu Touch to setup sensible /etc/passwd,
/etc/shadow, /etc/group and /etc/gshadow PRIOR to package installation
  to guarantee user/group ordering on the image and then to check for any
  unexpected change to those files. (LP: #1332538)
  Any change to either the initial set of users and groups or to the
  post-package-install set will now be fatal to the image and will require
  a manual update of the hardcoded user/group list contained in this new
  chroot_early hook.
* Bump dependency on live-build accordingly.
* Update the setup_user hook to also take care of gshadow.
2014-09-24 10:58:50 +01:00
Colin Watson
c7ba55e819 Drop fdupes analysis: not widely used any more, can be done separately
if needed, and very noisy in build logs.
2014-06-24 17:03:04 +01:00
Colin Watson
4923df1abf The EXTRA_ARCHIVES environment variable defined in 2.212 doesn't quite
work properly because it doesn't allow for signing key configuration.
Rename it to the more domain-specific EXTRA_PPAS (which is now a
space-separated sequence of <ppa-owner>/<ppa-name> pairs), and fetch
signing keys for those from Launchpad using python3-software-properties.
2014-05-19 15:28:05 +01:00