diff options
| -rwxr-xr-x | scripts/wic | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/wic b/scripts/wic index e7df60f28e..ce78254d67 100755 --- a/scripts/wic +++ b/scripts/wic | |||
| @@ -65,8 +65,8 @@ def callback_rootfs_dir(option, opt, value, parser): | |||
| 65 | if '=' in value: | 65 | if '=' in value: |
| 66 | (key, rootfs_dir) = value.split('=') | 66 | (key, rootfs_dir) = value.split('=') |
| 67 | else: | 67 | else: |
| 68 | key = 'ROOTFS_DIR' | 68 | key = 'ROOTFS_DIR' |
| 69 | rootfs_dir = value | 69 | rootfs_dir = value |
| 70 | 70 | ||
| 71 | parser.values.rootfs_dir[key] = rootfs_dir | 71 | parser.values.rootfs_dir[key] = rootfs_dir |
| 72 | 72 | ||
| @@ -189,8 +189,8 @@ def wic_create_subcommand(args, usage_str): | |||
| 189 | 189 | ||
| 190 | krootfs_dir = options.rootfs_dir | 190 | krootfs_dir = options.rootfs_dir |
| 191 | if krootfs_dir is None: | 191 | if krootfs_dir is None: |
| 192 | krootfs_dir = {} | 192 | krootfs_dir = {} |
| 193 | krootfs_dir['ROOTFS_DIR'] = rootfs_dir | 193 | krootfs_dir['ROOTFS_DIR'] = rootfs_dir |
| 194 | 194 | ||
| 195 | rootfs_dir = rootfs_dir_to_args(krootfs_dir) | 195 | rootfs_dir = rootfs_dir_to_args(krootfs_dir) |
| 196 | 196 | ||
