[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH v3 1/3] byhand-code-sign-user: signing script for efi images and linux modules



I haven't tried running this, but it looks OK to me.

On Wed, 2016-11-16 at 00:45 -0200, Helen Koike wrote:
[...]
> --- /dev/null
> +++ b/scripts/debian/byhand-code-sign-user
[...]
> +# This script receives a .tar.xz file from stdin and generates a .tar.xz in stdout
> +# Prevent any possible output to stdout, redirect them to stderr instead
> +# Save STDOUT in fd_stdout
> +exec {fd_stdout}>&1
[...]

I hadn't seen this bash feature before.  Much nicer than assigning
fixed FD numbers.

Ben.

-- 
Ben Hutchings
Lowery's Law:
             If it jams, force it. If it breaks, it needed replacing
anyway.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: