Commit Graph

62 Commits

Author SHA1 Message Date
David Runge
372a6f9b2f
Numerical prefix for systemd-networkd configuration
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-06-23 21:10:17 +02:00
David Runge
0d67870667
Replacing dhcpcd with systemd-networkd and systemd-resolved
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-31 21:41:57 +02:00
David Runge
769fbecef3
Unsetting the root password
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-31 00:27:15 +02:00
David Runge
d50e57a243
Simplifying regex for script download
configs/releng/airootfs/root/.automated_script.sh:
Using only one regex to match http://, https:// or ftp:// endpoints.
2020-05-30 19:55:03 +02:00
Eli Schwartz via arch-releng
39bd71c25c Install broadcom-wl to the release ISO
Fixes FS#58239

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
2018-04-16 19:29:57 -03:00
Gerardo Exequiel Pozzi
217a05eb86 [configs/releng] Fix (again) sshd root login
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-09-11 21:06:55 -03:00
Gerardo Exequiel Pozzi
8e7601caae [configs/releng] Ignore Lid/Sus/Hib switch/keys by logind
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-08-11 21:45:33 -03:00
Gerardo Exequiel Pozzi
8de9b98cad [configs/releng] Set old behavior of sshd PermitRootLogin -> yes
Requested at FS#45563

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-09 14:09:53 -03:00
Gerardo Exequiel Pozzi
49bd7ce4bd [configs/releng] Remove unused 'arch' user
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-04-19 17:31:17 -03:00
Thomas Bächler
8e1cb0670e releng: Add an empty machine-id in airootfs
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.
2014-09-02 20:28:04 +02:00
Gerardo Exequiel Pozzi
01773d2b86 [configs/releng] Fix /root mode
Thanks Izumi Natsuka for reporting this.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-07-28 11:41:46 -03:00
Gerardo Exequiel Pozzi
604b182af5 [archiso] Rename root-image to airootfs
Two purposes:
 * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20"
 * ISO9660 filename friendly: "-" is replaced with "_"
2014-06-28 00:35:50 -03:00