Bug getting and cheking the configuration directory command line option
Bug #5737 reported by
keymon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
The script /usr/sbin/
...
CONFDIR="${OPTAGS}"
if [ ! d "${CONFDIR}" ]; then
...
it should be:
...
CONFDIR="${OPTARG}"
if [ ! -d "${CONFDIR}" ]; then
...
Changed in initramfs-tools: | |
assignee: | nobody → keybuk |
To post a comment you must log in.
There is also a problem with the CONFDIR path when the hooks are called. Here comes the diff:
156c156 s/hooks
< run_scripts /etc/mkinitramf
---
> run_scripts ${CONFDIR}/hooks