mkinitramfs '-d' option fails

Bug #24096 reported by Juanje Ojeda on 2005-10-17
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Scott James Remnant (Canonical)

Bug Description

If you try the '-d' option it just fails. It's because of two typo:
--- mkinitramfs 2005-09-17 19:28:59.000000000 +0100
+++ mkinitramfs.mine 2005-10-17 03:42:29.666331280 +0100
@@ -11,8 +11,8 @@
 while getopts "d:ko:r:" flag; do
        case $flag in
- if [ ! d "${CONFDIR}" ]; then
+ if [ ! -d "${CONFDIR}" ]; then
                        echo "${0}: ${CONFDIR}: Not a directory" >&2
                        exit 1

With this patch, work fine.
BTW, thanks for your work ;-)

Jeff Bailey (jbailey) wrote :

Err. whups. =) Thanks! I'll make sure it's in the next upload I do.

This got fixed in 0.36ubuntu2

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.