`manual_add_modules` is exposed to user-configuration. We run
`apply_add_modules` after the hooks has been run (CONFDIR is the user
configuration directory):

```
run_scripts_optional "${CONFDIR}"/hooks

# cache boot run order
for b in $(cd "${DESTDIR}/scripts" && find . -mindepth 1 -type d); do
        cache_run_scripts "${DESTDIR}" "/scripts/${b#./}"
done

apply_add_modules
```

The possible break appears when the user calls `manual_add_modules` and
expects the modules to be present in $DESTDIR afterwards, but the
modules will only be copied after apply_add_modules is called.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065180

Title:
  performance regression in dracut-install 060

To manage notifications about this bug go to:
https://bugs.launchpad.net/dracut/+bug/2065180/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to