scripts: fix generation update-binfmts templates
commite75941331e4cdc05878119e08635ace437aae721
authorSilvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
Tue, 23 Mar 2021 12:34:57 +0000 (23 13:34 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 3 May 2021 08:07:41 +0000 (3 10:07 +0200)
tree6f6d3b3b9bc765a6fc12c44a757b2752a54ff6f2
parenta058b895079348d0854a027a42ce3396a4a00bb7
scripts: fix generation update-binfmts templates

This patch fixes the update-binfmts templates being used in the script
scripts/qemu-binfmt-conf.sh when the option --debian is used.

Fixed issues are:
- Typo in flag 'credentials' (previously 'credential').
- Missing flags 'preserve' and 'fix_binary'.

Reference: https://manpages.debian.org/buster/binfmt-support/update-binfmts.8.en.html#FORMAT_FILES

Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210323123457.23747-1-silvano.cirujano-cuesta@siemens.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
scripts/qemu-binfmt-conf.sh