[gnome-build-meta/jjardon/gnome-42rc: 13/29] 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/29] core-deps/qemu.bst: Fix suid for qemu-bridge-helper
- Date: Sat, 12 Mar 2022 14:07:05 +0000 (UTC)
commit 2442ca94c92b89483f74ef864309ef4c67e9df6c
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]