diff options
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh index 295bcc1d2c..adc841304c 100644 --- a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh +++ b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh @@ -60,6 +60,10 @@ fi udevd --daemon udevadm trigger --type=devices --action=add udevadm settle --timeout=10 +# The real udevd will be started a bit later by systemd-udevd.service +# so kill the one we started above now that we have the needed +# devices loaded +udevadm control --exit mkdir -p $rodir if ! mount /dev/disk/by-partlabel/"$(kgetopt root=PARTLABEL)" $rodir -t ext4 -o ro; then |