|
From: | Jonathan McCune |
Subject: | Re: [PATCH v2 4/5] Add -k, --pubkey=FILE support to grub-install command |
Date: | Fri, 6 Sep 2013 14:10:57 -0700 |
В Fri, 6 Sep 2013 09:18:52 -0700
Jon McCune <address@hidden> пишет:
You should return an error if file does not exist, not silently ignore
> +pubkey_file_arg=""
> +if [ -e "$pubkey_file" ]; then
> + pubkey_file_arg="--pubkey=$pubkey_file"
> +fi
> +
it.
> + --pubkey | -k)grub-mkimage supports multiple keys. This will work only for exactly
> + pubkey_file=`argument $option "$@"`; grub_process_install_options_consumed=2 ;;
> + --pubkey=*)
> + pubkey_file=`echo "$option" | sed 's/--pubkey=//'` grub_process_install_options_consumed=1;;
one.
[Prev in Thread] | Current Thread | [Next in Thread] |