[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/27] qemu-binfmt-conf.sh: fix -F option
|
From: |
Laurent Vivier |
|
Subject: |
[PULL 01/27] qemu-binfmt-conf.sh: fix -F option |
|
Date: |
Thu, 6 Jan 2022 11:41:11 +0100 |
From: Martin Wilck <mwilck@suse.com>
qemu-binfmt-conf.sh should use "-F" as short option for "--qemu-suffix".
Fix the getopt call to make this work.
Fixes: 7155be7cda5c ("qemu-binfmt-conf.sh: allow to provide a suffix to the
interpreter name")
Signed-off-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211129135100.3934-1-mwilck@suse.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
scripts/qemu-binfmt-conf.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
index 7de996d536ea..e9bfeb94d314 100755
--- a/scripts/qemu-binfmt-conf.sh
+++ b/scripts/qemu-binfmt-conf.sh
@@ -340,7 +340,9 @@ PERSISTENT=no
PRESERVE_ARG0=no
QEMU_SUFFIX=""
-options=$(getopt -o ds:Q:S:e:hc:p:g: -l
debian,systemd:,qemu-path:,qemu-suffix:,exportdir:,help,credential:,persistent:,preserve-argv0:
-- "$@")
+_longopts="debian,systemd:,qemu-path:,qemu-suffix:,exportdir:,help,credential:,\
+persistent:,preserve-argv0:"
+options=$(getopt -o ds:Q:S:e:hc:p:g:F: -l ${_longopts} -- "$@")
eval set -- "$options"
while true ; do
--
2.33.1
- [PULL 00/27] Linux user for 7.0 patches, Laurent Vivier, 2022/01/06
- [PULL 03/27] linux-user: Mark cpu_loop() with noreturn attribute, Laurent Vivier, 2022/01/06
- [PULL 13/27] linux-user/signal: Map exit signals in SIGCHLD siginfo_t, Laurent Vivier, 2022/01/06
- [PULL 04/27] linux-user: Move target_signal.h generic definitions to generic/signal.h, Laurent Vivier, 2022/01/06
- [PULL 11/27] target/hppa: Implement prctl_unalign_sigbus, Laurent Vivier, 2022/01/06
- [PULL 17/27] linux-user/nios2: Properly emulate EXCP_TRAP, Laurent Vivier, 2022/01/06
- [PULL 10/27] target/alpha: Implement prctl_unalign_sigbus, Laurent Vivier, 2022/01/06
- [PULL 06/27] linux-user: Remove TARGET_SIGSTKSZ, Laurent Vivier, 2022/01/06
- [PULL 14/27] linux-user: add sched_getattr support, Laurent Vivier, 2022/01/06
- [PULL 01/27] qemu-binfmt-conf.sh: fix -F option,
Laurent Vivier <=
- [PULL 12/27] target/sh4: Implement prctl_unalign_sigbus, Laurent Vivier, 2022/01/06
- [PULL 18/27] linux-user/nios2: Fixes for signal frame setup, Laurent Vivier, 2022/01/06
- [PULL 15/27] linux-user: call set/getscheduler set/getparam directly, Laurent Vivier, 2022/01/06
- [PULL 22/27] linux-user/nios2: Fix sigmask in setup_rt_frame, Laurent Vivier, 2022/01/06
- [PULL 26/27] linux-user: netlink: Add IFLA_VFINFO_LIST, Laurent Vivier, 2022/01/06
- [PULL 09/27] linux-user: Add code for PR_GET/SET_UNALIGN, Laurent Vivier, 2022/01/06
- [PULL 20/27] linux-user/nios2: Map a real kuser page, Laurent Vivier, 2022/01/06
- [PULL 02/27] linux-user/hexagon: Use generic target_stat64 structure, Laurent Vivier, 2022/01/06
- [PULL 16/27] linux-user/syscall.c: fix missed flag for shared memory in open_self_maps, Laurent Vivier, 2022/01/06