Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #371 from dweomer/udev-trigger
Browse files Browse the repository at this point in the history
udev-trigger as sysinit service
  • Loading branch information
dweomer authored Feb 1, 2020
2 parents 0d5b4a4 + 651e89b commit b7c4a11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/00-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ RUN apk --no-cache add \
xz \
&& mv -vf /etc/conf.d/qemu-guest-agent /etc/conf.d/qemu-guest-agent.orig \
&& mv -vf /etc/conf.d/rngd /etc/conf.d/rngd.orig \
&& mv -vf /etc/conf.d/udev-settle /etc/conf.d/udev-settle.orig \
&& true
5 changes: 4 additions & 1 deletion overlay/libexec/k3os/boot
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setup_sudoers()

setup_services()
{
for i in hwdrivers udev dmesg devfs loadkmap; do
for i in hwdrivers dmesg devfs loadkmap udev udev-trigger; do
ln -s /etc/init.d/$i /etc/runlevels/sysinit
done

Expand All @@ -53,6 +53,9 @@ setup_services()
setup_config()
{
k3os config --boot
if [ -e /etc/conf.d/udev-settle ]; then
ln -s /etc/init.d/udev-settle /etc/runlevels/sysinit/
fi
if [ -e /var/lib/connman/cloud-config.config ]; then
echo 'rc_want="wpa_supplicant"' >> /etc/conf.d/connman
fi
Expand Down

0 comments on commit b7c4a11

Please sign in to comment.