aboutsummaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc
Commit message (Collapse)AuthorAgeFilesLines
* Order pacman-init.service before archlinux-keyring-wkd-sync.servicenl67202022-09-011-0/+2
| | | | | | 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.
* configs/: use the C.UTF-8 localenl67202022-06-092-14/+1
| | | | | | | 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/*: add VMware and Hyper-V guest packages and enable their servicesnl67202022-04-305-0/+5
| | | | | | | * 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.
* configs/releng/airootfs/etc/xdg/reflector/reflector.conf: use mirrors that ↵nl67202022-04-281-0/+2
| | | | | | support both IPv4 & IPv6 This ensures that IPv6-only systems get working mirrors.
* configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: use ramfsnl67202022-04-061-2/+2
| | | | | 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.
* Revert "Merge remote-tracking branch 'origin/merge-requests/239'"nl67202022-04-044-18/+0
| | | | | | | 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.
* Merge remote-tracking branch 'origin/merge-requests/239'nl67202022-03-314-0/+18
|\ | | | | | | | | | | | | * origin/merge-requests/239: add needed files See merge request !239
| * add needed filesAlexander Epaneshnikov2022-03-294-0/+18
| | | | | | | | this fixes #167
* | configs/releng: Improve motdKristian Klausen2022-03-291-0/+1
|/ | | | Fix #167
* configs/{baseline,releng}/: disable systemd-gpt-auto-generatornl67202022-03-251-0/+1
| | | | | | | | | | | | | | | 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.
* configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.co ↵nl67202022-01-281-1/+1
| | | | | | | | nf: update ExecStart Update the drop-in to more closely match getty@.service of systemd 250. Use example from https://wiki.archlinux.org/title/getty#Virtual_console
* configs/*/airootfs/etc/systemd/network/20-ethernet.network: add a comment to ↵nl67202022-01-221-0/+3
| | | | | | | | document why an interface name glob is used This documents the changes made in !177 inside the .network files themselves. Related to #142.
* configs/releng/airootfs/etc/mkinitcpio.conf: remove archiso_shutdownnl67202021-12-021-1/+1
| | | | | | | The archiso_shutdown hook has been obsolete since mkinitcpio 16. https://lists.archlinux.org/pipermail/arch-dev-public/2013-December/025742.html Related to mkinitcpio/mkinitcpio-archiso#8.
* configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1nl67202021-08-251-5/+5
| | | | | Update /etc/ssh/sshd_config to match upstream changes. The only modification remains "PermitRootLogin yes".
* Remove SPDX license identifier from releng configsDavid Runge2021-07-2916-47/+0
| | | | | | configs/releng/*: Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for copyright.
* configs/*/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d ↵nl67202021-07-271-0/+3
| | | | | | | | /wait-for-only-one-interface.conf: document why the drop-in file exists Related to #142. Add missing `ExecStart=` to baseline's /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf.
* configs/releng/airootfs/etc/systemd/network/: move RouteMetric= from ↵nl67202021-07-273-9/+24
| | | | | | | | | | | | [DHCPv6] to [IPv6AcceptRA] systemd moved the option. See https://github.com/systemd/systemd/commit/8ebafba9f987c21aa5787c8767f2e390b4ec0bc5 . Implements #123. Document in comments why the route metrics need to be set (because of https://github.com/systemd/systemd/issues/17698 ) and use the same metric values as NetworkManager. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c Additionally remove RouteMetric from configs/baseline/airootfs/etc/systemd/network/20-ethernet.network. There is only one networkd configuration file in baseline, meaning, there are no other routes.
* Update ArchWiki article URLsnl67202021-06-181-1/+1
| | | | Use the new, prettier short URLs.
* configs/releng/airootfs/etc/systemd/network/: match by globbing the ↵nl67202021-05-293-3/+4
| | | | | | | | | | interface name instead of matching the type Type=ether matches virtual Ethernet interfaces (veth*) which may break networking inside containers. Fixes https://bugs.archlinux.org/task/70892 . Partially reverts 8a521d0bfaedf16b95c09b4837981c4b567b5118 .
* configs/releng/airootfs/etc/systemd/system/pacman-init.service: don't ↵nl67202021-05-121-1/+1
| | | | | | | | hardcode the keyrings If the keyring is not specified, pacman-key will simply use all keyrings from /usr/share/pacman/keyrings/. Fixes #133.
* configs/*: add VM guest packages and enable their servicesnl67202021-05-112-0/+2
| | | | | | | * virtualbox-guest-utils-nox package and vboxservice.service for VirtualBox. * qemu-guest-agent package and qemu-guest-agent.service for QEMU & libvirt. Implements #118.
* Revert "configs/releng: improve UX"David Runge2021-03-301-16/+9
| | | | This reverts commit 8b6f3545e348caf16a2ff30d948ff93b4d9a4b89.
* configs/releng: improve UXnl67202021-03-301-9/+16
| | | | Implements #90
* Reduce amount of checked mirrorsDavid Runge2021-03-291-1/+1
| | | | | | | | | configs/releng/airootfs/etc/xdg/reflector/reflector.conf: Reduce the amount mirrors that reflector checks from 70 to 20. This significantly reduces the time it takes to end up with an up-to-date mirrorlist during boot with the releng profile. Fixes #92
* configs/releng: add and enable ModemManagernl67202021-03-263-1/+4
| | | | | | | | ModemManager's mmcli is the simplest way to connect with WWAN modems. Mention mmcli in MOTD. Implements #110.
* configs/releng: start DHCP client for mobile broadbandnl67202021-03-261-0/+15
| | | | | | Add /etc/systemd/network/20-wwan.network Related to #110.
* configs/releng: rename 20-wireless.network to 20-wlan.networknl67202021-03-261-0/+0
| | | | The file is limited to Wi-Fi (Type=wlan in networkd configuration).
* Update ↵nl67202021-03-262-6/+10
| | | | | | | configs/releng/airootfs/etc/systemd/network/20-{ethernet,wireless}.network * Match the device type instead of the interface name. * Replace DHCP section with DHCPv4/DHCPv6. systemd split the sections.
* Remove havegedKristian Klausen2021-02-161-2/+0
| | | | | | | | | | | | | | | | | | | haveged was added 8 years ago[1] to increase entropy and presumably to prevent entropy starvation. A few things has changed since, most notable: * the kernel actively tries to add entropy (jitter entropy)[2][3][4][5] * /dev/random no longer blocks after CRNG initialization[6][7] [1] d7e790d ("Initialize pacman keyring on bootup") [2] https://github.com/torvalds/linux/commit/3f2dc2798b81531fd93a3b9b7c39da47ec689e55 [3] https://github.com/torvalds/linux/commit/50ee7529ec4500c88f8664560770a7a1b65db72b [4] https://lore.kernel.org/lkml/alpine.DEB.2.21.1909290010500.2636@nanos.tec.linutronix.de/T/ [5] https://lwn.net/Articles/800509/ [6] https://github.com/torvalds/linux/commit/30c08efec8884fb106b8e57094baa51bb4c44e32 [7] https://lwn.net/Articles/808575/ Fix #98
* configs/releng: move locale-gen from customize_airootfs.sh to a pacman hooknl67202021-01-311-0/+13
| | | | | | This finally removes customize_airootfs.sh from releng. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* config/releng: remove pacman hooks specific to ISO build process from ↵nl67202021-01-312-0/+19
| | | | | | | | | airootfs after they run This works around https://bugs.archlinux.org/task/49347 . Leaving the hooks in the airootfs image will result in it being run when pacstrap is run in the live environment. This should not happen as they are intended for the ISO build process only. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/91 .
* configs/releng: move the mirror uncommenting sed command from ↵nl67202021-01-271-0/+12
| | | | | | | | | customize_airootfs.sh to a pacman hook After pacman-mirrorlist is installed, /etc/pacman.d/hooks/uncomment-mirrors.hook will run a sed command which uncomments all Server lines in /etc/pacman.d/mirrorlist. This brings us another step closer to the complete removal of customize_airootfs.sh. Related to https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* enable SSH server in releng profileMichael Vorburger2021-01-231-0/+1
|
* add cloud-init to relengMichael Vorburger2021-01-234-0/+4
|
* implement accessibility support in archisoAlexander Epaneshnikov2020-10-294-0/+41
| | | | this fixes #67
* Add modconf to HOOKS array in mkinitcpio.confnl67202020-10-291-1/+2
| | | | The default mkinitcpio.conf includes modconf in HOOKS.
* Do not rename the initramfs imagenl67202020-09-271-1/+1
| | | | | | | This is a breaking change. archweb, archiso-manager and various documentation must be updated. * https://github.com/archlinux/archweb/blob/master/templates/releng/archlinux.ipxe * https://github.com/pierres/archiso-manager/blob/master/Makefile
* configs/releng: remove custom reflector.service and use the service provided ↵nl67202020-09-274-45/+13
| | | | | | by the package archiso specific options are placed in a /etc/systemd/system/reflector.service.d/archiso.conf drop-in.
* archiso/mkarchiso: create an empty /etc/machine-idnl67202020-08-181-0/+0
| | | | Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/42 .
* releng: place custom sshd_config in airootfsnl67202020-07-301-0/+116
| | | | | Properly track the file instead of modifying it on-the-fly with customize_airootfs.sh. See https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* Use latest synced mirrors instead of ageDavid Runge2020-07-301-1/+1
| | | | | | configs/releng/airootfs/etc/systemd/system/reflector.service: Use the 70 mirrors synced most recently (--latest) instead of a specific time since last sync (--age). According to FS#67399 using 1hour as sync age is too short, as it sometimes leads to empty list.
* Build initramfs images only oncenl67202020-07-292-0/+80
| | | | | Place custom mkinitcpio.conf in airootfs. Use a custom mkinitcpio preset to specify generated image file path.
* Remove unnecessary files from releng's airootfsnl67202020-07-292-3/+0
| | | | | | | | configs/releng/airootfs/etc/fstab: /etc/fstab shipped by the filesystem package has only comments. There is no reason to replace it with an empty file. configs/releng/airootfs/etc/systemd/system/default.target: There is no harm in booting to graphical.target. releng does not enable (or even install) any service that has {Required,Wanted}By=graphical.target.
* Add license and basic documentationDavid Runge2020-07-2913-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | LICENSE: Add GPL-3.0 license. {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}: Add SPDX license identifier. Makefile: Add SPDX license identifier. Install the `run_archiso.sh` script as global executable `run_archiso`. Use -D and -t flags to install to install files more generically (without a previous call to install the directory). README.rst: Add README outlining the project's scope, how to build images from the profiles and how to test. AUTHORS.rst: Add list of all direct contributors to the repository. CONTRIBUTING.rst: Add basic contribution guidelines, explaining the linter and the license in use. Closes #7 Closes #3
* Set root user's shell and password with custom /etc/passwd and /etc/shadownl67202020-07-202-0/+2
| | | | Correct shadow file permissions from build.sh.
* Remove lynx usage in configs/releng/build.shnl67202020-07-111-0/+9
| | | | | | | | /usr/local/bin/Installation_guide: Add a convenience script which opens the installation guide in lynx. /etc/motd: Provide a message with minimal instructions for connecting to internet and inform about the Installation_guide convenience script.
* Remove unneded ReadOnlyPaths from reflector.servicenl67202020-07-111-1/+0
| | | | | configs/releng/airootfs/etc/systemd/system/reflector.service: Remove references to a nonexistent file.
* Allow systemd-networkd-wait-online to succeed with one interfacenl67202020-06-301-0/+3
| | | | | It is enough if one network interface is online, there is no need to wait for all of them. Without this, when connecting with Wi-Fi and leaving Ethernet disconnected, the network-online.target will get unnecessarily delayed.
* Move choose-mirror script to /usr/local/bin/nl67202020-06-302-27/+1
| | | | | | /etc/systemd/scripts/ is not a standard directory. Run shellchek on the choose-mirror script.
* Add reflector and enable reflector.servicenl67202020-06-302-0/+43
| | | | | reflector.service will update pacman's mirrorlist after a network connection is established in the live system. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/26 .