90 Commits

Author SHA1 Message Date
CloudBuilder
4ffdb37e31 Imported 2.664.24
No reason for CPC update specified.
2021-06-29 17:18:49 +00:00
CloudBuilder
7e2b6222d5 Imported 2.664.20
No reason for CPC update specified.
2021-04-27 19:18:36 +00:00
David Krauser
74209da539
Fix broken minimal cloud image boot on amd64 (LP: #1920043)
I recently pulled initramfs logic out of the base build hook, and
dropped that into the `replace_kernel` function. Any cloud image that
does not leverage the generic virtual kernel was expected to call
`replace_kernel` to pull in a custom kernel. That function will
disable initramfs boot for images that use a custom kernel.

Minimal cloud images on amd64 use the linux-kvm kernel, but the build
hook does not utilize the `replace_kernel` function. Instead, the
kernel flavor is set in `auto/config`. I pulled that logic out of
`auto/config` and am now calling `replace_kernel` in the build hook.

I also moved a call to generate the package list so that it will pick
up the change to the linux-kvm kernel.
2021-03-22 14:33:24 -05:00
CloudBuilder
fe88b51b63 Imported 2.664.18
No reason for CPC update specified.
2021-03-11 10:18:29 +00:00
CloudBuilder
5b523f35fb Imported 2.664.17
No reason for CPC update specified.
2021-02-15 13:18:19 +00:00
CloudBuilder
4d28b63ed8 Imported 2.664.12
No reason for CPC update specified.
2021-01-25 12:18:42 +00:00
CloudBuilder
5beab54dee Imported 2.664.10
No reason for CPC update specified.
2021-01-08 15:18:41 +00:00
CloudBuilder
81ea1e273f Imported 2.664.8
No reason for CPC update specified.
2020-12-03 13:44:06 +00:00
Joshua Powers
faabb25178
amd64: always install grub-pc with shim-signed
shim-signed depends on grub-efi-amd64-signed, which in turn has
alternative depends on either `grub-efi-amd64 | grub-pc`. However to
support booting with either via shim&signed-grub and BIOS, the choice
must be made to install grub-pc, not grub-efi-amd64.

This makes images consistent with Ubuntu Deskop, Live Server, buildd
bootable images; all of which already do install grub-pc and
shim-signed.

Additionally, this will ensure that autoremove is run after installing
anything in the CPC build hooks. This is done to avoid shipping images
that include packages that are autoremovable. This will clean-up as
packages are installed and detect any breakage at build time.

LP: #1901906
2020-11-24 12:52:40 -06:00
CloudBuilder
5a6daf275b Imported 2.664.7
No reason for CPC update specified.
2020-10-07 00:18:20 +00:00
CloudBuilder
541a51bea5 Imported 2.664.2
No reason for CPC update specified.
2020-06-02 17:18:51 +00:00
CloudBuilder
60ef378e61 Imported 2.664
No reason for CPC update specified.
2020-04-17 20:18:35 +00:00
CloudBuilder
5808f0315d Imported 2.637
No reason for CPC update specified.
2020-01-27 11:18:20 +00:00
CloudBuilder
a164b89597 Imported 2.635
No reason for CPC update specified.
2019-12-17 00:18:20 +00:00
CloudBuilder
a379301c9a Imported 2.626
No reason for CPC update specified.
2019-11-28 04:18:20 +00:00
CloudBuilder
5930884cf4 Imported 2.618
No reason for CPC update specified.
2019-10-09 08:00:06 +00:00
CloudBuilder
cb0483115a Imported 2.614
No reason for CPC update specified.
2019-10-03 08:00:04 +00:00
CloudBuilder
03d9c4f587 Imported 2.613
No reason for CPC update specified.
2019-09-20 03:00:05 +00:00
CloudBuilder
37e3490825 Imported 2.612
No reason for CPC update specified.
2019-09-16 17:00:05 +00:00
CloudBuilder
cbfeb9c848 Imported 2.610
No reason for CPC update specified.
2019-09-10 19:00:07 +00:00
CloudBuilder
28e86fde54 Imported 2.605
No reason for CPC update specified.
2019-07-26 21:00:07 +00:00
CloudBuilder
59e1c73429 Imported 2.603
No reason for CPC update specified.
2019-07-23 10:00:09 +00:00
CloudBuilder
8e60795a84 Imported 2.594
No reason for CPC update specified.
2019-06-15 00:00:06 +00:00
CloudBuilder
a7935883ac Imported 2.593
No reason for CPC update specified.
2019-06-08 02:00:05 +00:00
CloudBuilder
bd1c751948 Imported 2.587
No reason for CPC update specified.
2019-05-29 04:00:05 +00:00
CloudBuilder
b4b80d2333 Imported 2.585
No reason for CPC update specified.
2019-05-22 03:00:05 +00:00
CloudBuilder
40ecd9dbfe Imported 2.584
No reason for CPC update specified.
2019-05-17 18:00:09 +00:00
CloudBuilder
def06d26f7 Imported 2.577
No reason for CPC update specified.
2019-04-12 23:26:06 +00:00
CloudBuilder
fc4dabac82 Imported 2.575
No reason for CPC update specified.
2019-04-03 11:26:07 +00:00
CloudBuilder
9a31a9b77f Imported 2.569
No reason for CPC update specified.
2019-03-14 21:26:07 +00:00
CloudBuilder
e73bc19b59 Imported 2.549
No reason for CPC update specified.
2018-12-13 00:26:07 +00:00
CloudBuilder
c37d5f0434 Imported 2.544
No reason for CPC update specified.
2018-11-08 19:26:11 +00:00
CPC Jenkins
4bb325f107 Imported 2.540
No reason for CPC update specified.
2018-09-25 20:46:41 +00:00
Steve Langasek
b7072174dc Import patches-unapplied version 2.534 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: 0564e36edc8c50f14d13d5cdf6fc1bb7d4615e77

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Disable journald rate limiting in the live-server live session.
    (LP: #1776891)
  [ Steve Langasek ]
  * generate all tar files with --xattrs.  LP: #1302192.
2018-08-06 20:23:22 +00:00
Adam Conrad
0564e36edc Import patches-unapplied version 2.533 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: 3f03257a8cb92f1fc1afaa292f5de667f3685633

New changelog entries:
  [ Robert C Jennings ]
  * ubuntu-cpc: Remove git-man for minimized images 
  * Disable checksum generation
  [ Colin Watson ]
  * live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
    builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
  [ Francis Ginther ]
  * Update unminimize script text and install ubuntu-standard when
    unminimizing a minimal image (LP: #1778777)
2018-07-18 17:13:15 +00:00
Daniel Watkins
3f03257a8c Import patches-unapplied version 2.532 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: 8b47481862beb7674b3af0f38130f5e3dcb70982

New changelog entries:
  * ubuntu-cpc: Generate the root image contents once, and use it for both the
    -root.tar.xz and the .squashfs.
2018-06-07 23:48:11 +00:00
Steve Langasek
8b47481862 Import patches-unapplied version 2.531 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: d9fe4558cfaf48e584d5bdeb949f0f1510e76217

New changelog entries:
  [ Daniel Watkins ]
  * ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472).
  [ Steve Langasek ]
  * live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually
    install grub-efi-amd64 since that forces off grub-pc, which is otherwise
    now coinstallable.
2018-06-07 00:38:10 +00:00
Daniel Watkins
d9fe4558cf Import patches-unapplied version 2.530 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: 9830a7924f9a23557f355227b4cf730dc72cbeab

New changelog entries:
  * ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233).
2018-06-06 23:13:15 +00:00
Daniel Watkins
af4bbf0879 Import patches-unapplied version 2.525 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 547df52eeb301d5936ec137fc3c30a3798859e1d

New changelog entries:
  * Don't fail to build CPC images if /lib/modules already exists in the
    squashfs.
2018-04-24 17:56:31 +00:00
Daniel Watkins
2be32c140c Import patches-unapplied version 2.512 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: f27686011453985e8a1dca45c42fea9b297b56e6

New changelog entries:
  * ubuntu-cpc: When performing a minimized build, don't generate artifacts
    that won't boot with the linux-kvm kernel (LP: #1757223).
2018-03-20 20:13:39 +00:00
Dimitri John Ledkov
f276860114 Import patches-unapplied version 2.511 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: dcf2b800f60c2a48a1edf57579594e370a914c6e

New changelog entries:
  * Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
    should own the directory, and only adjust the permissions in
    postinst. LP: #1754332
2018-03-16 19:04:30 +00:00
Dimitri John Ledkov
718c2fc269 Import patches-unapplied version 2.509 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 54408aa50613316ff7698fbfcdc86ed23317ca47

New changelog entries:
  [ Steve Langasek ]
  * Properly handle loop device names when there are > 10 devices on the
    system.
  [ Dimitri John Ledkov ]
  * Build EFI armhf images.
2018-03-06 13:13:55 +00:00
Dimitri John Ledkov
3b7b54098b Import patches-unapplied version 2.501 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 7ae099a88b73276b8da9f609fdc355469d33b01b

New changelog entries:
  * Stop building ova, vmdk, vagrant images on i386.
2018-02-12 11:28:13 +00:00
Steve Langasek
a088e92782 Import patches-unapplied version 2.486 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: faa28a6472b275d8ff58cf03d8efbaad3707c07b

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Install grub-ieee1275 instead of grub2 on ppc64el; grub2 is a dummy
    transitional package in universe.
2017-12-06 22:34:42 +00:00
Michael Hudson-Doyle
faa28a6472 Import patches-unapplied version 2.485 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 1db37274ff3418f274464e542c7662fba2d6242a

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Automount a partition of fixed UUID for giving subiquity canned answers.
  [ Balint Reczey ]
  * Use default xz compression (-6) for raspi2 image.
    Xz with -0 generated ~35% bigger compressed image. (LP: #1732681)
  * Zero fill space in UEFI partitions, too
  * Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in
    default string
  * Build minimized images in a 1GiB image
2017-12-03 22:18:21 +00:00
Steve Langasek
1db37274ff Import patches-unapplied version 2.484 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 0714b6b801f91a24da570fc572dbe296bf9c41f0

New changelog entries:
  [ Balint Reczey ]
  * Skip setting up initrd for s390x when it is not generated for the image.
    This fixes building minimized s390x images.
2017-11-15 01:48:46 +00:00
Steve Langasek
bc18c8a992 Import patches-unapplied version 2.482 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: c4cfbef1ee75ffa46af351f74751a032fbf1ef6d

New changelog entries:
  * Remove boot/grub leftovers from our root squashfs, left behind after
    grub purge.
  * Remove apt, debconf, dpkg cruft files from /var/cache and /var/lib in all
    our livefses.
  * Pass --cache false to lb config; otherwise we copy around caches of
    .debs that are never used properly, and which prevent us from emptying
    /var/cache/apt in images.
  * When building minimized cloud images, remove various packages that we
    don't want installed by default.  Some are tools that aren't needed for
    non-interactive use; some are libraries whose reverse-dependencies
    will have already been removed; and one, open-vm-tools, should only be
    included in images that are targeted to VMWare (which is not the case
    for any of the current minimal images), rather than being included
    directly in the cloud-image seed.
2017-11-10 08:40:42 +00:00
Steve Langasek
11ad200f2e Import patches-unapplied version 2.473 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 5a3ccfef341d527c982edf3af372266b3b1be566

New changelog entries:
  [ Balint Reczey ]
  * Clean up dangling /boot/initrd.img symlink when needed
  * Revert ignoring failure of minimized autopkgtest on ppc64el
  * Use kvm kernel only on amd64
  * Skip installing server task when building minimial images
  [ Steve Langasek ]
  * export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
    to work around apparmor not working reliably against aufs.
2017-10-11 16:58:38 +00:00
Steve Langasek
7bff7abdf4 Import patches-unapplied version 2.466 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 8168b7c92a3ef263d18cc2654b52b47d27b7f339

New changelog entries:
  * ubuntu-server: drop hard-coded test key from the subiquity overlay in
    favor of the generic-classic assertion from the store.
  * move snap assertion handling into the generic build script (and, in
    the process, from the subiquity overlay to the base squashfs).
  * add ubuntu-mate to the set of projects we add snap model assertions to.
  * Factor out grub-related diversions and use them consistently, so we
    don't end up with wrong os-probe output in our grub.cfg.
  * Fix the force-partuuid handling to create the file under
    /etc/default/grub.d/ with a .cfg extension as grub expects; it's unclear
    how this ever worked without.
2017-10-05 06:43:36 +00:00
Steve Langasek
a02598fe24 Import patches-unapplied version 2.463 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 2da89c90de5e4df541d301cf14819278b3be7df9

New changelog entries:
  [ Balint Reczey ]
  * Bump needed live-build version which can build images without initrd
  * Mention unminimize script in motd
  * Warn users that unminimize may fail reinstalling packages
  * Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for
    consistency
  * Run autopkgtest for SUBPROJECT=minimized
  * When SUBPROJECT environment variable is not set assume it to be ""
  [ Michael Hudson-Doyle ]
  * Fix path to subiquity-loadkeys
2017-09-29 21:43:14 +00:00