| Age | Commit message (Collapse) | Author |
|
Now that we use UEFI based partition, we can replace the grub with
systemd-boot.
This option have several advantages,
- minimize installed package and dependencies
- allow future customization (e.g. automounting, secure boot)
The pacman hook 00-systemd-boot is required to re-install the systemd
boot loader automatically when package systemd updated.
|
|
This configures systemd-repart to resize the root partition, and
systemd-growfs to resize the root filesystem.
Both services run early in the boot process, and expect the /dev
filesystem to be properly populated. This was only happening later in
the bootup process in the previous configuration, as udev was not
started in the minimal initrd that was used, and as a result they would
both fail.
To fix this, systemd is now enabled in initrd, so that udev is started
there and we get a more complete system earlier. This makes initrd
somewhat bigger, but it probably makes the setup more robust in
general.
|
|
Having initial packages around is useful in case an upgrade breaks
something in the system, in order to allow rolling back to the previous
working version. These are not generally recovarable by the users since
mirrors garbage collect them, so keeping them in the image seems a
reasonable default.
|
|
This is now supported in GCE, and is a better alternative to the old MBR
setup used before. This requires the UEFI_COMPATIBLE flag to be passed
during image creation.
|
|
|
|
By removing the downloaded packages in the target we can minimize
generated image size from 514MB to around 340MB.
|
|
|
|
The latest GCE packages already start services automatically, so this is
no longer needed.
This also includes some cosmetic updates.
|
|
Since dbus 1.11.14 [1], /var/lib/dbus/machine-id is a symlink to
/etc/machine-id, so writing to "$mount_dir/var/lib/dbus/machine-id"
actually overwrites /etc/machine-id on the building host.
[1] https://gitlab.freedesktop.org/dbus/dbus/commit/ae7568facee0b0d93d7bd1433a0d8840e98f6fb6
|
|
|
|
This disables "predictable interface names", as they make the network interface
name dependent on exact hardware configuration. Scripts would then break in case
the name is not exactly "ens4".
|
|
|
|
This is currently already installed as an indirect dependency of the base
package, so this change is a no-op for now, just in case it gets removed in the
future.
|
|
|
|
This is no longer necessary with the new version of compute-image-packages.
|
|
This reverts commit bb393b13c6c3d98ef5d80cf90501b32862a678b2.
MTU is set by DHCP, it shouldn't be set by the udev rule.
|
|
|
|
See the updated README for more information about images generated by
the new script.
|