aboutsummaryrefslogtreecommitdiff
path: root/configs/releng/airootfs
Commit message (Collapse)AuthorAgeFilesLines
* 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 .
* Deprecate build.sh scripts and old mkarchiso commandsnl67202020-08-171-1/+1
| | | | | | Replace build.sh scripts with calls to mkarchiso -B "profiledir" build_profile. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/37 .
* releng: place custom sshd_config in airootfsnl67202020-07-302-1/+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-2916-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Copy /etc/skel/ to user's home from build.sh instead of customize_airootfs.shnl67202020-07-281-2/+0
| | | | Additionally copy the files to all custom user homes, not just root's.
* Deprecate customize_airootfs.shnl67202020-07-281-0/+2
| | | | Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
* Set root user's shell and password with custom /etc/passwd and /etc/shadownl67202020-07-203-3/+2
| | | | Correct shadow file permissions from build.sh.
* Remove lynx usage in configs/releng/build.shnl67202020-07-113-3/+12
| | | | | | | | /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.
* Use /usr/bin/env in shebangsnl67202020-07-112-2/+2
|
* Remove unneded ReadOnlyPaths from reflector.servicenl67202020-07-111-1/+0
| | | | | configs/releng/airootfs/etc/systemd/system/reflector.service: Remove references to a nonexistent file.
* Keep /root permissions as 750nl67202020-07-111-1/+0
| | | | | | The filesystem package installs /root as 750 not 700. Move chmod from customize_airootfs.sh to build.sh.
* 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-1/+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 .
* Set timezone from outside chrootnl67202020-06-302-2/+1
|
* Enable systemd units with symlinks instead of doing it via systemctl in chrootnl67202020-06-3010-3/+9
|
* Use drop-in files for journald and logind configurationnl67202020-06-303-5/+6
|
* IPv6 DHCPDavid Runge2020-06-292-4/+2
| | | | | | | | | 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
* Enabling iwdDavid Runge2020-06-241-0/+1
| | | | | | | | 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
* Removing wget in favor of curlDavid Runge2020-06-231-1/+1
| | | | | | | | | | | | 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
* Numerical prefix for systemd-networkd configurationDavid Runge2020-06-232-0/+0
| | | | | | | | | 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
* Replacing dhcpcd with systemd-networkd and systemd-resolvedDavid Runge2020-05-315-2/+24
| | | | | | | | | | | | | | | | | | 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.
* Unsetting the root passwordDavid Runge2020-05-311-0/+2
| | | | | | | | | | | | 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
* Simplifying regex for script downloadDavid Runge2020-05-301-1/+1
| | | | | configs/releng/airootfs/root/.automated_script.sh: Using only one regex to match http://, https:// or ftp:// endpoints.
* Install broadcom-wl to the release ISOEli Schwartz via arch-releng2018-04-161-0/+7
| | | | | | Fixes FS#58239 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
* [configs/releng] Fix (again) sshd root loginGerardo Exequiel Pozzi2015-09-111-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Ignore Lid/Sus/Hib switch/keys by logindGerardo Exequiel Pozzi2015-08-111-0/+4
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Set old behavior of sshd PermitRootLogin -> yesGerardo Exequiel Pozzi2015-07-091-0/+1
| | | | | | Requested at FS#45563 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Remove unused 'arch' userGerardo Exequiel Pozzi2015-04-193-12/+0
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* releng: Add an empty machine-id in airootfsThomas Bächler2014-09-021-0/+0
| | | | | | | | This makes systemd generate a machine-id on early boot and prevents it from thinking we need any "first boot" setup. We really don't want systemd thinking that, since we carefully prepared our root file system. This also ensures every live environment has a unique machine id.
* [configs/releng] Fix /root modeGerardo Exequiel Pozzi2014-07-281-0/+1
| | | | | | Thanks Izumi Natsuka for reporting this. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Rename root-image to airootfsGerardo Exequiel Pozzi2014-06-2815-0/+132
Two purposes: * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20" * ISO9660 filename friendly: "-" is replaced with "_"