We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0661a6a commit e2fdb30Copy full SHA for e2fdb30
dracut-init.sh
@@ -271,8 +271,12 @@ inst_symlink() {
271
}
272
273
inst_multiple() {
274
- local _ret
275
- if "$DRACUT_INSTALL" ${dracutsysrootdir:+-r "$dracutsysrootdir"} ${initdir:+-D "$initdir"} -a ${loginstall:+-L "$loginstall"} ${DRACUT_RESOLVE_DEPS:+-l} ${DRACUT_FIPS_MODE:+-f} "$@"; then
+ local _ret _hostonly_install
+ if [[ $1 == "-H" ]]; then
276
+ _hostonly_install="-H"
277
+ shift
278
+ fi
279
+ if "$DRACUT_INSTALL" ${dracutsysrootdir:+-r "$dracutsysrootdir"} ${initdir:+-D "$initdir"} -a ${loginstall:+-L "$loginstall"} ${DRACUT_RESOLVE_DEPS:+-l} ${DRACUT_FIPS_MODE:+-f} ${_hostonly_install:+-H} "$@"; then
280
return 0
281
else
282
_ret=$?
0 commit comments