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
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.
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
...
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
7 years ago
Balint Reczey
d65e1edfd1
Source config/binary instead of /build/config/binary which may not exist
7 years ago
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.
7 years ago
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.
7 years ago
Steve Langasek
95890f6713
We probably still want sudo, even in a minimal image.
7 years ago
Steve Langasek
786370819c
Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen
7 years ago
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)
7 years ago
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.
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
Balint Reczey
20617c6f51
Don't ask for password and GECOS while creating vagrant user
7 years ago
Michael Hudson-Doyle
8d43597228
add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
...
This makes shift-tab work
7 years ago
Balint Reczey
45201111a6
Mount using --make-rslave to ensure safe unmounts for rbind mounts
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
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...
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
Michael Hudson-Doyle
9802843885
make file paths a bit less comical
7 years ago
Gary.Wzl
8fc8c6dc00
Add a changelog entry.
7 years ago
Gary.Wzl
54c78064d2
Add GENERATE_ROOTFS_ONLY to support to generate a single rootfs.
7 years ago
Gary.Wzl
228ed7c87b
Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions.
7 years ago
Michael Hudson-Doyle
233c96a87f
add changelog entry
7 years ago
Michael Hudson-Doyle
4941d4ee14
move default netplan to where the hook will pick it up
...
(i hope)
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
7f9094170b
remove another straggler udevadm+sleep
7 years ago
Steve Langasek
2386370666
changelog
7 years ago
Steve Langasek
03d7dff3ff
Merge lp:~mwhudson/livecd-rootfs/default-netplan-for-server-live
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
Michael Hudson-Doyle
1676147a84
add some dhcp-on-wired-looking-things default netplan for the server live image
7 years ago