[gnome-boxes/wip/feborges/flatpak-net-bridge: 2/3] flatpak: Install /app/etc/qemu/bridge.conf for network bridge
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/feborges/flatpak-net-bridge: 2/3] flatpak: Install /app/etc/qemu/bridge.conf for network bridge
- Date: Mon, 1 Oct 2018 14:03:54 +0000 (UTC)
commit f4035747a5920d369c9ee2fee361cc96a8eac106
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Oct 1 16:00:30 2018 +0200
flatpak: Install /app/etc/qemu/bridge.conf for network bridge
This is necessary for qemu-bridge-helper to work.
Ref #232
data/bridge.conf | 2 ++
data/meson.build | 4 ++++
2 files changed, 6 insertions(+)
---
diff --git a/data/bridge.conf b/data/bridge.conf
new file mode 100644
index 00000000..ff8aa15d
--- /dev/null
+++ b/data/bridge.conf
@@ -0,0 +1,2 @@
+# This is necessary for qemu-bridge-helper to work
+allow virbr0
diff --git a/data/meson.build b/data/meson.build
index 6e36b3cf..288c6233 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -90,4 +90,8 @@ configure_file (
install_data ('QEMU_Session', install_dir : join_paths (data_dir, 'gnome-boxes/sources'))
install_data ('disk.img', install_dir : join_paths (data_dir, 'gnome-boxes/unattended'))
+if get_option ('flatpak')
+ install_data ('bridge.conf', install_dir : '/app/etc/qemu')
+endif
+
subdir ('osinfo')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]