Skip to content

Commit 9955118

Browse files
authored
Merge pull request #358 from redjard/patch-1
partially "fix" no_kmod not being set on call of _process_kernel_version
2 parents d0be452 + 7e701c1 commit 9955118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ugrd/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def main():
2020
},
2121
{"flags": ["-c", "--config"], "action": "store", "help": "set the config file location"},
2222
{"flags": ["-m", "--modules"], "action": "store", "help": "Define config modules to load, comma separated"},
23+
{"flags": ["--no-kmod"], "action": "store_true", "help": "Allow images to be built without kmods/kernel info"},
2324
{"flags": ["--kernel-version", "--kver"], "action": "store", "help": "set the kernel version"},
2425
{"flags": ["--clean"], "action": "store_true", "help": "clean the build directory at runtime"},
2526
{"flags": ["--no-clean"], "action": "store_false", "help": "disable build directory cleaning", "dest": "clean"},
@@ -124,7 +125,6 @@ def main():
124125
"help": "do not autodetect root DM volumes",
125126
"dest": "autodetect_root_dm",
126127
},
127-
{"flags": ["--no-kmod"], "action": "store_true", "help": "Allow images to be built without kmods/kernel info"},
128128
{"flags": ["--print-config"], "action": "store_true", "help": "print the final config dict"},
129129
{"flags": ["--print-init"], "action": "store_true", "help": "print the final init structure"},
130130
{"flags": ["--test"], "action": "store_true", "help": "Tests the image with qemu"},

0 commit comments

Comments
 (0)