gen_cmdline: eventually add --btrfs and --no-btrfs cmdline support

Thanks to Dennis 'dlan' Lan via bug #481116
master v24
Fabio Erculiani 12 years ago
parent 24e26f1b77
commit 9b47f9b5d2

@ -102,6 +102,8 @@ longusage() {
echo " --no-e2fsprogs Exclude e2fsprogs"
echo " --zfs Include ZFS support"
echo " --no-zfs Exclude ZFS support"
echo " --btrfs Include BTRFS support"
echo " --no-btrfs Exclude BTRFS support"
echo " --multipath Include Multipath support"
echo " --no-multipath Exclude Multipath support"
echo " --iscsi Include iSCSI support"
@ -314,6 +316,10 @@ parse_cmdline() {
CMD_ZFS=`parse_optbool "$*"`
print_info 2 "CMD_ZFS: ${CMD_ZFS}"
;;
--btrfs|--no-btrfs)
CMD_BTRFS=`parse_optbool "$*"`
print_info 2 "CMD_BTRFS: ${CMD_BTRFS}"
;;
--virtio)
CMD_VIRTIO=`parse_optbool "$*"`
print_info 2 "CMD_VIRTIO: ${CMD_VIRTIO}"

Loading…
Cancel
Save