From ba11c40e495b8c6278a3ff801cc11065a135c289 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 8 Jun 2022 11:38:52 +0300 Subject: configs/: use the C.UTF-8 locale The glibc 2.35-6 package ships with the C.UTF-8 locale included. This means there is now a UTF-8 locale available by default and en_US.UTF-8, which requires editing /etc/locale.gen and running locale-gen, is not needed anymore. Implements #175. --- configs/baseline/airootfs/etc/locale.conf | 1 + configs/releng/airootfs/etc/locale.conf | 2 +- .../releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook | 13 ------------- 3 files changed, 2 insertions(+), 14 deletions(-) create mode 100644 configs/baseline/airootfs/etc/locale.conf delete mode 100644 configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook (limited to 'configs') diff --git a/configs/baseline/airootfs/etc/locale.conf b/configs/baseline/airootfs/etc/locale.conf new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/configs/baseline/airootfs/etc/locale.conf @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/configs/releng/airootfs/etc/locale.conf b/configs/releng/airootfs/etc/locale.conf index 01ec548..f9c983c 100644 --- a/configs/releng/airootfs/etc/locale.conf +++ b/configs/releng/airootfs/etc/locale.conf @@ -1 +1 @@ -LANG=en_US.UTF-8 +LANG=C.UTF-8 diff --git a/configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook b/configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook deleted file mode 100644 index 82dd199..0000000 --- a/configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook +++ /dev/null @@ -1,13 +0,0 @@ -# remove from airootfs! -[Trigger] -Operation = Install -Type = Package -Target = glibc - -[Action] -Description = Uncommenting en_US.UTF-8 locale and running locale-gen... -When = PostTransaction -Depends = glibc -Depends = sed -Depends = sh -Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen" -- cgit v1.2.3-54-g00ecf From 98de41184785ebcfed18d331405404077f42d261 Mon Sep 17 00:00:00 2001 From: plainlinen Date: Thu, 9 Jun 2022 22:36:03 -0700 Subject: Add useful grub menu entries to grub.cfg --- configs/baseline/grub/grub.cfg | 2 +- configs/releng/grub/grub.cfg | 34 +++++++++++++++++++++++++++++----- 2 files changed, 30 insertions(+), 6 deletions(-) (limited to 'configs') diff --git a/configs/baseline/grub/grub.cfg b/configs/baseline/grub/grub.cfg index 0e5db49..5fc8d73 100644 --- a/configs/baseline/grub/grub.cfg +++ b/configs/baseline/grub/grub.cfg @@ -17,7 +17,7 @@ fi menuentry "Arch Linux (x86_64, UEFI)" { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% - linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% + linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img } diff --git a/configs/releng/grub/grub.cfg b/configs/releng/grub/grub.cfg index 4a707b9..a85090d 100644 --- a/configs/releng/grub/grub.cfg +++ b/configs/releng/grub/grub.cfg @@ -28,7 +28,7 @@ play 500 500 1 300 1 500 1 300 1 500 1 300 1 100 5 500 1 300 1 500 1 300 1 100 2 menuentry "Arch Linux install medium (x86_64, UEFI)" { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% - linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% + linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img } @@ -39,8 +39,32 @@ menuentry "Arch Linux install medium with speakup screen reader (x86_64, UEFI)" initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img } -menuentry "UEFI Shell" { - insmod chain - search --no-floppy --set=root --label %ARCHISO_LABEL% - chainloader /shellia32.efi +if [ "${grub_platform}" == "efi" ]; then + if [ "${grub_cpu}" == "x86_64" ]; then + menuentry "UEFI Shell" { + insmod chain + search --no-floppy --set=root --label %ARCHISO_LABEL% + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" ]; then + menuentry "UEFI Shell" { + insmod chain + search --no-floppy --set=root --label %ARCHISO_LABEL% + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry "System shutdown" { + echo "System shutting down..." + halt } + +menuentry "System restart" { + echo "System rebooting..." + reboot +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf From e51b6f61990de85a6027d7ffb45ccf7a305d8130 Mon Sep 17 00:00:00 2001 From: plainlinen Date: Thu, 9 Jun 2022 22:37:50 -0700 Subject: Use grub for uefi x64 boot modes in profiledef.sh --- configs/baseline/profiledef.sh | 4 ++-- configs/releng/profiledef.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'configs') diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh index 34060f2..93002d4 100644 --- a/configs/baseline/profiledef.sh +++ b/configs/baseline/profiledef.sh @@ -9,8 +9,8 @@ iso_version="$(date +%Y.%m.%d)" install_dir="arch" buildmodes=('iso') bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' - 'uefi-ia32.grub.esp' 'uefi-x64.systemd-boot.esp' - 'uefi-ia32.grub.eltorito' 'uefi-x64.systemd-boot.eltorito') + 'uefi-ia32.grub.esp' 'uefi-x64.grub.esp' + 'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito') arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="erofs" diff --git a/configs/releng/profiledef.sh b/configs/releng/profiledef.sh index f3bbe11..4b4e68c 100644 --- a/configs/releng/profiledef.sh +++ b/configs/releng/profiledef.sh @@ -9,8 +9,8 @@ iso_version="$(date +%Y.%m.%d)" install_dir="arch" buildmodes=('iso') bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' - 'uefi-ia32.grub.esp' 'uefi-x64.systemd-boot.esp' - 'uefi-ia32.grub.eltorito' 'uefi-x64.systemd-boot.eltorito') + 'uefi-ia32.grub.esp' 'uefi-x64.grub.esp' + 'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito') arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="squashfs" -- cgit v1.2.3-54-g00ecf From b72523e38989ec45ae5001be66bfcb978f59692c Mon Sep 17 00:00:00 2001 From: nl6720 Date: Mon, 13 Jun 2022 16:40:29 +0300 Subject: configs/baseline/profiledef.sh: add `-E ztailpacking` to airootfs_image_tool_options for mkfs.erofs As the man page says, it saves more space, although the feature is experimental. --- CHANGELOG.rst | 1 + configs/baseline/profiledef.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1d6070a..c3029c4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,7 @@ Added - Configure the locale for the baseline profile to ``C.UTF-8`` so that a UTF-8 locale is used. - Add ``uefi-x64.grub.esp`` and ``uefi-x64.grub.eltorito`` boot mode to support x86_64 UEFI boot on x86_64 machines. +- Use ``mkfs.erofs``'s ``ztailpacking`` option in the baseline profile to reduce the image size. Changed ------- diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh index 93002d4..4115581 100644 --- a/configs/baseline/profiledef.sh +++ b/configs/baseline/profiledef.sh @@ -14,7 +14,7 @@ bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="erofs" -airootfs_image_tool_options=('-zlz4hc,12') +airootfs_image_tool_options=('-zlz4hc,12' -E ztailpacking) file_permissions=( ["/etc/shadow"]="0:0:400" ) -- cgit v1.2.3-54-g00ecf From eaa2f8ae7846061a08abf0ee52c809853d1db0b5 Mon Sep 17 00:00:00 2001 From: Alexander Epaneshnikov Date: Sat, 18 Jun 2022 15:53:03 +0300 Subject: change grub init tune yes it was descriptive but too large. this fixes #180 --- configs/releng/grub/grub.cfg | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'configs') diff --git a/configs/releng/grub/grub.cfg b/configs/releng/grub/grub.cfg index a85090d..06a67a8 100644 --- a/configs/releng/grub/grub.cfg +++ b/configs/releng/grub/grub.cfg @@ -16,14 +16,7 @@ fi # GRUB init tune for accessibility # -# Morse translation table: -# "." is "500 1 300 1" -# "-" is "600 3 300 1" -# " " is "100 2" -# "/" is "100 5" -# -# Message: "s for blind" -play 500 500 1 300 1 500 1 300 1 500 1 300 1 100 5 500 1 300 1 500 1 300 1 100 2 500 1 300 1 500 1 300 1 600 3 300 1 500 1 300 1 100 5 600 3 300 1 500 1 300 1 500 1 300 1 500 1 300 1 100 2 500 1 300 1 600 3 300 1 500 1 300 1 500 1 300 1 100 2 500 1 300 1 500 1 300 1 100 2 500 1 300 1 500 1 300 1 100 2 600 3 300 1 500 1 300 1 100 2 600 3 300 1 500 1 300 1 500 1 300 1 +play 600 988 1 1319 4 menuentry "Arch Linux install medium (x86_64, UEFI)" { set gfxpayload=keep @@ -67,4 +60,4 @@ menuentry "System shutdown" { menuentry "System restart" { echo "System rebooting..." reboot -} \ No newline at end of file +} -- cgit v1.2.3-54-g00ecf From e654106ecf5741c5abdc591ec026104eafa118a3 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sat, 18 Jun 2022 09:15:01 +0300 Subject: configs/*/grub/grub.cfg: auto-boot after 15 seconds * Set the default boot entry and its timeout. * Add classes to menu entries to allow theming them. Fixes #179 --- configs/baseline/grub/grub.cfg | 8 ++++++-- configs/releng/grub/grub.cfg | 24 ++++++++++++++---------- 2 files changed, 20 insertions(+), 12 deletions(-) (limited to 'configs') diff --git a/configs/baseline/grub/grub.cfg b/configs/baseline/grub/grub.cfg index 5fc8d73..3df0b98 100644 --- a/configs/baseline/grub/grub.cfg +++ b/configs/baseline/grub/grub.cfg @@ -14,14 +14,18 @@ if loadfont "${prefix}/fonts/unicode.pf2" ; then terminal_output gfxterm fi -menuentry "Arch Linux (x86_64, UEFI)" { +default=archlinux +timeout=15 +timeout_style=menu + +menuentry "Arch Linux (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img } -menuentry "Arch Linux (x86_64, UEFI) Copy to RAM" { +menuentry "Arch Linux (x86_64, UEFI) Copy to RAM" --class arch --class gnu-linux --class gnu --class os --id 'archlinux-copy-to-ram' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram diff --git a/configs/releng/grub/grub.cfg b/configs/releng/grub/grub.cfg index 06a67a8..9b78603 100644 --- a/configs/releng/grub/grub.cfg +++ b/configs/releng/grub/grub.cfg @@ -14,18 +14,22 @@ if loadfont "${prefix}/fonts/unicode.pf2" ; then terminal_output gfxterm fi +default=archlinux +timeout=15 +timeout_style=menu + # GRUB init tune for accessibility # play 600 988 1 1319 4 -menuentry "Arch Linux install medium (x86_64, UEFI)" { +menuentry "Arch Linux install medium (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img } -menuentry "Arch Linux install medium with speakup screen reader (x86_64, UEFI)" --hotkey=s { +menuentry "Arch Linux install medium with speakup screen reader (x86_64, UEFI)" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% accessibility=on @@ -48,16 +52,16 @@ if [ "${grub_platform}" == "efi" ]; then fi menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { - fwsetup - } + fwsetup + } fi -menuentry "System shutdown" { - echo "System shutting down..." - halt +menuentry "System shutdown" --class shutdown --class poweroff { + echo "System shutting down..." + halt } -menuentry "System restart" { - echo "System rebooting..." - reboot +menuentry "System restart" --class reboot --class restart { + echo "System rebooting..." + reboot } -- cgit v1.2.3-54-g00ecf From 86540647db08b295abe34426b5faaa7505e4ba34 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 26 Jun 2022 12:59:47 +0300 Subject: configs/*/grub/grub.cfg: enable serial input and output Try to initialize a serial device and use it for input and output. Add more comments to grub.cfg to explain what is done. Related to #75 --- configs/baseline/grub/grub.cfg | 14 ++++++++++++-- configs/releng/grub/grub.cfg | 14 +++++++++++--- 2 files changed, 23 insertions(+), 5 deletions(-) (limited to 'configs') diff --git a/configs/baseline/grub/grub.cfg b/configs/baseline/grub/grub.cfg index 3df0b98..dead8ce 100644 --- a/configs/baseline/grub/grub.cfg +++ b/configs/baseline/grub/grub.cfg @@ -1,12 +1,12 @@ +# Load partition table and file system modules insmod part_gpt insmod part_msdos insmod fat insmod iso9660 +# Use graphics-mode output insmod all_video - insmod font - if loadfont "${prefix}/fonts/unicode.pf2" ; then insmod gfxterm set gfxmode="auto" @@ -14,10 +14,20 @@ if loadfont "${prefix}/fonts/unicode.pf2" ; then terminal_output gfxterm fi +# Enable serial console +if serial --unit=0 --speed=115200; then + terminal_input --append serial + terminal_output --append serial +fi + +# Set default menu entry default=archlinux timeout=15 timeout_style=menu + +# Menu entries + menuentry "Arch Linux (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% diff --git a/configs/releng/grub/grub.cfg b/configs/releng/grub/grub.cfg index 9b78603..43fad0e 100644 --- a/configs/releng/grub/grub.cfg +++ b/configs/releng/grub/grub.cfg @@ -1,12 +1,12 @@ +# Load partition table and file system modules insmod part_gpt insmod part_msdos insmod fat insmod iso9660 +# Use graphics-mode output insmod all_video - insmod font - if loadfont "${prefix}/fonts/unicode.pf2" ; then insmod gfxterm set gfxmode="auto" @@ -14,14 +14,22 @@ if loadfont "${prefix}/fonts/unicode.pf2" ; then terminal_output gfxterm fi +# Enable serial console +if serial --unit=0 --speed=115200; then + terminal_input --append serial + terminal_output --append serial +fi + +# Set default menu entry default=archlinux timeout=15 timeout_style=menu # GRUB init tune for accessibility -# play 600 988 1 1319 4 +# Menu entries + menuentry "Arch Linux install medium (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { set gfxpayload=keep search --no-floppy --set=root --label %ARCHISO_LABEL% -- cgit v1.2.3-54-g00ecf From ced3d3ffa384600012618612c98476a231f5fb89 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 7 Aug 2022 15:59:52 +0300 Subject: Order pacman-init.service before archlinux-keyring-wkd-sync.service archlinux-keyring-wkd-sync.service needs an initialized pacman keyring to work. Add BindsTo=etc-pacman.d-gnupg.mount to stop pacman-init.service if the mount unit suddenly enters inactive state. --- CHANGELOG.rst | 3 +++ configs/releng/airootfs/etc/systemd/system/pacman-init.service | 2 ++ 2 files changed, 5 insertions(+) (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a4ca833..5766eb2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,9 @@ Added Changed ------- +- Order ``pacman-init.service`` before ``archlinux-keyring-wkd-sync.service`` since + ``archlinux-keyring-wkd-sync.service`` needs an initialized pacman keyring. + Removed ------- diff --git a/configs/releng/airootfs/etc/systemd/system/pacman-init.service b/configs/releng/airootfs/etc/systemd/system/pacman-init.service index b18f7f8..9ad2e69 100644 --- a/configs/releng/airootfs/etc/systemd/system/pacman-init.service +++ b/configs/releng/airootfs/etc/systemd/system/pacman-init.service @@ -2,6 +2,8 @@ Description=Initializes Pacman keyring Requires=etc-pacman.d-gnupg.mount After=etc-pacman.d-gnupg.mount +BindsTo=etc-pacman.d-gnupg.mount +Before=archlinux-keyring-wkd-sync.service [Service] Type=oneshot -- cgit v1.2.3-54-g00ecf From 4d64a58a905403b3abfca5077dcd924ef7901ba7 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 22 Sep 2022 11:01:03 +0200 Subject: remove ipw2100-fw and ipw2200-fw, cleanup of [core] --- configs/releng/packages.x86_64 | 2 -- 1 file changed, 2 deletions(-) (limited to 'configs') diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index 8a0c80d..02ef538 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -38,8 +38,6 @@ grub hdparm hyperv intel-ucode -ipw2100-fw -ipw2200-fw irssi iw iwd -- cgit v1.2.3-54-g00ecf From 69b22dc41f8b367fa2d49af6331699bb2dcda4f8 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 25 Sep 2022 15:36:18 +0200 Subject: Enable systemd-timesyncd and systemd-time-wait-sync configs/releng/airootfs/etc/systemd/system/{dbus-org.freedesktop.timesync1},sysinit.target.wants/systemd-timesyncd}.service: Enable systemd-timesyncd which aliases to dbus-org.freedesktop.timesync1 to ensure time gets synced on the host. configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service: Enable systemd-time-wait-sync to ensure time is finished syncing when time-sync.target is finished. --- .../airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service | 1 + .../systemd/system/sysinit.target.wants/systemd-time-wait-sync.service | 1 + .../etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service | 1 + 3 files changed, 3 insertions(+) create mode 120000 configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service create mode 120000 configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service create mode 120000 configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service (limited to 'configs') diff --git a/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service b/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service b/configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service new file mode 120000 index 0000000..cabf28b --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-time-wait-sync.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file -- cgit v1.2.3-54-g00ecf From 3f55c95613ac55f765d1767c2878043a67e803f6 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 25 Sep 2022 15:39:28 +0200 Subject: Order pacman-init.service after time-sync.target configs/releng/airootfs/etc/systemd/system/pacman-init.service: Order pacman-init.service after time-sync.target, so that time on the host is synchronized before initializing pacman. --- configs/releng/airootfs/etc/systemd/system/pacman-init.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/releng/airootfs/etc/systemd/system/pacman-init.service b/configs/releng/airootfs/etc/systemd/system/pacman-init.service index 9ad2e69..b824884 100644 --- a/configs/releng/airootfs/etc/systemd/system/pacman-init.service +++ b/configs/releng/airootfs/etc/systemd/system/pacman-init.service @@ -1,7 +1,7 @@ [Unit] Description=Initializes Pacman keyring Requires=etc-pacman.d-gnupg.mount -After=etc-pacman.d-gnupg.mount +After=etc-pacman.d-gnupg.mount time-sync.target BindsTo=etc-pacman.d-gnupg.mount Before=archlinux-keyring-wkd-sync.service -- cgit v1.2.3-54-g00ecf