Commit Graph

405 Commits

Author SHA1 Message Date
plainlinen 8077c62fe5 Add useful grub menu entries to grub.cfg 2022-06-09 22:36:03 -07:00
nl6720 a7d807f871 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.
2022-06-09 08:27:50 +03:00
Alexander Epaneshnikov dbd9ea7a42 fix boot menu entry sorting
I guess new systemd changed this
2022-05-28 15:23:02 +03:00
Alexander Epaneshnikov 600bf0dbc3 add accessible copytoram entry 2022-05-28 13:35:26 +03:00
Alexander Epaneshnikov 9fdf33a61c enable beeps in boot menu 2022-05-28 13:35:26 +03:00
Pellegrino Prevete 239fd25536 Update baseline and releng profiledef.sh to support ia32 uefi mode. 2022-05-25 14:52:22 +00:00
Pellegrino Prevete 659b3f160a Add GRUB configuration files to baseline and releng profiles. 2022-05-25 14:50:49 +00:00
Darren Ng a42312beaa bind-tools has been replaced with bind 2022-05-17 02:17:56 +00:00
nl6720 7a2fc4572f 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.
2022-04-30 12:07:36 +03:00
nl6720 bcd8a0bbf7 configs/releng/airootfs/etc/xdg/reflector/reflector.conf: use mirrors that support both IPv4 & IPv6
This ensures that IPv6-only systems get working mirrors.
2022-04-28 17:52:40 +03:00
nl6720 1e96500440 configs/releng/packages.x86_64: add open-iscsi
It is needed for installing Arch on an iSCSI target.
2022-04-28 13:42:10 +03:00
nl6720 f4a2d9ce72 configs/releng/packages.x86_64: add dmidecode
It is useful for finding information about the system's hardware and firmware.
2022-04-07 18:25:06 +03:00
nl6720 f4794aa0ff 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.
2022-04-06 18:10:37 +03:00
Tobias Powalowski 0363905987 remove crda, removed from core recently 2022-04-05 16:42:54 +02:00
nl6720 3121df9457 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 b5011af3f4, reversing
changes made to 07d8035624.
2022-04-04 15:20:52 +03:00
nl6720 4be1dafd48 Merge remote-tracking branch 'origin/merge-requests/239'
* origin/merge-requests/239:
  add needed files

See merge request !239
2022-03-31 19:49:30 +03:00
Kristian Klausen fef1a5fc58 configs/releng: Improve motd
Fix #167
2022-03-29 18:56:50 +02:00
Alexander Epaneshnikov 3758214b10 add needed files
this fixes #167
2022-03-29 19:31:14 +03:00
nl6720 40b149c9d5 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.
2022-03-25 17:38:10 +02:00
Eric Toombs 5c2384c518 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.
2022-03-25 10:44:45 -04:00
nl6720 5cad5f24c8 configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf: 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
2022-01-28 11:03:05 +02:00
nl6720 f00a94a4a9 configs/*/airootfs/etc/systemd/network/20-ethernet.network: add a comment to document why an interface name glob is used
This documents the changes made in !177 inside the .network files themselves.

Related to #142.
2022-01-22 19:17:34 +02:00
mono wock acefbc208d Add linux-firmware-marvell for Surface Pro 6 wi-fi 2022-01-22 11:46:40 -05:00
nl6720 df8cc9723d configs/releng/airootfs/etc/mkinitcpio.conf: remove archiso_shutdown
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.
2021-12-02 14:49:10 +02:00
Howard Hicks 2b7bbd02d6 Fixes failure to retry script download. Tested and verified the issue is resolved.
The curl --retry-connrefused option is used with not instead of the --retry <num> option to add an extra type of failure to retry on, without --retry <num> it does not retry at all even on a connection refused. 

https://man.archlinux.org/man/curl.1.en
2021-11-30 22:03:09 +00:00
Tom Yan 4ae0abddd4 Add grub and refind back
"rescue/installation actions for {grub,refind} should be run from
within a chroot" is a false statement. See --boot-directory of
grub-install and --root of refind-install. (In the case of grub,
there are people that do not use the ugly grub-mkconfig at all.)
2021-11-30 18:40:45 +00:00
nl6720 ea2719d5b3 configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1
Update /etc/ssh/sshd_config to match upstream changes.
The only modification remains "PermitRootLogin yes".
2021-08-25 00:24:17 +03:00
David Runge 26eb71e2ef Remove SPDX license identifier from releng configs
configs/releng/*:
Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for
copyright.
2021-07-29 20:42:11 +02:00
nl6720 ba9c9de694 configs/*/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/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.
2021-07-27 13:06:59 +03:00
nl6720 8f6d85b807 configs/releng/airootfs/etc/systemd/network/: move RouteMetric= from [DHCPv6] to [IPv6AcceptRA]
systemd moved the option. See 8ebafba9f9 .
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.
2021-07-27 13:06:59 +03:00
nl6720 81adab37a8 configs/releng/packages.x86_64: remove termite-terminfo
termite was removed from the official repos.

