Commit f8c46bc9 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Remove haveged

haveged was presumably added to increase entropy and prevent entropy

A few things has changed since, most notable:
* the kernel actively tries to add entropy (jitter entropy)[1][2][3][4]
* /dev/random no longer blocks after CRNG initialization[5][6]

parent a2f40930
Pipeline #5794 passed with stages
in 25 minutes and 18 seconds
......@@ -74,7 +74,7 @@ EOF
echo "Server = ${MIRROR}" >mirrorlist
# We use the hosts package cache
pacstrap -c -C pacman.conf -M "${MOUNT}" base linux grub openssh sudo haveged btrfs-progs reflector
pacstrap -c -C pacman.conf -M "${MOUNT}" base linux grub openssh sudo btrfs-progs reflector
cp mirrorlist "${MOUNT}/etc/pacman.d/"
......@@ -24,8 +24,6 @@ function pre() {
cat <<EOF >"${MOUNT}/etc/systemd/system/pacman-init.service"
Description=Initializes Pacman keyring
Before=sshd.service cloud-final.service
......@@ -61,7 +59,6 @@ EOF
arch-chroot "${MOUNT}" /bin/bash -e <<EOF
source /etc/profile
systemctl enable sshd
systemctl enable haveged
systemctl enable systemd-networkd
systemctl enable systemd-resolved
systemctl enable systemd-timesyncd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment