mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
archlinux: Create systemd output directories as needed
Symlinking the service files manually works, but it is not guaranteed that these directories will already be created after the pacstrap step.
This commit is contained in:
parent
83c1c72655
commit
fdd5e27de8
@ -6,6 +6,10 @@
|
||||
|
||||
set -xe
|
||||
|
||||
# Create the output directories if they don't exist yet
|
||||
arch-chroot /mnt mkdir -p /etc/systemd/system/multi-user.target.wants
|
||||
arch-chroot /mnt mkdir -p /etc/systemd/system/sysinit.target.wants
|
||||
|
||||
# Enable the DHCP client daemon service
|
||||
arch-chroot /mnt ln -sf /usr/lib/systemd/system/dhcpcd.service \
|
||||
/etc/systemd/system/multi-user.target.wants/dhcpcd.service
|
||||
|
Loading…
Reference in New Issue
Block a user