Fixes https://bugs.archlinux.org/task/71481 .
2021-07-11 11:24:00 +03:00
Giancarlo Razzolini d44a7c137a releng/pacman.conf: Enable parallel downloads
Now that pacman 6 is around, enable parallel downloads to speed up the installation
process.
2021-06-29 15:19:36 -03:00
nl6720 bea9b6a87f Update ArchWiki article URLs
Use the new, prettier short URLs.
2021-06-18 21:17:47 +03:00
nl6720 00a7436bfa configs/*/pacman.conf: update configuration file for pacman 6
Based on accc1d2101/trunk/pacman.conf

Implements #136
2021-06-05 18:19:00 +03:00
David Runge 0e82cc5f45 Add pv to the list of releng packages
configs/releng/packages.x86_64:
Add pv, as it was not added in the context of !118.
2021-05-30 11:17:45 +02:00
nl6720 16eb3267f8 configs/releng/airootfs/etc/systemd/network/: match by globbing the 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 8a521d0bfa .
2021-05-29 15:31:02 +03:00
Simon Wilper 9ec1acffdf Apply copytoram Boot Option Menu Entries also to releng 2021-05-14 19:47:25 +02:00
nl6720 734c02f65f configs/releng/airootfs/etc/systemd/system/pacman-init.service: don't hardcode the keyrings
If the keyring is not specified, pacman-key will simply use all keyrings from /usr/share/pacman/keyrings/.

Fixes #133.
2021-05-12 10:24:35 +03:00
nl6720 630164f1bb configs/releng/packages.x86_64: explicitly add wanted packages instead of relying on pulling them in as dependencies
Fixes #119.
2021-05-11 23:51:00 +03:00
nl6720 d0ee19ca69 configs/*: add VM guest packages and enable their services
* virtualbox-guest-utils-nox package and vboxservice.service for VirtualBox.
* qemu-guest-agent package and qemu-guest-agent.service for QEMU & libvirt.

Implements #118.
2021-05-11 21:47:12 +03:00
David Runge 732fd96e34 releng: Add buildmodes to profiledef.sh
configs/releng/profiledef.sh:
Add a `buildmodes` array to releng's profiledef.sh with the up-to-now default buildmode 'iso'.
2021-05-09 11:37:57 +02:00
David Runge 0112037d45 releng: Add packages file for bootstrap image
configs/releng/bootstrap_packages.x86_64:
Add packages file for bootstrap images and add arch-install-scripts and base.
2021-05-09 11:26:53 +02:00
David Runge eedce7ac34 Add packages for unlocking LUKS2 volumes with systemd
configs/releng/packages.x86_64:
Add libfido2 for unlocking LUKS2 volumes with FIDO2 tokens.
Add tpm2-tss for unlocking LUKS2 volumes with TPM2.
2021-04-30 23:03:08 +02:00
David Runge 36a59e8b95 Add required packages to interact with smartcards
configs/releng/packages.x86_64:
Add libusb-compat and pcsclite as optional dependencies for gnupg to be able to interact with smartcards out-of-the-box.

Closes #122
2021-04-30 23:03:04 +02:00
nl6720 aee3649be4 configs/releng/syslinux/: increase serial baud rate to 115200
Additionally enable serial in baseline profile.

Related to #75.
2021-04-30 20:50:34 +03:00
David Runge c25c96d6d1 Revert "configs/releng: improve UX"
This reverts commit 8b6f3545e3.
2021-03-30 22:40:37 +02:00
nl6720 fdb3d7ba5d configs/releng: improve UX
Implements #90
2021-03-30 21:09:44 +02:00
Giancarlo Razzolini 1691a4abde releng/packages: Add archinstall to the list of packages
Add archinstall to the list of packages thare are installed on the ISO.
2021-03-30 18:14:27 +00:00
David Runge e992345182 Reduce amount of checked mirrors
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
2021-03-29 21:00:06 +02:00
David Runge 601a49686d Allow redirects for scripts
configs/releng/airootfs/root/.automated_script.sh:
Add the `--location` curl parameter (see `man 1 curl`) to allow for curl to retrieve a remote script even if the source
is being redirected (e.g. moved permanently) when using the `script=` kernel commandline parameter.

Fixes #113
2021-03-29 19:26:27 +02:00