aboutsummaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/root
Commit message (Collapse)AuthorAgeFilesLines
* Fix optional shellcheck warningsnl67202023-06-151-6/+7
| | | | Additionally fix a few code style issues found with shfmt.
* wait for networkd online before curl invocationZig Globulin2023-03-021-1/+10
| | | | | | | 1) wait for network-online.target before invoking curl as there's no synchronization with network setup for this script 2) don't hide curl errors - it may be easier to debug the issues 3) add log and comments
* configs/releng/airootfs/root/.zlogin: use grep -a to ensure /proc/cmdline is ↵nl67202022-11-121-1/+1
| | | | | | | treated as text This protects against the case where /proc/cmdline contains garbage triggering grep to think it is a binary. See e.g. https://bugs.archlinux.org/task/76468 for an example.
* Fixes failure to retry script download. Tested and verified the issue is ↵Howard Hicks2021-11-301-1/+1
| | | | | | | | 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
* Allow redirects for scriptsDavid Runge2021-03-291-1/+1
| | | | | | | | 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
* configs/releng: move locale-gen from customize_airootfs.sh to a pacman hooknl67202021-01-311-10/+0
| | | | | | This finally removes customize_airootfs.sh from releng. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* configs/releng: move the mirror uncommenting sed command from ↵nl67202021-01-271-2/+0
| | | | | | | | | 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 .
* implement accessibility support in archisoAlexander Epaneshnikov2020-10-291-0/+5
| | | | this fixes #67
* 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-301-1/+0
| | | | | Properly track the file instead of modifying it on-the-fly with customize_airootfs.sh. See https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* Add license and basic documentationDavid Runge2020-07-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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-201-3/+0
| | | | Correct shadow file permissions from build.sh.
* Remove lynx usage in configs/releng/build.shnl67202020-07-111-3/+0
| | | | | | | | /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
|
* 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.
* Set timezone from outside chrootnl67202020-06-301-2/+0
|
* Enable systemd units with symlinks instead of doing it via systemctl in chrootnl67202020-06-301-3/+0
|
* Use drop-in files for journald and logind configurationnl67202020-06-301-5/+0
|
* 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
* Replacing dhcpcd with systemd-networkd and systemd-resolvedDavid Runge2020-05-311-1/+1
| | | | | | | | | | | | | | | | | | 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.
* [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-191-5/+0
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [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-284-0/+60
Two purposes: * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20" * ISO9660 filename friendly: "-" is replaced with "_"