diff --git a/images/00-base/Dockerfile b/images/00-base/Dockerfile index b3c9a97b..3f0ffbcf 100644 --- a/images/00-base/Dockerfile +++ b/images/00-base/Dockerfile @@ -17,6 +17,7 @@ RUN apk --no-cache add \ e2fsprogs \ e2fsprogs-extra \ efibootmgr \ + eudev \ findutils \ grub-efi \ haveged \ @@ -32,6 +33,7 @@ RUN apk --no-cache add \ lvm2-extra \ mdadm \ mdadm-misc \ + mdadm-udev \ multipath-tools \ ncurses \ nfs-utils \ diff --git a/overlay/libexec/k3os/boot b/overlay/libexec/k3os/boot index 54e1f82e..f104f15a 100644 --- a/overlay/libexec/k3os/boot +++ b/overlay/libexec/k3os/boot @@ -33,7 +33,7 @@ setup_sudoers() setup_services() { - for i in hwdrivers mdev dmesg devfs loadkmap; do + for i in hwdrivers udev dmesg devfs loadkmap; do ln -s /etc/init.d/$i /etc/runlevels/sysinit done