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.
2020-07-16 17:25:46 -04:00
Balint Reczey
f96e874ed1
Remove fstab from squashfs images
...
The default fstab is not valid, since squashfs does not support labels.
LP: #1877078
2020-06-16 22:14:59 +02:00
Łukasz 'sil2100' Zemczak
40103430d8
Enable overrides of UC20 grade dangerous channels
2020-05-25 19:11:22 +02:00
Dimitri John Ledkov
b9177cfd59
Fixup indentation
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-07 15:09:57 +01:00
Dimitri John Ledkov
6e8b5b94c4
ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
...
LP: #1876358
2020-05-01 19:50:41 +01:00
Dimitri John Ledkov
668898d92c
Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
...
LP: #1875430
2020-05-01 19:43:30 +01:00
Dimitri John Ledkov
56ac1865f7
Switch Ubuntu desktop to only hwe-20.04 kernel flavour.
2020-04-16 01:30:31 +01:00
Łukasz 'sil2100' Zemczak
d2a2ac41a4
Use the raspi KERNEL_FLAVOUR for the raspi images.
2020-04-08 10:06:09 +02:00
Dimitri John Ledkov
910310dbbb
Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches.
2020-03-13 20:18:16 +00:00
Łukasz 'sil2100' Zemczak
40c51f78b8
Switch to using the generic pi gadget repo for classic, use the main branches.
2020-03-06 11:57:47 +01:00
Łukasz 'sil2100' Zemczak
95772fd9df
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info
2020-03-06 11:38:42 +01:00
Łukasz 'sil2100' Zemczak
e9170e053b
Rename the raspi3 SUBARCH to raspi
2020-02-21 12:46:43 +01:00
Dimitri John Ledkov
17dc48cf65
Set uc20 image size to 10G.
2020-02-10 12:43:39 +00:00
Dimitri John Ledkov
438606c5e8
Encode CHANNEL specification in the UC20 model names.
2020-02-07 22:18:04 +00:00
Dimitri John Ledkov
f6ca600af2
Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
2020-01-28 15:05:36 +00:00
Łukasz 'sil2100' Zemczak
2870738f00
Merge the manually-pushed 2.636 from Laney.
2020-01-24 18:47:22 +01:00
Łukasz 'sil2100' Zemczak
2ca3cc9720
Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
2020-01-16 18:55:24 +01:00
Łukasz 'sil2100' Zemczak
fc6d956269
Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder.
2019-12-13 18:13:36 +01:00
Michael Hudson-Doyle
f27b432026
ubuntu-cpc hooks are Different
2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
fb31b64a7c
preserve apt preferences for all projects
2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
d38ceab06d
fix in case of no preferences
2019-12-13 13:16:34 +13:00
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 )
2019-12-13 13:16:33 +13:00
Łukasz 'sil2100' Zemczak
474f232840
Snapd for uc20 model assertions does not support global channel overrides.
2019-12-12 16:58:42 +01:00
Łukasz 'sil2100' Zemczak
a1daf38b93
Add support for Ubuntu Core 20 builds by supporting uc20 models.
2019-12-10 15:27:06 +01:00
Dimitri John Ledkov
3551fc1a02
Ship two kernel flavours on desktop image.
2019-12-09 14:47:08 +00:00
Dimitri John Ledkov
39f675eaf6
Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it.
2019-12-09 14:21:49 +00:00
David Krauser
52a3471922
Add hooks to build bootable buildd images.
...
Only install policyrcd-script-zg2 in lxd tarball.
2019-11-07 13:55:37 -05:00
Łukasz 'sil2100' Zemczak
ac40cadf08
Support fetching classic gadget trees from a non-github-mirrored launchpad repo.
2019-10-30 14:09:23 +01:00
Łukasz 'sil2100' Zemczak
2896d39a7a
Make sure the imx6 subarch uses the ubuntu-image imageformat.
2019-10-29 12:33:20 +01:00
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.
2019-10-13 23:16:48 -06:00
Michael Hudson-Doyle
c89806ba4d
Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that.
2019-10-09 14:34:08 +13:00
Michael Hudson-Doyle
4788e90315
Create the lxd group as a system group for all projects. (LP: #1844498 )
2019-10-09 10:12:32 +13:00
Łukasz 'sil2100' Zemczak
1f8f86c17c
Final fix to 999-ubuntu-image-customization.chroot, tested to be working.
2019-09-19 14:03:14 +02:00
Łukasz 'sil2100' Zemczak
6cd2343bea
Fix the styling to fit the rest a bit better.
2019-09-16 14:55:32 +02:00
Łukasz 'sil2100' Zemczak
c7f3374f9f
Final changes to the 999-ubuntu-image-customization.chroot hook.
2019-09-16 14:46:04 +02:00
Łukasz 'sil2100' Zemczak
c3002a563a
Merge branch 'u-i-cloud-init' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
2019-09-10 10:46:12 +02:00
Łukasz 'sil2100' Zemczak
d7c4bb4d85
Do not initialize EXTRA_SNAPS with an empty value. Allow overrides via the environment.
2019-09-06 12:09:08 +02:00
Łukasz 'sil2100' Zemczak
006ed85460
Add support for the Nitrogen6x board.
2019-09-05 17:31:51 +02:00
Łukasz 'sil2100' Zemczak
f6cbbf01e1
Add a new u-i specific chroot hook, move the NoCloud system-boot cloud-init datasource configuration there to make sure all u-i built ship with it.
2019-08-08 12:22:33 +02:00
Łukasz 'sil2100' Zemczak
b4ba74885f
Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures.
2019-07-23 18:19:33 +02:00
David Krauser
5a2b49950a
Fixing broken binary hook symlinks for hyperv gallery image builds.
2019-07-17 15:27:06 -04:00
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.
2019-06-20 23:27:36 +01:00
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.
2019-06-19 17:20:54 +01:00
David Krauser
0e3b1e206b
Add support for HyperV Gallery images
2019-06-11 23:26:07 -04:00
Dimitri John Ledkov
3d36dc0794
Stop overriding initramfs compression default to lzma. LP: #1831736
2019-06-05 13:47:09 +01:00
Dimitri John Ledkov
11756d2d1e
Fix typpo when dropping jasper.
2019-06-04 23:51:50 +01:00
Dimitri John Ledkov
de1055de29
Merge branch 'dead-ubuntu-rtm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
2019-06-04 23:43:52 +01:00
Dimitri John Ledkov
702ccb4c77
Merge branch 'dead-ubuntu-touch' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
2019-06-04 23:42:31 +01:00
Dimitri John Ledkov
af96b80116
Merge branch 'dead-ubuntu-desktop-next' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
2019-06-04 23:40:37 +01:00
Dimitri John Ledkov
97adf4c160
Merge branch 'drop-old-arm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
2019-06-04 23:39:44 +01:00