[gnome-build-meta/jjardon/gnome-42rc: 13/35] core-deps/qemu.bst: Fix suid for qemu-bridge-helper
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/jjardon/gnome-42rc: 13/35] core-deps/qemu.bst: Fix suid for qemu-bridge-helper
- Date: Sat, 12 Mar 2022 16:55:35 +0000 (UTC)
commit b609e736c7e1f46c38a73b3dd2c830127ac57618
Author: Valentin David <me valentindavid com>
Date: Sat Feb 26 23:05:03 2022 +0100
core-deps/qemu.bst: Fix suid for qemu-bridge-helper
Setuid for qemu-bridge-helper is required to make `-netdev bridge`
work for user, if allowd by `/etc/qemu/bridge.conf`.
elements/core-deps/qemu.bst | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/elements/core-deps/qemu.bst b/elements/core-deps/qemu.bst
index 3cc7da28e..1fcd83192 100644
--- a/elements/core-deps/qemu.bst
+++ b/elements/core-deps/qemu.bst
@@ -72,3 +72,11 @@ variables:
--build=%{triplet}
%{conf-extra}
%{conf-local}
+
+public:
+ initial-script:
+ script: |
+ #!/bin/bash
+ set -eu
+ sysroot="${1}"
+ chmod 4755 "${sysroot}%{libexecdir}/qemu-bridge-helper"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]