Fix initramfs scripts on Debian
1. /etc/udev/rules.d needs to be created 2. udev needs to be reloaded explicitly Fixes QubesOS/qubes-issues#3178
This commit is contained in:
parent
766f83de8e
commit
b227d01a8a
@ -100,7 +100,10 @@ EOF
|
|||||||
fi
|
fi
|
||||||
while ! [ -e /dev/xvdc1 ]; do sleep 0.1; done
|
while ! [ -e /dev/xvdc1 ]; do sleep 0.1; done
|
||||||
mkswap /dev/xvdc1
|
mkswap /dev/xvdc1
|
||||||
printf 'KERNEL=="%s", SYMLINK+="mapper/dmroot"' "$ROOT_DEV" >> \
|
mkdir -p /etc/udev/rules.d
|
||||||
|
printf 'KERNEL=="%s", SYMLINK+="mapper/dmroot"\n' "$ROOT_DEV" >> \
|
||||||
/etc/udev/rules.d/99-root.rules
|
/etc/udev/rules.d/99-root.rules
|
||||||
|
udevadm control -R
|
||||||
|
udevadm trigger
|
||||||
log_end
|
log_end
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user