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