Commit Graph

1009 Commits (e18fd763eaf3d913f97d20be3ac1579c03781554)

Author SHA1 Message Date
Thomas Bechtold a81972a58b
add configure_oci function and use it in ubuntu-oci
4 years ago
Thomas Bechtold ac4a95b931
Add new ubuntu-oci project
4 years ago
Łukasz 'sil2100' Zemczak 52f3b69331 Enable using ubuntu-server-raspi, clean up handling of raspi setup.
4 years ago
Łukasz 'sil2100' Zemczak b9eb0aaee3 Drop imx6 support as it never really happened.
4 years ago
Łukasz 'sil2100' Zemczak 1d537bf78d Temporarily hack in ubuntu-raspi-settings for raspi images (we should be using seeds tho).
4 years ago
Iain Lane 42409e7068
auto/config: Install pi-bluetooth for raspi images
4 years ago
Sebastien Bacher ed8ee60c98 Desktop is using the hwe kernel, do the same on canary
4 years ago
Łukasz 'sil2100' Zemczak c2733a55f7 Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18.
4 years ago
Dimitri John Ledkov 2f84bc9a84
config: on hirsute build UC22 images
4 years ago
Dimitri John Ledkov a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.
4 years ago
Łukasz 'sil2100' Zemczak dda73b5591 Do not hard-code the UC20 amd64 image size anymore.
4 years ago
Dimitri John Ledkov 8e986c20fd
Merge remote-tracking branch 'seb128/layered-languages-fix' into ubuntu/master
4 years ago
Sebastien Bacher fa5c2092c7 During the layered build generate the right content for no languages
4 years ago
Dimitri John Ledkov e2fd168f50
amd64: always install grub-pc with shim-signed
4 years ago
Dimitri John Ledkov 1c7d688319
auto/config: scope ubuntu:desktop-preinstalled:raspi image options
4 years ago
Dimitri John Ledkov 5d9af7f3c5
auto/config: seed ubuntu-desktop when building hyperv image
4 years ago
Łukasz 'sil2100' Zemczak 5a7b332745 Build classic raspi server images by default from the 'classic' branch now.
4 years ago
Łukasz 'sil2100' Zemczak eda716902e For desktop-preinstalled we don't need cloud-image.
4 years ago
Łukasz 'sil2100' Zemczak fdd8b1cba0 Use the right task name - ubuntu-desktop-raspi.
4 years ago
Łukasz 'sil2100' Zemczak 38157b3748 First batch of changes for raspi desktop.
4 years ago
Steve Langasek 37f5f8881f Revert "Revert "Remove fstab from squashfs images""
4 years ago
Steve Langasek d9de270189 Revert "Remove fstab from squashfs images"
4 years ago
Robert C Jennings e3dce0ab17
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
4 years ago
Dimitri John Ledkov 109e6c6613
auto/build: use setup|teardown_mountpoint to reduce duplication
4 years ago
Robert C Jennings 84397b5098
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
5 years ago
Dimitri John Ledkov 31861fd40d
seccomp: mount more up-to-date seccomp features
5 years ago
Dimitri John Ledkov a14a31b751
apparmor: mount more up-to-date apparmor features in the chroot.
5 years ago
Robert C Jennings 1ca11c9795
Apply snap-preseed optimizations after seeding snaps
5 years ago
David Krauser 4c504f6781 Fix broken minimal cloud image boot on amd64
5 years ago
Balint Reczey f96e874ed1 Remove fstab from squashfs images
5 years ago
Łukasz 'sil2100' Zemczak 40103430d8 Enable overrides of UC20 grade dangerous channels
5 years ago
Dimitri John Ledkov b9177cfd59 Fixup indentation
5 years ago
Dimitri John Ledkov 6e8b5b94c4 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
5 years ago
Dimitri John Ledkov 668898d92c Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
5 years ago
Dimitri John Ledkov 56ac1865f7 Switch Ubuntu desktop to only hwe-20.04 kernel flavour.
5 years ago
Łukasz 'sil2100' Zemczak d2a2ac41a4 Use the raspi KERNEL_FLAVOUR for the raspi images.
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 910310dbbb Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches.
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 95772fd9df Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info
5 years ago
Łukasz 'sil2100' Zemczak e9170e053b Rename the raspi3 SUBARCH to raspi
5 years ago
Dimitri John Ledkov 17dc48cf65 Set uc20 image size to 10G.
5 years ago
Dimitri John Ledkov 438606c5e8 Encode CHANNEL specification in the UC20 model names.
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 f6ca600af2 Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
5 years ago
Łukasz 'sil2100' Zemczak 2870738f00 Merge the manually-pushed 2.636 from Laney.
5 years ago
Łukasz 'sil2100' Zemczak 2ca3cc9720 Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
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
Michael Hudson-Doyle f27b432026 ubuntu-cpc hooks are Different
5 years ago
Michael Hudson-Doyle fb31b64a7c preserve apt preferences for all projects
5 years ago
Michael Hudson-Doyle d38ceab06d fix in case of no preferences
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
Łukasz 'sil2100' Zemczak 474f232840 Snapd for uc20 model assertions does not support global channel overrides.
5 years ago
Łukasz 'sil2100' Zemczak a1daf38b93 Add support for Ubuntu Core 20 builds by supporting uc20 models.
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
David Krauser 52a3471922 Add hooks to build bootable buildd images.
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 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
Michael Hudson-Doyle c89806ba4d Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that.
5 years ago
Michael Hudson-Doyle 4788e90315 Create the lxd group as a system group for all projects. (LP: #1844498)
5 years ago
Robert C Jennings 8cb442c3e8
magic-proxy: dump proxy log to stdout on failure
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 6cd2343bea Fix the styling to fit the rest a bit better.
5 years ago
Łukasz 'sil2100' Zemczak c7f3374f9f Final changes to the 999-ubuntu-image-customization.chroot hook.
5 years ago
Łukasz 'sil2100' Zemczak c3002a563a Merge branch 'u-i-cloud-init' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
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 dc61b17db3 Use iptables-legacy on older kernel versions
5 years ago
Iain Lane b68a5abf65
snap seeding: Defer validation for regular image builds
5 years ago
Colin Watson 9a65a4013d Undivert update-initramfs more carefully
5 years ago
Ł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.
5 years ago
Łukasz 'sil2100' Zemczak b4ba74885f Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures.
6 years ago
Robert C Jennings cb535805d7
ubuntu-cpc: rework image artifact cleanup
6 years ago
David Krauser 5a2b49950a Fixing broken binary hook symlinks for hyperv gallery image builds.
6 years ago
Łukasz 'sil2100' Zemczak 1e275b6b46 Append seeded snaps to manifests for all images.
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
Colin Watson dc85df854b Add tzdata to buildd images
6 years ago
David Krauser 0e3b1e206b
Add support for HyperV Gallery images
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 11756d2d1e Fix typpo when dropping jasper.
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 702ccb4c77 Merge branch 'dead-ubuntu-touch' 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 e3b7b319c1 Merge branch 'uc18-kassel' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov d56653396d Drop ubuntu-rtm configs
6 years ago
Dimitri John Ledkov 44fd9ba9fd Drop ubuntu-touch configs
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 c306763147 Strip translation files out of the minimal images.
6 years ago
Julian Andres Klode bed915a0fb Don't purge busybox-static in minimized, no longer installed
6 years ago
Michael Hudson-Doyle 42992467a1 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118)
6 years ago
Julian Andres Klode e95ad81c47 Run clean_debian_chroot after minimize_manual
6 years ago
Steve Langasek b83f70a2ea Add support for the 'kassel' subflavor of UC18 images.
6 years ago
Tobias Koch 05e71b3840 Do not include any snaps in ubuntu-cpc:minimized builds
6 years ago
Balint Reczey 2d162dd121 Pass --sort=name to tar to make tarballs more reproducible and rsync-friendly
6 years ago
Didier Roche b20cf752e6 Add languages to live pass
6 years ago
Didier Roche 995f3cf9e0 Ensure default langpacks are removed after installation
6 years ago
Jean-Baptiste Lallement 38bb0b3301 Fix grub divert for multilayer images
6 years ago
Steve Langasek ea5f01942f divert grub when calling into lb chroot
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 039ed8ec31 Merge fixing minimized text spacing
6 years ago
Balint Reczey 0182d380ca Nicely separate motd text about minimizing from texts above
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
6 years ago
Colin Watson 36af2769dc Disable merged /usr in buildd images
6 years ago
Tobias Koch 5b70d86f5c Inject a proxy into the build providing a snapshot view of the package repo.
6 years ago
Michael Hudson-Doyle a9991a908e revert change to ubuntu-server:live snap seeding
6 years ago
Jean-Baptiste Lallement f84d92d76f Calculate total size of the image + typos
6 years ago
Jean-Baptiste Lallement 3db920c40c Fixed quoting of subproject variable
6 years ago
Jean-Baptiste Lallement 52d9bd3ead Run live specific scripts on non live layers
6 years ago
Jean-Baptiste Lallement 283871573d Changed the naming scheme for multi layer images to dot format
6 years ago
Jean-Baptiste Lallement addef92e23 Decouple from ubuntu-cdimage & debian-cd landings
6 years ago
Jean-Baptiste Lallement 2d2ce6eea4 Rename chroot.$PASS -> overlay.$PASS
6 years ago
Jean-Baptiste Lallement e0d30dd2d3 Fixed substract -> subtract
6 years ago
Jean-Baptiste Lallement 41becb0af7 Ensure snaps are available on ubuntu-server live
6 years ago
Jean-Baptiste Lallement 3075d65578 Cleanup and handle manifest-remove files
6 years ago
Jean-Baptiste Lallement 9dba350834 Added lb_binary_layered
6 years ago
Jean-Baptiste Lallement 43ec452fa0 Moved reusable functions to functions
6 years ago
Jean-Baptiste Lallement 047f883e92 Various fixes
6 years ago
Jean-Baptiste Lallement 3b21bd9a2e Moved back config helper functions to config
6 years ago
Jean-Baptiste Lallement 42d1d77612 Layered Ubuntu desktop by default
6 years ago
Jean-Baptiste Lallement f3dadf1091 Support for positive and negative sublayers
6 years ago
Jean-Baptiste Lallement 53b06af931 Added sublayers support
6 years ago
Jean-Baptiste Lallement 78c196031b Add snaps to manifest
6 years ago
Jean-Baptiste Lallement ef72cf5fe8 Code refactoring:
6 years ago
Jean-Baptiste Lallement 6a7368bf95 Clean-up dead code for server live builds.
6 years ago
Jean-Baptiste Lallement d4f7a0b23d live-build/auto/config: Added ubuntu-desktop-minimal to install-minimal task
6 years ago
Jean-Baptiste Lallement d5a16296f4 live-build/auto/build: Create one manifest by layer in diff format and one full manifest with all the layers in standard format
6 years ago
Jean-Baptiste Lallement ca63d43696 live-build/auto/build: Add size of the filesystems. This is used by the installer to calculate the minimum partition size to reserve for installation. The installer will have to sum all the sizes to compute the final size. Thank didrocks
6 years ago
Jean-Baptiste Lallement b6287916c2 auto/build: Order generated squashfs filesystems
6 years ago
Jean-Baptiste Lallement ce973ba07b auto/build: Removed useless comment
6 years ago
Jean-Baptiste Lallement 7b4acba31d * Added lb_chroot_layered to add support for multi layered squashfs images
6 years ago
Jean-Baptiste Lallement 3e34faaa70 Moved add_task and add_package to functions in order to be available in hooks
6 years ago
Łukasz 'sil2100' Zemczak b3dd27aedd Use linux-firmware-raspi2 instead of raspi3-firmware.
6 years ago
Colin Watson 2b15590f3b Fix buildd images for series earlier than bionic
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 abec4f4c1d Link to the proper name instead.
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 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
Łukasz 'sil2100' Zemczak 85eed4a91d Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets.
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 c4e5659217 do not include kernel in base install for ubuntu-server:live
6 years ago
Michael Hudson-Doyle 4b01505952 Fix typo preventing builds of ubuntu-core images.
6 years ago
Tobias Koch cbd4eb5717 Use series files with dependency handling to generate hook symlinks dynamically
6 years ago
Steve Langasek 5300bb9eb7 Key netplan delegation to NetworkManager on presence of
6 years ago
Łukasz 'sil2100' Zemczak 6345ccd34c Add a few minor fixes for raspi3 builds.
6 years ago
Łukasz 'sil2100' Zemczak d3eb3dd0ac Add missing arguments to ubuntu-image classic calls.
6 years ago
Łukasz 'sil2100' Zemczak c229012efb Add raspi3 arm64 rootfs build support.
6 years ago
Łukasz 'sil2100' Zemczak 65d907268a raspi3 support: be sure to create /boot/firmware during pi3 rootfs builds. Also, for the raspi3 we need to explicitly specify the kernel flavor to raspi2. We also switch to using raspi3-firmware instead of linux-firmware-raspi2 because the latter is not available for arm64.
6 years ago
Steve Langasek 6ee39485dd Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic
6 years ago
Łukasz 'sil2100' Zemczak 05a8be839f Do the same for ubuntu-image snap builds.
6 years ago
Łukasz 'sil2100' Zemczak 8a33b23dd0 Use -O instead of -o for ubuntu-image classic builds.
6 years ago
Łukasz 'sil2100' Zemczak 2947cdbe60 First batch of obvious changes - use better shellism, only call make (without make install).
6 years ago
Steve Langasek b3c9d8bac8 Merge lp:~sil2100/livecd-rootfs/raspi3-u-i-classic
6 years ago
Steve Langasek 77c44167df Delete no longer accurate comments
6 years ago
Cody Shepherd c7e0c27607 [ Cody Shepherd ]
6 years ago
Dimitri John Ledkov 8868522e78 When calling snap-seed-parse append stdout to file, but redirect
6 years ago
Steve Langasek 1e1c6a8572 Properly fix the hard-linking of vmlinuz, taken astray by my misguided
6 years ago
Łukasz 'sil2100' Zemczak a3a9b2ab60 Merge latest prerequisite branch.
6 years ago
Łukasz 'sil2100' Zemczak b0910cbe50 Remove more unneeded raspi3 conditionals.
6 years ago
Łukasz 'sil2100' Zemczak 37f3cb1714 Merge latest prerequisite branch.
6 years ago
Łukasz 'sil2100' Zemczak 2e3c7d050c Remove unneeded code and code duplication, add comments.
6 years ago
Łukasz 'sil2100' Zemczak 6ac3384f34 Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak a274206e1a Don't overcomplicate bash conditionals.
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
Łukasz 'sil2100' Zemczak f8529c9038 Add support for building classic images using makefile-based gadget trees.
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).
6 years ago
Łukasz 'sil2100' Zemczak e115b2cbe7 Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a
6 years ago
Łukasz 'sil2100' Zemczak 4f6e5dc11e For the pc model, the name changed so we need to special case it a bit.
6 years ago
Łukasz 'sil2100' Zemczak 1498baada5 The model assertions for 18 don't actually use series=18 because that would be too logical.
6 years ago
Łukasz 'sil2100' Zemczak c184977a90 Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18.
6 years ago
Robert C Jennings 9f96dcb4de Add the server snap seed to the ubuntu-cpc project
6 years ago
Michael Hudson-Doyle 791d2adfd8 merge trunk
6 years ago
Adam Conrad 94230324e0 Stop building buildd chroots with --xattrs until we move to python3.
6 years ago
Colin Watson bb652c238f Merge trunk.
6 years ago
Colin Watson c4c5c1f349 Generate tar file with --xattrs.
6 years ago
Julian Andres Klode 1746e65953 Reorganize minimal-manual file location.
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 fc6907b701 fixup: Do not assume current directory
6 years ago
Julian Andres Klode 2e9349c543 minimize-manual.py: Followup with some cleanup, correct permissions
6 years ago
Julian Andres Klode 9360135b2c Minimize the number of manually installed packages in images by marking
6 years ago
Michael Hudson-Doyle e804cc4e00 a less hackish approach
6 years ago
Michael Hudson-Doyle a261471969 a less hackish approach
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
6 years ago
Steve Langasek 3db2340c54 generate all tar files with --xattrs. LP: #1302192.
6 years ago
Michael Hudson-Doyle 333a3e2b1b moderate comment
7 years ago
Michael Hudson-Doyle 092b316357 add a comment explaining why /dev cleaning is docker-only
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
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
Colin Watson baee4ed403 We know cosmic's name now.
7 years ago
Colin Watson 8b1970f661 live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
7 years ago
Daniel Watkins 80459b6c1b ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472).
7 years ago
Michael Hudson-Doyle 664ace2f30 man un-diverting man idempotent
7 years ago
Michael Hudson-Doyle 7c7c2c5b30 rm -r the lists
7 years ago
Michael Hudson-Doyle ccef323973 go back to having docker unminimize not install any extra packages
7 years ago
Michael Hudson-Doyle 2fc3993d48 Remove apt lists that are currently removed downstream anyway.
7 years ago
Michael Hudson-Doyle fa1bce5389 still install a few packages in docker unminimize
7 years ago
Michael Hudson-Doyle 514faae2db divert /usr/bin/man in minimized images to a script that mentions the unminimize script
7 years ago
Michael Hudson-Doyle 7e1bd33544 do not install ubuntu-minimal in ubuntu-base's unminimize
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 480e02443e Drop seed workarounds for unbuilt Lubuntu Next.
7 years ago
Colin Watson 1fab544a84 Add init to buildd chroots, since it's needed for LXD-based builds.
7 years ago
Colin Watson b77de06bfd Remove some unnecessary buildd configuration.
7 years ago
Colin Watson 07487675b6 Sort buildd tarballs by name and use numeric user and group IDs.
7 years ago
Colin Watson 416093beec Use a public-facing mirror URL in the final buildd /etc/apt/sources.list.
7 years ago
Colin Watson cb22177287 Add a buildd subproject.
7 years ago
Steve Langasek e6089e9e32 Remove landscape-common from minimal image, and handle restoring it in
7 years ago
Michael Hudson-Doyle 65dd7df171 last minute pre-upload typo fix
7 years ago
Michael Hudson-Doyle aacb8daaee merge trunk
7 years ago
Steve Langasek c46962ca2e Refactor snap preseeding to allow additional snaps to be preseeded from
7 years ago
Robert C Jennings 73dba1f31a snap preseeding: capture Ubuntu snap seeding policy in code
7 years ago
Robert C Jennings 57261c3edf auto/build: Install snaps using common functions
7 years ago
Iain Lane e68923777e merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling
7 years ago
Steve Langasek 4bb0414a5d Make sure we call the build "minimal" within the cloud build info,
7 years ago
Christopher Glass 51c663a892 Fixed whitespace/tabs.
7 years ago
Michael Hudson-Doyle 3cb1f38cf2 Set the default locale to C.UTF-8 in all server and cloud images.
7 years ago
Simon Quigley e4151ca741 Proper bash is rad, let's do it.
7 years ago
Simon Quigley 10ebe98d84 Special-case Lubuntu's seeds so that the minimal install works.
7 years ago
Christopher Glass 0b2239c069 Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware".
7 years ago
Dimitri John Ledkov bfa43c1c5c On amd64, if building minimal images for bionic, xenial, or extra ppa,
7 years ago
Michael Hudson-Doyle c787069c5c do not set INITRAMFS_COMPRESSION for projects that end up passing --initramfs=none to lb config
7 years ago
Michael Hudson-Doyle d46edbffdb reduce duplication somewhat
7 years ago
Michael Hudson-Doyle b7f3ec398b Make lzma initramfs compression opt-in rather than opt-out, and do not
7 years ago
Michael Hudson-Doyle 0d750f78bc Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
7 years ago
Steve Langasek 90ef53cef1 Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
7 years ago
Iain Lane ba4b16626f live-build-auto/{build,config}: Support fetching a file from the seed
7 years ago
Michael Hudson-Doyle 57200eaa01 tyop
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 d46e397b24 merge trunk
7 years ago
Steve Langasek 131f14d33c Use Ubuntu-specific branches when seeding snaps, as required in
7 years ago
Michael Hudson-Doyle 15d9269e57 Install linux-signed-generic in the live-server image. (LP: #1749065)
7 years ago
Mathieu Trudel-Lapierre 762536b5bf live-build/auto/config: Take into account SUBPROJECT when setting seeded
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.
7 years ago
Adam Conrad 925e470693 Fix incorrect shell variable quoting.
7 years ago
Steve Langasek 2c40db69bc Update hostname matches for launchpad buildds to match current practice,
7 years ago
Iain Lane 72edc20589 Set ports/archive as appropriate for default mirror - should fix
7 years ago
Iain Lane 9e09b3172c Set a default archive mirror - needed for germinate.
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 9bd0fd192f Specify seeds for all flavours too
7 years ago
Iain Lane 9978fd7b39 Support seeding of snaps, as emitted by germinate >= 2.27.
7 years ago
Iain Lane 77de6a289f snap: Add BASE_SEED for all desktop flavours
7 years ago
Iain Lane 26612d0b26 snap: move the seeding block down, so that it is common to all flavours
7 years ago
Robert C Jennings d41cc70bf5 ubuntu-cpc: Initramfs compression should match runtime default (LP: #1744114)
7 years ago
Steve Langasek e6a66dd3bf Add support for passing snap channel to ubuntu-core image builds.
7 years ago
Balint Reczey df89bff043 Drop Nexus 7 support
7 years ago
Balint Reczey 34dd1fb2f4 Revert to building minimized and not minimimized images with the same ~2.2 GiB size
7 years ago
Iain Lane 07873ec528 Support seeding of snaps
7 years ago
Michael Hudson-Doyle 0113b9aad7 self-review
7 years ago
Michael Hudson-Doyle 26753602fe Move casper from filesystem.squashfs to installer.squashfs.
7 years ago
Dimitri John Ledkov 5f64c373f1 Drop android-tools-fsutils dependency, and instead install it on
7 years ago
Balint Reczey 532bd5b5ed Build minimized images in a 1GiB image
7 years ago
Balint Reczey 89e87b4c2c Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in default string
7 years ago
Steve Langasek 49e17b717e Fix lingering reference to livecd-rootfs.ubuntu-core.model-assertion
7 years ago
Steve Langasek f384f10867 Merge lp:~vorlon/livecd-rootfs/minimize-round-two
7 years ago
Steve Langasek ea2840ddfc fix wrong use of PREFIX literal
7 years ago
Steve Langasek 7c07f8a65b Change ubuntu-core image builds to use the standard "$PREFIX" naming for
7 years ago
Steve Langasek 02246dbf84 move configuration bits into live-build/auto/config from live-build/auto/build, per Adam
7 years ago
Steve Langasek 696ae6e1eb Name the manifest the way ubuntu-cdimage expects it for subarchs
7 years ago
Steve Langasek e96fa8b878 ubuntu-image now produces a manifest file listing the snap revisions
7 years ago
Steve Langasek b3cf7b9013 The target for x86 ubuntu-core images is VMs, so create them with
7 years ago
Gary.Wzl 78da9b579b Per the suggestions, we exclude all binary hooks when IMAGEFORMAT is none.
7 years ago
Steve Langasek 083d58397c Make sure to remove any initramfs that was generated in a minimized
7 years ago
Steve Langasek f91a9f16ee Also remove old dpkg files from the live images
7 years ago
Gary.Wzl c260534758 Add the IMAGEFORMAT=none to support generating a single rootfs.
7 years ago
Steve Langasek df94729c60 sync with purge-initramfstools branch
7 years ago
Steve Langasek e99636027f busybox-initramfs and busybox-static have reverse-recommends, so it's not enough to use apt-mark auto; remove these packages by name.
7 years ago
Steve Langasek d24ca0490b Pass --cache false to lb config; otherwise we copy around caches of
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 56a85e74c9 Also mark busybox-{initramfs,static} as automatically installed, so they can be removed again
7 years ago
Steve Langasek 08a5fc58ba Remove apt, debconf cruft files from /var/cache in all our livefses.
7 years ago
Balint Reczey 314655a2ae Skip installing server task when building minimial images
7 years ago
Balint Reczey d6bb42bc63 Use kvm kernel only on amd64
7 years ago
Steve Langasek 7798e70d8f Purge initramfs-tools from minimized images.
7 years ago
Steve Langasek 58be5d5712 Merge lp:~vorlon/livecd-rootfs/snap-in-mate/
7 years ago
Steve Langasek e509a81f1d Unminimization information should only go to motd when we are actually
7 years ago
Steve Langasek 1bcb0009ac mkdir before use
7 years ago
Steve Langasek aec4452acf Fix quoting
7 years ago
Steve Langasek c61850e168 Use regular chroot, not the Chroot wrapper, so we can actually debug our failing command
7 years ago
Steve Langasek e59db65edb Add initial support for preinstallation of snaps in images, and
7 years ago
Steve Langasek f296ec41c7 Merge lp:~vorlon/livecd-rootfs/generic-model-assertion-handling
7 years ago
Steve Langasek 4204faa484 If we're not on xenial and don't have extra ppas, don't try to use the kvm flavor for minimal images since it's not currently available.
7 years ago
Steve Langasek 203eb6251f mkdir our assertions dir
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
7 years ago
Steve Langasek fffec4782f skip installation of kernel headers for all minimal images
7 years ago
Steve Langasek a85cf55f29 Use kvm kernel flavor for minimized cloud image, not virtual
7 years ago
Steve Langasek 4561f17d35 Merge lp:~rbalint/livecd-rootfs/minimized
7 years ago
Balint Reczey f0cb85a506 When SUBPROJECT environment variable is not set assume it to be ""
7 years ago
Balint Reczey 2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency
7 years ago
Balint Reczey d496915741 Warn users that unminimize may fail reinstalling packages
7 years ago
Balint Reczey 69c1eb6d26 Mention unminimize script in motd
7 years ago
Balint Reczey 2858d7fb62 Print the documentation files which could not be restored by unminimize
7 years ago
Balint Reczey e28933a1d5 Explain why unminimization script is a bit complicated
7 years ago
Balint Reczey 583d813b9b Verify only documentation that should have been restored after unminimization
7 years ago
Balint Reczey 3532fa0b18 Use "dpkg --verify-format rpm" explicitly to be safe when the default changes
7 years ago
Balint Reczey 11da0c59a5 Fix typo
7 years ago
Balint Reczey d5483eb728 Install ubuntu-minimal while unminimizing the system
7 years ago
Balint Reczey 6672dde922 Add unminimize script for reverting minimization on running system
7 years ago
Balint Reczey bb7e620701 Drop man pages and most of the documentation from minimized images
7 years ago
Steve Langasek 83f165ec91 if we're using SUBPROJECT=minimize, and tzdata is not installed, remove
7 years ago
Steve Langasek 95890f6713 We probably still want sudo, even in a minimal image.
7 years ago
Steve Langasek e6bbe5f8a5 Export the subproject into config/chroot and config/binary, so that this
7 years ago
Steve Langasek abbbeb8fda Begin adding support for a project-independent 'minimize' subproject,
7 years ago
Gary.Wzl 8a8d203743 * Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
7 years ago
Gary.Wzl 228ed7c87b Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions.
7 years ago
Gary.Wzl eb76178ab5 Support to only generate rootfs via variable (GENERATE_ROOTFS_ONLY).
7 years ago
Gary.Wzl 84da578380 Add IMAGETYPE to support classic image creation by ubuntu-image.
7 years ago
Balint Reczey cfda7d20bd Use xz -T4 -0 instead of pxz
8 years ago
Mathieu Trudel-Lapierre 726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
8 years ago
Steve Langasek 926b22a834 Merge lp:~rbalint/livecd-rootfs/deps
8 years ago
Steve Langasek 23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223.
8 years ago
Balint Reczey 6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime
8 years ago
Didier Roche 1260f67b8a Build ubuntu back with tasks. The metapackage switch was due to g++ transition
8 years ago
Simon Quigley 0d82c84cdf Update the file based on gilir's feedback
8 years ago
Simon Quigley 538c89f984 Set correct tasks for Lubuntu
8 years ago
Steve Langasek dbba32fae6 For now, make sure all automated image builds are on the edge channel.
8 years ago
Steve Langasek 4f2c623e27 Use xz to compress ubuntu-image .img files before transfer, so that we
8 years ago
Mathieu Trudel-Lapierre d463581569 Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk.
8 years ago
Mathieu Trudel-Lapierre 2e21d6d6b1 The ubuntu-server:live should use a casper-based initramfs to work
8 years ago
Mathieu Trudel-Lapierre 03c991faef Setup kernel properly for ubuntu-server:live; we *do* want to build
8 years ago
Balint Reczey 0109d5304e Optionally use ubuntu-image for building snap based images
8 years ago
Balint Reczey f807c3703a Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server
8 years ago
Balint Reczey 44f9dceeb4 Require PROJECT environment to be set for lb build
8 years ago
Mathieu Trudel-Lapierre 4613a2c82e Don't outright remove fstab for ubuntu-server:live, that breaks grub-legacy-ec2.
8 years ago
Mathieu Trudel-Lapierre 46bae4cebf Fix up functions refactoring tfor a proper path to the file.
8 years ago
Mathieu Trudel-Lapierre ab949fac18 Rename ubuntu-server-live -> ubuntu-server
8 years ago
Mathieu Trudel-Lapierre 46fd6c58f5 Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
8 years ago