From 0c6ecb6b89430bd0479b2ff06c743bebc492a3fe Mon Sep 17 00:00:00 2001 From: Eric Toombs <567-ewtoombs@users.noreply.gitlab.archlinux.org> Date: Thu, 17 Mar 2022 22:09:29 -0400 Subject: syslinux PXE: Forced all TFTP paths to be absolute By default, syslinux interprets TFTP paths as relative to the location of the *.c32 modules, regardless whether a path starts with a slash. Without the `::` that I added to all of these paths, syslinux cannot find these files. It searches for them in /%INSTALL_DIR%/syslinux//%INSTALL_DIR%/boot/x86_64/vmlinuz-linux, etc. --- configs/releng/syslinux/archiso_pxe-linux.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'configs') diff --git a/configs/releng/syslinux/archiso_pxe-linux.cfg b/configs/releng/syslinux/archiso_pxe-linux.cfg index e8c9a7b..d812402 100644 --- a/configs/releng/syslinux/archiso_pxe-linux.cfg +++ b/configs/releng/syslinux/archiso_pxe-linux.cfg @@ -4,8 +4,8 @@ Boot the Arch Linux install medium using NBD. It allows you to install Arch Linux or perform system maintenance. ENDTEXT MENU LABEL Arch Linux install medium (x86_64, NBD) -LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux -INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/intel-ucode.img,::/%INSTALL_DIR%/boot/amd-ucode.img,::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver} checksum verify SYSAPPEND 3 @@ -15,8 +15,8 @@ Boot the Arch Linux live medium using NFS. It allows you to install Arch Linux or perform system maintenance. ENDTEXT MENU LABEL Arch Linux install medium (x86_64, NFS) -LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux -INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/intel-ucode.img,::/%INSTALL_DIR%/boot/amd-ucode.img,::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt checksum verify SYSAPPEND 3 @@ -26,7 +26,7 @@ Boot the Arch Linux live medium using HTTP. It allows you to install Arch Linux or perform system maintenance. ENDTEXT MENU LABEL Arch Linux install medium (x86_64, HTTP) -LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux -INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/intel-ucode.img,::/%INSTALL_DIR%/boot/amd-ucode.img,::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ checksum verify SYSAPPEND 3 -- cgit v1.2.3-54-g00ecf From e5bdf0c6ab960a351353f97981a0f2151c3f1b93 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Fri, 25 Mar 2022 12:14:15 +0200 Subject: configs/{baseline,releng}/: disable systemd-gpt-auto-generator When booting the ISO, you can observe a message that systemd-gpt-auto-generator has failed: systemd-gpt-auto-generator[197]: Reading EFI variable /sys/firmware/efi/efivars/LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f. systemd-gpt-auto-generator[197]: open("/sys/firmware/efi/efivars/LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f") failed: No such file or directory systemd-gpt-auto-generator[197]: EFI loader partition unknown, exiting. systemd-gpt-auto-generator[197]: (The boot loader did not set EFI variable LoaderDevicePartUUID.) systemd-gpt-auto-generator[197]: Failed to open device: No such device Seeing as it started to appear relatively recently, it may be a systemd bug. Since we do not want any GPT partition automounting in the live environment anyway, systemd-gpt-auto-generator can simply be disabled. Fixes #164. --- CHANGELOG.rst | 2 ++ .../airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator | 1 + .../airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator | 1 + 3 files changed, 4 insertions(+) create mode 120000 configs/baseline/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator create mode 120000 configs/releng/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bb2236d..4444aec 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,8 @@ Changed - Fix the PXE support. PXELINUX was having trouble finding the kernel and initrds. Now, archiso forces syslinux to interpret all TFTP paths as absolute. That seems to have solved the issue. +- Disable systemd-gpt-auto-generator, which we do not need, in both baseline and releng profiles. It avoids the error + message about it failing during boot. Removed ------- diff --git a/configs/baseline/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/configs/baseline/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/configs/baseline/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator @@ -0,0 +1 @@ +/dev/null \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/configs/releng/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator @@ -0,0 +1 @@ +/dev/null \ No newline at end of file -- cgit v1.2.3-54-g00ecf From cec14d8b50f55fd077550f57988de41b0e1b4d63 Mon Sep 17 00:00:00 2001 From: Alexander Epaneshnikov Date: Tue, 29 Mar 2022 18:24:16 +0300 Subject: add needed files this fixes #167 --- .../releng/airootfs/etc/systemd/system/pacmanbeeper.service | 13 +++++++++++++ .../systemd/system/sound.target.wants/pacmanbeeper.service | 1 + configs/releng/airootfs/etc/sysusers.d/beep.conf | 2 ++ .../releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules | 2 ++ configs/releng/airootfs/usr/local/bin/pacman-beep.sh | 3 +++ configs/releng/packages.x86_64 | 1 + configs/releng/profiledef.sh | 1 + 7 files changed, 23 insertions(+) create mode 100644 configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service create mode 120000 configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service create mode 100644 configs/releng/airootfs/etc/sysusers.d/beep.conf create mode 100644 configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules create mode 100755 configs/releng/airootfs/usr/local/bin/pacman-beep.sh (limited to 'configs') diff --git a/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service b/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service new file mode 100644 index 0000000..8a6a41e --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service @@ -0,0 +1,13 @@ +[Unit] +Description=Play pacman tune +# for playing alert tunes via the built-in PC speaker (KDMKTONE, KIOCSOUND) +Wants=modprobe@pcspkr.service +After=modprobe@pcspkr.service + +[Service] +User=beep +Type=oneshot +ExecStart=/usr/local/bin/pacman-beep.sh + +[Install] +WantedBy=sound.target diff --git a/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service new file mode 120000 index 0000000..fc5ade0 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service @@ -0,0 +1 @@ +../pacmanbeeper.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/sysusers.d/beep.conf b/configs/releng/airootfs/etc/sysusers.d/beep.conf new file mode 100644 index 0000000..c7d10ca --- /dev/null +++ b/configs/releng/airootfs/etc/sysusers.d/beep.conf @@ -0,0 +1,2 @@ +#Type Name ID GECOS Home directory Shell +u beep - beepuser - - diff --git a/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules b/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules new file mode 100644 index 0000000..12a3a61 --- /dev/null +++ b/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules @@ -0,0 +1,2 @@ +# Add write access to the PC speaker for the "beep" group +ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m u:beep:w '$env{DEVNAME}'" diff --git a/configs/releng/airootfs/usr/local/bin/pacman-beep.sh b/configs/releng/airootfs/usr/local/bin/pacman-beep.sh new file mode 100755 index 0000000..8bc1199 --- /dev/null +++ b/configs/releng/airootfs/usr/local/bin/pacman-beep.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# I think I converted this from a wav using https://github.com/tomas-teijeiro/wavtobeep +beep -l 100 -f 15804.2656402 -n -l 25 -f 19.4454364826 -n -l 25 -f 123.470825314 -n -l 50 -f 554.365261954 -n -l 75 -f 138.591315488 -n -l 75 -f 1108.73052391 -n -l 50 -f 19.4454364826 -n -l 75 -f 783.990871963 -n -l 50 -f 19.4454364826 -n -l 75 -f 698.456462866 -n -l 50 -f 195.997717991 -n -l 25 -f 184.997211356 -n -l 50 -f 1108.73052391 -n -l 75 -f 783.990871963 -n -l 100 -f 138.591315488 -n -l 25 -f 155.563491861 -n -l 150 -f 698.456462866 -n -l 125 -f 195.997717991 -n -l 50 -f 554.365261954 -n -l 25 -f 587.329535835 -n -l 50 -f 138.591315488 -n -l 75 -f 1108.73052391 -n -l 50 -f 19.4454364826 -n -l 75 -f 880.0 -n -l 25 -f 38.8908729653 -n -l 25 -f 19.4454364826 -n -l 75 -f 739.988845423 -n -l 75 -f 220.0 -n -l 75 -f 1108.73052391 -n -l 50 -f 880.0 -n -l 25 -f 19.4454364826 -n -l 75 -f 138.591315488 -n -l 25 -f 123.470825314 -n -l 150 -f 739.988845423 -n -l 125 -f 220.0 -n -l 75 -f 554.365261954 -n -l 50 -f 138.591315488 -n -l 75 -f 1108.73052391 -n -l 25 -f 1046.5022612 -n -l 25 -f 1108.73052391 -n -l 25 -f 19.4454364826 -n -l 50 -f 783.990871963 -n -l 25 -f 830.60939516 -n -l 25 -f 19.4454364826 -n -l 25 -f 622.253967444 -n -l 75 -f 698.456462866 -n -l 50 -f 195.997717991 -n -l 25 -f 155.563491861 -n -l 50 -f 1108.73052391 -n -l 75 -f 783.990871963 -n -l 100 -f 138.591315488 -n -l 25 -f 19.4454364826 -n -l 125 -f 698.456462866 -n -l 150 -f 195.997717991 -n -l 50 -f 622.253967444 -n -l 75 -f 698.456462866 -n -l 75 -f 739.988845423 -n -l 25 -f 19.4454364826 -n -l 25 -f 38.8908729653 -n -l 125 -f 739.988845423 -n -l 100 -f 783.990871963 -n -l 25 -f 19.4454364826 -n -l 75 -f 783.990871963 -n -l 150 -f 880.0 -n -l 50 -f 19.4454364826 -n -l 125 -f 1108.73052391 -n -l 75 -f 261.625565301 -n -l 25 -f 277.182630977 -n -l 25 -f 261.625565301 diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index aaf2416..0b3fe04 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -4,6 +4,7 @@ arch-install-scripts archinstall b43-fwcutter base +beep bind-tools brltty broadcom-wl diff --git a/configs/releng/profiledef.sh b/configs/releng/profiledef.sh index 5feb205..e8cb892 100644 --- a/configs/releng/profiledef.sh +++ b/configs/releng/profiledef.sh @@ -20,4 +20,5 @@ file_permissions=( ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/Installation_guide"]="0:0:755" ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/usr/local/bin/pacman-beep.sh"]="0:0:755" ) -- cgit v1.2.3-54-g00ecf From 0db3a42fb872b5e2545cc408435ae82a69dec7c5 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Tue, 29 Mar 2022 18:56:50 +0200 Subject: configs/releng: Improve motd Fix #167 --- configs/releng/airootfs/etc/motd | 1 + 1 file changed, 1 insertion(+) (limited to 'configs') diff --git a/configs/releng/airootfs/etc/motd b/configs/releng/airootfs/etc/motd index 1ddc9c3..4d9eda1 100644 --- a/configs/releng/airootfs/etc/motd +++ b/configs/releng/airootfs/etc/motd @@ -8,3 +8,4 @@ Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. After connecting to the internet, the installation guide can be accessed via the convenience script Installation_guide. +                                           -- cgit v1.2.3-54-g00ecf From ee2a721cea8a1f230f570ae93bac8d94142cb6b1 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Mon, 4 Apr 2022 15:18:55 +0300 Subject: Revert "Merge remote-tracking branch 'origin/merge-requests/239'" People get scared by it. See https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/239#note_61954. This reverts commit b5011af3f4ac63214fdecef442550cce5ae4a971, reversing changes made to 07d8035624cff64e28f1148ddec9e970e26173da. --- .../releng/airootfs/etc/systemd/system/pacmanbeeper.service | 13 ------------- .../systemd/system/sound.target.wants/pacmanbeeper.service | 1 - configs/releng/airootfs/etc/sysusers.d/beep.conf | 2 -- .../releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules | 2 -- configs/releng/airootfs/usr/local/bin/pacman-beep.sh | 3 --- configs/releng/packages.x86_64 | 1 - configs/releng/profiledef.sh | 1 - 7 files changed, 23 deletions(-) delete mode 100644 configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service delete mode 120000 configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service delete mode 100644 configs/releng/airootfs/etc/sysusers.d/beep.conf delete mode 100644 configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules delete mode 100755 configs/releng/airootfs/usr/local/bin/pacman-beep.sh (limited to 'configs') diff --git a/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service b/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service deleted file mode 100644 index 8a6a41e..0000000 --- a/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Play pacman tune -# for playing alert tunes via the built-in PC speaker (KDMKTONE, KIOCSOUND) -Wants=modprobe@pcspkr.service -After=modprobe@pcspkr.service - -[Service] -User=beep -Type=oneshot -ExecStart=/usr/local/bin/pacman-beep.sh - -[Install] -WantedBy=sound.target diff --git a/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service deleted file mode 120000 index fc5ade0..0000000 --- a/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service +++ /dev/null @@ -1 +0,0 @@ -../pacmanbeeper.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/sysusers.d/beep.conf b/configs/releng/airootfs/etc/sysusers.d/beep.conf deleted file mode 100644 index c7d10ca..0000000 --- a/configs/releng/airootfs/etc/sysusers.d/beep.conf +++ /dev/null @@ -1,2 +0,0 @@ -#Type Name ID GECOS Home directory Shell -u beep - beepuser - - diff --git a/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules b/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules deleted file mode 100644 index 12a3a61..0000000 --- a/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules +++ /dev/null @@ -1,2 +0,0 @@ -# Add write access to the PC speaker for the "beep" group -ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m u:beep:w '$env{DEVNAME}'" diff --git a/configs/releng/airootfs/usr/local/bin/pacman-beep.sh b/configs/releng/airootfs/usr/local/bin/pacman-beep.sh deleted file mode 100755 index 8bc1199..0000000 --- a/configs/releng/airootfs/usr/local/bin/pacman-beep.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# I think I converted this from a wav using https://github.com/tomas-teijeiro/wavtobeep -beep -l 100 -f 15804.2656402 -n -l 25 -f 19.4454364826 -n -l 25 -f 123.470825314 -n -l 50 -f 554.365261954 -n -l 75 -f 138.591315488 -n -l 75 -f 1108.73052391 -n -l 50 -f 19.4454364826 -n -l 75 -f 783.990871963 -n -l 50 -f 19.4454364826 -n -l 75 -f 698.456462866 -n -l 50 -f 195.997717991 -n -l 25 -f 184.997211356 -n -l 50 -f 1108.73052391 -n -l 75 -f 783.990871963 -n -l 100 -f 138.591315488 -n -l 25 -f 155.563491861 -n -l 150 -f 698.456462866 -n -l 125 -f 195.997717991 -n -l 50 -f 554.365261954 -n -l 25 -f 587.329535835 -n -l 50 -f 138.591315488 -n -l 75 -f 1108.73052391 -n -l 50 -f 19.4454364826 -n -l 75 -f 880.0 -n -l 25 -f 38.8908729653 -n -l 25 -f 19.4454364826 -n -l 75 -f 739.988845423 -n -l 75 -f 220.0 -n -l 75 -f 1108.73052391 -n -l 50 -f 880.0 -n -l 25 -f 19.4454364826 -n -l 75 -f 138.591315488 -n -l 25 -f 123.470825314 -n -l 150 -f 739.988845423 -n -l 125 -f 220.0 -n -l 75 -f 554.365261954 -n -l 50 -f 138.591315488 -n -l 75 -f 1108.73052391 -n -l 25 -f 1046.5022612 -n -l 25 -f 1108.73052391 -n -l 25 -f 19.4454364826 -n -l 50 -f 783.990871963 -n -l 25 -f 830.60939516 -n -l 25 -f 19.4454364826 -n -l 25 -f 622.253967444 -n -l 75 -f 698.456462866 -n -l 50 -f 195.997717991 -n -l 25 -f 155.563491861 -n -l 50 -f 1108.73052391 -n -l 75 -f 783.990871963 -n -l 100 -f 138.591315488 -n -l 25 -f 19.4454364826 -n -l 125 -f 698.456462866 -n -l 150 -f 195.997717991 -n -l 50 -f 622.253967444 -n -l 75 -f 698.456462866 -n -l 75 -f 739.988845423 -n -l 25 -f 19.4454364826 -n -l 25 -f 38.8908729653 -n -l 125 -f 739.988845423 -n -l 100 -f 783.990871963 -n -l 25 -f 19.4454364826 -n -l 75 -f 783.990871963 -n -l 150 -f 880.0 -n -l 50 -f 19.4454364826 -n -l 125 -f 1108.73052391 -n -l 75 -f 261.625565301 -n -l 25 -f 277.182630977 -n -l 25 -f 261.625565301 diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index 0b3fe04..aaf2416 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -4,7 +4,6 @@ arch-install-scripts archinstall b43-fwcutter base -beep bind-tools brltty broadcom-wl diff --git a/configs/releng/profiledef.sh b/configs/releng/profiledef.sh index e8cb892..5feb205 100644 --- a/configs/releng/profiledef.sh +++ b/configs/releng/profiledef.sh @@ -20,5 +20,4 @@ file_permissions=( ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/Installation_guide"]="0:0:755" ["/usr/local/bin/livecd-sound"]="0:0:755" - ["/usr/local/bin/pacman-beep.sh"]="0:0:755" ) -- cgit v1.2.3-54-g00ecf From d185d09aabc7fa2bc231b5877c602f9f6a5f7c52 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 5 Apr 2022 16:42:54 +0200 Subject: remove crda, removed from core recently --- configs/releng/packages.x86_64 | 1 - 1 file changed, 1 deletion(-) (limited to 'configs') diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index aaf2416..0ac2ef1 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -10,7 +10,6 @@ broadcom-wl btrfs-progs clonezilla cloud-init -crda cryptsetup darkhttpd ddrescue -- cgit v1.2.3-54-g00ecf From 09b0428128700f37bd465eb54c6e45f69c17617d Mon Sep 17 00:00:00 2001 From: nl6720 Date: Fri, 1 Apr 2022 18:04:23 +0300 Subject: configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: use ramfs When using tmpfs, it is possible that parts of it end up getting put in swap space (only if there is one). This may not be desired, so use ramfs instead. --- CHANGELOG.rst | 2 ++ configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6930291..c26bc21 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,8 @@ Added Changed ------- +- Mount /etc/pacman.d/gnupg on ramfs instead of tmpfs to ensure its contents never land in swap. + Removed ------- diff --git a/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount index 4eab551..0ba0e67 100644 --- a/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount +++ b/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount @@ -2,7 +2,7 @@ Description=Temporary /etc/pacman.d/gnupg directory [Mount] -What=tmpfs +What=ramfs Where=/etc/pacman.d/gnupg -Type=tmpfs +Type=ramfs Options=mode=0755 -- cgit v1.2.3-54-g00ecf From ed24bbaa8e7a3bc5b2af21d608dcd7bb45d0a328 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Tue, 1 Mar 2022 18:29:49 +0200 Subject: configs/releng/packages.x86_64: add dmidecode It is useful for finding information about the system's hardware and firmware. --- CHANGELOG.rst | 2 ++ configs/releng/packages.x86_64 | 1 + 2 files changed, 3 insertions(+) (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c26bc21..88aed14 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,8 @@ Changelog Added ----- +- Add dmidecode to the list of packages in the releng profile. + Changed ------- diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index 0ac2ef1..dc16dd7 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -16,6 +16,7 @@ ddrescue dhclient dhcpcd diffutils +dmidecode dmraid dnsmasq dosfstools -- cgit v1.2.3-54-g00ecf From 4ef705847d2d57d9e53c77f8d32cfb325f8070d3 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Thu, 28 Apr 2022 13:42:10 +0300 Subject: configs/releng/packages.x86_64: add open-iscsi It is needed for installing Arch on an iSCSI target. --- CHANGELOG.rst | 1 + configs/releng/packages.x86_64 | 1 + 2 files changed, 2 insertions(+) (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 88aed14..d9ace53 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,7 @@ Added ----- - Add dmidecode to the list of packages in the releng profile. +- Add open-iscsi to the list of packages in the releng profile to allow installing Arch on an iSCSI target. Changed ------- diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index dc16dd7..aad3a18 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -74,6 +74,7 @@ nilfs-utils nmap ntfs-3g nvme-cli +open-iscsi openconnect openssh openvpn -- cgit v1.2.3-54-g00ecf From dc681dc90f4cf6a6c91f65a9e521e169ccc66658 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 13 Apr 2022 10:19:02 +0300 Subject: configs/releng/airootfs/etc/xdg/reflector/reflector.conf: use mirrors that support both IPv4 & IPv6 This ensures that IPv6-only systems get working mirrors. --- CHANGELOG.rst | 1 + configs/releng/airootfs/etc/xdg/reflector/reflector.conf | 2 ++ 2 files changed, 3 insertions(+) (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d9ace53..f706175 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,7 @@ Changed ------- - Mount /etc/pacman.d/gnupg on ramfs instead of tmpfs to ensure its contents never land in swap. +- Configure reflector to return only mirrors that support both IPv4 and IPv6. Removed ------- diff --git a/configs/releng/airootfs/etc/xdg/reflector/reflector.conf b/configs/releng/airootfs/etc/xdg/reflector/reflector.conf index 9a72b0d..7c830d2 100644 --- a/configs/releng/airootfs/etc/xdg/reflector/reflector.conf +++ b/configs/releng/airootfs/etc/xdg/reflector/reflector.conf @@ -1,6 +1,8 @@ # Reflector configuration file for the systemd service. --save /etc/pacman.d/mirrorlist +--ipv4 +--ipv6 --protocol https --latest 20 --sort rate -- cgit v1.2.3-54-g00ecf From 8c837ca23b4dd3267ee6cc570cf05b17a570a8d1 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Thu, 28 Apr 2022 14:47:14 +0300 Subject: configs/*: add VMware and Hyper-V guest packages and enable their services * open-vm-tools package, vmtoolsd.service and vmware-vmblock-fuse.service for VMware. * hyperv package, hv_fcopy_daemon.service, hv_kvp_daemon.service and hv_vss_daemon.service for Hyper-V. Related to #118. --- CHANGELOG.rst | 2 ++ .../etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/vmtoolsd.service | 1 + .../systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service | 1 + configs/baseline/packages.x86_64 | 2 ++ .../etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/vmtoolsd.service | 1 + .../systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service | 1 + configs/releng/packages.x86_64 | 2 ++ 13 files changed, 16 insertions(+) create mode 120000 configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service create mode 120000 configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service create mode 120000 configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service create mode 120000 configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service create mode 120000 configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service create mode 120000 configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service create mode 120000 configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service create mode 120000 configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service create mode 120000 configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service create mode 120000 configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service (limited to 'configs') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f706175..77ce992 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,8 @@ Added - Add dmidecode to the list of packages in the releng profile. - Add open-iscsi to the list of packages in the releng profile to allow installing Arch on an iSCSI target. +- Add open-vm-tools and hyperv to the list of packages and enable their services to provide better integration with the + VMware and Hyper-V hypervisors. Changed ------- diff --git a/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service new file mode 120000 index 0000000..20ac7b2 --- /dev/null +++ b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service new file mode 120000 index 0000000..a7eac4a --- /dev/null +++ b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service new file mode 120000 index 0000000..eae19ef --- /dev/null +++ b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service new file mode 120000 index 0000000..e0a11a7 --- /dev/null +++ b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmtoolsd.service \ No newline at end of file diff --git a/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service new file mode 120000 index 0000000..173f306 --- /dev/null +++ b/configs/baseline/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmware-vmblock-fuse.service \ No newline at end of file diff --git a/configs/baseline/packages.x86_64 b/configs/baseline/packages.x86_64 index 0a64120..cbb93b0 100644 --- a/configs/baseline/packages.x86_64 +++ b/configs/baseline/packages.x86_64 @@ -1,8 +1,10 @@ base cloud-init +hyperv linux mkinitcpio mkinitcpio-archiso +open-vm-tools openssh pv qemu-guest-agent diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service new file mode 120000 index 0000000..20ac7b2 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service new file mode 120000 index 0000000..a7eac4a --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service new file mode 120000 index 0000000..eae19ef --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service new file mode 120000 index 0000000..e0a11a7 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmtoolsd.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service new file mode 120000 index 0000000..173f306 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmware-vmblock-fuse.service \ No newline at end of file diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index aad3a18..511f452 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -36,6 +36,7 @@ gptfdisk grml-zsh-config grub hdparm +hyperv intel-ucode ipw2100-fw ipw2200-fw @@ -75,6 +76,7 @@ nmap ntfs-3g nvme-cli open-iscsi +open-vm-tools openconnect openssh openvpn -- cgit v1.2.3-54-g00ecf