Enabled acpid. Changed network device names to legacy ones.

This commit is contained in:
Tomasz Zaworski 2019-08-09 15:58:47 +02:00
parent f57137e95f
commit 2656abba8d

View File

@ -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/