diff options
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch | 29 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 3ce14d9fa0..7cf436783d 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -33,6 +33,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ | |||
33 | file://CVE-2020-7039-1.patch \ | 33 | file://CVE-2020-7039-1.patch \ |
34 | file://CVE-2020-7039-2.patch \ | 34 | file://CVE-2020-7039-2.patch \ |
35 | file://CVE-2020-7039-3.patch \ | 35 | file://CVE-2020-7039-3.patch \ |
36 | file://0001-Add-enable-disable-udev.patch \ | ||
36 | " | 37 | " |
37 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" | 38 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" |
38 | 39 | ||
@@ -172,6 +173,9 @@ PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice" | |||
172 | PACKAGECONFIG[usb-redir] = "--enable-usb-redir,--disable-usb-redir,usbredir" | 173 | PACKAGECONFIG[usb-redir] = "--enable-usb-redir,--disable-usb-redir,usbredir" |
173 | PACKAGECONFIG[snappy] = "--enable-snappy,--disable-snappy,snappy" | 174 | PACKAGECONFIG[snappy] = "--enable-snappy,--disable-snappy,snappy" |
174 | PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs" | 175 | PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs" |
176 | PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon" | ||
177 | PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev" | ||
178 | #PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2" | ||
175 | 179 | ||
176 | INSANE_SKIP_${PN} = "arch" | 180 | INSANE_SKIP_${PN} = "arch" |
177 | 181 | ||
diff --git a/meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch b/meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch new file mode 100644 index 0000000000..c2c5849d65 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From a471cf4e4c73350e090eb2cd87ec959d138012e5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jeremy Puhlman <jpuhlman@mvista.com> | ||
3 | Date: Thu, 19 Mar 2020 11:54:26 -0700 | ||
4 | Subject: [PATCH] Add enable/disable libudev | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> | ||
8 | --- | ||
9 | configure | 4 ++++ | ||
10 | 1 file changed, 4 insertions(+) | ||
11 | |||
12 | diff --git a/configure b/configure | ||
13 | index cac271c..bd116eb 100755 | ||
14 | --- a/configure | ||
15 | +++ b/configure | ||
16 | @@ -1539,6 +1539,10 @@ for opt do | ||
17 | ;; | ||
18 | --disable-plugins) plugins="no" | ||
19 | ;; | ||
20 | + --enable-libudev) libudev="yes" | ||
21 | + ;; | ||
22 | + --disable-libudev) libudev="no" | ||
23 | + ;; | ||
24 | *) | ||
25 | echo "ERROR: unknown option $opt" | ||
26 | echo "Try '$0 --help' for more information" | ||
27 | -- | ||
28 | 1.8.3.1 | ||
29 | |||