ROOT_MB := $(shell printf '%i\n' "$$(( ${imagesize} - ${BOOT_MB} - 3 ))")
endif
-PACKAGES += btrfs-progs bzip2 ca-certificates cron deborphan firmware-linux-free gzip htop ifupdown iputils-ping irqbalance isc-dhcp-client less make net-tools nmap ntpdate openssh-client psmisc rsync sshfs sudo traceroute unzip vim wget wireless-tools wpasupplicant xz-utils zip
+PACKAGES += btrfs-progs bzip2 ca-certificates cron dnsutils file firmware-linux-free gzip htop ifupdown iputils-ping irqbalance isc-dhcp-client less make net-tools nmap ntpdate openssh-client pciutils psmisc rsync sshfs sudo traceroute unzip vim wget wireless-tools wpasupplicant xz-utils zip
ifdef packages
PACKAGES += $(subst ${comma_},${space_},${packages})
[ -f "$@" ] || ssh-keygen -N '' -f "$${rootkey}"
_rootkey: ${CFGROOT} ${rootkey}.pub
- mkdir -m 700 "$${CFGROOT}/root/.ssh/"
+ mkdir -pm 700 "$${CFGROOT}/root/.ssh/"
cp "$${rootkey}.pub" "$${CFGROOT}/root/.ssh/authorized_keys"
_users: ${CFGROOT}
printf '%s\n' "$${hostname}" >"$${CFGROOT}/etc/hostname"
sed -Ei "s;^127\.0\.0\.1.*$$;& $${hostname};" "$${CFGROOT}/etc/hosts"
+_timeouts: ${CFGROOT}
+ printf '%s\n' DefaultTimeoutStartSec=10s DefaultTimeoutStopSec=10s >>"${CFGROOT}/etc/systemd/system.conf"
+
+
.PHONY: _systemd_timeout
_config: _systemd_timeout
_systemd_timeout: ${CFGROOT}