Skip to content
Snippets Groups Projects
Unverified Commit ff22bfc4 authored by nl6720's avatar nl6720
Browse files

Create /etc/resolv.conf as a relative symlink

This matches with /usr/lib/tmpfiles.d/systemd-resolve.conf.
parent 83c58570
No related branches found
Tags v1.0.4
1 merge request!194Create /etc/resolv.conf as a relative symlink
......@@ -18,7 +18,7 @@ function pre() {
echo -e "/swap/swapfile none swap defaults 0 0" >>"${MOUNT}/etc/fstab"
arch-chroot "${MOUNT}" /usr/bin/systemd-firstboot --locale=C.UTF-8 --timezone=UTC --hostname=archlinux --keymap=us
ln -sf /run/systemd/resolve/stub-resolv.conf "${MOUNT}/etc/resolv.conf"
ln -sf ../run/systemd/resolve/stub-resolv.conf "${MOUNT}/etc/resolv.conf"
# Setup pacman-init.service for clean pacman keyring initialization
cat <<EOF >"${MOUNT}/etc/systemd/system/pacman-init.service"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment