David Krauser
83499f1a95
Add mechanism to detect initrdless boot fallback
...
In v2.672 the default boot behavior of cloud images changed:
- Prior to v2.672, cloud images with the linux-generic kernel attempt
to boot without an initramfs, would fail, and then retry with an
initramfs.
- After v2.672, cloud images with the linux-generic kernel boot with
an initramfs on the first try.
While the behavior is different between the two, they both result in
an instance that has booted with an initramfs. To ensure the changes
in v2.672 do not regress, we need an automated way to check if we are
attempting to boot without an initramfs and failing.
With this change, when we attempt to boot with an initramfs and fail,
initrdless_boot_fallback_triggered is set to non-zero in the grubenv.
This value can be checked after boot by looking in /boot/grub/grubenv
or by using the grub-editenv list command.
4 years ago
Robert C Jennings
84397b5098
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
...
Builds in LP with the Xenial kernel were happy with the recursive mount of
/sys inside the chroot while performing snap-preseeding but autopkgtests
with the groovy kernel failed. With the groovy kernel the build was
unable to unmount sys/kernel/slab/*/cgroup/* (Operation not permitted).
This patch mounts /sys and /sys/kernel/security in the chroot in the
same way we've added for binary hooks. This provides the paths under
/sys needed for snap-preseed while avoiding issues unmounting other
paths.
5 years ago
Dimitri John Ledkov
b22d7dc38c
releasing package livecd-rootfs version 2.676
5 years ago
Dimitri John Ledkov
3694cf3f75
releasing package livecd-rootfs version 2.675
5 years ago
Steve Langasek
2513613002
releasing package livecd-rootfs version 2.674
5 years ago
David Krauser
4c504f6781
Fix broken minimal cloud image boot on amd64
...
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.
5 years ago
Michael Hudson-Doyle
83ce5e32a8
releasing package livecd-rootfs version 2.673
5 years ago
Michael Hudson-Doyle
f277d1f355
update changelog
5 years ago
Robert C Jennings
a6a7be7c18
Release package livecd-rootfs version 2.672
...
* Boot with an initramfs by default in cloud images, except when using a non-generic kernel.
MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/386913
5 years ago
Dimitri John Ledkov
2976a99f29
Fix-up seeding snaps with tracks.
5 years ago
Dimitri John Ledkov
c60421ae57
releasing package livecd-rootfs version 2.670
5 years ago
David Krauser
5a4541b01e
Add changelog entry for initramfs changes
5 years ago
Dimitri John Ledkov
4f11f40c96
releasing package livecd-rootfs version 2.669
5 years ago
Dimitri John Ledkov
04c2fda36c
releasing package livecd-rootfs version 2.668
5 years ago
Steve Langasek
05d219a319
add changelog entry for hyperv changes
5 years ago
Łukasz 'sil2100' Zemczak
40103430d8
Enable overrides of UC20 grade dangerous channels
5 years ago
Philip Roche
60665a434b
Revert of initramfs package removal in KVM image (LP: #1875400 )
...
It was reported and confirmed in LP bug #1875400
(https://bugs.launchpad.net/cloud-images/+bug/1875400 ) that on the public
KVM cloud image there exists a large list of packages marked for auto-removal.
This should never be the case on a released cloud image.
These packages are marked for auto-removal because in the KVM image binary hook
we removed both initramfs-tools and busybox-initramfs packages. Due to package
dependencies this also removed:
busybox-initramfs* cloud-initramfs-copymods* cloud-initramfs-dyn-netconf*
cryptsetup-initramfs* initramfs-tools* initramfs-tools-core* multipath-tools*
overlayroot* sg3-utils-udev* ubuntu-server*
But it did not remove all the packages that the above list depended on.
This resulted in all those packages being marked for auto-removal because they
were not manually installed nor did they have any manually installed packages
that depended on them.
The removal of initramfs-tools and busybox-initramfs was to avoid the
generation of initramfs in images that should boot initramfsless.
This requirement is obsolete now because the initramfsless boot handling
is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg.
In test images I have verified that GRUB_FORCE_PARTUUID is set and that
boot speeds have not regressed.
LP: #1875400
5 years ago
Dimitri John Ledkov
9640e60515
releasing package livecd-rootfs version 2.666
5 years ago
Dimitri John Ledkov
3575edfb4d
releasing package livecd-rootfs version 2.665
5 years ago
Dimitri John Ledkov
50dc35bb17
ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet. (LP: #1876359 )
5 years ago
Dimitri John Ledkov
e25aec1ca2
ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name. (LP: #1876358 )
5 years ago
Dimitri John Ledkov
e013459a08
Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible. (LP: #1875430 )
5 years ago
Robert C Jennings
1f120d7c89
Release 2.664
5 years ago
Pat Viafore
2c70ed158b
Make Ubuntu Vagrant box 40G. (LP: #1580596 )
...
Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G. This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.
This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK. On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.
Therefore, users who are running on a system with little free space will
not see adverse effects if they upgrade to a new vagrant image
5 years ago
Dimitri John Ledkov
85e91ddc79
releasing package livecd-rootfs version 2.663
5 years ago
Dimitri John Ledkov
ad64e38c48
Run snap info on the downloaded snap, rather than against the store. First of all snap info doesn't have --channel argument, thus queries the wrong channel, and depening on the cohort, a different snap might be visible too. Thus seed the base of the snap revision we dowanloaded, rather than some random one from the store.
5 years ago
Dimitri John Ledkov
28b531d1ea
releasing package livecd-rootfs version 2.662
5 years ago
Dimitri John Ledkov
a21a67ab52
Print subiquity ssh login details on s390x line based consoles.
5 years ago
Dimitri John Ledkov
d5850291ca
releasing package livecd-rootfs version 2.661
5 years ago
Dimitri John Ledkov
56ac1865f7
Switch Ubuntu desktop to only hwe-20.04 kernel flavour.
5 years ago
Dimitri John Ledkov
f93108006f
releasing package livecd-rootfs version 2.660
5 years ago
Dimitri John Ledkov
a80c68d47b
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.
5 years ago
Robert C Jennings
903e743c79
Release 2.659
5 years ago
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.
5 years ago
Łukasz 'sil2100' Zemczak
50f3d90c9f
releasing package livecd-rootfs version 2.658
5 years ago
Łukasz 'sil2100' Zemczak
d2a2ac41a4
Use the raspi KERNEL_FLAVOUR for the raspi images.
5 years ago
Dimitri John Ledkov
c6febea65e
releasing package livecd-rootfs version 2.657
5 years ago
Dimitri John Ledkov
0415e42026
server: networkd applies the first sorted matching network file, thus prefix 'all' fallback networks with 'zz-'.
5 years ago
Robert C Jennings
3b6cb7e19e
releasing package livecd-rootfs version 2.656
5 years ago
Dimitri John Ledkov
8f76e539b1
releasing package livecd-rootfs version 2.655
5 years ago
Dimitri John Ledkov
cb574d4cb3
minimized: reinstall packages one by one, instead of all of them together, as otherwise apt fails to immediately configure libc6:amd64 & libgcc-s1. LP: #1867607
5 years ago
Dimitri John Ledkov
536f72351f
releasing package livecd-rootfs version 2.654
5 years ago
Dimitri John Ledkov
910310dbbb
Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches.
5 years ago
Michael Hudson-Doyle
299b6c51c9
releasing package livecd-rootfs version 2.653
5 years ago
Michael Hudson-Doyle
7f09a42d85
Stop trying to extract autoinstall config during boot, subiquity will do it instead.
5 years ago
Łukasz 'sil2100' Zemczak
cc70b57026
releasing package livecd-rootfs version 2.652
5 years ago
Łukasz 'sil2100' Zemczak
091976c4a6
Merge branch 'fix-raspi-gadgets' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
5 years ago
Michael Hudson-Doyle
a1a3925250
releasing package livecd-rootfs version 2.651
5 years ago
Michael Hudson-Doyle
c3e895fd73
add bug ref to changelog
5 years ago
Michael Hudson-Doyle
6e68a3f13c
Do not start subiquity until cloud-final and snapd.seeded have completed.
5 years ago
Łukasz 'sil2100' Zemczak
40c51f78b8
Switch to using the generic pi gadget repo for classic, use the main branches.
5 years ago
Łukasz 'sil2100' Zemczak
54c68b69b4
releasing package livecd-rootfs version 2.650
5 years ago
Łukasz 'sil2100' Zemczak
95772fd9df
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info
5 years ago
Michael Hudson-Doyle
2b47f98242
releasing package livecd-rootfs version 2.649
5 years ago
Michael Hudson-Doyle
49e550fb9e
Fix autoinstall-extracting runcmd in the case no user-data is passed.
5 years ago
Michael Hudson-Doyle
226a31dfe0
releasing package livecd-rootfs version 2.648
5 years ago
Michael Hudson-Doyle
de170d8bc1
clarify changelog
5 years ago
Michael Hudson-Doyle
904f4789ca
update changelog
5 years ago
Robert C Jennings
d214127b9f
Address snap base regression after snap-tool removal
...
With the removal of snap-tool failures are seen in image builds that do
not have the 'core' snap included by the seed. This is the case for the
minimized subproject of the ubuntu-cpc project where lxd/core is removed.
In that subproject, any binary hook which adds a snap that is based
on 'core' will not add 'core' and fail 'snap debug validate-seed'.
snap-tool included the following logic in the 'snap-tool info' when
determining snap bases:
# Have "base" initialized to something meaningful.
if self.is_core_snap():
snap_data["snap"]["base"] = ""
elif snap_data["snap"].get("base") is None:
snap_data["snap"]["base"] = "core"
The snap store does not return a base if the base is core which makes
this necessary. This patch looks for the base in 'snap info' output
and if none is found (and the snap is not snapd or core) it assumes the
base is 'core' and installs it. This restores the behavior lost in the
migration from snap-tool to snap cli.
5 years ago
Iain Lane
bc3e962ee8
Finalise changelog
5 years ago
Iain Lane
ede0be897b
Pass --verbose to `snap info` so that it includes the base.
5 years ago
Steve Langasek
b843beb26b
releasing package livecd-rootfs version 2.645
5 years ago
Robert C Jennings
489f009e49
Use snap cli rather than custom snap-tool
...
snap-tool was added to support a deprecate cohort-key feature of the snap store.
Recent changes in snap assertions have added additional fields which snap-tool
is not retrieving. This resulted in snap install failures on first boot.
This patch removes snap-tool and returns to using the snap cli. This ensures
snap downloads will function without odd incompatibilities.
5 years ago
Łukasz 'sil2100' Zemczak
ccbc6aed83
releasing package livecd-rootfs version 2.644
5 years ago
Łukasz 'sil2100' Zemczak
e9170e053b
Rename the raspi3 SUBARCH to raspi
5 years ago
Dimitri John Ledkov
7904fd4fe5
releasing package livecd-rootfs version 2.643
5 years ago
Dimitri John Ledkov
d7045b2e09
Fixup subiquity:
...
- drop ds-identify policy, not needed with improved cloud config
- drop disabling network, doesn't work with ip=
- fixup setting up the INSTALLER_ROOT mountpoint
5 years ago
Dimitri John Ledkov
a19d6273fe
releasing package livecd-rootfs version 2.642
5 years ago
Dimitri John Ledkov
17dc48cf65
Set uc20 image size to 10G.
5 years ago
Dimitri John Ledkov
133c99c22c
releasing package livecd-rootfs version 2.641
5 years ago
Dimitri John Ledkov
438606c5e8
Encode CHANNEL specification in the UC20 model names.
5 years ago
Dimitri John Ledkov
3b1047fbc2
Configure a better nocloud datasource for subiquity cloud-init.
5 years ago
Dimitri John Ledkov
fbf9c5b854
releasing package livecd-rootfs version 2.640
5 years ago
Dimitri John Ledkov
db0c7d68f2
Although the request flavour to install is oem-20.04, it really is called just oem on disk. Override the flavour name from oem-20.04 to oem when renaming built artefacts. This also means that ubuntu-cdimage needs to simply download 'oem' vmlinuz+initrd pairs, not 'oem-20.04'.
5 years ago
Dimitri John Ledkov
7520a60019
releasing package livecd-rootfs version 2.639
5 years ago
Dimitri John Ledkov
e062389eb9
* On s390x subiquity:
...
- enable cloud-init
- make cloud-init handle the default/baked in networking configuration
- install and enable openssh-server for the installation only
- provide cloud.cfg that generates random installer user password
- disable subiquity on sclp_line0 line based console
5 years ago
Dimitri John Ledkov
2757f7aee3
releasing package livecd-rootfs version 2.638
5 years ago
Dimitri John Ledkov
f6ca600af2
Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
5 years ago
Łukasz 'sil2100' Zemczak
e6fd34b54d
releasing package livecd-rootfs version 2.637
5 years ago
Łukasz 'sil2100' Zemczak
2870738f00
Merge the manually-pushed 2.636 from Laney.
5 years ago
Łukasz 'sil2100' Zemczak
95103e3d36
Ensure seed part. is mounted; wait for getty
5 years ago
Łukasz 'sil2100' Zemczak
2ca3cc9720
Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
5 years ago
Michael Hudson-Doyle
c35971f515
releasing package livecd-rootfs version 2.635
5 years ago
Michael Hudson-Doyle
a934e042d6
Merge branch 'lp-1855354' into ubuntu/master
5 years ago
Michael Hudson-Doyle
41f4f05cc4
bump version number
5 years ago
Łukasz 'sil2100' Zemczak
fc6d956269
Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder.
5 years ago
Łukasz 'sil2100' Zemczak
3fe3b18719
releasing package livecd-rootfs version 2.634
5 years ago
Michael Hudson-Doyle
94c2d606ca
Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354 )
5 years ago
David Krauser
b71d1f990e
Only build bootable buildd images for amd64
5 years ago
David Krauser
4a0b757dc7
Properly setup the chroot before using the network in buildd hook.
5 years ago
Łukasz 'sil2100' Zemczak
e35866df3e
releasing package livecd-rootfs version 2.633
5 years ago
Łukasz 'sil2100' Zemczak
474f232840
Snapd for uc20 model assertions does not support global channel overrides.
5 years ago
Michael Hudson-Doyle
93dd6d3ef4
releasing package livecd-rootfs version 2.632
5 years ago
David Krauser
612c731b26
Fix broken DNS in buildd image builds.
...
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail.
5 years ago
Łukasz 'sil2100' Zemczak
5511deae44
releasing package livecd-rootfs version 2.631
5 years ago
Łukasz 'sil2100' Zemczak
2258721d35
Add changelog entry.
5 years ago
Dimitri John Ledkov
4006326978
releasing package livecd-rootfs version 2.630
5 years ago
Dimitri John Ledkov
3551fc1a02
Ship two kernel flavours on desktop image.
5 years ago
Dimitri John Ledkov
39f675eaf6
Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it.
5 years ago
Steve Langasek
2597ae2e81
releasing package livecd-rootfs version 2.629
5 years ago
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.
5 years ago
Steve Langasek
94b1b2af45
releasing package livecd-rootfs version 2.628
5 years ago
Steve Langasek
c86284f83d
Also make the ubuntu-image dependency arch-conditional, since ubuntu-image pulls in snapd.
5 years ago
Steve Langasek
21cae15d33
releasing package livecd-rootfs version 2.627
5 years ago
Steve Langasek
3ca02be281
Don't depend on snapd on i386, since i386 support in focal is only for launchpad buildd chroots.
5 years ago
Michael Hudson-Doyle
1798848608
releasing package livecd-rootfs version 2.626
5 years ago
Michael Hudson-Doyle
b797dfee86
No-change rebuild to build for i386 again (for now).
5 years ago
Michael Hudson-Doyle
16d6c9028c
releasing package livecd-rootfs version 2.625
5 years ago
Michael Hudson-Doyle
92941d4931
changelog
5 years ago
Michael Hudson-Doyle
525f730f7f
fix changelog
5 years ago
Michael Hudson-Doyle
fbed1e5846
Make autoinstall files from initrd and filesystem with label autoinstall available on live-server systems.
5 years ago
Balint Reczey
19f5745672
Update changelog
5 years ago
Łukasz 'sil2100' Zemczak
7bd6163ee5
releasing package livecd-rootfs version 2.623
5 years ago
David Krauser
31a3a42567
Updating changelog.
5 years ago
Łukasz 'sil2100' Zemczak
a18a7e5294
releasing package livecd-rootfs version 2.622
5 years ago
Łukasz 'sil2100' Zemczak
ac40cadf08
Support fetching classic gadget trees from a non-github-mirrored launchpad repo.
5 years ago
Łukasz 'sil2100' Zemczak
7a92927023
releasing package livecd-rootfs version 2.621
5 years ago
Łukasz 'sil2100' Zemczak
2896d39a7a
Make sure the imx6 subarch uses the ubuntu-image imageformat.
5 years ago
Adam Conrad
7c85d91d41
Limit the lxd group to images with an installer; it's less appropriate for random tarball images, which are configured in ways we don't know.
5 years ago
Dimitri John Ledkov
35d16ae485
releasing package livecd-rootfs version 2.619
5 years ago
Dimitri John Ledkov
f918cd5eb1
Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835
5 years ago
Steve Langasek
d0b622089e
releasing package livecd-rootfs version 2.618
5 years ago
Michael Hudson-Doyle
c89806ba4d
Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that.
5 years ago
Dimitri John Ledkov
8caa938187
releasing package livecd-rootfs version 2.617
5 years ago
Michael Hudson-Doyle
4788e90315
Create the lxd group as a system group for all projects. (LP: #1844498 )
5 years ago
Dimitri John Ledkov
3fa91342a9
releasing package livecd-rootfs version 2.616
5 years ago
Dimitri John Ledkov
4c534bc6be
subiquity: Use LazyUnmount=yes on memorymapped /usr/lib/modules.
...
Subiquity images mount /usr/lib/modules from a squashfs, which systemd
tries to unmount on shutdown, whilst they are still being in use. As
systemd-udevd kmod built-in's libkmod has modules.* files
memorymapped. This produces an warning on shutdown, flooding the
screen with messages as systemd switches to a more verbose
output. Specify LazyUnmount=yes on that mount, such that unmount call
succeeds without flooding the shutdown log.
5 years ago
Łukasz 'sil2100' Zemczak
fd9257c294
releasing package livecd-rootfs version 2.615
5 years ago
Robert C Jennings
8cb442c3e8
magic-proxy: dump proxy log to stdout on failure
...
When we encounter a failure in 'lb binary' the launchpad builders can
only surface the build output from stdout. If the binary hook failure
implicates the archive we can not determine fault without the apt
proxy log. This patch will dump the proxy log to stdout to aid in
debugging these failures.
5 years ago
Steve Langasek
312bef9002
releasing package livecd-rootfs version 2.614
5 years ago
Steve Langasek
0902ffefb3
002-add-foreign-kernel.chroot_early: enable amd64 as a foreign arch on i386 image builds, since this is where the kernel comes from henceforth.
5 years ago
Łukasz 'sil2100' Zemczak
503b8b81df
releasing package livecd-rootfs version 2.613
5 years ago
Łukasz 'sil2100' Zemczak
1f8f86c17c
Final fix to 999-ubuntu-image-customization.chroot, tested to be working.
5 years ago
Łukasz 'sil2100' Zemczak
c4ef397428
releasing package livecd-rootfs version 2.612
5 years ago
Łukasz 'sil2100' Zemczak
c7f3374f9f
Final changes to the 999-ubuntu-image-customization.chroot hook.
5 years ago
Dimitri John Ledkov
8a6ed637b8
releasing package livecd-rootfs version 2.611
5 years ago
Łukasz 'sil2100' Zemczak
6f0a14d1cd
releasing package livecd-rootfs version 2.610
5 years ago
Łukasz 'sil2100' Zemczak
2341514fad
Fix typo.
5 years ago
Łukasz 'sil2100' Zemczak
af1fd6f6ab
releasing package livecd-rootfs version 2.609
5 years ago
Łukasz 'sil2100' Zemczak
114a1b2599
Add changelog entry.
5 years ago
Łukasz 'sil2100' Zemczak
d7c4bb4d85
Do not initialize EXTRA_SNAPS with an empty value. Allow overrides via the environment.
5 years ago
Łukasz 'sil2100' Zemczak
006ed85460
Add support for the Nitrogen6x board.
5 years ago
Colin Watson
a70cddd28d
releasing package livecd-rootfs version 2.608
5 years ago
Colin Watson
2987ca1603
Update changelog
5 years ago
Colin Watson
dc61b17db3
Use iptables-legacy on older kernel versions
...
Use iptables-legacy rather than iptables when running on older
(pre-4.15) kernel versions. The newer nf_tables-based tools misbehave
at least on 4.4.
5 years ago
Iain Lane
bf6d8253ea
Finalise changelog
5 years ago
Iain Lane
9619dad5ad
Update changelog
5 years ago
Colin Watson
57a13cc16c
releasing package livecd-rootfs version 2.606
5 years ago
Colin Watson
9a65a4013d
Undivert update-initramfs more carefully
...
Previously the wrapper script and diversion were left in place on images
such as buildd images that don't have initramfs-tools installed.
LP: #1841573
5 years ago
Dimitri John Ledkov
9584b2bf93
releasing package livecd-rootfs version 2.605
6 years ago
Łukasz 'sil2100' Zemczak
277d96f129
releasing package livecd-rootfs version 2.604
6 years ago
Łukasz 'sil2100' Zemczak
b4ba74885f
Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures.
6 years ago
Łukasz 'sil2100' Zemczak
5439131162
releasing package livecd-rootfs version 2.603
6 years ago
Robert C Jennings
14b7f62b17
ubuntu-cpc: Only produce explicitly named artifacts (LP: #1837254 )
...
In parallel builds where a list of image targets are provided the build
may produce binaries that are not part of the named set of targets but
are created by series dependencies. These implicitly created binaries
may be generated by multiple builds but are unused as our convention for
the ubuntu-cpc project is to only consume binaries from the explicitly
named image targets; this avoid overwriting the same object by multiple
parallel builds.
This patch adds support for a 'provides' keyword for series files. It can
be specified multiple times per series file. The field is used by the
make-hooks script to generate a list of output files created explicitly by
the named image targets. The list is saved to the "explicit_provides"
file in the hooks output directory. In the case of the "all" target
this list would be empty. This list is consumed by the "final.binary"
hook file.
This patch adds support for optional final.binary hooks in hooks.d/base
and/or hooks.d/extra. These final.binary hooks are always included as
the last hook(s) if either exist with the hook in "extra" running last.
The base/final.binary hook includes logic to parse the "explicit_provides"
file generated by the make-hooks script and remove any binary output not
explicitly specified.
Some series files named unnecessary dependencies, specifically
disk-image, to keep output of implicit artifacts consistent between
parallel builds. These unnecessary dependencies are removed in this
patch.
6 years ago
Tobias Koch
6c4b2f1b1f
Add retry logic to snap-tool to make downloads more resilient
6 years ago
Dimitri John Ledkov
16ab0a40fc
releasing package livecd-rootfs version 2.602
6 years ago
Iain Lane
c623a7ee3e
Finalise changelog
6 years ago
Iain Lane
d712c068e6
Update changelog
6 years ago
Iain Lane
bc36d4a3f7
Finalise changelog
6 years ago
Iain Lane
4319b217f6
Update changelog
6 years ago
Tobias Koch
18468c4218
Check exit status of snap-tool info call while determining base snap
6 years ago
Łukasz 'sil2100' Zemczak
7ec97a627a
releasing package livecd-rootfs version 2.599
6 years ago
Łukasz 'sil2100' Zemczak
bf80f2100b
Add changelog entry.
6 years ago
Julian Andres Klode
b716446b34
releasing package livecd-rootfs version 2.598
6 years ago
Julian Andres Klode
4c053597b4
Change minimize-manual to read package section from version
...
Change minimize-manual to read package section from version instead of
package objects, fixing compatibility with (python-)apt 1.9.0.
6 years ago
Dimitri John Ledkov
3a90e5f8f3
releasing package livecd-rootfs version 2.597
6 years ago
Dimitri John Ledkov
124d074101
Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied.
6 years ago
Dimitri John Ledkov
095c8f4696
Install s390-tools-zkey into the installer layer for zkey support in subiquity.
6 years ago
Colin Watson
2fb9773476
releasing package livecd-rootfs version 2.596
6 years ago
Colin Watson
dc85df854b
Add tzdata to buildd images
...
It isn't strictly build-essential, but it has traditionally been present
in both Debian and Ubuntu, and a variety of things fail without it.
6 years ago
Steve Langasek
93471ebb1f
releasing package livecd-rootfs version 2.595
6 years ago
Steve Langasek
796a89a3c0
Remove dangling symlink /usr/lib/systemd/system/local-fs.target.wants/media-region.lower.mount. It's unclear why this has just started causing build failures, but the symlink should have been removed in 2.592 with the rest of the MAAS stuff.
6 years ago
Tiago Stürmer Daitx
04d08e6ca9
releasing package livecd-rootfs version 2.594
...
Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
6 years ago
Tiago Stürmer Daitx
bc4534c192
Merge davidkrauser/hyperv-gallery-images: Add support for HyperV Gallery images
...
Source: ~davidkrauser/livecd-rootfs/+git/livecd-rootfs:hyperv-gallery-images
Modifications: update debian/changelog to merge entries and use 2.594
as the version.
Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
6 years ago
David Krauser
0e3b1e206b
Add support for HyperV Gallery images
6 years ago
Tiago Stürmer Daitx
f2bbe1fd85
Merge patviafore/linux_kvm_image: Add linux-kvm image
...
We are creating a derivative of disk-image, replacing the kernel with
linux-kvm, removing initramfs, and creating a qcow2 image.
Source: ~patviafore/livecd-rootfs/+git/livecd-rootfs:linux_kvm_image
Modifications: fixed conflict in debian/changelog entry and bumped
version.
Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
6 years ago
Pat Viafore
b57455fecd
Changing series to UNRELEASED
6 years ago
Łukasz 'sil2100' Zemczak
3e98eb94db
releasing package livecd-rootfs version 2.593
6 years ago
Łukasz 'sil2100' Zemczak
b74d703c70
The changelog entry should be UNRELEASED.
6 years ago
Łukasz 'sil2100' Zemczak
d830cfccee
Merge Dave's changes: Use boot-partition for c-i seed on RPi
...
Configure cloud-init to look for its seed in the vFAT boot partition on
raspberry pi images; the corresponding gadget is configured to place the
user-data, meta-data, and network-config files there.
Source: ~waveform/ubuntu/+source/livecd-rootfs:cloud-init-boot
6 years ago
Pat Viafore
239012c608
Add changelog
6 years ago
Dimitri John Ledkov
44f91a2784
releasing package livecd-rootfs version 2.592
6 years ago
Dimitri John Ledkov
d7b629cae6
Do not force lzma on ubuntu-core builds, the compress format default should be set universally inside initramfs-tools-ubuntu-core package instead of getting duplicated multiple times all over the place.
6 years ago
Dimitri John Ledkov
3d36dc0794
Stop overriding initramfs compression default to lzma. LP: #1831736
6 years ago
Dimitri John Ledkov
67b26519bc
Drop trying to mount removed maas squashfs.
6 years ago
Dimitri John Ledkov
4b5bac1f42
releasing package livecd-rootfs version 2.591
6 years ago
Dimitri John Ledkov
11756d2d1e
Fix typpo when dropping jasper.
6 years ago
Dimitri John Ledkov
655126d7b4
releasing package livecd-rootfs version 2.590
6 years ago
Dimitri John Ledkov
de1055de29
Merge branch 'dead-ubuntu-rtm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
28c37f405f
Merge branch 'dead-ubuntu-touch-hooks' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
702ccb4c77
Merge branch 'dead-ubuntu-touch' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
279c91924e
Merge branch 'ubuntu-desktop-next-hooks' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
af96b80116
Merge branch 'dead-ubuntu-desktop-next' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
97adf4c160
Merge branch 'drop-old-arm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
b0312baeb7
Merge branch 'dead-jasper' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
1a3eaf75c8
Merge branch 'dead-wubi' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Łukasz 'sil2100' Zemczak
a9e120f6e1
releasing package livecd-rootfs version 2.589
6 years ago
Łukasz 'sil2100' Zemczak
e3b7b319c1
Merge branch 'uc18-kassel' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
...
Bumped the changelog entry timestamp.
6 years ago
Steve Langasek
1506f7cccc
releasing package livecd-rootfs version 2.588
6 years ago
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.
6 years ago
Dimitri John Ledkov
d56653396d
Drop ubuntu-rtm configs
6 years ago
Dimitri John Ledkov
a7631ad0f5
Drop ubuntu-touch hooks
6 years ago
Dimitri John Ledkov
44fd9ba9fd
Drop ubuntu-touch configs
6 years ago
Dimitri John Ledkov
25224180e1
Drop ubuntu-desktop-next hooks
6 years ago
Dimitri John Ledkov
2aa3a59b7c
Drop ubuntu-desktop-next configs
6 years ago
Dimitri John Ledkov
5b89298cd9
Drop old arm platforms.
6 years ago
Dimitri John Ledkov
c596d3d376
Drop dead jasper subproject.
6 years ago
Dimitri John Ledkov
6d02eac861
Drop dead wubi subproject.
6 years ago
Steve Langasek
188218b166
releasing package livecd-rootfs version 2.587
6 years ago
Steve Langasek
6af9dd4148
Merge lp.1829333
6 years ago
Michael Hudson-Doyle
561001ece2
releasing package livecd-rootfs version 2.586
6 years ago
Robert C Jennings
c10ca357b5
magic-proxy: Send headers on error (LP: #1829944 )
6 years ago
Michael Hudson-Doyle
b8e4966097
releasing package livecd-rootfs version 2.585
6 years ago
Michael Hudson-Doyle
d35d115938
Merge branch 'ubuntu/master_parallel_cpc_fixes' into ubuntu/master
6 years ago
Michael Hudson-Doyle
8b70933598
update version number in changelog
6 years ago
Steve Langasek
c306763147
Strip translation files out of the minimal images.
...
This is another thing that goes unused when there is no human console user
(and we already don't have the locales themselves present on a minimal
image).
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1829333
6 years ago
Balint Reczey
9479a4eb9e
Update changelog
6 years ago
Dimitri John Ledkov
a4f6f6d134
releasing package livecd-rootfs version 2.583
6 years ago
Dimitri John Ledkov
9d7b6a8e7e
Drop maas hook from server-live.
6 years ago
Dimitri John Ledkov
ba49d6db5f
Use snap-tool to seed subiquity snap.
6 years ago
Julian Andres Klode
66e382d73b
releasing package livecd-rootfs version 2.582
6 years ago
Julian Andres Klode
bed915a0fb
Don't purge busybox-static in minimized, no longer installed
...
This caused the builds to fail because we were purging are non
existing package.
6 years ago
Michael Hudson-Doyle
d4923801ca
releasing package livecd-rootfs version 2.581
6 years ago
Michael Hudson-Doyle
42992467a1
Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118 )
6 years ago
Robert C Jennings
05850394d7
ubuntu-cpc: Ensure base disk image is the same between all build targets
...
The following targets have livecd.ubuntu-cpc.manifest (and
livecd.ubuntu-cpc.ext4) which differ in some way from the 'all'
target. They are all missing grub-efi and other modifications:
root-dir
squashfs
tarball
These targets do not depend on the 'disk-image' target. This means that
the ext4 produced will lack the uefi modifications (and any from the
disk-image target binary hooks).
Since the ext4 file is common to all builds there is a chance that a
parallel build from one of these targets could overwrite this artifact.
This patch ensures that all targets will produce consistent base output.
6 years ago
Julian Andres Klode
263cc6f453
releasing package livecd-rootfs version 2.580
6 years ago
Julian Andres Klode
ffd06b6e09
Merge branch 'minimize-manual-earlier' of lp:~juliank/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
0fe925b591
releasing package livecd-rootfs version 2.579
6 years ago
Dimitri John Ledkov
d13964805e
Fix ubuntu-server-live images to generate initrd with casper UUID. Whilst configs are sources, the variables are not exported into the environment by default. Thus when casper hook is executed, it had no idea that it should generate UUID.
6 years ago
Julian Andres Klode
e95ad81c47
Run clean_debian_chroot after minimize_manual
...
This avoids us having apt cache files in the final image.
For auto/build, we move the call to clean_debian_chroot to the end,
this also takes care of the caches generated by apt-get update
in case of a preinstalled-pool.
For layered, it's just a simple swap of the lines.
LP: #1826377
6 years ago
Steve Langasek
b83f70a2ea
Add support for the 'kassel' subflavor of UC18 images.
6 years ago
Steve Langasek
d5c0bd170b
releasing package livecd-rootfs version 2.578
6 years ago
Steve Langasek
39f2558b96
Fix the sed script that Tobias had right in the first place and I mangled in the previous upload.
6 years ago
Steve Langasek
85b7813ff8
releasing package livecd-rootfs version 2.577
6 years ago
Steve Langasek
f4fa240ed7
Adjust sed command for clarity.
6 years ago
Tobias Koch
796211dde7
If image has core18 snaps only, automatically preseed snapd
6 years ago
Tobias Koch
05e71b3840
Do not include any snaps in ubuntu-cpc:minimized builds
6 years ago
Łukasz 'sil2100' Zemczak
b952a0c243
releasing package livecd-rootfs version 2.576
6 years ago
Łukasz 'sil2100' Zemczak
e779a202c5
Merge branch 'feature/snap-tool-prefer-stable-for-core' of https://git.launchpad.net/~tobijk/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
6 years ago
Mathieu Trudel-Lapierre
c6c7d5618a
releasing package livecd-rootfs version 2.575
6 years ago
Robert C Jennings
a45342f269
ubuntu-cpc: avoid duplicate snaps listed in qcow manifest
...
commit a993592
introduced an additional call to create_manifest
(and snap-seed-parse) to write binary/boot/filesystem.packages. This
caused duplicate snap lines in the qcow manifest. This is because the
live-build/auto/binary code assumes that after 'lb binary' is run the
filesystem.packages will only have debs and it calls snap-seed-parse to
add them to the file. The commit changed filesystem.packages in the
ubuntu-cpc uefi binary hook to include debs and snaps.
This patch keeps the intent of the prior patch, updating the
filesystem.packages file for the content of the uefi disk image, but
only writes a listing of debian packages to match the expected content
of filesystem.packages. The snaps will still be added in generic code
in live-build/auto/build.
6 years ago
Dimitri John Ledkov
2db7f01a58
releasing package livecd-rootfs version 2.574
6 years ago
Didier Roche
a44c468a6c
releasing package livecd-rootfs version 2.573
6 years ago
Tobias Koch
79ed860c5e
snap-tool info prints out the base
6 years ago
Tobias Koch
ee4fc93b06
snap-tool: prefer 'stable' channel over 'stable/ubuntu-X.X' for core snaps
...
When the "snap-tool" script encounters a core snap it will switch to
the "stable" channel if the channel was set to "stable/ubuntu-X.X". This
ensures that core snaps always come from one canonical source.
6 years ago
Dimitri John Ledkov
1f5c21fd12
releasing package livecd-rootfs version 2.572
6 years ago
Dimitri John Ledkov
2adae2ef2c
releasing package livecd-rootfs version 2.571
6 years ago
Didier Roche
ad4f8f745c
releasing package livecd-rootfs version 2.570
6 years ago
Didier Roche
73bf25a664
releasing package livecd-rootfs version 2.570
6 years ago
Steve Langasek
41c342ebe2
releasing package livecd-rootfs version 2.569
6 years ago
Steve Langasek
4ca92b04a7
Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not consistent with current Ubuntu Advantage product language. Any future customizations to update-motd for cloud images should be done via a package instead.
6 years ago
Steve Langasek
8deb87f037
releasing package livecd-rootfs version 2.568
6 years ago
Steve Langasek
ea5f01942f
divert grub when calling into lb chroot
...
UbuntuStudio image builds have recently begun failing as a result of adding a
grub theme customization to their flavor, which they then try to apply by
running update-grub from their maintainer scripts. This fails with:
Setting up plymouth-theme-ubuntustudio (0.57) ...
update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-logo/ubuntustudio-logo.plymouth to provide /usr/share/plymouth/themes/default.plymouth (default.plymouth) in auto mode
update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-text/ubuntustudio-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode
update-initramfs: diverted by livecd-rootfs (will be called later)
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing package plymouth-theme-ubuntustudio (--configure):
installed plymouth-theme-ubuntustudio package post-installation script subprocess returned error exit status 1
Packages providing grub themes should be able to call update-grub from their
maintainer scripts, and they should be able to be installed under
livecd-rootfs. It's surprising to me that this hasn't been a problem before
now for any flavors.
We know that grub-probe should not be called as part of an image build, so
just use our standard helper function to divert it before running the chroot
stage and undivert it after.
6 years ago
Tobias Koch
3cebce2fb9
snap-tool: exit non-zero if problem occurred
6 years ago
Julian Andres Klode
d8962ee22f
releasing package livecd-rootfs version 2.567
6 years ago
Julian Andres Klode
b0684bbeee
Fix change to ignore ubiquity packages, it failed to mark anything as automatic.
6 years ago
Julian Andres Klode
57d23cf034
releasing package livecd-rootfs version 2.566
6 years ago
Tobias Koch
3a294f5b50
magic-proxy: return 404 when InRelease file cannot be found "by hash"
...
When the magic-proxy script could not find a valid InRelease file for the
configured timestamp, it would fall back to serving the canonical version
of it. This meant that builds would succeed, even though snap-shotting the
repository failed.
This update makes the script return HTTP 404 when an InRelease by-hash
link for a given combination of mirror, suite and timestamp cannot be
found.
6 years ago
Julian Andres Klode
b2db5bf365
Do not mark direct dependencies of ubiquity as auto installed
...
This caused cryptsetup to remain auto on the installed system
LP: #1801629
6 years ago
Steve Langasek
e8f064324b
releasing package livecd-rootfs version 2.565
6 years ago
Steve Langasek
1053349a32
Drop python3-minimal alternate dependency; nothing should depend on python3-minimal.
6 years ago
Steve Langasek
d314a8c9b1
Also drop dependency on python.
6 years ago
Steve Langasek
5e6f65e374
releasing package livecd-rootfs version 2.564
6 years ago
Steve Langasek
7e4a2627ed
Use python3 vmdkstream exclusively; we should not fall back to python2.
6 years ago
Colin Watson
b5ff7a0618
releasing package livecd-rootfs version 2.563
6 years ago
Colin Watson
3b22ad381a
Make sure buildd images have a /usr/sbin/policy-rc.d symlink
...
Installing policyrcd-script-zg2 doesn't quite do this because of the way
that live-build installs its own temporary version of policy-rc.d. The
only remotely sensible way I can see to deal with this is to create the
symlink manually.
6 years ago
Dimitri John Ledkov
5376c013a7
releasing package livecd-rootfs version 2.562
6 years ago
Dimitri John Ledkov
a77ec4a9df
Add python3 vmdkstream support
6 years ago
Dimitri John Ledkov
89dee6610d
subiquity: make subiqutiy_config.mount optional
6 years ago
Łukasz 'sil2100' Zemczak
cd6a85cfde
releasing package livecd-rootfs version 2.561
6 years ago
Łukasz 'sil2100' Zemczak
8c8b7164d4
Support building pi3-arm64 core18 images. At the same time, make sure we still use the right gadget tree repository for the classic arm64 pi3 image.
6 years ago
Balint Reczey
3cf7de97cc
Update changelog
6 years ago
Balint Reczey
96cc185813
Merge feature/parallelization-snap-version-fixing
6 years ago
Balint Reczey
9f532ad4cf
Update changelog
6 years ago
Tobias Koch
eabe867003
Bugfix: specify channel when requesting snap info
6 years ago
Balint Reczey
a06d208871
Merge branch feature/parallelization-pkg-version-fixing
6 years ago
Colin Watson
305d5cef50
Drop code to handle buildd images for <disco
...
We'll deal with those in stable updates instead.
6 years ago
Colin Watson
36af2769dc
Disable merged /usr in buildd images
...
Otherwise we might end up building packages with hardcoded paths that
assume a merged /usr.
6 years ago
Tobias Koch
5b70d86f5c
Inject a proxy into the build providing a snapshot view of the package repo.
...
When the REPO_SNAPSHOT_STAMP variable is set, the auto/build script will attempt
to launch a transparent HTTP proxy on port 8080, and insert an iptables rule to
redirect all outgoing HTTP requests to this proxy.
The proxy, contained in the `magic-proxy` Python script, examines each request
and silently overrides those pointing to InRelease files or files that are
listed in InRelease files. It will instead provide the contents of the requested
file as it was at REPO_SNAPSHOT_STAMP, by downloading the corresponding asset
"by hash".
6 years ago
Didier Roche
7d42c3f4b4
releasing package livecd-rootfs version 2.559
6 years ago
Michael Hudson-Doyle
ae04fee7c2
changelog entry
6 years ago
Łukasz 'sil2100' Zemczak
ff860d4717
releasing package livecd-rootfs version 2.558
6 years ago
Łukasz 'sil2100' Zemczak
b3dd27aedd
Use linux-firmware-raspi2 instead of raspi3-firmware.
6 years ago
Colin Watson
8465a11865
releasing package livecd-rootfs version 2.557
6 years ago
Colin Watson
2b15590f3b
Fix buildd images for series earlier than bionic
...
Don't install gpg or gpg-agent when building buildd images for series
earlier than bionic. (In earlier series, those packages didn't exist
and gnupg was build-essential.)
6 years ago
Łukasz 'sil2100' Zemczak
48f98803bd
releasing package livecd-rootfs version 2.556
6 years ago
Łukasz 'sil2100' Zemczak
a140fdcd5a
Bump the timestamp
6 years ago
Łukasz 'sil2100' Zemczak
bf61fdecf3
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into sil2100/raspi-wpasupplicant
6 years ago
Łukasz 'sil2100' Zemczak
480eab7e32
releasing package livecd-rootfs version 2.555
6 years ago
Łukasz 'sil2100' Zemczak
abec4f4c1d
Link to the proper name instead.
6 years ago
Łukasz 'sil2100' Zemczak
7a2a551ca0
releasing package livecd-rootfs version 2.554
6 years ago
Łukasz 'sil2100' Zemczak
e60bcbaecd
Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming.
6 years ago
Colin Watson
75fa8802ec
releasing package livecd-rootfs version 2.553
6 years ago
Colin Watson
46942330d8
Move buildd image building to binary hooks
6 years ago
Colin Watson
082a2046e7
Add a LXD image to builds for the buildd subproject
6 years ago
Michael Hudson-Doyle
65397a6e62
releasing package livecd-rootfs version 2.552
6 years ago
Michael Hudson-Doyle
625ace8483
Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable.
6 years ago
Łukasz 'sil2100' Zemczak
85eed4a91d
Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets.
6 years ago
Michael Hudson-Doyle
d6444ffe6e
releasing package livecd-rootfs version 2.551
6 years ago
Michael Hudson-Doyle
b461b15ccd
changelog typo
6 years ago
Michael Hudson-Doyle
1b93df3ae8
A few simple tweaks to reduce size of live servers installer.squashfs
...
- Do not run apt-get update (which can bring in package lists if we are
unlikely wrt publisher schedules).
- Run apt-get clean to clear out downloaded debs of curtin/casper and
dependencies.
- Do not install user-setup.
- Use the core snap from the base filesystem if present.
6 years ago
Michael Hudson-Doyle
1e9fc65863
Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04).
6 years ago
Michael Hudson-Doyle
f81fb59a00
Do no install openssh-server in the base filsystem for the live server installer.
6 years ago
Michael Hudson-Doyle
2a9aac5635
releasing package livecd-rootfs version 2.550
6 years ago
Michael Hudson-Doyle
cacdc73ee6
changelog entry for switch to git
6 years ago
Michael Hudson-Doyle
71c04ecfeb
changelog
6 years ago
Michael Hudson-Doyle
4b01505952
Fix typo preventing builds of ubuntu-core images.
6 years ago
Steve Langasek
0799fdb21b
releasing package livecd-rootfs version 2.549
6 years ago
Steve Langasek
a16979b58b
Merge lp:~tobijk/livecd-rootfs/image-sets
6 years ago
Steve Langasek
a44a311e89
releasing package livecd-rootfs version 2.548
6 years ago
Steve Langasek
5300bb9eb7
Key netplan delegation to NetworkManager on presence of
...
/usr/sbin/NetworkManager, not on /usr/lib/NetworkManager which may have
hooks from other packages (i.e., wpasupplicant).
6 years ago
Łukasz 'sil2100' Zemczak
6346dba6da
releasing package livecd-rootfs version 2.547
6 years ago
Łukasz 'sil2100' Zemczak
6345ccd34c
Add a few minor fixes for raspi3 builds.
6 years ago
Łukasz 'sil2100' Zemczak
c229012efb
Add raspi3 arm64 rootfs build support.
6 years ago
Łukasz 'sil2100' Zemczak
cdd196d0f6
Fix the changelog, remove duplicate entries.
6 years ago
Steve Langasek
6ee39485dd
Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic
6 years ago
Steve Langasek
f2f3512339
Merge lp:~mzanetti/livecd-rootfs/drop-sf-support
6 years ago
Steve Langasek
b3c9d8bac8
Merge lp:~sil2100/livecd-rootfs/raspi3-u-i-classic
6 years ago
Dimitri John Ledkov
75b9ab1664
Move overlay include.binary /lib to /usr/lib.
6 years ago
Dimitri John Ledkov
93df6705a0
Revert "Do not mount result, on top of lowerdir, appears to fail in
...
disco." the actual problem is in live-build with merged-usr and
copying over chroot/binary includes.
6 years ago
Dimitri John Ledkov
9a8d7117e3
Also strip duplicate \n from the below.
6 years ago
Dimitri John Ledkov
ba0260690e
releasing package livecd-rootfs version 2.545
6 years ago
Dimitri John Ledkov
0c2e3c1342
Fix snap-seed-parse to take filename argument instead of printing to
...
stdout
6 years ago
Dimitri John Ledkov
6ad590157a
Do not mount result, on top of lowerdir, appears to fail in
...
disco. Should unblock building server-live images in disco.
6 years ago
Cody Shepherd
5062c1285b
Fixing changelog formatting
6 years ago
Cody Shepherd
c7e0c27607
[ Cody Shepherd ]
...
Fix snap-seed-parse to take filename argument instead of printing to
stdout
6 years ago
Dimitri John Ledkov
e03defbf90
releasing package livecd-rootfs version 2.544
6 years ago
Dimitri John Ledkov
8868522e78
When calling snap-seed-parse append stdout to file, but redirect
...
stderr to stdout, thus unbreak autopkgtests.
6 years ago
Steve Langasek
1e1c6a8572
Properly fix the hard-linking of vmlinuz, taken astray by my misguided
...
merge review.
6 years ago
Steve Langasek
af4858dcec
releasing package livecd-rootfs version 2.543
6 years ago
Steve Langasek
8f910aab4b
Merge lp:~vorlon/livecd-rootfs/initramfsless-everywhere
6 years ago
Łukasz 'sil2100' Zemczak
cc5d39b93d
Merge latest prerequisite branches.
6 years ago
Łukasz 'sil2100' Zemczak
501afa0783
Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak
61ba85df21
Merge trunk
6 years ago
Steve Langasek
41382692ba
Merge lp:~codyshepherd/livecd-rootfs/uefi-manifests-cosmic
6 years ago
Steve Langasek
03add93632
Add changelog entry for previous change
6 years ago
Steve Langasek
286a52407d
Merge lp:~codyshepherd/livecd-rootfs/snaps-manifest
6 years ago
Cody Shepherd
2819290352
Changed absoluted paths to relative; set changelog message to UNRELEASED
6 years ago
Cody Shepherd
5bee1ade70
Ensure pre-seeded snaps are now published in the image manifests.
6 years ago
Łukasz 'sil2100' Zemczak
41b4130759
* Add support for raspi3 rootfs builds (based on Ryan Finnie).
...
* For ubuntu-image consumption, export the kernel and initrd to
image/boot/uboot for raspi*.
6 years ago
Łukasz 'sil2100' Zemczak
e115b2cbe7
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a
...
dangling symlink.
6 years ago
Łukasz 'sil2100' Zemczak
7dbb2c8d60
releasing package livecd-rootfs version 2.542
6 years ago
Steve Langasek
b6dedb62ce
Unconditionally set GRUB_FORCE_PARTUUID in cloud images; as of version
...
2.02+dfsg1-5ubuntu5 grub will automatically fall back to booting with an
initrd if one is available, so we can now always attempt initramfsless
boot for cloud images which almost always works and causes only minimal
increase in boot speed for cases where it does not.
6 years ago
Łukasz 'sil2100' Zemczak
1d8aea6f20
Changelog entry
6 years ago
Steve Langasek
b85cf0fc58
releasing package livecd-rootfs version 2.541
6 years ago
Robert C Jennings
52e5a2b25b
Allow hooks to replace generic snap assertion
...
The generic assertion will be put in place if there are preseeded snaps.
A hook that wants to add its own model should be able to overwrite
the generic assertion. This patch allows a hook to continue unchanged
calling snap_prepare_assertions with a custom brand/model. The patch
will replace the generic brand/model if a custom brand/model is specified.
Prior to this patch the generic brand/model would remain in place.
6 years ago
Robert C Jennings
9f96dcb4de
Add the server snap seed to the ubuntu-cpc project
6 years ago
Michael Hudson-Doyle
c241a3e3f8
fix changelog
6 years ago
Michael Hudson-Doyle
791d2adfd8
merge trunk
6 years ago
Dimitri John Ledkov
08c9c26e58
Ensure /lib/modules exists in root tarballs and sqashfs.
...
(LP: #1792905 )
6 years ago
Adam Conrad
94230324e0
Stop building buildd chroots with --xattrs until we move to python3.
6 years ago
Colin Watson
e33fd318ba
releasing package livecd-rootfs version 2.538
6 years ago
Colin Watson
bb652c238f
Merge trunk.
6 years ago
Adam Conrad
1e2e25deb5
Releasing version 2.537.
6 years ago
Łukasz 'sil2100' Zemczak
e547599e5a
Add support for raspi3 rootfs generation for ubuntu-image consumption with all the additional changes required.
6 years ago
Łukasz 'sil2100' Zemczak
97fcf09972
Merge trunk
6 years ago
Julian Andres Klode
08376f8e64
Fix version number
6 years ago
Julian Andres Klode
9360135b2c
Minimize the number of manually installed packages in images by marking
...
dependencies of metapackages as automatically installed.
6 years ago
Michael Hudson-Doyle
f04caf6104
releasing package livecd-rootfs version 2.536
6 years ago
Michael Hudson-Doyle
ae4a760edb
Fix live-server journald config snippet to actually disable journald rate
...
limiting.
6 years ago
Michael Hudson-Doyle
2c76f50499
releasing package livecd-rootfs version 2.535
6 years ago
Michael Hudson-Doyle
061ea26984
fix changelog
6 years ago
Michael Hudson-Doyle
15505866a8
add bug ref to changelog
6 years ago
Michael Hudson-Doyle
59b8eb76e2
Disentangle enabling universe in the final image a little from having
...
PREINSTALLED=true set and enable it for a live-server build.
6 years ago
Michael Hudson-Doyle
e80459b967
grumble
6 years ago
Michael Hudson-Doyle
1aa8b9d882
ffs
6 years ago
Michael Hudson-Doyle
00151c5e0b
Set PREINSTALLED=true for live-server so that universe ends up being
...
enabled in the image.
6 years ago
Steve Langasek
67142507ae
releasing package livecd-rootfs version 2.534
6 years ago
Steve Langasek
c7ca0a77c8
Merge lp:~vorlon/livecd-rootfs/lp.1302192
6 years ago
Steve Langasek
7d16b0d40a
Merge lp:~mwhudson/livecd-rootfs/lp-1776891
6 years ago
Steve Langasek
3db2340c54
generate all tar files with --xattrs. LP: #1302192 .
6 years ago
Adam Conrad
dee54ed412
Releasing 2.533
7 years ago
Michael Hudson-Doyle
013dff431e
Remove device nodes from Docker images. (LP: #1645468 )
7 years ago
Robert C Jennings
c3f5ee6716
Disable checksum generation
...
These checksums are unused, integrity checking in launchpad is performed
separately.
7 years ago
Phil Roche
89c54953d5
Update changelog to add unminimize change to current UNRELEASED changelog entry
7 years ago
Phil Roche
b7403fabf1
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777 )
7 years ago
Colin Watson
1e6563aa79
Merge trunk.
7 years ago
Michael Hudson-Doyle
c9aaddd56a
Disable journald rate limiting in the live-server live session.
...
(LP: #1776891 )
7 years ago
Colin Watson
8b1970f661
live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
...
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
7 years ago
Steve Langasek
6caddc0a8c
changelog fix-up
7 years ago
Robert C Jennings
58b510cf99
ubuntu-cpc: Remove git-man for minimized images
7 years ago
Daniel Watkins
605b97de97
ubuntu-cpc: Generate the root image contents once, and use it for both the
...
-root.tar.xz and the .squashfs.
7 years ago
Steve Langasek
2e915c1eee
releasing package livecd-rootfs version 2.531
7 years ago
Steve Langasek
fff89931db
Merge lp:~vorlon/livecd-rootfs/coinstallable-grubz
7 years ago
Daniel Watkins
80459b6c1b
ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472 ).
7 years ago
Steve Langasek
91f26e016c
resync with trunk
7 years ago
Adam Conrad
63ec8ad163
ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233 ).
7 years ago
Steve Langasek
92497af14f
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.
7 years ago
Daniel Watkins
0e5b19259d
ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233 ).
7 years ago
Michael Hudson-Doyle
02581df4a1
releasing package livecd-rootfs version 2.529
7 years ago
Michael Hudson-Doyle
5979538f43
UNRELEASED
7 years ago
Michael Hudson-Doyle
ba96d42d7e
fix version number
7 years ago
Michael Hudson-Doyle
664ace2f30
man un-diverting man idempotent
7 years ago
Michael Hudson-Doyle
ccef323973
go back to having docker unminimize not install any extra packages
...
update text of man diversion to mention need to install man-db package
7 years ago
Michael Hudson-Doyle
2fc3993d48
Remove apt lists that are currently removed downstream anyway.
...
(LP: #1699913 )
7 years ago
Michael Hudson-Doyle
a2bd86d326
update changelog
7 years ago
Michael Hudson-Doyle
fa1bce5389
still install a few packages in docker unminimize
7 years ago
Mathieu Trudel-Lapierre
027ea79085
releasing package livecd-rootfs version 2.528
7 years ago
Mathieu Trudel-Lapierre
056e760c06
Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that
...
the grub search command needs to find the right prefix/root. This is
different than the PARTUUID for booting initrd-less.
7 years ago
Michael Hudson-Doyle
9c4028cc85
releasing package livecd-rootfs version 2.527
7 years ago
Michael Hudson-Doyle
7c4d8ca173
fix mis-merge
7 years ago
Michael Hudson-Doyle
7ff90045b2
update changelog
7 years ago
Michael Hudson-Doyle
038b003da0
merge trunk
7 years ago
Adam Conrad
021ffbbf16
Release 2.526
7 years ago
Łukasz 'sil2100' Zemczak
7982442e32
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink.
7 years ago
Simon Quigley
9ba04172d4
Completely drop Lubuntu Next.
7 years ago
Simon Quigley
382f17b08c
Don't follow recommends.
7 years ago
Simon Quigley
0f073af403
Add a changelog entry.
7 years ago
Michael Hudson-Doyle
eca9613bf3
Symlink systemd-networkd-wait-online to /bin/true in the live installer
...
live session to avoid depending on buggy systemd behaviour.
7 years ago
Colin Watson
0bd2526ac5
Use a more generic version number.
7 years ago
Colin Watson
cb22177287
Add a buildd subproject.
7 years ago
Mathieu Trudel-Lapierre
532f5c4bdb
releasing package livecd-rootfs version 2.525
7 years ago
Daniel Watkins
10feacf941
Don't fail to build CPC images if /lib/modules already exists in the
...
squashfs.
7 years ago
Daniel Watkins
87c11b5114
Don't fail to build CPC images if /lib/modules already exists in the
...
squashfs.
7 years ago
Dimitri John Ledkov
4c7dea98aa
releasing package livecd-rootfs version 2.524
7 years ago
Dimitri John Ledkov
94b49f9a1c
Ensure MAAS squashfsi are clean of passwords. LP: #1764991 .
7 years ago
Steve Langasek
9465166169
Merge lp:~daniel-thewatkins/livecd-rootfs/custom-model-assertions
7 years ago
Daniel Watkins
44274041a6
Add changelog entry
7 years ago
Dimitri John Ledkov
3ed266091c
Ensure MAAS squashfsi are clean of passwords. LP: #1764991 .
7 years ago
Steve Langasek
bff2e8cf5e
releasing package livecd-rootfs version 2.522
7 years ago
Steve Langasek
e6089e9e32
Remove landscape-common from minimal image, and handle restoring it in
...
unminimize script. LP: #1763182 .
7 years ago
Dimitri John Ledkov
862ace223d
releasing package livecd-rootfs version 2.521
7 years ago
Dimitri John Ledkov
466607c590
In subiquity image, mount additional squashfs in /media.
7 years ago
Michael Hudson-Doyle
f786c0b325
releasing package livecd-rootfs version 2.520
7 years ago
Michael Hudson-Doyle
aacb8daaee
merge trunk
7 years ago
Steve Langasek
e5a57e5cc0
releasing package livecd-rootfs version 2.519
7 years ago
Steve Langasek
c46962ca2e
Refactor snap preseeding to allow additional snaps to be preseeded from
...
hooks
7 years ago
Dimitri John Ledkov
e65b912d89
releasing package livecd-rootfs version 2.518
7 years ago
Dimitri John Ledkov
8d5af150cd
Make subiquity installer boot quicker, by making dhcp interfaces
...
optional, such that wait-online is not blocking bringing up the
installer UI.
7 years ago
Iain Lane
f73c0f4068
releasing package livecd-rootfs version 2.517
7 years ago
Iain Lane
e68923777e
merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling
7 years ago
Steve Langasek
2be57e7e60
releasing package livecd-rootfs version 2.516
7 years ago
Steve Langasek
4bb0414a5d
Make sure we call the build "minimal" within the cloud build info,
...
when building a minimized image.
7 years ago
Steve Langasek
4be1b98517
releasing package livecd-rootfs version 2.515
7 years ago
Michael Hudson-Doyle
3cb1f38cf2
Set the default locale to C.UTF-8 in all server and cloud images.
...
(LP: #1751051 , #1759003 )
7 years ago
Dimitri John Ledkov
bfa43c1c5c
On amd64, if building minimal images for bionic, xenial, or extra ppa,
...
use kvm kernel, otherwise fallback to virtual.
7 years ago
Michael Hudson-Doyle
2cb679b281
releasing package livecd-rootfs version 2.513
7 years ago
Michael Hudson-Doyle
8ee1f566e2
In the live-server build, prevent casper from mounting any existing
...
swap partitions from drives we might later be installing to.
(LP: #1743643 )
7 years ago
Daniel Watkins
12339422c5
ubuntu-cpc: When performing a minimized build, don't generate artifacts
...
that won't boot with the linux-kvm kernel (LP: #1757223 ).
7 years ago
Dimitri John Ledkov
815c3dfc10
Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
...
should own the directory, and only adjust the permissions in
postinst. LP: #1754332
7 years ago
Michael Hudson-Doyle
8ece245153
In the live-server build, prevent casper from mounting any existing swap
...
partitions from drives we might later be installing to.
7 years ago
Michael Hudson-Doyle
44e7d70046
releasing package livecd-rootfs version 2.510
7 years ago
Michael Hudson-Doyle
a5a4f4e0d8
* Rename the directory containing the systemd override file for subiquity to
...
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
7 years ago
Michael Hudson-Doyle
b7f3ec398b
Make lzma initramfs compression opt-in rather than opt-out, and do not
...
opt-in to it for live-server builds to speed up the boot. (LP: #1750873 )
7 years ago
Michael Hudson-Doyle
0d750f78bc
Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
...
boot. (LP: #1750873 )
7 years ago
Dimitri John Ledkov
156f66db36
releasing package livecd-rootfs version 2.509
7 years ago
Dimitri John Ledkov
bc194dd48b
Build EFI armhf images.
7 years ago
Steve Langasek
8fddc6b469
Merge lp:~vorlon/livecd-rootfs/many-loops
7 years ago
Steve Langasek
52617400b3
releasing package livecd-rootfs version 2.508
7 years ago
Steve Langasek
93176f134f
Add dependency on distro-info for the above.
7 years ago
Steve Langasek
90ef53cef1
Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
7 years ago
Dimitri John Ledkov
9df3a91e26
ubuntu-server: generate multi-lowerdir overlayfs for
...
maas-rack-controller, and full maas. To be used in subiquity for maas
install options.
7 years ago
Iain Lane
2db71b0c67
releasing package livecd-rootfs version 2.506
7 years ago
Iain Lane
ba4b16626f
live-build-auto/{build,config}: Support fetching a file from the seed
...
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
this file as a list of packages to remove when doing a 'minimal' desktop
installation.
7 years ago
Michael Hudson-Doyle
38cb38be6c
releasing package livecd-rootfs version 2.505
7 years ago
Michael Hudson-Doyle
adcd8928fc
clean up changelog
7 years ago
Michael Hudson-Doyle
3e69d30c9e
remove some of the cargo culted scorpions
7 years ago
Michael Hudson-Doyle
b163743456
call recreate_initramfs with the argument it needs
7 years ago
Michael Hudson-Doyle
4b66f89e56
move skip_lb_stage to config
7 years ago
Michael Hudson-Doyle
c85cae9bfe
respond to some review feedback
7 years ago
Michael Hudson-Doyle
a7e7ee9154
fix mis-merge
7 years ago
Michael Hudson-Doyle
d46e397b24
merge trunk
7 years ago
Michael Hudson-Doyle
64b1ae38b2
releasing package livecd-rootfs version 2.504
7 years ago
Michael Hudson-Doyle
d1b26ce330
Override JobRunningTimeoutSec to 0s on the .device unit that
...
subiquity_config.mount depends on to avoid a 5s delay on switching to a
new VT when there is no device there (LP: #1750117 )
7 years ago
Steve Langasek
131f14d33c
Use Ubuntu-specific branches when seeding snaps, as required in
...
<https://wiki.ubuntu.com/UbuntuSeededSnaps >.
7 years ago
Michael Hudson-Doyle
f054c56bec
releasing package livecd-rootfs version 2.503
7 years ago
Michael Hudson-Doyle
15d9269e57
Install linux-signed-generic in the live-server image. (LP: #1749065 )
7 years ago
Michael Hudson-Doyle
110c558d2a
releasing package livecd-rootfs version 2.502
7 years ago
Michael Hudson-Doyle
26d9eeb576
Shuffle subiquity service definition to a mix of a snapd-generated service
...
file (from the subiquity snap) and an overlay (in this package).
7 years ago
Dimitri John Ledkov
4533ccfc5a
releasing package livecd-rootfs version 2.501
7 years ago
Michael Hudson-Doyle
e2f5f3b56b
releasing package livecd-rootfs version 2.500
7 years ago
Michael Hudson-Doyle
a7f8044a85
Disable the snapd.refresh.timer in the live server session.
7 years ago
Mathieu Trudel-Lapierre
621f6864aa
releasing package livecd-rootfs version 2.499
7 years ago
Mathieu Trudel-Lapierre
762536b5bf
live-build/auto/config: Take into account SUBPROJECT when setting seeded
...
snaps, and also make sure we can work with snaps seeded in project hooks.
7 years ago
Iain Lane
8366959fd6
releasing package livecd-rootfs version 2.498
7 years ago
Iain Lane
301fdd2e02
Don't write config/seeded-snaps if no snaps have been seeded.
7 years ago
Adam Conrad
2219f62998
* live-build/auto/config: Clean out unused hostname matches and fix indenting.
...
* live-build/auto/config: Reinstate hostname filtering for "*.buildd", which
is the correct match for non-lxd builders, and add "lp-*" for the lxd ones.
* live-build/auto/config: Fix incorrect quoting causing a skipped if statement
in non-live ubuntu-server builds since sometime in mid-October of last year.
7 years ago
Steve Langasek
3c4a1979cc
releasing package livecd-rootfs version 2.496
7 years ago
Steve Langasek
2c40db69bc
Update hostname matches for launchpad buildds to match current practice,
...
fixing build failures due to LP being unable to reach
people.canonical.com.
7 years ago
Iain Lane
c41bf27806
releasing package livecd-rootfs version 2.495
7 years ago
Iain Lane
72edc20589
Set ports/archive as appropriate for default mirror - should fix
...
autopkgtests.
7 years ago
Adam Conrad
c2edf57a3f
Run subiquity on any serial consoles that the user told systemd about.
7 years ago
Iain Lane
9e09b3172c
Set a default archive mirror - needed for germinate.
7 years ago
Michael Hudson-Doyle
a7ca4fbd03
merge trunk
7 years ago
Iain Lane
42a6450584
Oops. I shouldn't reference my private stuff.
7 years ago
Iain Lane
284240feb5
releasing package livecd-rootfs version 2.491
7 years ago
Iain Lane
9978fd7b39
Support seeding of snaps, as emitted by germinate >= 2.27.
7 years ago
Mathieu Trudel-Lapierre
019d166878
releasing package livecd-rootfs version 2.490
7 years ago
Mathieu Trudel-Lapierre
0f4ae44c0c
ubuntu-cpc: Initramfs compression should match default for
...
update-initramfs (LP: #1744114 )
7 years ago
Robert C Jennings
d41cc70bf5
ubuntu-cpc: Initramfs compression should match runtime default (LP: #1744114 )
...
Cloud images created from the 'ubuntu-cpc' project use lzma initramfs
compression for the initial initramfs shipped in the image; this is the
default for livecd-rootfs. When a user updates the initramfs (or installs
a new kernel) on a running instance created from a cloud image they will
get gzip compression, which is the default shipped in initramfs-tools.
With this patch the compression method used to create the initramfs in
the initial cloud images will match the compression menthod used when
the end-user creates/updates an initramfs, namely gzip compression.
7 years ago
Michael Hudson-Doyle
47911d3221
changelog
7 years ago
Steve Langasek
168e2def92
releasing package livecd-rootfs version 2.489
7 years ago
Steve Langasek
e6a66dd3bf
Add support for passing snap channel to ubuntu-core image builds.
7 years ago
Balint Reczey
c499490e55
Update changelog
7 years ago
Balint Reczey
c85549a2d7
Update changelog
7 years ago
Michael Hudson-Doyle
4cbb91b55f
releasing package livecd-rootfs version 2.488
7 years ago
Michael Hudson-Doyle
7c1c7a80c2
enable networkd for live-server systems
...
the logic for doing this is the same as why it is done for cloud-images, for which
see http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/1520
I think this behaviour is a bug in cloud-init (see lp:#1737630) but this is a good
workaround in the mean time
7 years ago
Michael Hudson-Doyle
3ecbd2802e
tweaks before review
7 years ago
Michael Hudson-Doyle
0113b9aad7
self-review
7 years ago
Michael Hudson-Doyle
b913dcdf1c
gen the initramfs with the right options and repack it with lzma
7 years ago
Michael Hudson-Doyle
6ddf832b20
slimy hack to get a casper-ized initrd in place
7 years ago
Michael Hudson-Doyle
26753602fe
Move casper from filesystem.squashfs to installer.squashfs.
7 years ago
Dimitri John Ledkov
a7ecb03492
releasing package livecd-rootfs version 2.487
7 years ago
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.
7 years ago
Steve Langasek
a43830fa39
releasing package livecd-rootfs version 2.486
7 years ago
Steve Langasek
c02f0f0f4c
Install grub-ieee1275 instead of grub2 on ppc64el; grub2 is a dummy
...
transitional package in universe.
7 years ago
Michael Hudson-Doyle
ebb9fd968c
releasing package livecd-rootfs version 2.485
7 years ago
Balint Reczey
d0e03e12ed
fix long line in changelog
7 years ago
Balint Reczey
187f1e51ff
Update changelog
7 years ago
Balint Reczey
fcac798632
Update changelog
7 years ago
Michael Hudson-Doyle
12defca931
fix changelog
7 years ago
Michael Hudson-Doyle
e0809e31f6
Automount a partition of fixed UUID for giving subiquity canned answers.
7 years ago
Steve Langasek
ae41b74b1f
releasing package livecd-rootfs version 2.484
7 years ago
Steve Langasek
be29d44c3d
Merge lp:~rbalint/livecd-rootfs/s390x-skip-missing-initrd
7 years ago
Balint Reczey
578fa5a92d
Update changelog
7 years ago
Steve Langasek
5598da902f
releasing package livecd-rootfs version 2.483
7 years ago
Steve Langasek
49e17b717e
Fix lingering reference to livecd-rootfs.ubuntu-core.model-assertion
...
that breaks the ubuntu-core image build.
7 years ago
Steve Langasek
2bab8488c1
releasing package livecd-rootfs version 2.482
7 years ago
Steve Langasek
f384f10867
Merge lp:~vorlon/livecd-rootfs/minimize-round-two
7 years ago
Steve Langasek
5b6c91a7a9
releasing package livecd-rootfs version 2.481
7 years ago
Steve Langasek
7c07f8a65b
Change ubuntu-core image builds to use the standard "$PREFIX" naming for
...
artifacts instead of being gratuitously different; requires a matching
change to ubuntu-cdimage.
7 years ago
Steve Langasek
e96fa8b878
ubuntu-image now produces a manifest file listing the snap revisions
...
used; publish this so that it's picked up by launchpad-buildd.
7 years ago
Steve Langasek
b3cf7b9013
The target for x86 ubuntu-core images is VMs, so create them with
...
a buffer of free space in order to work if booted in place.
7 years ago
Steve Langasek
807e91863e
releasing package livecd-rootfs version 2.480
7 years ago
Gary.Wzl
78da9b579b
Per the suggestions, we exclude all binary hooks when IMAGEFORMAT is none.
7 years ago
Steve Langasek
3b9f3e3c45
releasing package livecd-rootfs version 2.479
7 years ago
Steve Langasek
1976255e5c
divert /usr/bin/systemd-detect-virt as part of the grub diversions, so
...
that the grub kernel postinst hook is operational when we're building
in a container. LP: #1729034 .
7 years ago
Steve Langasek
083d58397c
Make sure to remove any initramfs that was generated in a minimized
...
image.
7 years ago
Steve Langasek
dfaf247193
Properly handle loop device names when there are > 10 devices on the
...
system.
7 years ago
Steve Langasek
2b30a986c3
Merge lp:~vorlon/livecd-rootfs/minimize-purge-initramfstools
7 years ago
Steve Langasek
f91a9f16ee
Also remove old dpkg files from the live images
7 years ago
Steve Langasek
8991c5cb41
releasing package livecd-rootfs version 2.478
7 years ago
Michael Hudson-Doyle
1a99680334
Remove snap.subiquity.started from subiquity's After=/Requires= as it
...
does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: #1724411 )
7 years ago
Michael Hudson-Doyle
895e2a51f1
Seed the subiquity snap to track the stable channel (LP: #1724410 )
7 years ago
Gary.Wzl
8c12c46d08
Resolve the conflict.
7 years ago
Gary.Wzl
c260534758
Add the IMAGEFORMAT=none to support generating a single rootfs.
7 years ago
Steve Langasek
c69a9707c6
releasing package livecd-rootfs version 2.477
7 years ago
Steve Langasek
e53ad3b354
Fix server live image to pull subiquity from the stable channel, not
...
from edge.
7 years ago
Steve Langasek
d24ca0490b
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.
7 years ago
Steve Langasek
3a092539ca
purging initramfs-tools as a prereq
7 years ago
Steve Langasek
018525ba12
resync with trunk
7 years ago
Steve Langasek
54427d4440
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.
7 years ago
Steve Langasek
08a5fc58ba
Remove apt, debconf cruft files from /var/cache in all our livefses.
7 years ago
Steve Langasek
ad78957f01
Remove boot/grub leftovers from our root squashfs, left behind after
...
grub purge.
7 years ago
Steve Langasek
ca8e7a90d5
releasing package livecd-rootfs version 2.476
7 years ago
Steve Langasek
bea8a0696e
snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
...
the service dependencies.
7 years ago
Steve Langasek
c388598f88
releasing package livecd-rootfs version 2.475
7 years ago
Steve Langasek
f58957acd6
Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
7 years ago
Steve Langasek
8ab84a0f9f
releasing package livecd-rootfs version 2.474
7 years ago
Steve Langasek
9f040f0481
Fix wrong variable name in systemd unit snippets.
7 years ago
Steve Langasek
16d7a516a8
releasing package livecd-rootfs version 2.473
7 years ago
Steve Langasek
857f1984c9
export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
...
to work around apparmor not working reliably against aufs.
7 years ago
Balint Reczey
2e518950c7
Update changelog
7 years ago
Steve Langasek
cf74474d4b
releasing package livecd-rootfs version 2.472
7 years ago
Steve Langasek
7798e70d8f
Purge initramfs-tools from minimized images.
7 years ago
Steve Langasek
4d1b06a0f6
changelog fixup
7 years ago
Steve Langasek
8094bfb4ee
Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering
7 years ago
Dimitri John Ledkov
0fa3c96bce
releasing package livecd-rootfs version 2.471
7 years ago
Dimitri John Ledkov
4b9e6e811f
Now that grub-related diversions have been factored out in 2.466
...
instead of having bogus root=stuff arg generated in grub.cfg, it is
actually empty. Therefore update the sed command to make the arg in
the root= token optional. This should resolve non-booting livecd cpc
images.
7 years ago
Michael Hudson-Doyle
bc07094f9a
add changelog
7 years ago
Steve Langasek
482c927f11
releasing package livecd-rootfs version 2.470
7 years ago
Steve Langasek
58be5d5712
Merge lp:~vorlon/livecd-rootfs/snap-in-mate/
7 years ago
Steve Langasek
cea8e122df
releasing package livecd-rootfs version 2.469
7 years ago
Steve Langasek
e509a81f1d
Unminimization information should only go to motd when we are actually
...
minimized.
7 years ago
Steve Langasek
e59db65edb
Add initial support for preinstallation of snaps in images, and
...
preinstall pulsemixer in the Ubuntu MATE image.
7 years ago
Michael Hudson-Doyle
cb7fe7592f
releasing package livecd-rootfs version 2.468
7 years ago
Michael Hudson-Doyle
81f44354e3
Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering
7 years ago
Steve Langasek
d18cb38c4e
Merge lp:~xnox/livecd-rootfs/drop-harmful-resolv-fixes
7 years ago
Michael Hudson-Doyle
b5638379a4
Have subiquity.service order after on a service defined by the subiquity
...
snap, which in turn will order after the job that mounts the subiquity
snap. (LP: #1721414 )
7 years ago
Steve Langasek
e6a0fd17be
releasing package livecd-rootfs version 2.467
7 years ago
Steve Langasek
e7008feb7a
fix remaining wrong references to /etc/default/grub.d/40-partuuid
7 years ago
Steve Langasek
35b6107410
releasing package livecd-rootfs version 2.466
7 years ago
Steve Langasek
f809512da8
Merge lp:~vorlon/livecd-rootfs/grub-diversions
7 years ago
Steve Langasek
f296ec41c7
Merge lp:~vorlon/livecd-rootfs/generic-model-assertion-handling
7 years ago
Steve Langasek
a75cbf210b
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.
7 years ago
Steve Langasek
a5e27120c0
Factor out grub-related diversions and use them consistently, so we
...
don't end up with wrong os-probe output in our grub.cfg.
7 years ago
Steve Langasek
c300b35173
releasing package livecd-rootfs version 2.465
7 years ago
Steve Langasek
7a8f02903c
* Skip installation of kernel headers for all minimal images
...
* Use the kvm kernel flavor for minimized cloud image where available,
not virtual.
7 years ago
Steve Langasek
ff575bd93d
add ubuntu-mate to the set of projects we add snap model assertions to.
7 years ago
Steve Langasek
12b07ae5af
move snap assertion handling into the generic build script (and, in
...
the process, from the subiquity overlay to the base squashfs).
7 years ago
Steve Langasek
e1ac04f887
ubuntu-server: drop hard-coded test key from the subiquity overlay in
...
favor of the generic-classic assertion from the store.
7 years ago
Dimitri John Ledkov
35e801f00a
Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
...
correct symlink to resolved without any further fixes.
7 years ago
Steve Langasek
8eea25278d
releasing package livecd-rootfs version 2.464
7 years ago
Steve Langasek
1368e2d24c
Use /bin/sh, not /bin/bash, for autopkgtest.
7 years ago
Steve Langasek
f17a7e62c3
Ignore failure of new autopkgtest on ppc64el, where it's not a
...
regression.
7 years ago
Steve Langasek
50eada5bc7
releasing package livecd-rootfs version 2.463
7 years ago
Michael Hudson-Doyle
b5420ebf2e
changelog
7 years ago
Steve Langasek
4561f17d35
Merge lp:~rbalint/livecd-rootfs/minimized
7 years ago
Balint Reczey
3d57c2af17
Update changelog
7 years ago
Steve Langasek
9b651d77a0
releasing package livecd-rootfs version 2.462
7 years ago
Steve Langasek
894ca9ccfc
Fix a reference to an undefined variable in a script that's set -u.
7 years ago
Dimitri John Ledkov
850495d5f9
releasing package livecd-rootfs version 2.461
7 years ago
Steve Langasek
8c4ef15806
releasing package livecd-rootfs version 2.460
7 years ago
Balint Reczey
83c2984556
Update changelog
7 years ago
Steve Langasek
7c58bcecf0
Merge lp:~rbalint/livecd-rootfs/vagrant
7 years ago
Steve Langasek
12b1a5de4d
Merge lp:~rbalint/livecd-rootfs/mount-make-rslave
7 years ago
Michael Hudson-Doyle
6d5ab03a14
releasing package livecd-rootfs version 2.459
7 years ago
Steve Langasek
7a6a1a3987
Merge lp:~mwhudson/livecd-rootfs/server-live-disable-console-spam
7 years ago
Gary.Wzl
5355732bc8
* Add GENERATE_ROOTFS_ONLY to support generating a single rootfs.
...
* Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
7 years ago
Gary.Wzl
8a8d203743
* Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
...
* Use notations "0/1" instead of "false/true" as a value for GENERATE_ROOTFS_ONLY.
7 years ago
Steve Langasek
bcb2bcc1cd
Remove spurious call to 'sync'; we don't need to flush all disk caches
...
on the system to cleanly unmount a partition.
7 years ago
Dimitri John Ledkov
f16f1c4229
Move default netplan config for server-live image to where hook will
...
pick it up.
7 years ago
Gary.Wzl
8fc8c6dc00
Add a changelog entry.
7 years ago
Michael Hudson-Doyle
233c96a87f
add changelog entry
7 years ago
Dimitri John Ledkov
7b85fa69bb
releasing package livecd-rootfs version 2.457
7 years ago
Dimitri John Ledkov
9c9dbda327
* Enable systemd-networkd by default.
...
- Usually, netplan's systemd-generator enables systemd-networkd and
systemd-networkd-wait-online on boot. But netplan configuration is not
yet generated at that point by cloud-init. Cloud-init generates in the
network-pre.target and expects the network.target /
network-online.target to work. These are already part of the ongoing
systemd transaction, thus cannot be injected into the boot-sequency by
cloud-init local mode. Therefore make sure cloud images include
networkd in the initial boot transaction.
- src:systemd will shortly not enable networkd unconditionally by
default.
* Drop ifupdown e-n-i configuration files, no longer used.
7 years ago
Steve Langasek
c479b4aa1e
releasing package livecd-rootfs version 2.456
7 years ago
Steve Langasek
2386370666
changelog
7 years ago
Steve Langasek
801aad2f77
* Improve teardown_mountpoint to recursively find all submounts and
...
unmount them, instead of working from a hard-coded list. This makes
the code resilient against other submounts being added later, including
downstream.
* Also nuke the sleep / udevadm settle calls in the process, which should
never be required and slow down the builds.
7 years ago
Steve Langasek
7198b6c0ff
releasing package livecd-rootfs version 2.455
7 years ago
Steve Langasek
c9ef91e262
Restore the call to 'umount -R $mountpoint' from umount_partition,
...
accidentally dropped in previous upload.
7 years ago
Steve Langasek
df7bb19cec
releasing package livecd-rootfs version 2.454
7 years ago
Steve Langasek
bacde14e41
Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
...
to use teardown_mountpoint.
7 years ago
Steve Langasek
7757c10c2c
Merge lp:~rcj/livecd-rootfs/trunk
7 years ago
Robert C Jennings
83b4f5338c
live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
...
* live-build/ubuntu-cpc/functions: Add a function, teardown_mountpoint,
to reverse the work done in setup_mountpoint. Lack of this function
has forced users of setup_mountpoint to implement this separately
and the implementations have diverged. (LP: #1716992 )
* live-build/ubuntu-cpc/functions: Remove umount_settle function.
The was only used where teardown_mountpoint was lacking.
7 years ago
Steve Langasek
8589d3548f
live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
...
update *before* installing packages, not after.
7 years ago
Steve Langasek
a246300940
* live-build/functions: mount tmpfs on /var/cache/apt and var/lib/apt, so
...
we don't have to leave empty space in our derivative images for packages
that have been downloaded/installed/removed. This normally isn't
relevant for the installed system, since the root filesystem will
auto-expand in place on the target disk, but lets us ship smaller
images.
* live-build/functions: also call 'apt-get update' after mounting the
blank /var/lib/apt.
7 years ago
Steve Langasek
ece4c400d4
releasing package livecd-rootfs version 2.453
7 years ago
Steve Langasek
148fa39a8e
Merge lp:~cjwatson/livecd-rootfs/recursive-mount-dev
7 years ago
Colin Watson
6a42148b22
Mount and unmount /dev recursively, to cope with setups where there are
...
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
LXD).
7 years ago
Adam Conrad
ee344f1d1a
Add changelog entry for previous commit
7 years ago
Steve Langasek
7d0503d212
releasing package livecd-rootfs version 2.452
7 years ago
Balint Reczey
4d72521491
Fix suppressing kpartx error
7 years ago
Balint Reczey
9ecbce203c
Start working on next upload
7 years ago
Steve Langasek
5c1b9f5c5c
releasing package livecd-rootfs version 2.451
7 years ago
Steve Langasek
62c7528416
add changelog entry
7 years ago
Steve Langasek
a6ef49ccd8
releasing package livecd-rootfs version 2.450
7 years ago
Steve Langasek
33918809c9
add changelog entry
7 years ago
Dimitri John Ledkov
bec201601d
Set a default locale of C.UTF-8 in the cloud images.
7 years ago
Steve Langasek
8aadf2c73d
Set a default locale of C.UTF-8 in the cloud images.
7 years ago
Dimitri John Ledkov
e94b04b0e0
releasing package livecd-rootfs version 2.449
7 years ago
Dimitri John Ledkov
55508d96f7
Drop creating upstart jobs for serial getty.
7 years ago
Balint Reczey
3b37842219
Use VMDKstream in a more future-proof way
8 years ago
Brian Murray
c1bc88e7ce
releasing package livecd-rootfs version 2.448
8 years ago
Robert C Jennings
f05a8a238f
live-build/functions: Update path for VMDKstream.py
...
LP: #1706116
8 years ago
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
8 years ago
Mathieu Trudel-Lapierre
726e6192e0
auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
...
dependency bugs in the livefs is a little clearer.
8 years ago
Steve Langasek
926b22a834
Merge lp:~rbalint/livecd-rootfs/deps
8 years ago
Steve Langasek
9900a84214
releasing package livecd-rootfs version 2.447
8 years ago
Steve Langasek
23d9db863e
Add cm3 as a known ubuntu-core image type. LP: #1698223 .
8 years ago
Balint Reczey
0bee1ec424
Update changelog
8 years ago
Didier Roche
1ce405bb8c
releasing package livecd-rootfs version 2.446
8 years ago
Didier Roche
414c3ba23f
Update changelog
8 years ago
Steve Langasek
8a1ad92cf3
releasing package livecd-rootfs version 2.445
8 years ago
Steve Langasek
fc5bce13fc
Add changelog entries
8 years ago
Steve Langasek
f75be1c606
Resurrect Balint's fix from
...
lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix to wrap kpartx
and trap spurious errors, since the problem is still being seen
intermittently on i386 despite us calling sync before kpartx.
8 years ago
Steve Langasek
a96a371101
releasing package livecd-rootfs version 2.444
8 years ago
Steve Langasek
dbba32fae6
For now, make sure all automated image builds are on the edge channel.
...
Eventually we will want to pass the channel as build metadata instead.
8 years ago
Steve Langasek
6aad636452
releasing package livecd-rootfs version 2.443
8 years ago
Steve Langasek
4f2c623e27
Use xz to compress ubuntu-image .img files before transfer, so that we
...
have smaller downloads and retain file sparseness everywhere.
8 years ago