Commit Graph

  • e9fc1d8c9f Install ubuntu-minimal while unminimizing the system Balint Reczey 2017-09-28 09:38:23 -04:00
  • 5e1d0f0ee7 Add unminimize script for reverting minimization on running system Balint Reczey 2017-09-28 09:38:23 -04:00
  • 9dd178a0e5 Drop man pages and most of the documentation from minimized images Balint Reczey 2017-09-28 09:38:23 -04:00
  • c2d66c7d96 Source config/binary instead of /build/config/binary which may not exist Balint Reczey 2017-09-28 09:38:23 -04:00
  • bd2a11774f if we're using SUBPROJECT=minimize, and tzdata is not installed, remove files that have been left behind. This is a workaround for a bug that should be fixed in tzdata. Steve Langasek 2017-09-28 09:38:23 -04:00
  • cd15b730f7 In a cloud environment, we can rely on the kernel being able to boot the root filesystem directly, without an initramfs; enable this when building minimized. Steve Langasek 2017-09-28 09:38:21 -04:00
  • 5a6f68a1a9 We probably still want sudo, even in a minimal image. Steve Langasek 2017-09-28 09:34:31 -04:00
  • 86108d69d9 Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen Steve Langasek 2017-09-28 09:34:31 -04:00
  • 95b06ff341 Export the subproject into config/chroot and config/binary, so that this information is available to per-project hooks that need to be subproject-aware (e.g., to skip steps when SUBPROJECT=minimize) Steve Langasek 2017-09-28 09:34:31 -04:00
  • 527a7b165e Begin adding support for a project-independent 'minimize' subproject, which (ironically) omits ubuntu-minimal in favor of using only the minbase package set. Steve Langasek 2017-09-28 09:34:31 -04:00
  • 8c4ef15806 releasing package livecd-rootfs version 2.460 2.460 Steve Langasek 2017-09-28 09:24:41 -04:00
  • 0e23c75afa Merge lp:~rbalint/livecd-rootfs/minimize-unminimize Steve Langasek 2017-09-28 09:21:20 -04:00
  • 83c2984556 Update changelog Balint Reczey 2017-09-27 18:54:21 -04:00
  • c5d01a6635 Force partuuid in /etc/default/grub.d/* instead of in /etc/default/grub Balint Reczey 2017-09-27 18:54:09 -04:00
  • 0365171ce3 minimization handling for UEFI disk images Steve Langasek 2017-09-26 22:39:09 -04:00
  • 2858d7fb62 Print the documentation files which could not be restored by unminimize Balint Reczey 2017-09-26 22:39:09 -04:00
  • e28933a1d5 Explain why unminimization script is a bit complicated Balint Reczey 2017-09-26 22:39:09 -04:00
  • 583d813b9b Verify only documentation that should have been restored after unminimization Balint Reczey 2017-09-26 22:39:09 -04:00
  • 3532fa0b18 Use "dpkg --verify-format rpm" explicitly to be safe when the default changes Balint Reczey 2017-09-26 22:39:09 -04:00
  • 11da0c59a5 Fix typo Balint Reczey 2017-09-26 22:39:09 -04:00
  • 9dd615d380 Drop initramfs-tools diversion Balint Reczey 2017-09-26 22:39:09 -04:00
  • d5483eb728 Install ubuntu-minimal while unminimizing the system Balint Reczey 2017-09-26 22:39:09 -04:00
  • 6672dde922 Add unminimize script for reverting minimization on running system Balint Reczey 2017-09-26 22:39:09 -04:00
  • bb7e620701 Drop man pages and most of the documentation from minimized images Balint Reczey 2017-09-26 22:39:09 -04:00
  • d65e1edfd1 Source config/binary instead of /build/config/binary which may not exist Balint Reczey 2017-09-26 22:39:09 -04:00
  • 83f165ec91 if we're using SUBPROJECT=minimize, and tzdata is not installed, remove files that have been left behind. This is a workaround for a bug that should be fixed in tzdata. Steve Langasek 2017-09-26 22:39:09 -04:00
  • 3ed1f4fdd1 In a cloud environment, we can rely on the kernel being able to boot the root filesystem directly, without an initramfs; enable this when building minimized. Steve Langasek 2017-09-26 22:39:09 -04:00
  • 95890f6713 We probably still want sudo, even in a minimal image. Steve Langasek 2017-09-26 22:39:09 -04:00
  • 786370819c Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen Steve Langasek 2017-09-26 22:39:09 -04:00
  • e6bbe5f8a5 Export the subproject into config/chroot and config/binary, so that this information is available to per-project hooks that need to be subproject-aware (e.g., to skip steps when SUBPROJECT=minimize) Steve Langasek 2017-09-26 22:39:09 -04:00
  • abbbeb8fda Begin adding support for a project-independent 'minimize' subproject, which (ironically) omits ubuntu-minimal in favor of using only the minbase package set. Steve Langasek 2017-09-26 22:39:08 -04:00
  • 7c58bcecf0 Merge lp:~rbalint/livecd-rootfs/vagrant Steve Langasek 2017-09-26 12:19:56 -04:00
  • 9c9e8c4e4f Mount using --make-rslave to ensure safe unmounts for rbind mounts Steve Langasek 2017-09-26 01:10:15 -04:00
  • 12b1a5de4d Merge lp:~rbalint/livecd-rootfs/mount-make-rslave Steve Langasek 2017-09-26 00:59:56 -04:00
  • 20617c6f51 Don't ask for password and GECOS while creating vagrant user Balint Reczey 2017-09-25 18:02:09 -04:00
  • 8d43597228 add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service Michael Hudson-Doyle 2017-09-25 15:03:18 -04:00
  • 45201111a6 Mount using --make-rslave to ensure safe unmounts for rbind mounts Balint Reczey 2017-09-25 11:42:28 -04:00
  • 060069bc77 Import patches-unapplied version 2.459 to ubuntu/artful-proposed Michael Hudson-Doyle 2017-09-21 11:34:20 +12:00
  • 6d5ab03a14 releasing package livecd-rootfs version 2.459 2.459 Michael Hudson-Doyle 2017-09-21 11:35:07 +12:00
  • 7a6a1a3987 Merge lp:~mwhudson/livecd-rootfs/server-live-disable-console-spam Steve Langasek 2017-09-20 16:33:06 -07:00
  • 5355732bc8 * Add GENERATE_ROOTFS_ONLY to support generating a single rootfs. * Add a test for SUBPROJECT when PROJECT comes to ubuntu-server. Gary.Wzl 2017-09-20 18:23:35 +08:00
  • 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. Gary.Wzl 2017-09-20 18:15:16 +08:00
  • 61764acade only show alert (i.e. panic) kernel messages on the console when subiquity is running Michael Hudson-Doyle 2017-09-20 11:59:57 +12:00
  • f16611774f * 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. Steve Langasek 2017-09-19 13:45:37 -07:00
  • bcb2bcc1cd Remove spurious call to 'sync'; we don't need to flush all disk caches on the system to cleanly unmount a partition. Steve Langasek 2017-09-19 13:17:26 -07:00
  • 2b208d7287 Merge lp:~vtapia/livecd-rootfs/xenial-proposed-lp1444992 Steve Langasek 2017-09-19 13:02:05 -07:00
  • e4b41272e2 Import patches-unapplied version 2.458 to ubuntu/artful-proposed Michael Hudson-Doyle 2017-09-18 10:47:59 +12:00
  • f16f1c4229 Move default netplan config for server-live image to where hook will pick it up. 2.458 Dimitri John Ledkov 2017-09-19 12:07:35 +01:00
  • 13e9dc0089 live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI Initiator Name at first iscsid run for cloud images to ensure it is unique (LP: #1444992). Victor Tapia 2017-09-19 11:03:29 +02:00
  • 9802843885 make file paths a bit less comical Michael Hudson-Doyle 2017-09-19 19:18:09 +12:00
  • 8fc8c6dc00 Add a changelog entry. Gary.Wzl 2017-09-18 09:54:22 +08:00
  • 54c78064d2 Add GENERATE_ROOTFS_ONLY to support to generate a single rootfs. Gary.Wzl 2017-09-18 09:50:04 +08:00
  • 228ed7c87b Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions. Gary.Wzl 2017-09-18 09:38:20 +08:00
  • 233c96a87f add changelog entry Michael Hudson-Doyle 2017-09-18 10:48:36 +12:00
  • 4941d4ee14 move default netplan to where the hook will pick it up Michael Hudson-Doyle 2017-09-18 10:47:06 +12:00
  • 7fd585146b Import patches-unapplied version 2.457 to ubuntu/artful-proposed Dimitri John Ledkov 2017-09-17 15:17:45 +01:00
  • 7b85fa69bb releasing package livecd-rootfs version 2.457 2.457 Dimitri John Ledkov 2017-09-17 16:29:22 +01:00
  • 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. Dimitri John Ledkov 2017-09-14 17:17:57 +01:00
  • d59199fe59 Import patches-unapplied version 2.408.18 to ubuntu/xenial-proposed Steve Langasek 2017-09-13 22:10:11 -07:00
  • 62cc84825d Import patches-unapplied version 2.456 to ubuntu/artful-proposed Steve Langasek 2017-09-13 22:35:03 -07:00
  • c479b4aa1e releasing package livecd-rootfs version 2.456 2.456 Steve Langasek 2017-09-13 22:35:05 -07:00
  • 7f9094170b remove another straggler udevadm+sleep Steve Langasek 2017-09-13 22:34:11 -07:00
  • 2386370666 changelog Steve Langasek 2017-09-13 22:31:33 -07:00
  • 456677fa30 releasing package livecd-rootfs version 2.441.8 2.441.8 Steve Langasek 2017-09-13 22:27:50 -07:00
  • fee38a796f Install udev before calls to udevadm Steve Langasek 2017-09-13 22:27:43 -07:00
  • d330c595ae releasing package livecd-rootfs version 2.408.18 2.408.18 Steve Langasek 2017-09-13 22:10:29 -07:00
  • 410703eae5 Merge lp:~rcj/livecd-rootfs/xenial-proposed Steve Langasek 2017-09-13 22:10:07 -07:00
  • a623618e2c Install udev before calls to udevadm Robert C Jennings 2017-09-13 21:05:22 -05:00
  • 03d7dff3ff Merge lp:~mwhudson/livecd-rootfs/default-netplan-for-server-live Steve Langasek 2017-09-13 18:04:33 -07:00
  • 3adf9af2a9 Import patches-unapplied version 2.455 to ubuntu/artful-proposed Steve Langasek 2017-09-13 12:50:10 -07:00
  • 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. Steve Langasek 2017-09-13 13:42:28 -07:00
  • 7198b6c0ff releasing package livecd-rootfs version 2.455 2.455 Steve Langasek 2017-09-13 12:50:13 -07:00
  • c9ef91e262 Restore the call to 'umount -R $mountpoint' from umount_partition, accidentally dropped in previous upload. Steve Langasek 2017-09-13 12:50:07 -07:00
  • 803cf10633 Import patches-unapplied version 2.408.17 to ubuntu/xenial-proposed Steve Langasek 2017-09-13 12:21:30 -07:00
  • efbd6fd1c6 Import patches-unapplied version 2.454 to ubuntu/artful-proposed Steve Langasek 2017-09-13 12:04:48 -07:00
  • 8191cbfa4a releasing package livecd-rootfs version 2.441.7 2.441.7 Steve Langasek 2017-09-13 12:48:31 -07:00
  • 81b7fc6862 Restore the call to 'umount -R $mountpoint' from umount_partition, accidentally dropped in previous upload. Steve Langasek 2017-09-13 12:48:27 -07:00
  • cf1b95b854 releasing package livecd-rootfs version 2.408.17 2.408.17 Steve Langasek 2017-09-13 12:21:35 -07:00
  • 6219443b4c Merge lp:~rcj/livecd-rootfs/xenial-proposed Steve Langasek 2017-09-13 12:21:23 -07:00
  • 6919b668ae releasing package livecd-rootfs version 2.441.6 2.441.6 Steve Langasek 2017-09-13 12:13:12 -07:00
  • e513917862 Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary to use teardown_mountpoint. Steve Langasek 2017-09-13 12:13:08 -07:00
  • 9165a7dd8a Merge lp:~rcj/livecd-rootfs/zesty-proposed Steve Langasek 2017-09-13 12:11:15 -07:00
  • df7bb19cec releasing package livecd-rootfs version 2.454 2.454 Steve Langasek 2017-09-13 12:04:51 -07:00
  • bacde14e41 Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary to use teardown_mountpoint. Steve Langasek 2017-09-13 12:03:34 -07:00
  • 7757c10c2c Merge lp:~rcj/livecd-rootfs/trunk Steve Langasek 2017-09-13 12:02:24 -07:00
  • 5089e589ef live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint Robert C Jennings 2017-09-13 13:37:25 -05:00
  • 83b4f5338c live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint Robert C Jennings 2017-09-13 13:31:12 -05:00
  • 0acda846dd live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint Robert C Jennings 2017-09-13 13:18:03 -05:00
  • d980e7008d Import patches-unapplied version 2.408.16 to ubuntu/xenial-proposed Steve Langasek 2017-09-12 13:25:58 -07:00
  • 8589d3548f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get update *before* installing packages, not after. Steve Langasek 2017-09-12 14:39:04 -07:00
  • 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. Steve Langasek 2017-09-12 14:36:50 -07:00
  • f6897fae71 live-build/ubuntu-cpc/hooks/030-root-tarball.binary: correct a missing unmount of /var/{lib,cache}/apt on cleanup, detected via autopkgtests. 2.408.16 Steve Langasek 2017-09-12 14:23:00 -07:00
  • a99dd8bf9f changelog verbosity++ Steve Langasek 2017-09-12 14:00:20 -07:00
  • 2c98112f93 releasing package livecd-rootfs version 2.408.16 Steve Langasek 2017-09-12 13:26:12 -07:00
  • 11a92795fe live-build/ubuntu-cpc/functions: call apt-get update in the chroot after mounting a blank /var/lib/apt, so that further operations work as expected. Steve Langasek 2017-09-12 13:25:55 -07:00
  • aee4e79c87 Import patches-unapplied version 2.408.15 to ubuntu/xenial-proposed Steve Langasek 2017-09-11 14:38:42 -07:00
  • b81173b1b5 releasing package livecd-rootfs version 2.408.15 2.408.15 Steve Langasek 2017-09-11 14:41:53 -07:00
  • 3fdf3933ed Fix suppression of kpartx error. LP: #1684090. Steve Langasek 2017-09-11 14:34:09 -07:00
  • 314a6b95a3 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). LP: #1716465. Steve Langasek 2017-09-11 14:33:23 -07:00
  • 6e53d32cd8 Import patches-unapplied version 2.453 to ubuntu/artful-proposed Steve Langasek 2017-09-11 11:39:11 -07:00