David Runge
f4324e2f81
Remove SPDX license identifier from releng configs
...
configs/baseline/*:
Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for
copyright.
2021-07-29 20:45:08 +02:00
David Runge
00a1e8e7d2
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
8fa110e9d7
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
c6a1ccca4f
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
140a5e6185
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
d75689b5f7
baseline/pacman.conf: Enable parallel downloads
...
Now that pacman 6 is around, enable parallel downloads to speed up the installation
process. Added to the baseline configuration to also improve the pipeline.
2021-06-29 15:20:39 -03:00
Giancarlo Razzolini
5343f5f6a4
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
6e1ca35e59
Update ArchWiki article URLs
...
Use the new, prettier short URLs.
2021-06-18 21:17:47 +03:00
nl6720
6f671e1174
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
d3b06a0aaa
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
0b94b049e9
configs/baseline: use EROFS based image
...
Showcase #59 .
2021-05-29 18:04:15 +03:00
nl6720
3b2618ff84
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
31427eca7a
Apply copytoram Boot Option Menu Entries also to releng
2021-05-14 19:47:25 +02:00
Simon Wilper
9c783a8e71
Reorder UEFI boot menu entries
2021-05-14 19:47:25 +02:00
Simon Wilper
bb503b9030
add optional pv tool
...
use pv to give feedback on copying the airootfs to RAM when copytoram
kernel parameter is given
2021-05-14 19:46:23 +02:00
nl6720
d0d4fa56cb
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
3678bba899
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
bd2b861aa3
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
535bc3c0da
baseline: Add bootstrap packages file
...
configs/baseline/bootstrap_packages.x86_64:
Add a packages file for bootstrap images using the baseline profile and add arch-install-scripts and base to it.
2021-05-09 11:38:03 +02:00
David Runge
b7fd696e1e
baseline: Add buildmodes to profiledef.sh
...
configs/baseline/profiledef.sh:
Add `buildmodes` array with default entry for the 'iso' buildmode.
2021-05-09 11:38:00 +02:00
David Runge
6afa6958f5
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
9c84b7ca5b
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
9dbb600d4c
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
81da51835a
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
06c3218786
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
c8599788f0
Revert "configs/releng: improve UX"
...
This reverts commit 8b6f3545e3
.
2021-03-30 22:40:37 +02:00
nl6720
8b6f3545e3
configs/releng: improve UX
...
Implements #90
2021-03-30 21:09:44 +02:00
Giancarlo Razzolini
9875249e02
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
d178183c2e
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
0664efcf3c
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
nl6720
d86f8606dc
configs/releng: add and enable ModemManager
...
ModemManager's mmcli is the simplest way to connect with WWAN modems.
Mention mmcli in MOTD.
Implements #110 .
2021-03-26 17:19:31 +02:00
nl6720
2c9eabd53f
configs/releng: start DHCP client for mobile broadband
...
Add /etc/systemd/network/20-wwan.network
Related to #110 .
2021-03-26 12:28:07 +02:00
nl6720
edfb50ab6c
configs/releng: rename 20-wireless.network to 20-wlan.network
...
The file is limited to Wi-Fi (Type=wlan in networkd configuration).
2021-03-26 12:18:08 +02:00
nl6720
8a521d0bfa
Update 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.
2021-03-26 11:35:20 +02:00
Alexander Epaneshnikov
e43017c955
add a sound card firmware
2021-03-14 20:34:43 +00:00
nl6720
bc67933af1
Support EROFS
...
EROFS, like Squashfs, is a read-only file system. It can be used to store airootfs in an image file.
Its advantage is the support for POSIX ACLs. EROFS downside is that currently it only supports LZ4 compression (LZMA support is not yet fully implemented).
A difference from Squashfs is that, EROFS stores change time (ctime) not modification time (mtime). The reverse is true for Squashfs.
Implements https://gitlab.archlinux.org/archlinux/archiso/-/issues/59
2021-03-09 16:25:45 +02:00
David Runge
652ad4deed
releng: Add usbmuxd to list of packages
...
configs/releng/packages.x86_64:
Add usbmuxd to list of packages, so that users have the option to use iOS devices out-of-the-box for data connection
during installation.
Fixes #99
2021-02-16 21:43:46 +00:00
Kristian Klausen
03ac49f64e
Remove haveged
...
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] 3f2dc2798b
[3] 50ee7529ec
[4] https://lore.kernel.org/lkml/alpine.DEB.2.21.1909290010500.2636@nanos.tec.linutronix.de/T/
[5] https://lwn.net/Articles/800509/
[6] 30c08efec8
[7] https://lwn.net/Articles/808575/
Fix #98
2021-02-16 16:33:06 +00:00
nl6720
f9a7b206a5
configs/releng: move locale-gen from customize_airootfs.sh to a pacman hook
...
This finally removes customize_airootfs.sh from releng.
Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
2021-01-31 11:34:56 +02:00
nl6720
a46c74087f
config/releng: remove pacman hooks specific to ISO build process from 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 .
2021-01-31 09:55:25 +02:00
Michael Vorburger
e7306a309c
add cloud-init to baseline
2021-01-27 14:16:43 +00:00
Michael Vorburger
744b8f13ed
make baseline have working ethernet networking, like releng
2021-01-27 14:16:43 +00:00
Michael Vorburger
94dd194c22
add SSH server to baseline
...
inspired by https://wiki.archlinux.org/index.php/Archiso#Prepare_an_ISO_for_an_installation_via_SSH
2021-01-27 14:16:43 +00:00
Michael Vorburger
221a9211e5
use same airootfs_image_tool_options in baseline as in releng
2021-01-27 14:16:43 +00:00
nl6720
4f4047a3f8
configs/releng: move the mirror uncommenting sed command from 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 .
2021-01-27 00:07:45 +02:00
Michael Vorburger
833cbd5e72
enable SSH server in releng profile
2021-01-23 15:54:31 +00:00
Michael Vorburger
9b03e0b08a
add cloud-init to releng
2021-01-23 15:54:31 +00:00
nl6720
a178ff44bc
profiledef.sh: Remove www. from archlinux.org
...
See https://lists.archlinux.org/pipermail/arch-devops/2020-December/000474.html .
2020-12-26 20:11:06 +02:00
nl6720
8ba2870829
configs/releng/syslinux/archiso_pxe-linux.cfg: add missing /boot to initrd file path
...
Fixes https://bugs.archlinux.org/task/68803 .
2020-12-01 07:12:31 +02:00
David Runge
c10004dfec
Fix issues with file ownerships/modes
...
archiso/mkarchiso:
Make sure to always compare absolute paths in `_make_custom_airootfs()` (as `realpath` is used).
Remove `echo` calls that prevent the setting of actual file ownerships and modes.
configs/releng/profiledef.sh:
Set file mode of /root/.automated_script.sh to 755.
Fixes #82
2020-11-30 21:48:08 +01:00