aboutsummaryrefslogtreecommitdiff
path: root/build-arch-gce
AgeCommit message (Collapse)Author
2022-09-10Turns the VFAT boot label uppercase, according to VFAT best practices.Lorenzo Castelli
2022-09-10Replace GRUB with systemd-bootAviana Cruz
Replace GRUB with systemd-boot to make the setup simpler. Close #47 Signed-off-by: Aviana Cruz <gwencroft@proton.me>
2022-07-02Replaces growpartfs with the systemd equivalent functionalities.Lorenzo Castelli
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.
2022-06-30Doesn't remove packages from installation.Lorenzo Castelli
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.
2022-06-30Changes the image to be UEFI based.Lorenzo Castelli
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.
2021-01-23Switch growpart -> growpartfs0.7Samuel Littley
2021-01-14all: remove downloaded packages before building imageshulhan
By removing the downloaded packages in the target we can minimize generated image size from 514MB to around 340MB.
2021-01-02fixed url of mirrorlistSlava Andreyev
2020-08-24Avoids starting services for GCE packages.0.6Lorenzo Castelli
The latest GCE packages already start services automatically, so this is no longer needed. This also includes some cosmetic updates.
2020-07-12Don't touch machine-id on the building hostChih-Hsuan Yen
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
2020-04-18Starts google-oslogin-cache.timer.0.5Lorenzo Castelli
2019-12-06Reverts to classic network interface names.0.4Lorenzo Castelli
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".
2019-12-06Removes rngd, since GCE machines now provide an rng device.Lorenzo Castelli
2019-10-29Makes sure e2fsprogs gets installed, for automatic filesystem resizing.Lorenzo Castelli
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.
2019-10-29Explicitly installs Linux after upstream base package reorganization.0.3Lorenzo Castelli
2019-05-03Removes nsswitch resolve workaround.0.2Lorenzo Castelli
This is no longer necessary with the new version of compute-image-packages.
2019-03-26Revert "fix MTU settings. MTU is 1460 on gce."Wèi Cōngruì
This reverts commit bb393b13c6c3d98ef5d80cf90501b32862a678b2. MTU is set by DHCP, it shouldn't be set by the udev rule.
2019-03-25fix MTU settings. MTU is 1460 on gce.Wèi Cōngruì
2018-10-24Brings the project up to date with a new bash implementation.Lorenzo Castelli
See the updated README for more information about images generated by the new script.