From 2656abba8d5edc21c3761b5ff7e3c91e56bafbd6 Mon Sep 17 00:00:00 2001 From: T Z Date: Fri, 9 Aug 2019 15:58:47 +0200 Subject: [PATCH] Enabled acpid. Changed network device names to legacy ones. --- buster-amd64/bin/rootfs_config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buster-amd64/bin/rootfs_config b/buster-amd64/bin/rootfs_config index 8793a2a..1db45da 100755 --- a/buster-amd64/bin/rootfs_config +++ b/buster-amd64/bin/rootfs_config @@ -25,6 +25,7 @@ export DEBIAN_FRONTEND=noninteractive chroot ${TARGET} apt-get --yes install ${SOFTWARE} chroot ${TARGET} systemctl enable systemd-networkd.service chroot ${TARGET} systemctl enable systemd-resolved.service +chroot ${TARGET} systemctl enable acpid.service rm ${TARGET}/usr/sbin/policy-rc.d @@ -61,6 +62,8 @@ EOF rm ${TARGET}/etc/resolv.conf ln -s /run/systemd/resolve/resolv.conf ${TARGET}/etc/resolv.conf rm ${TARGET}/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service +#use old network device names +ln -s /dev/null ${TARGET}/etc/systemd/network/99-default.link cat << EOF > ${TARGET}/etc/screenrc startup_message off defscrollback 5000 @@ -77,3 +80,4 @@ echo zfs >> ${TARGET}/etc/modules mkdir ${TARGET}/etc/bash_completion.d cp ${TARGET}/usr/share/bash-completion/completions/zfs ${TARGET}/etc/bash_completion.d/ +