99base: enable initqueue if extra devices are added
When extra devices are added, initqueue should be enabled to make sure those devices are present, so following services and routines could use those devices. See PR #442 for more detail.master
parent
eb18a1fe29
commit
9f3c31cd8d
|
@ -94,6 +94,9 @@ install() {
|
||||||
|
|
||||||
## save host_devs which we need bring up
|
## save host_devs which we need bring up
|
||||||
if [[ $hostonly_cmdline == "yes" ]]; then
|
if [[ $hostonly_cmdline == "yes" ]]; then
|
||||||
|
if [[ -n $add_device ]]; then
|
||||||
|
dracut_need_initqueue
|
||||||
|
fi
|
||||||
if [[ -f "$initdir/lib/dracut/need-initqueue" ]] || ! dracut_module_included "systemd"; then
|
if [[ -f "$initdir/lib/dracut/need-initqueue" ]] || ! dracut_module_included "systemd"; then
|
||||||
(
|
(
|
||||||
if dracut_module_included "systemd"; then
|
if dracut_module_included "systemd"; then
|
||||||
|
|
Loading…
Reference in New Issue