2440 Commits

Author SHA1 Message Date
Balint Reczey
2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency 2017-09-29 15:20:14 -04:00
Balint Reczey
d496915741 Warn users that unminimize may fail reinstalling packages 2017-09-29 15:20:11 -04:00
Balint Reczey
69c1eb6d26 Mention unminimize script in motd 2017-09-29 15:16:25 -04:00
Balint Reczey
59fe9b1550 Bump needed live-build version which can build images without initrd 2017-09-29 15:16:25 -04:00
Steve Langasek
9b651d77a0 releasing package livecd-rootfs version 2.462 2.462 2017-09-29 15:10:50 -04:00
Steve Langasek
894ca9ccfc Fix a reference to an undefined variable in a script that's set -u. 2017-09-29 15:10:45 -04:00
Michael Hudson-Doyle
c643176917 fix path to subiquity-loadkeys 2017-09-29 08:45:02 -04:00
Dimitri John Ledkov
850495d5f9 releasing package livecd-rootfs version 2.461 2.461 2017-09-28 13:59:24 -04:00
Dimitri John Ledkov
9d3ebb79e4 merge lp:~mwhudson/livecd-rootfs/subiquity-loadkeys 2017-09-28 13:57:49 -04:00
Steve Langasek
8c4ef15806 releasing package livecd-rootfs version 2.460 2.460 2017-09-28 09:24:41 -04:00
Steve Langasek
0e23c75afa Merge lp:~rbalint/livecd-rootfs/minimize-unminimize 2017-09-28 09:21:20 -04:00
Balint Reczey
83c2984556 Update changelog 2017-09-27 18:54:21 -04:00
Balint Reczey
c5d01a6635 Force partuuid in /etc/default/grub.d/* instead of in /etc/default/grub
This prevents ucf questions upon installation of changed /etc/default/grub
2017-09-27 18:54:09 -04:00
Steve Langasek
0365171ce3 minimization handling for UEFI disk images 2017-09-26 22:39:09 -04:00
Balint Reczey
2858d7fb62 Print the documentation files which could not be restored by unminimize 2017-09-26 22:39:09 -04:00
Balint Reczey
e28933a1d5 Explain why unminimization script is a bit complicated 2017-09-26 22:39:09 -04:00
Balint Reczey
583d813b9b Verify only documentation that should have been restored after unminimization 2017-09-26 22:39:09 -04:00
Balint Reczey
3532fa0b18 Use "dpkg --verify-format rpm" explicitly to be safe when the default changes 2017-09-26 22:39:09 -04:00
Balint Reczey
11da0c59a5 Fix typo 2017-09-26 22:39:09 -04:00
Balint Reczey
9dd615d380 Drop initramfs-tools diversion
Kernels which are able to boot without initramfs now dropped dependency
on initramfs-tools thus initramfs-tools can be removed from the image
instead of having to divert it to avoid initramfs generation.
2017-09-26 22:39:09 -04:00
Balint Reczey
d5483eb728 Install ubuntu-minimal while unminimizing the system 2017-09-26 22:39:09 -04:00
Balint Reczey
6672dde922 Add unminimize script for reverting minimization on running system 2017-09-26 22:39:09 -04:00
Balint Reczey
bb7e620701 Drop man pages and most of the documentation from minimized images
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
2017-09-26 22:39:09 -04:00
Balint Reczey
d65e1edfd1 Source config/binary instead of /build/config/binary which may not exist 2017-09-26 22:39:09 -04:00
Steve Langasek
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.
2017-09-26 22:39:09 -04:00
Steve Langasek
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.
2017-09-26 22:39:09 -04:00
Steve Langasek
95890f6713 We probably still want sudo, even in a minimal image. 2017-09-26 22:39:09 -04:00
Steve Langasek
786370819c Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen 2017-09-26 22:39:09 -04:00
Steve Langasek
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)
2017-09-26 22:39:09 -04:00
Steve Langasek
abbbeb8fda Begin adding support for a project-independent 'minimize' subproject,
which (ironically) omits ubuntu-minimal in favor of using only the
minbase package set.
2017-09-26 22:39:08 -04:00
Steve Langasek
7c58bcecf0 Merge lp:~rbalint/livecd-rootfs/vagrant 2017-09-26 12:19:56 -04:00
Steve Langasek
12b1a5de4d Merge lp:~rbalint/livecd-rootfs/mount-make-rslave 2017-09-26 00:59:56 -04:00
Balint Reczey
20617c6f51 Don't ask for password and GECOS while creating vagrant user 2017-09-25 18:02:09 -04:00
Michael Hudson-Doyle
8d43597228 add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
This makes shift-tab work
2017-09-25 15:03:18 -04:00
Balint Reczey
45201111a6 Mount using --make-rslave to ensure safe unmounts for rbind mounts 2017-09-25 11:42:28 -04:00
Michael Hudson-Doyle
6d5ab03a14 releasing package livecd-rootfs version 2.459 2.459 2017-09-21 11:35:07 +12:00
Steve Langasek
7a6a1a3987 Merge lp:~mwhudson/livecd-rootfs/server-live-disable-console-spam 2017-09-20 16:33:06 -07:00
Gary.Wzl
5355732bc8 * Add GENERATE_ROOTFS_ONLY to support generating a single rootfs.
* Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
2017-09-20 18:23:35 +08:00
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.
2017-09-20 18:15:16 +08:00
Michael Hudson-Doyle
61764acade only show alert (i.e. panic) kernel messages on the console when subiquity is running
otherwise we get spam when probing for block devices and not finding any floppy
drives...
2017-09-20 11:59:57 +12:00
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.
2017-09-19 13:17:26 -07:00
Dimitri John Ledkov
f16f1c4229 Move default netplan config for server-live image to where hook will
pick it up.
2.458
2017-09-19 12:07:35 +01:00
Michael Hudson-Doyle
9802843885 make file paths a bit less comical 2017-09-19 19:18:09 +12:00
Gary.Wzl
8fc8c6dc00 Add a changelog entry. 2017-09-18 09:54:22 +08:00
Gary.Wzl
54c78064d2 Add GENERATE_ROOTFS_ONLY to support to generate a single rootfs. 2017-09-18 09:50:04 +08:00
Gary.Wzl
228ed7c87b Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions. 2017-09-18 09:38:20 +08:00
Michael Hudson-Doyle
233c96a87f add changelog entry 2017-09-18 10:48:36 +12:00
Michael Hudson-Doyle
4941d4ee14 move default netplan to where the hook will pick it up
(i hope)
2017-09-18 10:47:06 +12:00
Dimitri John Ledkov
7b85fa69bb releasing package livecd-rootfs version 2.457 2.457 2017-09-17 16:29:22 +01:00
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.
2017-09-14 17:17:57 +01:00