Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs
AgeCommit message (Collapse)Author
2021-05-12configs/releng/airootfs/etc/systemd/system/pacman-init.service: don't ↵nl6720
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-11configs/*: add VM guest packages and enable their servicesnl6720
* 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-03-30Revert "configs/releng: improve UX"David Runge
This reverts commit 8b6f3545e348caf16a2ff30d948ff93b4d9a4b89.
2021-03-30configs/releng: improve UXnl6720
Implements #90
2021-03-29Reduce amount of checked mirrorsDavid Runge
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-29Allow redirects for scriptsDavid Runge
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-26configs/releng: add and enable ModemManagernl6720
ModemManager's mmcli is the simplest way to connect with WWAN modems. Mention mmcli in MOTD. Implements #110.
2021-03-26configs/releng: start DHCP client for mobile broadbandnl6720
Add /etc/systemd/network/20-wwan.network Related to #110.
2021-03-26configs/releng: rename 20-wireless.network to 20-wlan.networknl6720
The file is limited to Wi-Fi (Type=wlan in networkd configuration).
2021-03-26Update ↵nl6720
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-02-16Remove havegedKristian Klausen
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
2021-01-31configs/releng: move locale-gen from customize_airootfs.sh to a pacman hooknl6720
This finally removes customize_airootfs.sh from releng. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
2021-01-31config/releng: remove pacman hooks specific to ISO build process from ↵nl6720
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-27configs/releng: move the mirror uncommenting sed command from ↵nl6720
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-23enable SSH server in releng profileMichael Vorburger
2021-01-23add cloud-init to relengMichael Vorburger
2020-10-29Fix linter errors in livecd-soundDavid Runge
configs/releng/airootfs/usr/local/bin/livecd-sound: Replace oldstyle expr with a bash test in `is_numeric()`. Replace use of `nword()` with call to `wc -w`. Quote variables in `pick_a_card()`. Fixes #78
2020-10-29implement accessibility support in archisoAlexander Epaneshnikov
this fixes #67
2020-10-29Add modconf to HOOKS array in mkinitcpio.confnl6720
The default mkinitcpio.conf includes modconf in HOOKS.
2020-09-27Do not rename the initramfs imagenl6720
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
2020-09-27configs/releng: remove custom reflector.service and use the service provided ↵nl6720
by the package archiso specific options are placed in a /etc/systemd/system/reflector.service.d/archiso.conf drop-in.
2020-08-18archiso/mkarchiso: create an empty /etc/machine-idnl6720
Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/42 .
2020-08-17Deprecate build.sh scripts and old mkarchiso commandsnl6720
Replace build.sh scripts with calls to mkarchiso -B "profiledir" build_profile. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/37 .
2020-07-30releng: place custom sshd_config in airootfsnl6720
Properly track the file instead of modifying it on-the-fly with customize_airootfs.sh. See https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
2020-07-30Use latest synced mirrors instead of ageDavid Runge
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.
2020-07-29Build initramfs images only oncenl6720
Place custom mkinitcpio.conf in airootfs. Use a custom mkinitcpio preset to specify generated image file path.
2020-07-29Remove unnecessary files from releng's airootfsnl6720
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.
2020-07-29Add license and basic documentationDavid Runge
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
2020-07-28Copy /etc/skel/ to user's home from build.sh instead of customize_airootfs.shnl6720
Additionally copy the files to all custom user homes, not just root's.
2020-07-28Deprecate customize_airootfs.shnl6720
Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
2020-07-20Set root user's shell and password with custom /etc/passwd and /etc/shadownl6720
Correct shadow file permissions from build.sh.
2020-07-11Remove lynx usage in configs/releng/build.shnl6720
/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.
2020-07-11Use /usr/bin/env in shebangsnl6720
2020-07-11Remove unneded ReadOnlyPaths from reflector.servicenl6720
configs/releng/airootfs/etc/systemd/system/reflector.service: Remove references to a nonexistent file.
2020-07-11Keep /root permissions as 750nl6720
The filesystem package installs /root as 750 not 700. Move chmod from customize_airootfs.sh to build.sh.
2020-06-30Allow systemd-networkd-wait-online to succeed with one interfacenl6720
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.
2020-06-30Move choose-mirror script to /usr/local/bin/nl6720
/etc/systemd/scripts/ is not a standard directory. Run shellchek on the choose-mirror script.
2020-06-30Add reflector and enable reflector.servicenl6720
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 .
2020-06-30Set timezone from outside chrootnl6720
2020-06-30Enable systemd units with symlinks instead of doing it via systemctl in chrootnl6720
2020-06-30Use drop-in files for journald and logind configurationnl6720
2020-06-29IPv6 DHCPDavid Runge
configs/releng/airootfs/etc/systemd/network/20-{ethernet,wirless}.network: Making sure that systemd-networkd enables DHCP capabilities also for IPv6 ('DHCP=yes' and unsetting IPv6AcceptRA - see `man 5 systemd.network` for further information). Closes #23
2020-06-24Enabling iwdDavid Runge
configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service: Adding a symlink to /usr/lib/systemd/system/iwd.service to enable iwd in airootfs (and thus on the image). Closes #18
2020-06-23Removing wget in favor of curlDavid Runge
configs/releng/airootfs/root/.automated_script.sh: Replacing wget with curl for the use-case of downloading a pre-specified remote startup script (changing flags where needed). configs/releng/packages.x86_64: Removing wget from the list of installed packages, as .automated_script.sh was the only reason for it being installed. Closes #16
2020-06-23Numerical prefix for systemd-networkd configurationDavid Runge
Adding a numerical prefix ('20-') to the ethernet.network and wireless.network configuration files for systemd-networkd. This way overriding them can become more predictable e.g. by providing files with a '30-' prefix. Closes #13
2020-05-31Replacing dhcpcd with systemd-networkd and systemd-resolvedDavid Runge
configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules: Removing the udev rule for starting dhcpcd@.service on interfaces of the form eth* and en*. configs/releng/airootfs/etc/systemd/network/{ethernet,wireless}.network: Adding default DHCP configurations for en*, eth*, wlp* and wlan* interfaces. configs/releng/airootfs/etc/resolv.conf: Adding a symlink from /run/systemd/resolve/stub-resolv.conf to /etc/resolv.conf (in airootfs). configs/releng/airootfs/root/customize_airootfs.sh: Adding systemd-networkd and systemd-resolved to the list of services that are being enabled during airootfs customization.
2020-05-31Unsetting the root passwordDavid Runge
Due to changes in the filesystem package [1] the current /etc/passwd does not allow login without an empty root password anymore. This becomes apparent, when switching to another TTY than the one autologin is activated for. By running passwd -d root we unset the password. In the future this should go to a custom /etc/passwd file. [1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/filesystem&id=0320c909f3867d47576083e853543bab1705185b
2020-05-30Simplifying regex for script downloadDavid Runge
configs/releng/airootfs/root/.automated_script.sh: Using only one regex to match http://, https:// or ftp:// endpoints.
2018-04-16Install broadcom-wl to the release ISOEli Schwartz via arch-releng
Fixes FS#58239 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
2015-09-11[configs/releng] Fix (again) sshd root loginGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>