aboutsummaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2026-01-27sys: update pacman mirrorlist to 2026-01-05Shulhan
2025-12-26all: remove pacman-init service and ops-agent config.yamlShulhan
The original pacman-init.service usage is to populate the pacman keyrings. Since we install archlinux-keyring package at pacstrap, we did not need to do it anymore. On ops-agent, the latest package released that include the same config.yaml.
2025-12-25all: remove dependency on gce repositoryShulhan
Since around 13 December 2025, the gce repository return an error 403, error: failed retrieving file 'gce.db' from storage.googleapis.com : The requested URL returned error: 403 We then build google-compute-engine and google-guest-agent and host it under build.kilabit.info repository using the latest releases [1][2]. For google-compute-engine we use version 20251014.00-1. For google-guest-agent we use version 20251223.00-1. [1]: https://build.kilabit.info/karajo/app/#job_aur_google-compute-engine [2]: https://build.kilabit.info/karajo/app/#job_aur_google-guest-agent
2025-12-25all: add task to build image testable with qemuShulhan
An image that build for qemu will have user "arch" with predefined SSH keys, so user can access the guest from host either using SSH key or password.
2025-12-24all: importing build.kilabit.info key on pacman-init.serviceShulhan
The "pacman-key --init" does not needs to be run anymore since it will be handled by "archlinux-keyring-wkd-sync.timer".
2025-12-24all: manage network with systemd-networkShulhan
This remove dhclient and add polkit as dependencies for systemd-hostnamed.
2023-09-14all: install google-compute-engine-osloginShulhan
This changes require reorder the repository, by moving build.kilabit.info on top of gce, because the gce provides old version os oslogin, while build.kilabit.info provides the latest one, 20230831.00 [1]. [1] https://build.kilabit.info/karajo/app/#job_aur_google-compute-engine-oslogin
2023-09-12all: set default ops-agent syslog from systemd_journaldShulhan
Systemd journald in ArchLinux does not forward the log to syslog anymore. This fix empty instance log in Cloud Logs Explorer.
2023-07-08sys/etc: update pacman.conf and mirrorlistShulhan
The pacman.conf changes based on pacman version 6.0.2-7 where community repository removed from list. The mirrorlist updated to pacman-mirrorlist version 20230628-1.
2023-02-17sys/etc: set default pacman.conf to VerbosePkgListsShulhan
Using this option give better list of the installed and the next version of packages.
2023-02-11all: use worldwide pacman mirrorlistShulhan
We have an issue where the image build on local and the generated mirrorlist is located in India (or Pakistan?). This cause our package installation/update really slow when creating a VM in Singapore region. Since we did not know who or where the image to be used, the safe configuration should be to use the worldwide one.
2023-02-11all: use predefined files to configure systemd-repartShulhan
2023-02-11all: install prebuild ops-agent binaryShulhan
This ops-agent is prebuild package from AUR [1]. [1] https://build.kilabit.info
2022-07-30all: add shell script to test the image using qemuShulhan
Testing using qemu require adding "block" hooks to mkinitcpio.conf.
2022-07-25all: change default locale to en_GB.UTF-8Shulhan
Because the rest of the world use metrics instead of imperial system.
2022-07-25all: use predefined pacman.confShulhan
The pacman.conf file is rarely updated, so we add the gce repository directly into file and use it during pacstrap and to replace the target root.
2022-07-25all: use predefined files to configure mkinitcpioShulhan
Using this method simplify maintenance on the build script and give flexibility to custom image builder. While at it, we add "udev autodetect block filesystems keyboard" into the HOOKS to allow testing the image using qemu and "fsck" to allow system run disk check on boot.
2022-07-25all: populate pacman-init.service from fileShulhan
2022-07-25all: use drop-ins replacement for configuring ssh serverShulhan
Using this method give more flexibility to user that need to build image with custom SSH server configuration.
2022-07-25all: use drop-ins replacement to configure journaldShulhan
Like timesyncd, overwrite the journald configuration by adding drop-ins configuration under /etc/systemd/journald.conf.d/.
2022-07-25all: use predefined files to setting up localeShulhan
This simplify updating and maintaining custom locale for user that does not want to use en_US.
2022-07-25all: use drop-ins replacement to overwrite NTP configurationShulhan
Per manual page timesyncd.conf(5) [1]: Initially, the main configuration file in /etc/systemd/ contains commented out entries showing the defaults as a guide to the administrator. ... Using drop-ins for local configuration is recommended over modifications to the main configuration file. The reason why the filename is 00- describe below It is recommended to prefix all filenames in those subdirectories with a two-digit number and a dash, to simplify the ordering of the files. Another reason is to prevent the system being littered with /etc/systemd/timesyncd.conf.pacnew files when systemd updated. [1] https://man.archlinux.org/man/timesyncd.conf.5
2022-07-25all: use predefined files to configure boot loaderShulhan