Skip to contentSkip to conversation

xen cleanup and upgrades

PATCH In review Chris Patterson 3 participants 14 messages Nov 8, 2013 – Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

v2 cover xen cleanup and upgrades

Cleaned out old xen bits, upgraded to 4.3.1, moved to common xen.inc, and added git recipe pointing to xen-unstable.

I broke out the cleanup into smaller patches in hopes that it will make it through.

If not, you can find these patches in branch=xen-upgrades-and-cleanup-v2 at:
https://github.com/cjp256/meta-virtualization.git

Chris Patterson (10):
xen: remove xsm from default PACKAGECONFIG options.
xen: remove 4.1.2 recipe and patches
xen: remove xen-hg recipe and patches
xen: remove xen-rt recipe and patches
xen: remove old xen.inc and xen-python.inc
xen: remove old patches
xen: rename xen patches directory from xen-4.3.0 to files.
xen: upgrade to 4.3.1
xen: improve organization with new xen.inc
xen: add xen_git recipe.

 .../xen/files/allow_disable_xend.patch             |   75 -
 ...lask-avoid-installing-policy-file-as-boot.patch |   26 +
 .../xen/files/ioemu-cross-gl-check.patch           |   29 -
 recipes-extended/xen/files/xend-config.sxp         |  304 -
 recipes-extended/xen/files/xenminiinit.sh          |   59 -
 .../xen/xen-4.1.2/allow_disable_xend.patch         |   75 -
 ...lask-avoid-installing-policy-file-as-boot.patch |   26 -
 recipes-extended/xen/xen-hg.bb                     |   29 -
 .../xen/xen-hg/ioemu-cross-gl-check.patch          |   29 -
 .../xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch  |   48 -
 recipes-extended/xen/xen-python.inc                |   49 -
 recipes-extended/xen/xen-rt/rt-xen_0.3_4.0.1.patch | 6785 --------------------
 recipes-extended/xen/xen-rt_4.0.1.bb               |   25 -
 recipes-extended/xen/xen.inc                       |  902 ++-
 recipes-extended/xen/xen_4.1.2.bb                  |   24 -
 recipes-extended/xen/xen_4.3.0.bb                  |  650 --
 recipes-extended/xen/xen_4.3.1.bb                  |   24 +
 recipes-extended/xen/xen_git.bb                    |   18 +
 18 files changed, 677 insertions(+), 8500 deletions(-)
 delete mode 100644 recipes-extended/xen/files/allow_disable_xend.patch
 create mode 100644 recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/files/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/files/xend-config.sxp
 delete mode 100755 recipes-extended/xen/files/xenminiinit.sh
 delete mode 100644 recipes-extended/xen/xen-4.1.2/allow_disable_xend.patch
 delete mode 100644 recipes-extended/xen/xen-4.3.0/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/xen-hg.bb
 delete mode 100644 recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch
 delete mode 100644 recipes-extended/xen/xen-python.inc
 delete mode 100644 recipes-extended/xen/xen-rt/rt-xen_0.3_4.0.1.patch
 delete mode 100644 recipes-extended/xen/xen-rt_4.0.1.bb
 delete mode 100644 recipes-extended/xen/xen_4.1.2.bb
 delete mode 100644 recipes-extended/xen/xen_4.3.0.bb
 create mode 100644 recipes-extended/xen/xen_4.3.1.bb
 create mode 100644 recipes-extended/xen/xen_git.bb
Signature · 1 line
1.8.4.rc3
#1 lore raw

PATCH v2 1/10 xen: remove xsm from default PACKAGECONFIG options.

The 'xsm' option adds a dependency for checkpolicy, which requires an additional layer (meta-selinux).

---
 recipes-extended/xen/xen_4.3.0.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-extended/xen/xen_4.3.0.bb +0 -1
index 283da28..afea06c 100644
@@ -22,7 +22,6 @@ inherit autotools gettext setuptools update-rc.d
 
 PACKAGECONFIG ??= " \
     sdl \
-    xsm \
 "
 PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
 PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
Signature · 1 line
1.8.4.rc3
#2 lore raw

PATCH v2 2/10 xen: remove 4.1.2 recipe and patches

In reply to Chris Patterson
---
 .../xen/xen-4.1.2/allow_disable_xend.patch         | 75 ----------------------
 recipes-extended/xen/xen_4.1.2.bb                  | 24 -------
 2 files changed, 99 deletions(-)
 delete mode 100644 recipes-extended/xen/xen-4.1.2/allow_disable_xend.patch
 delete mode 100644 recipes-extended/xen/xen_4.1.2.bb
recipes-extended/xen/xen-4.1.2/allow_disable_xend.patch deleted +0 -75
deleted file mode 100644
index 3318704..0000000
@@ -1,75 +0,0 @@
---- xen-4.1.2/config/StdGNU.mk.sav	2012-03-08 12:30:26.047303578 -0700
-+++ xen-4.1.2/config/StdGNU.mk	2012-03-08 12:31:48.826696508 -0700
-@@ -56,6 +56,9 @@
- XEN_CONFIG_DIR = $(CONFIG_DIR)/xen
- XEN_SCRIPT_DIR = $(XEN_CONFIG_DIR)/scripts
- 
-+# Allow xend to be disabled in lieu of only libxl
-+CONFIG_ENABLE_XEND ?= y
-+
- SOCKET_LIBS =
- CURSES_LIBS = -lncurses
- PTHREAD_LIBS = -lpthread
---- xen-4.1.2/tools/Makefile.sav	2012-03-08 11:25:10.177301492 -0700
-+++ xen-4.1.2/tools/Makefile	2012-03-08 12:33:48.807302767 -0700
-@@ -15,7 +15,7 @@
- SUBDIRS-$(CONFIG_X86) += firmware
- SUBDIRS-$(ACM_SECURITY) += security
- SUBDIRS-y += console
--SUBDIRS-y += xenmon
-+SUBDIRS-$(CONFIG_ENABLE_XEND) += xenmon
- SUBDIRS-$(VTPM_TOOLS) += vtpm_manager
- SUBDIRS-$(VTPM_TOOLS) += vtpm
- SUBDIRS-y += xenstat
-@@ -36,17 +36,19 @@
- 
- SUBDIRS-y += xenpmd
- SUBDIRS-y += libxl
--SUBDIRS-y += remus
-+SUBDIRS-$(CONFIG_ENABLE_XEND) += remus
- SUBDIRS-$(CONFIG_X86) += xenpaging
- SUBDIRS-$(CONFIG_X86) += debugger/gdbsx
- SUBDIRS-$(CONFIG_X86) += debugger/kdd
- 
- # These don't cross-compile
- ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
-+ifneq ($(XEN_ENABLE_XEND),y)
- SUBDIRS-$(PYTHON_TOOLS) += python
- SUBDIRS-$(PYTHON_TOOLS) += pygrub
- SUBDIRS-$(OCAML_TOOLS) += ocaml
- endif
-+endif
- 
- # For the sake of linking, set the sys-root
- ifneq ($(CROSS_COMPILE),)
---- xen-4.1.2/tools/misc/Makefile.sav	2012-03-08 12:23:10.107321955 -0700
-+++ xen-4.1.2/tools/misc/Makefile	2012-03-08 12:34:54.466721729 -0700
-@@ -19,11 +19,13 @@
- SUBDIRS-$(CONFIG_MINITERM) += miniterm
- SUBDIRS := $(SUBDIRS-y)
- 
--INSTALL_BIN-y := xencons
-+INSTALL_BIN-y :=
-+INSTALL_BIN-$(CONFIG_ENABLE_XEND) += xencons
- INSTALL_BIN-$(CONFIG_X86) += xen-detect
- INSTALL_BIN := $(INSTALL_BIN-y)
- 
--INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd
-+INSTALL_SBIN-y := xenperf xsview xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd
-+INSTALL_SBIN-$(CONFIG_ENABLE_XEND) += xm xend xsview xen-python-path xen-bugtool
- INSTALL_SBIN-$(CONFIG_X86) += xen-hvmctx xen-hvmcrash
- INSTALL_SBIN-$(CONFIG_MIGRATE) += xen-hptool
- INSTALL_SBIN := $(INSTALL_SBIN-y)
---- xen-4.1.2/tools/hotplug/NetBSD/Makefile.sav	2012-03-08 12:54:56.247306596 -0700
-+++ xen-4.1.2/tools/hotplug/NetBSD/Makefile	2012-03-08 12:57:50.337339410 -0700
-@@ -8,7 +8,9 @@
- XEN_SCRIPTS += vif-ip
- 
- XEN_SCRIPT_DATA =
--XEN_RCD_PROG = rc.d/xencommons rc.d/xend rc.d/xendomains rc.d/xen-watchdog
-+XEN_RCD_PROG-y := rc.d/xencommons rc.d/xendomains rc.d/xen-watchdog
-+XEN_RCD_PROG-$(CONFIG_ENABLE_XEND) += rc.d/xend 
-+XEN_RCD_PROG := $(XEN_RCD_PROG-y)
- 
- .PHONY: all
- all:
recipes-extended/xen/xen_4.1.2.bb deleted +0 -24
deleted file mode 100644
index 5a87bc4..0000000
@@ -1,24 +0,0 @@
-# Xen official download
-
-require xen.inc
-
-PR="r1"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=f46a39d9fa181e4933b1acdfdcd72017"
-
-SRCREV = "3cf61880403b4e484539596a95937cc066243388"
-
-SRC_URI = "http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
-        git://xenbits.xensource.com/qemu-xen-4.1-testing.git \
-        file://ioemu-cross-gl-check.patch \
-        file://allow_disable_xend.patch \
-        file://xend-config.sxp \
-        file://xenminiinit.sh"
-
-SRC_URI[md5sum] = "73561faf3c1b5e36ec5c089b5db848ad"
-SRC_URI[sha256sum] = "7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d"
-
-S = "${WORKDIR}/xen-${PV}"
-
-# Include python and xend support
-require xen-python.inc
Signature · 1 line
1.8.4.rc3
#3 lore raw

PATCH v2 3/10 xen: remove xen-hg recipe and patches

In reply to Chris Patterson
---
 recipes-extended/xen/xen-hg.bb                     | 29 -------------
 .../xen/xen-hg/ioemu-cross-gl-check.patch          | 29 -------------
 .../xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch  | 48 ----------------------
 3 files changed, 106 deletions(-)
 delete mode 100644 recipes-extended/xen/xen-hg.bb
 delete mode 100644 recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch
recipes-extended/xen/xen-hg.bb deleted +0 -29
deleted file mode 100644
index bdb4d32..0000000
@@ -1,29 +0,0 @@
-# A build of Xen Unstable from Mercurial
-
-# Build is not yet verified as functional
-# Setting BROKEN for now
-BROKEN = "1"
-
-inherit autotools
-
-require xen.inc
-
-DEPENDS += "yajl"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=e0f0f3ac55608719a82394cc353928df"
-
-SRCREV = "82db8de16530f016809264d3179823999d702849"
-
-SRC_URI = "hg://xenbits.xen.org;module=xen-unstable.hg;rev=d690c7e896a2 \
-        git://xenbits.xensource.com/qemu-xen-unstable.git \
-        file://ioemu-cross-gl-check.patch \
-	file://tools_qemu_xen_remove_CFLAGS.patch"
-
-SRC_URI[md5sum] = "2f3e36c96fe13cebc7475652c2803e14"
-SRC_URI[sha256sum] = "b63bc8d48aaf2688cff1417f99a140943e71de0777b28ed8cbba8aa018b4117c"
-
-S = "${WORKDIR}/xen-unstable.hg"
-
-#EXTRA_OECONF="--disable-pythontools"
-require xen-python.inc
-
recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch deleted +0 -29
deleted file mode 100644
index 23497e2..0000000
@@ -1,29 +0,0 @@
---- git/configure.sav	2012-04-06 12:08:07.891529546 -0600
-+++ xen-unstable.hg/../git/configure	2012-04-06 12:09:39.872923477 -0600
-@@ -289,7 +289,7 @@
-             kqemu="yes"
-         fi
-     fi
--    if test -f /usr/include/sys/soundcard.h ; then
-+    if test -f ${CROSS_SYS_ROOT}/usr/include/sys/soundcard.h ; then
-         audio_drv_list="oss"
-     fi
-     audio_possible_drivers="oss sdl"
-@@ -872,7 +872,7 @@
- #endif
- int main( void ) { return (int) glGetString(GL_EXTENSIONS); }
- EOF
--if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
-+if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I${CROSS_SYS_ROOT}/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
- then
- opengl="yes"
- else
-@@ -1450,7 +1450,7 @@
- then
-     echo "#define CONFIG_OPENGL 1" >> $config_h
-     echo "CONFIG_OPENGL=yes" >> $config_mak
--    echo "SDL_CFLAGS+=-I/usr/include/GL" >> $config_mak
-+    echo "SDL_CFLAGS+=-I${CROSS_SYS_ROOT}/usr/include/GL" >> $config_mak
-     echo "SDL_LIBS+=-lXext" >> $config_mak
-     echo "SDL_LIBS+=-lGL" >> $config_mak
- fi
recipes-extended/xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch deleted +0 -48

48 lines not on this page · raw message

Signature · 1 line
1.8.4.rc3
#4 lore raw

PATCH v2 5/10 xen: remove old xen.inc and xen-python.inc

In reply to Chris Patterson
---
 recipes-extended/xen/xen-python.inc |  49 ------
 recipes-extended/xen/xen.inc        | 314 ------------------------------------
 2 files changed, 363 deletions(-)
 delete mode 100644 recipes-extended/xen/xen-python.inc
 delete mode 100644 recipes-extended/xen/xen.inc
recipes-extended/xen/xen-python.inc deleted +0 -49
deleted file mode 100644
index a54db07..0000000
@@ -1,49 +0,0 @@
-XEN_DISABLE_XEND=""
-
-DEPENDS += "python python-native udev"
-RDEPENDS_${PN}-python = "xen python python-lang python-re python-fcntl python-shell python-io python-threading python-stringold python-math python-crypt python-logging python-pickle python-xmlrpc python-netclient python-mime python-unixadmin python-compression python-mmap python-textutils python-resource python-terminal python-pprint python-curses"
-
-INITSCRIPT_PACKAGES += "${PN}-python"
-INITSCRIPT_NAME_${PN}-python = "xend"
-INITSCRIPT_PARAMS_${PN}-python = "defaults 64"
-
-inherit python-dir
-
-PACKAGES =+ "${PN}-python-dbg ${PN}-python"
-FILES_${PN}-python = "\
-	${sysconfdir}/init.d/xend \
-	${sysconfdir}/xen/xend-config.sxp \
-	${sysconfdir}/xen/xend-pci-permissive.sxp \
-	${sysconfdir}/xen/xend-pci-quirks.sxp \
-	${sysconfdir}/xen/xm-config.xml \
-	${bindir}/xentrace_format \
-	${bindir}/xencons \
-	${bindir}/pygrub \
-	${bindir}/remus \
-	${sbindir}/xen-bugtool \
-	${sbindir}/xend \
-	${sbindir}/xenmon.py \
-	${sbindir}/xm \
-	${sbindir}/xen-python-path \
-	${libdir}/${PYTHON_DIR} \
-	/var/run/xend"
-
-FILES_${PN}-python-dbg = "\
-        ${libdir}/${PYTHON_DIR}/site-packages/.debug \
-        ${libdir}/${PYTHON_DIR}/site-packages/xen/lowlevel/.debug"
-
-#EXTRA_OECONF="ac_cv_lib_python_PyArg_ParseTuple=yes"
-autotools_do_configure() {
-        export PYTHON=${STAGING_DIR_NATIVE}/usr/bin/python
-        export PREPEND_LIB="${STAGING_LIBDIR_NATIVE} ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}"
-        export PREPEND_INCLUDES="${STAGING_INCDIR_NATIVE} ${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
-
-        export STAGING_INCDIR=${STAGING_INCDIR}
-        export STAGING_LIBDIR=${STAGING_LIBDIR}
-        export STAGING_DIR=${STAGING_DIR}
-        export BUILD_SYS=${BUILD_SYS}
-        export HOST_SYS=${HOST_SYS}
-
-        oe_runconf
-}
-
recipes-extended/xen/xen.inc deleted +0 -314

314 lines not on this page · raw message

Signature · 1 line
1.8.4.rc3
#5 lore raw

PATCH v2 6/10 xen: remove old patches

In reply to Chris Patterson
---
 .../xen/files/allow_disable_xend.patch             |  75 -----
 .../xen/files/ioemu-cross-gl-check.patch           |  29 --
 recipes-extended/xen/files/xend-config.sxp         | 304 ---------------------
 recipes-extended/xen/files/xenminiinit.sh          |  59 ----
 4 files changed, 467 deletions(-)
 delete mode 100644 recipes-extended/xen/files/allow_disable_xend.patch
 delete mode 100644 recipes-extended/xen/files/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/files/xend-config.sxp
 delete mode 100755 recipes-extended/xen/files/xenminiinit.sh
recipes-extended/xen/files/allow_disable_xend.patch deleted +0 -75
deleted file mode 100644
index 3318704..0000000
@@ -1,75 +0,0 @@
---- xen-4.1.2/config/StdGNU.mk.sav	2012-03-08 12:30:26.047303578 -0700
-+++ xen-4.1.2/config/StdGNU.mk	2012-03-08 12:31:48.826696508 -0700
-@@ -56,6 +56,9 @@
- XEN_CONFIG_DIR = $(CONFIG_DIR)/xen
- XEN_SCRIPT_DIR = $(XEN_CONFIG_DIR)/scripts
- 
-+# Allow xend to be disabled in lieu of only libxl
-+CONFIG_ENABLE_XEND ?= y
-+
- SOCKET_LIBS =
- CURSES_LIBS = -lncurses
- PTHREAD_LIBS = -lpthread
---- xen-4.1.2/tools/Makefile.sav	2012-03-08 11:25:10.177301492 -0700
-+++ xen-4.1.2/tools/Makefile	2012-03-08 12:33:48.807302767 -0700
-@@ -15,7 +15,7 @@
- SUBDIRS-$(CONFIG_X86) += firmware
- SUBDIRS-$(ACM_SECURITY) += security
- SUBDIRS-y += console
--SUBDIRS-y += xenmon
-+SUBDIRS-$(CONFIG_ENABLE_XEND) += xenmon
- SUBDIRS-$(VTPM_TOOLS) += vtpm_manager
- SUBDIRS-$(VTPM_TOOLS) += vtpm
- SUBDIRS-y += xenstat
-@@ -36,17 +36,19 @@
- 
- SUBDIRS-y += xenpmd
- SUBDIRS-y += libxl
--SUBDIRS-y += remus
-+SUBDIRS-$(CONFIG_ENABLE_XEND) += remus
- SUBDIRS-$(CONFIG_X86) += xenpaging
- SUBDIRS-$(CONFIG_X86) += debugger/gdbsx
- SUBDIRS-$(CONFIG_X86) += debugger/kdd
- 
- # These don't cross-compile
- ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
-+ifneq ($(XEN_ENABLE_XEND),y)
- SUBDIRS-$(PYTHON_TOOLS) += python
- SUBDIRS-$(PYTHON_TOOLS) += pygrub
- SUBDIRS-$(OCAML_TOOLS) += ocaml
- endif
-+endif
- 
- # For the sake of linking, set the sys-root
- ifneq ($(CROSS_COMPILE),)
---- xen-4.1.2/tools/misc/Makefile.sav	2012-03-08 12:23:10.107321955 -0700
-+++ xen-4.1.2/tools/misc/Makefile	2012-03-08 12:34:54.466721729 -0700
-@@ -19,11 +19,13 @@
- SUBDIRS-$(CONFIG_MINITERM) += miniterm
- SUBDIRS := $(SUBDIRS-y)
- 
--INSTALL_BIN-y := xencons
-+INSTALL_BIN-y :=
-+INSTALL_BIN-$(CONFIG_ENABLE_XEND) += xencons
- INSTALL_BIN-$(CONFIG_X86) += xen-detect
- INSTALL_BIN := $(INSTALL_BIN-y)
- 
--INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd
-+INSTALL_SBIN-y := xenperf xsview xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd
-+INSTALL_SBIN-$(CONFIG_ENABLE_XEND) += xm xend xsview xen-python-path xen-bugtool
- INSTALL_SBIN-$(CONFIG_X86) += xen-hvmctx xen-hvmcrash
- INSTALL_SBIN-$(CONFIG_MIGRATE) += xen-hptool
- INSTALL_SBIN := $(INSTALL_SBIN-y)
---- xen-4.1.2/tools/hotplug/NetBSD/Makefile.sav	2012-03-08 12:54:56.247306596 -0700
-+++ xen-4.1.2/tools/hotplug/NetBSD/Makefile	2012-03-08 12:57:50.337339410 -0700
-@@ -8,7 +8,9 @@
- XEN_SCRIPTS += vif-ip
- 
- XEN_SCRIPT_DATA =
--XEN_RCD_PROG = rc.d/xencommons rc.d/xend rc.d/xendomains rc.d/xen-watchdog
-+XEN_RCD_PROG-y := rc.d/xencommons rc.d/xendomains rc.d/xen-watchdog
-+XEN_RCD_PROG-$(CONFIG_ENABLE_XEND) += rc.d/xend 
-+XEN_RCD_PROG := $(XEN_RCD_PROG-y)
- 
- .PHONY: all
- all:
recipes-extended/xen/files/ioemu-cross-gl-check.patch deleted +0 -29
deleted file mode 100644
index a1363ea..0000000
@@ -1,29 +0,0 @@
---- qemu-xen-4.1-testing/configure	2012-02-20 09:01:08.219798969 -0700
-+++ xen-4.1-testing.hg/../git/configure	2012-02-20 09:03:27.876749305 -0700
-@@ -289,7 +289,7 @@
-             kqemu="yes"
-         fi
-     fi
--    if test -f /usr/include/sys/soundcard.h ; then
-+    if test -f ${CROSS_SYS_ROOT}/usr/include/sys/soundcard.h ; then
-         audio_drv_list="oss"
-     fi
-     audio_possible_drivers="oss sdl"
-@@ -872,7 +872,7 @@
- #endif
- int main( void ) { return (int) glGetString(GL_EXTENSIONS); }
- EOF
--if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
-+if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I${CROSS_SYS_ROOT}/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
- then
- opengl="yes"
- else
-@@ -1450,7 +1450,7 @@
- then
-     echo "#define CONFIG_OPENGL 1" >> $config_h
-     echo "CONFIG_OPENGL=yes" >> $config_mak
--    echo "SDL_CFLAGS+=-I/usr/include/GL" >> $config_mak
-+    echo "SDL_CFLAGS+=-I${CROSS_SYS_ROOT}/usr/include/GL" >> $config_mak
-     echo "SDL_LIBS+=-lXext" >> $config_mak
-     echo "SDL_LIBS+=-lGL" >> $config_mak
- fi
recipes-extended/xen/files/xend-config.sxp deleted +0 -304

304 lines not on this page · raw message

recipes-extended/xen/files/xenminiinit.sh deleted +0 -59

59 lines not on this page · raw message

Signature · 1 line
1.8.4.rc3
#6 lore raw

PATCH v2 7/10 xen: rename xen patches directory from xen-4.3.0 to files.

In reply to Chris Patterson
---
 ...lask-avoid-installing-policy-file-as-boot.patch | 26 ++++++++++++++++++++++
 ...lask-avoid-installing-policy-file-as-boot.patch | 26 ----------------------
 2 files changed, 26 insertions(+), 26 deletions(-)
 create mode 100644 recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/xen-4.3.0/flask-avoid-installing-policy-file-as-boot.patch
recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch new file +26 -0
new file mode 100644
index 0000000..d980807
@@ -0,0 +1,26 @@
+From 8bff3edead4318bfebc487f929f833d11922c238 Mon Sep 17 00:00:00 2001
+From: "Vadim A. Misbakh-Soloviov" <[email protected]>
+Date: Tue, 30 Jul 2013 16:34:38 +0400
+Subject: [PATCH] flask: avoid installing policy file as '/boot'
+
+Signed-off-by: Vadim A. Misbakh-Soloviov <[email protected]>
+Acked-by: Daniel De Graaf <[email protected]>
+---
+ tools/flask/policy/Makefile |    1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tools/flask/policy/Makefile b/tools/flask/policy/Makefile
+index e666f3e..df1e8f3 100644
+--- a/tools/flask/policy/Makefile
++++ b/tools/flask/policy/Makefile
+@@ -103,6 +103,7 @@ POLICY_SECTIONS += $(USERS) $(CONSTRAINTS) $(ISID_DEFS)
+ all: $(POLICY_FILENAME)
+ 
+ install: $(POLICY_FILENAME)
++	$(INSTALL_DIR) $(POLICY_LOADPATH)
+ 	$(INSTALL_DATA) $^ $(POLICY_LOADPATH)
+ 
+ $(POLICY_FILENAME): policy.conf
+-- 
+1.7.10.4
+
recipes-extended/xen/xen-4.3.0/flask-avoid-installing-policy-file-as-boot.patch deleted +0 -26
deleted file mode 100644
index d980807..0000000
@@ -1,26 +0,0 @@
-From 8bff3edead4318bfebc487f929f833d11922c238 Mon Sep 17 00:00:00 2001
-From: "Vadim A. Misbakh-Soloviov" <[email protected]>
-Date: Tue, 30 Jul 2013 16:34:38 +0400
-Subject: [PATCH] flask: avoid installing policy file as '/boot'
-
-Signed-off-by: Vadim A. Misbakh-Soloviov <[email protected]>
-Acked-by: Daniel De Graaf <[email protected]>
----
- tools/flask/policy/Makefile |    1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/flask/policy/Makefile b/tools/flask/policy/Makefile
-index e666f3e..df1e8f3 100644
---- a/tools/flask/policy/Makefile
-+++ b/tools/flask/policy/Makefile
-@@ -103,6 +103,7 @@ POLICY_SECTIONS += $(USERS) $(CONSTRAINTS) $(ISID_DEFS)
- all: $(POLICY_FILENAME)
- 
- install: $(POLICY_FILENAME)
-+	$(INSTALL_DIR) $(POLICY_LOADPATH)
- 	$(INSTALL_DATA) $^ $(POLICY_LOADPATH)
- 
- $(POLICY_FILENAME): policy.conf
--- 
-1.7.10.4
-
Signature · 1 line
1.8.4.rc3
#7 lore raw

PATCH v2 9/10 xen: improve organization with new xen.inc

In reply to Chris Patterson

Moved common recipe bits from xen_4.3.1.bb to xen.inc.

---
 recipes-extended/xen/xen.inc      | 632 +++++++++++++++++++++++++++++++++++++
 recipes-extended/xen/xen_4.3.1.bb | 636 +-------------------------------------
 2 files changed, 635 insertions(+), 633 deletions(-)
 create mode 100644 recipes-extended/xen/xen.inc
recipes-extended/xen/xen.inc new file +632 -0
new file mode 100644
index 0000000..fff3dc1
@@ -0,0 +1,632 @@
+DESCRIPTION = "Xen hypervisor"
+HOMEPAGE = "http://xen.org"
+LICENSE = "GPLv2"
+SECTION = "console/tools"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=e0f0f3ac55608719a82394cc353928df"
+
+COMPATIBLE_HOST = '(x86_64.*).*-linux'
+
+inherit autotools gettext setuptools update-rc.d
+
+PACKAGECONFIG ??= " \
+    sdl \
+"
+
+PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
+PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
+
+DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0"
+
+# inherit setuptools adds python to RDEPENDS, override it
+RDEPENDS_${PN} = ""
+
+RDEPENDS_${PN}-base = "\
+    libgcc udev bash perl xz \
+    ${PN}-blktap \
+    ${PN}-console \
+    ${PN}-libblktapctl \
+    ${PN}-libxenguest \
+    ${PN}-libxenlight \
+    ${PN}-libxenvchan \
+    ${PN}-libxenctrl \
+    ${PN}-libxlutil \
+    ${PN}-libvhd \
+    ${PN}-libxenstat \
+    ${PN}-libxenstore \
+    ${PN}-libblktap \
+    ${PN}-libfsimage \
+    ${PN}-flask \
+    ${PN}-fsimage \
+    ${PN}-hvmloader \
+    ${PN}-scripts-block \
+    ${PN}-scripts-network \
+    ${PN}-udev \
+    ${PN}-xenpaging \
+    ${PN}-xen-watchdog \
+    ${PN}-xencommons \
+    ${PN}-xendomains \
+    ${PN}-xenstore \
+    ${PN}-xenstored \
+    ${PN}-xl \
+    "
+
+RDEPENDS_${PN}-scripts-block = "\
+    ${PN}-scripts-common \
+    ${PN}-udev \
+    "
+
+RDEPENDS_${PN}-scripts-network = "\
+    bridge-utils \
+    ${PN}-scripts-common \
+    ${PN}-udev \
+    "
+
+PACKAGES = "\
+    ${PN}-base \
+    ${PN}-blktap \
+    ${PN}-console \
+    ${PN}-dbg \
+    ${PN}-dev \
+    ${PN}-doc \
+    ${PN}-flask \
+    ${PN}-fsimage \
+    ${PN}-gdbsx \
+    ${PN}-hvmloader \
+    ${PN}-hypervisor \
+    ${PN}-kdd \
+    ${PN}-libblktap \
+    ${PN}-libblktapctl \
+    ${PN}-libblktapctl-dev \
+    ${PN}-libblktap-dev \
+    ${PN}-libfsimage \
+    ${PN}-libfsimage-dev \
+    ${PN}-libvhd \
+    ${PN}-libvhd-dev \
+    ${PN}-libxenctrl \
+    ${PN}-libxenctrl-dev \
+    ${PN}-libxenguest \
+    ${PN}-libxenguest-dev \
+    ${PN}-libxenlight \
+    ${PN}-libxenlight-dev \
+    ${PN}-libxenstat \
+    ${PN}-libxenstat-dev \
+    ${PN}-libxenstore \
+    ${PN}-libxenstore-dev \
+    ${PN}-libxenvchan \
+    ${PN}-libxenvchan-dev \
+    ${PN}-libxlutil \
+    ${PN}-libxlutil-dev \
+    ${PN}-misc \
+    ${PN}-pygrub \
+    ${PN}-python \
+    ${PN}-qemu \
+    ${PN}-remus \
+    ${PN}-scripts-block \
+    ${PN}-scripts-common \
+    ${PN}-scripts-network \
+    ${PN}-staticdev \
+    ${PN}-udev \
+    ${PN}-xcutils \
+    ${PN}-xencommons \
+    ${PN}-xend \
+    ${PN}-xend-examples \
+    ${PN}-xendomains \
+    ${PN}-xenmon \
+    ${PN}-xenpaging \
+    ${PN}-xenpmd \
+    ${PN}-xenstat \
+    ${PN}-xenstore \
+    ${PN}-xenstored \
+    ${PN}-xentrace \
+    ${PN}-xen-watchdog \
+    ${PN}-xl \
+    ${PN}-xl-examples \
+    ${PN}-xm \
+    ${PN}-xm-examples \
+    "
+
+FILES_${PN}-dbg += "\
+    ${libdir}/.debug \
+    ${libdir}/xen/bin/.debug \
+    ${libdir}/python2.7/site-packages/.debug \
+    ${libdir}/python2.7/site-packages/xen/lowlevel/.debug \
+    ${libdir}/fs/xfs/.debug \
+    ${libdir}/fs/ufs/.debug \
+    ${libdir}/fs/ext2fs-lib/.debug \
+    ${libdir}/fs/fat/.debug \
+    ${libdir}/fs/zfs/.debug \
+    ${libdir}/fs/reiserfs/.debug \
+    ${libdir}/fs/iso9660/.debug \
+    ${sbindir}/.debug \
+    ${libdir}exec/.debug \
+    ${bindir}/.debug \
+    ${libdir}/python2.7/dist-packages/.debug \
+    ${libdir}/python2.7/dist-packages/xen/lowlevel/.debug \
+    "
+
+FILES_${PN}-dev = "\
+    ${includedir} \
+    "
+
+FILES_${PN}-doc = "\
+    ${sysconfdir}/xen/README \
+    ${sysconfdir}/xen/README.incompatibilities \
+    ${datadir}/doc \
+    ${datadir}/man \
+    "
+
+FILES_${PN}-staticdev += "\
+    ${libdir}/libblktapctl.a \
+    ${libdir}/libxenguest.a \
+    ${libdir}/libxenlight.a \
+    ${libdir}/libxenvchan.a \
+    ${libdir}/libxenctrl.a \
+    ${libdir}/libxlutil.a \
+    ${libdir}/libvhd.a \
+    ${libdir}/libxenstat.a \
+    ${libdir}/libxenstore.a \
+    ${libdir}/libblktap.a \
+    "
+
+FILES_${PN}-libblktapctl = "${libdir}/libblktapctl.so.*"
+FILES_${PN}-libblktapctl-dev = "${libdir}/libblktapctl.so"
+
+FILES_${PN}-libxenguest = "${libdir}/libxenguest.so.*"
+FILES_${PN}-libxenguest-dev = "${libdir}/libxenguest.so"
+
+FILES_${PN}-libxenlight = "${libdir}/libxenlight.so.*"
+FILES_${PN}-libxenlight-dev = "${libdir}/libxenlight.so"
+
+FILES_${PN}-libxenvchan = "${libdir}/libxenvchan.so.*"
+FILES_${PN}-libxenvchan-dev = "${libdir}/libxenvchan.so"
+
+FILES_${PN}-libxenctrl = "${libdir}/libxenctrl.so.*"
+FILES_${PN}-libxenctrl-dev = "${libdir}/libxenctrl.so"
+
+FILES_${PN}-libxlutil = "${libdir}/libxlutil.so.*"
+FILES_${PN}-libxlutil-dev = "${libdir}/libxlutil.so"
+
+FILES_${PN}-libvhd = "${libdir}/libvhd.so.*"
+FILES_${PN}-libvhd-dev = "${libdir}/libvhd.so"
+
+FILES_${PN}-libxenstat = "${libdir}/libxenstat.so.*"
+FILES_${PN}-libxenstat-dev = "${libdir}/libxenstat.so"
+
+FILES_${PN}-libxenstore = "${libdir}/libxenstore.so.*"
+FILES_${PN}-libxenstore-dev = "${libdir}/libxenstore.so"
+
+FILES_${PN}-libblktap = "${libdir}/libblktap.so.*"
+FILES_${PN}-libblktap-dev = "${libdir}/libblktap.so"
+
+FILES_${PN}-libfsimage = "${libdir}/libfsimage.so.*"
+FILES_${PN}-libfsimage-dev = "${libdir}/libfsimage.so"
+
+FILES_${PN}-fsimage = "${libdir}/fs/*/*fsimage.so"
+
+FILES_${PN}-hypervisor = "\
+    /boot/xen-*.gz \
+    /boot/xen.gz \
+    /boot/xen-syms-* \
+    "
+
+FILES_${PN}-base = "\
+    ${sysconfdir}/default/volatiles/99_xen \
+    ${sysconfdir}/default/xencommons \
+    ${sysconfdir}/default/xendomains \
+    ${sysconfdir}/xen/auto \
+    ${sysconfdir}/xen/cpupool \
+    ${sysconfdir}/sysconfig/xendomains \
+    ${localstatedir}/xen/dump \
+    "
+
+FILES_${PN}-blktap = "\
+    ${sbindir}/blktapctrl \
+    ${sbindir}/img2qcow \
+    ${sbindir}/lock-util \
+    ${sbindir}/qcow2raw \
+    ${sbindir}/qcow-create \
+    ${sbindir}/tap-ctl \
+    ${sbindir}/tapdisk \
+    ${sbindir}/tapdisk2 \
+    ${sbindir}/tapdisk-client \
+    ${sbindir}/tapdisk-diff \
+    ${sbindir}/tapdisk-stream \
+    ${sbindir}/td-util \
+    ${sbindir}/vhd-update \
+    ${sbindir}/vhd-util \
+    "
+
+FILES_${PN}-console = "\
+    ${libdir}/xen/bin/xenconsole \
+    ${sbindir}/xenconsoled \
+    "
+
+FILES_${PN}-flask = "\
+    ${sbindir}/flask-get-bool \
+    ${sbindir}/flask-getenforce \
+    ${sbindir}/flask-label-pci \
+    ${sbindir}/flask-loadpolicy \
+    ${sbindir}/flask-set-bool \
+    ${sbindir}/flask-setenforce \
+    /boot/xenpolicy.24 \
+    "
+
+FILES_${PN}-gdbsx = "\
+    ${sbindir}/gdbsx \
+    "
+
+INSANE_SKIP_${PN}-hvmloader = "arch"
+FILES_${PN}-hvmloader = "\
+    ${libdir}/xen/boot/hvmloader \
+    "
+
+FILES_${PN}-kdd = "\
+    ${sbindir}/kdd \
+    "
+
+FILES_${PN}-misc = "\
+    ${bindir}/xencons \
+    ${bindir}/xencov_split \
+    ${bindir}/xen-detect \
+    ${libdir}/xen/bin/xenpvnetboot \
+    ${sbindir}/gtracestat \
+    ${sbindir}/gtraceview \
+    ${sbindir}/xen-bugtool \
+    ${sbindir}/xencov \
+    ${sbindir}/xenperf \
+    ${sbindir}/xenpm \
+    ${sbindir}/xsview \
+    ${sbindir}/xen-tmem-list-parse \
+    ${sbindir}/xen-python-path \
+    ${sbindir}/xen-ringwatch \
+    ${sbindir}/xen-hptool \
+    ${sbindir}/xen-hvmcrash \
+    ${sbindir}/xen-hvmctx \
+    ${sbindir}/xenlockprof \
+    ${sbindir}/xen-lowmemd \
+    "
+
+FILES_${PN}-pygrub = "\
+    ${bindir}/pygrub \
+    ${libdir}/xen/bin/pygrub \
+    "
+
+FILES_${PN}-python = "\
+    ${libdir}/python2.7 \
+    "
+
+INSANE_SKIP_${PN} = "already-stripped"
+INSANE_SKIP_${PN}-qemu = "arch"
+FILES_${PN}-qemu = " \
+    ${datadir}/xen/qemu \
+    ${libdir}/xen/bin/qemu-system-i386 \
+    ${libdir}/xen/bin/qemu-system-x86_64 \
+    ${libdir}/xen/bin/qemu-img \
+    ${libdir}/xen/bin/qemu-nbd \
+    ${libdir}/xen/bin/qemu-ga \
+    ${libdir}/xen/bin/qemu-io \
+    ${libdir}/xen/bin/qemu-dm \
+    ${libdir}/xen/bin/virtfs-proxy-helper \
+    /usr/libexec/qemu-bridge-helper \
+    /usr/etc/qemu \
+    /usr/etc/qemu/target-x86_64.conf \
+    ${datadir}/qemu-xen \
+    ${datadir}/qemu-xen/qemu \
+    ${datadir}/qemu-xen/qemu/bamboo.dtb \
+    ${datadir}/qemu-xen/qemu/pxe-pcnet.rom \
+    ${datadir}/qemu-xen/qemu/vgabios-vmware.bin \
+    ${datadir}/qemu-xen/qemu/pxe-eepro100.rom \
+    ${datadir}/qemu-xen/qemu/pxe-e1000.rom \
+    ${datadir}/qemu-xen/qemu/openbios-ppc \
+    ${datadir}/qemu-xen/qemu/multiboot.bin \
+    ${datadir}/qemu-xen/qemu/vgabios-cirrus.bin \
+    ${datadir}/qemu-xen/qemu/bios.bin \
+    ${datadir}/qemu-xen/qemu/vgabios-stdvga.bin \
+    ${datadir}/qemu-xen/qemu/palcode-clipper \
+    ${datadir}/qemu-xen/qemu/pxe-ne2k_pci.rom \
+    ${datadir}/qemu-xen/qemu/spapr-rtas.bin \
+    ${datadir}/qemu-xen/qemu/slof.bin \
+    ${datadir}/qemu-xen/qemu/vgabios-qxl.bin \
+    ${datadir}/qemu-xen/qemu/pxe-rtl8139.rom \
+    ${datadir}/qemu-xen/qemu/openbios-sparc64 \
+    ${datadir}/qemu-xen/qemu/pxe-virtio.rom \
+    ${datadir}/qemu-xen/qemu/kvmvapic.bin \
+    ${datadir}/qemu-xen/qemu/openbios-sparc32 \
+    ${datadir}/qemu-xen/qemu/petalogix-s3adsp1800.dtb \
+    ${datadir}/qemu-xen/qemu/sgabios.bin \
+    ${datadir}/qemu-xen/qemu/linuxboot.bin \
+    ${datadir}/qemu-xen/qemu/qemu-icon.bmp \
+    ${datadir}/qemu-xen/qemu/ppc_rom.bin \
+    ${datadir}/qemu-xen/qemu/vgabios.bin \
+    ${datadir}/qemu-xen/qemu/s390-zipl.rom \
+    ${datadir}/qemu-xen/qemu/petalogix-ml605.dtb \
+    ${datadir}/qemu-xen/qemu/keymaps \
+    ${datadir}/qemu-xen/qemu/keymaps/common \
+    ${datadir}/qemu-xen/qemu/keymaps/th \
+    ${datadir}/qemu-xen/qemu/keymaps/is \
+    ${datadir}/qemu-xen/qemu/keymaps/en-gb \
+    ${datadir}/qemu-xen/qemu/keymaps/ar \
+    ${datadir}/qemu-xen/qemu/keymaps/fr-be \
+    ${datadir}/qemu-xen/qemu/keymaps/ru \
+    ${datadir}/qemu-xen/qemu/keymaps/hu \
+    ${datadir}/qemu-xen/qemu/keymaps/de-ch \
+    ${datadir}/qemu-xen/qemu/keymaps/no \
+    ${datadir}/qemu-xen/qemu/keymaps/fr \
+    ${datadir}/qemu-xen/qemu/keymaps/pl \
+    ${datadir}/qemu-xen/qemu/keymaps/fr-ca \
+    ${datadir}/qemu-xen/qemu/keymaps/de \
+    ${datadir}/qemu-xen/qemu/keymaps/fr-ch \
+    ${datadir}/qemu-xen/qemu/keymaps/bepo \
+    ${datadir}/qemu-xen/qemu/keymaps/lv \
+    ${datadir}/qemu-xen/qemu/keymaps/ja \
+    ${datadir}/qemu-xen/qemu/keymaps/da \
+    ${datadir}/qemu-xen/qemu/keymaps/lt \
+    ${datadir}/qemu-xen/qemu/keymaps/hr \
+    ${datadir}/qemu-xen/qemu/keymaps/es \
+    ${datadir}/qemu-xen/qemu/keymaps/modifiers \
+    ${datadir}/qemu-xen/qemu/keymaps/sl \
+    ${datadir}/qemu-xen/qemu/keymaps/it \
+    ${datadir}/qemu-xen/qemu/keymaps/nl \
+    ${datadir}/qemu-xen/qemu/keymaps/fo \
+    ${datadir}/qemu-xen/qemu/keymaps/mk \
+    ${datadir}/qemu-xen/qemu/keymaps/pt-br \
+    ${datadir}/qemu-xen/qemu/keymaps/tr \
+    ${datadir}/qemu-xen/qemu/keymaps/sv \
+    ${datadir}/qemu-xen/qemu/keymaps/fi \
+    ${datadir}/qemu-xen/qemu/keymaps/en-us \
+    ${datadir}/qemu-xen/qemu/keymaps/et \
+    ${datadir}/qemu-xen/qemu/keymaps/nl-be \
+    ${datadir}/qemu-xen/qemu/keymaps/pt \
+    ${bindir}/qemu-nbd-xen \
+    ${bindir}/qemu-img-xen \
+    "
+
+FILES_${PN}-remus = "\
+    ${bindir}/remus \
+    "
+
+FILES_${PN}-scripts-network = " \
+    ${sysconfdir}/xen/scripts/network-bridge \
+    ${sysconfdir}/xen/scripts/network-nat \
+    ${sysconfdir}/xen/scripts/network-route \
+    ${sysconfdir}/xen/scripts/qemu-ifup \
+    ${sysconfdir}/xen/scripts/vif2 \
+    ${sysconfdir}/xen/scripts/vif-bridge \
+    ${sysconfdir}/xen/scripts/vif-common.sh \
+    ${sysconfdir}/xen/scripts/vif-nat \
+    ${sysconfdir}/xen/scripts/vif-openvswitch \
+    ${sysconfdir}/xen/scripts/vif-route \
+    ${sysconfdir}/xen/scripts/vif-setup \
+    "
+
+FILES_${PN}-scripts-block = " \
+    ${sysconfdir}/xen/scripts/blktap \
+    ${sysconfdir}/xen/scripts/block \
+    ${sysconfdir}/xen/scripts/block-common.sh \
+    ${sysconfdir}/xen/scripts/block-enbd \
+    ${sysconfdir}/xen/scripts/block-iscsi \
+    ${sysconfdir}/xen/scripts/block-nbd \
+    ${sysconfdir}/xen/scripts/vscsi \
+    "
+
+FILES_${PN}-scripts-common = " \
+    ${sysconfdir}/xen/scripts/external-device-migrate \
+    ${sysconfdir}/xen/scripts/hotplugpath.sh \
+    ${sysconfdir}/xen/scripts/locking.sh \
+    ${sysconfdir}/xen/scripts/logging.sh \
+    ${sysconfdir}/xen/scripts/xen-hotplug-cleanup \
+    ${sysconfdir}/xen/scripts/xen-hotplug-common.sh \
+    ${sysconfdir}/xen/scripts/xen-network-common.sh \
+    ${sysconfdir}/xen/scripts/xen-script-common.sh \
+    "
+
+FILES_${PN}-udev = "\
+    ${sysconfdir}/udev/rules.d/xen-backend.rules \
+    ${sysconfdir}/udev/rules.d/xend.rules \
+    "
+
+FILES_${PN}-xcutils = "\
+    ${libdir}/xen/bin/lsevtchn \
+    ${libdir}/xen/bin/readnotes \
+    ${libdir}/xen/bin/xc_restore \
+    ${libdir}/xen/bin/xc_save \
+    "
+
+FILES_${PN}-xend-examples = "\
+    ${sysconfdir}/xen/xend-config.sxp \
+    ${sysconfdir}/xen/xend-pci-permissive.sxp \
+    ${sysconfdir}/xen/xend-pci-quirks.sxp \
+    "
+
+FILES_${PN}-xenpaging = "\
+    ${libdir}/xen/bin/xenpaging \
+    ${localstatedir}/lib/xen/xenpaging \
+    "
+
+FILES_${PN}-xenpmd = "\
+    ${sbindir}/xenpmd \
+    "
+
+FILES_${PN}-xenstat = "\
+    ${sbindir}/xentop \
+    "
+
+FILES_${PN}-xenstore = "\
+    ${bindir}/xenstore \
+    ${bindir}/xenstore-chmod \
+    ${bindir}/xenstore-control \
+    ${bindir}/xenstore-exists \
+    ${bindir}/xenstore-list \
+    ${bindir}/xenstore-ls \
+    ${bindir}/xenstore-read \
+    ${bindir}/xenstore-rm \
+    ${bindir}/xenstore-watch \
+    ${bindir}/xenstore-write \
+    "
+
+FILES_${PN}-xenstored = "\
+    ${sbindir}/xenstored \
+    ${localstatedir}/lib/xenstored \
+    "
+
+FILES_${PN}-xentrace = "\
+    ${bindir}/xentrace \
+    ${bindir}/xentrace_format \
+    ${bindir}/xentrace_setsize \
+    ${libdir}/xen/bin/xenctx \
+    "
+
+FILES_${PN}-xen-watchdog = "\
+    ${sbindir}/xenwatchdogd \
+    "
+
+FILES_${PN}-xl = "\
+    ${sysconfdir}/bash_completion.d/xl.sh \
+    ${sysconfdir}/xen/xl.conf \
+    ${libdir}/xen/bin/libxl-save-helper \
+    ${sbindir}/xl \
+    "
+
+FILES_${PN}-xl-examples = "\
+    ${sysconfdir}/xen/xlexample.hvm \
+    ${sysconfdir}/xen/xlexample.pvlinux \
+    "
+
+FILES_${PN}-xm-examples = "\
+    ${sysconfdir}/xen/xmexample1 \
+    ${sysconfdir}/xen/xmexample2 \
+    ${sysconfdir}/xen/xmexample3 \
+    ${sysconfdir}/xen/xmexample.hvm \
+    ${sysconfdir}/xen/xmexample.hvm-stubdom \
+    ${sysconfdir}/xen/xmexample.nbd \
+    ${sysconfdir}/xen/xmexample.pv-grub \
+    ${sysconfdir}/xen/xmexample.vti \
+    "
+    
+FILES_${PN}-xenmon = "\
+    ${sbindir}/xenbaked \
+    ${sbindir}/xentrace_setmask \
+    ${sbindir}/xenmon.py \
+    "
+
+FILES_${PN}-xm = "\
+    ${sysconfdir}/xen/xm-config.xml \
+    ${datadir}/xen/create.dtd \
+    ${sbindir}/xm \
+    "
+
+FILES_${PN}-xencommons += "${sysconfdir}/init.d/xencommons"
+FILES_${PN}-xend += " \
+    ${sysconfdir}/init.d/xend \
+    ${sbindir}/xend \
+    "
+FILES_${PN}-xendomains += "${sysconfdir}/init.d/xendomains"
+FILES_${PN}-xen-watchdog += "${sysconfdir}/init.d/xen-watchdog"
+
+# configure init.d scripts
+INITSCRIPT_PACKAGES = "${PN}-xend ${PN}-xencommons ${PN}-xen-watchdog ${PN}-xendomains"
+INITSCRIPT_NAME_${PN}-xencommons = "xencommons"
+INITSCRIPT_PARAMS_${PN}-xencommons = "defaults 80"
+INITSCRIPT_NAME_${PN}-xen-watchdog = "xen-watchdog"
+INITSCRIPT_PARAMS_${PN}-xen-watchdog = "defaults 81"
+INITSCRIPT_NAME_${PN}-xend = "xend"
+INITSCRIPT_PARAMS_${PN}-xend = "defaults 82"
+INITSCRIPT_NAME_${PN}-xendomains = "xendomains"
+INITSCRIPT_PARAMS_${PN}-xendomains = "defaults 83"
+
+#### REQUIRED ENVIRONMENT VARIABLES ####
+export BUILD_SYS
+export HOST_SYS
+export STAGING_INCDIR
+export STAGING_LIBDIR
+
+# specify xen hypervisor to target x86_64 (x86_32 not supported)
+export XEN_TARGET_ARCH="x86_64"
+export XEN_COMPILE_ARCH="x86_64"
+
+# this is used for the header (#!${bindir}/python) of the install python scripts
+export PYTHONPATH="${bindir}/python"
+
+# seabios forcefully sets HOSTCC to CC - fixup to allow it to build native conf executable
+export HOSTCC="${BUILD_CC}"
+
+# make xen requires CROSS_COMPILE set by hand as it does not abide by ./configure
+export CROSS_COMPILE="${TARGET_PREFIX}"
+
+# overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'"
+export LDFLAGS=""
+
+EXTRA_OECONF += " \
+    --exec-prefix=/usr \
+    --prefix=/usr \
+    --host=${HOST_SYS} \
+    --disable-stubdom \
+    --disable-ioemu-stubdom \
+    --disable-pv-grub \
+    --disable-xenstore-stubdom \
+"
+
+do_configure() {
+    # no stubs-32.h in our 64-bit sysroot - hack it into tools/include/gnu
+    test -d ${S}/tools/include/gnu || mkdir ${S}/tools/include/gnu
+    if ! test -f ${STAGING_DIR_TARGET}/usr/include/gnu/stubs-32.h ; then
+        cat ${STAGING_DIR_TARGET}/usr/include/gnu/stubs-64.h | grep -v stub_bdflush | grep -v stub_getmsg | grep -v stub_putmsg > ${S}/tools/include/gnu/stubs-32.h
+        echo \#define __stub___kernel_cosl >> ${S}/tools/include/gnu/stubs-32.h
+        echo \#define __stub___kernel_sinl >> ${S}/tools/include/gnu/stubs-32.h
+        echo \#define __stub___kernel_tanl >> ${S}/tools/include/gnu/stubs-32.h
+    fi
+
+    # do configure
+    oe_runconf
+
+    # seabios needs a patch to specify correct compiler - pull and patch Makefile
+    make -C ${S}/tools/firmware seabios-dir
+    sed -i 's/export HOSTCC.*$(CC)/export HOSTCC ?= $(CC)/g' ${S}/tools/firmware/seabios-dir/Makefile
+}
+
+do_compile() {
+    oe_runmake
+}
+
+do_install() {
+    oe_runmake DESTDIR="${D}" install
+
+    # remove installed volatiles
+    rm -rf ${D}${localstatedir}/run ${D}${localstatedir}/lock ${D}${localstatedir}/log ${D}${localstatedir}/volatile
+
+    # install volatiles using populate_volatiles mechanism
+    install -d ${D}${sysconfdir}/default/volatiles
+    echo "d root root 0755 ${localstatedir}/run/xenstored none" \
+         > ${D}${sysconfdir}/default/volatiles/99_xen
+    echo "d root root 0755 ${localstatedir}/run/xend none" \
+         >> ${D}${sysconfdir}/default/volatiles/99_xen
+    echo "d root root 0755 ${localstatedir}/run/xend/boot none" \
+         >> ${D}${sysconfdir}/default/volatiles/99_xen
+    echo "d root root 0755 ${localstatedir}/run/xen none" \
+         >> ${D}${sysconfdir}/default/volatiles/99_xen
+    echo "d root root 0755 ${localstatedir}/log/xen none" \
+         >> ${D}${sysconfdir}/default/volatiles/99_xen
+    echo "d root root 0755 ${localstatedir}/lock/xen none" \
+         >> ${D}${sysconfdir}/default/volatiles/99_xen
+    echo "d root root 0755 ${localstatedir}/lock/subsys none" \
+         >> ${D}${sysconfdir}/default/volatiles/99_xen
+
+    # workaround for xendomains script which searchs sysconfig if directory exists
+    install -d ${D}${sysconfdir}/sysconfig
+    ln -sf ${sysconfdir}/default/xendomains ${D}${sysconfdir}/sysconfig/xendomains
+}
+
+pkg_postinst_${PN}-base() {
+    if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then
+        ${sysconfdir}/init.d/populate-volatile.sh update
+    fi
+}
+
+sysroot_stage_all_append() {
+    sysroot_stage_dir ${D}/boot ${SYSROOT_DESTDIR}/kernel
+
+    install -d ${DEPLOY_DIR_IMAGE}
+    install -m 0644 ${D}/boot/xen.gz ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz
+}
recipes-extended/xen/xen_4.3.1.bb +3 -633

647 lines not on this page · raw message

Signature · 1 line
1.8.4.rc3
#8 lore raw

PATCH v2 10/10 xen: add xen_git recipe.

In reply to Chris Patterson

Added recipe for xen unstable from git repository.

Moved now empty xen-flask and xen-libblktap packages from required dependencies from xen.inc into xen_4.3.1.bb.

---
 recipes-extended/xen/xen.inc      |  2 --
 recipes-extended/xen/xen_4.3.1.bb |  5 +++++
 recipes-extended/xen/xen_git.bb   | 18 ++++++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 recipes-extended/xen/xen_git.bb
recipes-extended/xen/xen.inc +0 -2
index fff3dc1..9d43814 100644
@@ -35,9 +35,7 @@ RDEPENDS_${PN}-base = "\
     ${PN}-libvhd \
     ${PN}-libxenstat \
     ${PN}-libxenstore \
-    ${PN}-libblktap \
     ${PN}-libfsimage \
-    ${PN}-flask \
     ${PN}-fsimage \
     ${PN}-hvmloader \
     ${PN}-scripts-block \
recipes-extended/xen/xen_4.3.1.bb +5 -0
index 46563ce..2c9806b 100644
@@ -10,6 +10,11 @@ SRC_URI[sha256sum] = "3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d
 
 S = "${WORKDIR}/xen-${PV}"
 
+RDEPENDS_${PN}-base += "\
+    ${PN}-libblktap \
+    ${PN}-flask \
+    "
+
 do_configure_prepend() {
     # fixup qemu-xen-traditional pciutils check hardcoded to test /usr/include/pci
     sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak
recipes-extended/xen/xen_git.bb new file +18 -0
new file mode 100644
index 0000000..f333157
@@ -0,0 +1,18 @@
+require xen.inc
+
+SRCREV = "68bd172e6fa565899c846eb72755c8ffd8562c8a"
+
+PV = "4.4.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = " \
+    git://xenbits.xen.org/xen.git \
+    "
+
+DEFAULT_PREFERENCE = "-1"
+
+PACKAGES += "${PN}-xen-mfndump"
+
+FILES_${PN}-xen-mfndump = "${sbindir}/xen-mfndump"
+
Signature · 1 line
1.8.4.rc3
#9 lore raw

Re: [PATCH v2 10/10] xen: add xen_git recipe.

Can I get you to explain the reason for removing libblktap and flask from RDEPENDS in xen.inc? Other than that the patch set looks good to me. Deleting stuff is a very good thing :)

- Philip

Quoted 68 lines · Chris Patterson

Added recipe for xen unstable from git repository.

Moved now empty xen-flask and xen-libblktap packages from required dependencies from xen.inc into xen_4.3.1.bb.

---
 recipes-extended/xen/xen.inc      |  2 --
 recipes-extended/xen/xen_4.3.1.bb |  5 +++++
 recipes-extended/xen/xen_git.bb   | 18 ++++++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 recipes-extended/xen/xen_git.bb
recipes-extended/xen/xen.inc +0 -2
index fff3dc1..9d43814 100644
@@ -35,9 +35,7 @@ RDEPENDS_${PN}-base = "\
     ${PN}-libvhd \
     ${PN}-libxenstat \
     ${PN}-libxenstore \
-    ${PN}-libblktap \
     ${PN}-libfsimage \
-    ${PN}-flask \
     ${PN}-fsimage \
     ${PN}-hvmloader \
     ${PN}-scripts-block \
recipes-extended/xen/xen_4.3.1.bb +5 -0
index 46563ce..2c9806b 100644
@@ -10,6 +10,11 @@ SRC_URI[sha256sum] = "3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d
 
 S = "${WORKDIR}/xen-${PV}"
 
+RDEPENDS_${PN}-base += "\
+    ${PN}-libblktap \
+    ${PN}-flask \
+    "
+
 do_configure_prepend() {
     # fixup qemu-xen-traditional pciutils check hardcoded to test /usr/include/pci
     sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak
recipes-extended/xen/xen_git.bb new file +18 -0
new file mode 100644
index 0000000..f333157
@@ -0,0 +1,18 @@
+require xen.inc
+
+SRCREV = "68bd172e6fa565899c846eb72755c8ffd8562c8a"
+
+PV = "4.4.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = " \
+    git://xenbits.xen.org/xen.git \
+    "
+
+DEFAULT_PREFERENCE = "-1"
+
+PACKAGES += "${PN}-xen-mfndump"
+
+FILES_${PN}-xen-mfndump = "${sbindir}/xen-mfndump"
+
#10 lore raw

Re: [PATCH v2 10/10] xen: add xen_git recipe.

Both are no longer built by default: libblktap is for blktap1, and flask is now only built if you have xsm enabled.

Quoted 82 lines · Philip Tricca

Can I get you to explain the reason for removing libblktap and flask from RDEPENDS in xen.inc? Other than that the patch set looks good to me. Deleting stuff is a very good thing :)

- Philip

recipes-extended/xen/

Quoted 28 lines · Chris Patterson

Added recipe for xen unstable from git repository.

Moved now empty xen-flask and xen-libblktap packages from required dependencies from xen.inc into xen_4.3.1.bb.

---
 recipes-extended/xen/xen.inc      |  2 --
 recipes-extended/xen/xen_4.3.1.bb |  5 +++++
 recipes-extended/xen/xen_git.bb   | 18 ++++++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 recipes-extended/xen/xen_git.bb
recipes-extended/xen/xen.inc +0 -2
index fff3dc1..9d43814 100644
@@ -35,9 +35,7 @@ RDEPENDS_${PN}-base = "\
     ${PN}-libvhd \
     ${PN}-libxenstat \
     ${PN}-libxenstore \
-    ${PN}-libblktap \
     ${PN}-libfsimage \
-    ${PN}-flask \
     ${PN}-fsimage \
     ${PN}-hvmloader \
     ${PN}-scripts-block \
recipes-extended/xen/ renamed from recipes-extended/xen/xen_4.3.1.bb +0 -0

xen_4.3.1.bb

recipes-extended/xen/xen_4.3.1.bb SRC_URI[sha256sum] =

Quoted 4 lines

index 46563ce..2c9806b 100644

recipes-extended/xen/xen_4.3.1.bb +0 -0
@@ -10,6 +10,11 @@ SRC_URI[sha256sum] =

"3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d

recipes-extended/xen/xen_4.3.1.bb SRC_URI[sha256sum] = "3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d

Quoted 10 lines
recipes-extended/xen/xen_4.3.1.bb +5 -0
 S = "${WORKDIR}/xen-${PV}"
 
+RDEPENDS_${PN}-base += "\
+    ${PN}-libblktap \
+    ${PN}-flask \
+    "
+
 do_configure_prepend() {
     # fixup qemu-xen-traditional pciutils check hardcoded to test

/usr/include/pci

recipes-extended/xen/xen_4.3.1.bb SRC_URI[sha256sum] = · line 19

Quoted 1 line
recipes-extended/xen/xen_4.3.1.bb +0 -0
     sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g'

${S}/tools/qemu-xen-traditional/xen-hooks.mak

recipes-extended/xen/

Quoted 1 line
recipes-extended/xen/ renamed from recipes-extended/xen/xen_git.bb +0 -0

xen_git.bb

Quoted 24 lines

new file mode 100644
index 0000000..f333157

recipes-extended/xen/xen_git.bb new file +18 -0
@@ -0,0 +1,18 @@
+require xen.inc
+
+SRCREV = "68bd172e6fa565899c846eb72755c8ffd8562c8a"
+
+PV = "4.4.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = " \
+    git://xenbits.xen.org/xen.git \
+    "
+
+DEFAULT_PREFERENCE = "-1"
+
+PACKAGES += "${PN}-xen-mfndump"
+
+FILES_${PN}-xen-mfndump = "${sbindir}/xen-mfndump"
+
#11 lore raw

Re: [PATCH v2 10/10] xen: add xen_git recipe.

Quoted 2 lines · Chris Patterson

Both are no longer built by default: libblktap is for blktap1, and flask is now only built if you have xsm enabled.

Gotcha. LGTM.

- Philip

Quoted 91 lines

On Fri, Nov 8, 2013 at 1:35 PM, Philip Tricca <[email protected] <mailto:[email protected]>> wrote:

    Can I get you to explain the reason for removing libblktap and flask
    from RDEPENDS in xen.inc? Other than that the patch set looks good to
    me. Deleting stuff is a very good thing :)

    - Philip

    On 11/07/2013 11:01 PM, Chris Patterson wrote:
    > Added recipe for xen unstable from git repository.
    >
    > Moved now empty xen-flask and xen-libblktap packages from
    > required dependencies from xen.inc into xen_4.3.1.bb
    <http://xen_4.3.1.bb>.
    >
    > Signed-off-by: Chris Patterson <[email protected]
    <mailto:[email protected]>>
    > ---
    >  recipes-extended/xen/xen.inc      |  2 --
    >  recipes-extended/xen/xen_4.3.1.bb <http://xen_4.3.1.bb> |  5 +++++
    >  recipes-extended/xen/xen_git.bb <http://xen_git.bb>   | 18
    ++++++++++++++++++
    >  3 files changed, 23 insertions(+), 2 deletions(-)
    >  create mode 100644 recipes-extended/xen/xen_git.bb
    <http://xen_git.bb>
    >
    > diff --git a/recipes-extended/xen/xen.inc
    b/recipes-extended/xen/xen.inc
    > index fff3dc1..9d43814 100644
    > --- a/recipes-extended/xen/xen.inc
    > +++ b/recipes-extended/xen/xen.inc
    > @@ -35,9 +35,7 @@ RDEPENDS_${PN}-base = "\
    >      ${PN}-libvhd \
    >      ${PN}-libxenstat \
    >      ${PN}-libxenstore \
    > -    ${PN}-libblktap \
    >      ${PN}-libfsimage \
    > -    ${PN}-flask \
    >      ${PN}-fsimage \
    >      ${PN}-hvmloader \
    >      ${PN}-scripts-block \
    > diff --git a/recipes-extended/xen/xen_4.3.1.bb
    <http://xen_4.3.1.bb> b/recipes-extended/xen/xen_4.3.1.bb
    <http://xen_4.3.1.bb>
    > index 46563ce..2c9806b 100644
    > --- a/recipes-extended/xen/xen_4.3.1.bb <http://xen_4.3.1.bb>
    > +++ b/recipes-extended/xen/xen_4.3.1.bb <http://xen_4.3.1.bb>
    > @@ -10,6 +10,11 @@ SRC_URI[sha256sum] =
    "3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d
    >
    >  S = "${WORKDIR}/xen-${PV}"
    >
    > +RDEPENDS_${PN}-base += "\
    > +    ${PN}-libblktap \
    > +    ${PN}-flask \
    > +    "
    > +
    >  do_configure_prepend() {
    >      # fixup qemu-xen-traditional pciutils check hardcoded to test
    /usr/include/pci
    >      sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g'
    ${S}/tools/qemu-xen-traditional/xen-hooks.mak
    > diff --git a/recipes-extended/xen/xen_git.bb <http://xen_git.bb>
    b/recipes-extended/xen/xen_git.bb <http://xen_git.bb>
    > new file mode 100644
    > index 0000000..f333157
    > --- /dev/null
    > +++ b/recipes-extended/xen/xen_git.bb <http://xen_git.bb>
    > @@ -0,0 +1,18 @@
    > +require xen.inc
    > +
    > +SRCREV = "68bd172e6fa565899c846eb72755c8ffd8562c8a"
    > +
    > +PV = "4.4.0+git${SRCPV}"
    > +
    > +S = "${WORKDIR}/git"
    > +
    > +SRC_URI = " \
    > +    git://xenbits.xen.org/xen.git <http://xenbits.xen.org/xen.git> \
    > +    "
    > +
    > +DEFAULT_PREFERENCE = "-1"
    > +
    > +PACKAGES += "${PN}-xen-mfndump"
    > +
    > +FILES_${PN}-xen-mfndump = "${sbindir}/xen-mfndump"
    > +
    >
#12 lore raw
In reply to Chris Patterson

Bounce messages say patches 2 & 8 are subject to moderator approval.

For future reference, it states a limit of 40 KB in the message body.

Cheers,
-Chris

Quoted 67 lines · Chris Patterson

Cleaned out old xen bits, upgraded to 4.3.1, moved to common xen.inc, and added git recipe pointing to xen-unstable.

I broke out the cleanup into smaller patches in hopes that it will make it through.

If not, you can find these patches in branch=xen-upgrades-and-cleanup-v2 at:
https://github.com/cjp256/meta-virtualization.git

Chris Patterson (10):
xen: remove xsm from default PACKAGECONFIG options.
xen: remove 4.1.2 recipe and patches
xen: remove xen-hg recipe and patches
xen: remove xen-rt recipe and patches
xen: remove old xen.inc and xen-python.inc
xen: remove old patches
xen: rename xen patches directory from xen-4.3.0 to files.
xen: upgrade to 4.3.1
xen: improve organization with new xen.inc
xen: add xen_git recipe.

 .../xen/files/allow_disable_xend.patch             |   75 -
 ...lask-avoid-installing-policy-file-as-boot.patch |   26 +
 .../xen/files/ioemu-cross-gl-check.patch           |   29 -
 recipes-extended/xen/files/xend-config.sxp         |  304 -
 recipes-extended/xen/files/xenminiinit.sh          |   59 -
 .../xen/xen-4.1.2/allow_disable_xend.patch         |   75 -
 ...lask-avoid-installing-policy-file-as-boot.patch |   26 -
 recipes-extended/xen/xen-hg.bb                     |   29 -
 .../xen/xen-hg/ioemu-cross-gl-check.patch          |   29 -
 .../xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch  |   48 -
 recipes-extended/xen/xen-python.inc                |   49 -
 recipes-extended/xen/xen-rt/rt-xen_0.3_4.0.1.patch | 6785
--------------------
 recipes-extended/xen/xen-rt_4.0.1.bb               |   25 -
 recipes-extended/xen/xen.inc                       |  902 ++-
 recipes-extended/xen/xen_4.1.2.bb                  |   24 -
 recipes-extended/xen/xen_4.3.0.bb                  |  650 --
 recipes-extended/xen/xen_4.3.1.bb                  |   24 +
 recipes-extended/xen/xen_git.bb                    |   18 +
 18 files changed, 677 insertions(+), 8500 deletions(-)
 delete mode 100644 recipes-extended/xen/files/allow_disable_xend.patch
 create mode 100644
recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/files/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/files/xend-config.sxp
 delete mode 100755 recipes-extended/xen/files/xenminiinit.sh
 delete mode 100644 recipes-extended/xen/xen-4.1.2/allow_disable_xend.patch
 delete mode 100644
recipes-extended/xen/xen-4.3.0/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/xen-hg.bb
 delete mode 100644 recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
 delete mode 100644
recipes-extended/xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch
 delete mode 100644 recipes-extended/xen/xen-python.inc
 delete mode 100644 recipes-extended/xen/xen-rt/rt-xen_0.3_4.0.1.patch
 delete mode 100644 recipes-extended/xen/xen-rt_4.0.1.bb
 delete mode 100644 recipes-extended/xen/xen_4.1.2.bb
 delete mode 100644 recipes-extended/xen/xen_4.3.0.bb
 create mode 100644 recipes-extended/xen/xen_4.3.1.bb
 create mode 100644 recipes-extended/xen/xen_git.bb

--
1.8.4.rc3

#13 lore raw
In reply to Chris Patterson
Quoted 8 lines · Chris Patterson

Cleaned out old xen bits, upgraded to 4.3.1, moved to common xen.inc, and added git recipe pointing to xen-unstable.

I broke out the cleanup into smaller patches in hopes that it will make it through.

If not, you can find these patches in branch=xen-upgrades-and-cleanup-v2 at:
https://github.com/cjp256/meta-virtualization.git

The series looks fine to me. I've pulled it in locally and will push the changes shortly.

Bruce

Quoted 56 lines

Chris Patterson (10):
xen: remove xsm from default PACKAGECONFIG options.
xen: remove 4.1.2 recipe and patches
xen: remove xen-hg recipe and patches
xen: remove xen-rt recipe and patches
xen: remove old xen.inc and xen-python.inc
xen: remove old patches
xen: rename xen patches directory from xen-4.3.0 to files.
xen: upgrade to 4.3.1
xen: improve organization with new xen.inc
xen: add xen_git recipe.

 .../xen/files/allow_disable_xend.patch             |   75 -
 ...lask-avoid-installing-policy-file-as-boot.patch |   26 +
 .../xen/files/ioemu-cross-gl-check.patch           |   29 -
 recipes-extended/xen/files/xend-config.sxp         |  304 -
 recipes-extended/xen/files/xenminiinit.sh          |   59 -
 .../xen/xen-4.1.2/allow_disable_xend.patch         |   75 -
 ...lask-avoid-installing-policy-file-as-boot.patch |   26 -
 recipes-extended/xen/xen-hg.bb                     |   29 -
 .../xen/xen-hg/ioemu-cross-gl-check.patch          |   29 -
 .../xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch  |   48 -
 recipes-extended/xen/xen-python.inc                |   49 -
 recipes-extended/xen/xen-rt/rt-xen_0.3_4.0.1.patch | 6785 --------------------
 recipes-extended/xen/xen-rt_4.0.1.bb               |   25 -
 recipes-extended/xen/xen.inc                       |  902 ++-
 recipes-extended/xen/xen_4.1.2.bb                  |   24 -
 recipes-extended/xen/xen_4.3.0.bb                  |  650 --
 recipes-extended/xen/xen_4.3.1.bb                  |   24 +
 recipes-extended/xen/xen_git.bb                    |   18 +
 18 files changed, 677 insertions(+), 8500 deletions(-)
 delete mode 100644 recipes-extended/xen/files/allow_disable_xend.patch
 create mode 100644 recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/files/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/files/xend-config.sxp
 delete mode 100755 recipes-extended/xen/files/xenminiinit.sh
 delete mode 100644 recipes-extended/xen/xen-4.1.2/allow_disable_xend.patch
 delete mode 100644 recipes-extended/xen/xen-4.3.0/flask-avoid-installing-policy-file-as-boot.patch
 delete mode 100644 recipes-extended/xen/xen-hg.bb
 delete mode 100644 recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
 delete mode 100644 recipes-extended/xen/xen-hg/tools_qemu_xen_remove_CFLAGS.patch
 delete mode 100644 recipes-extended/xen/xen-python.inc
 delete mode 100644 recipes-extended/xen/xen-rt/rt-xen_0.3_4.0.1.patch
 delete mode 100644 recipes-extended/xen/xen-rt_4.0.1.bb
 delete mode 100644 recipes-extended/xen/xen_4.1.2.bb
 delete mode 100644 recipes-extended/xen/xen_4.3.0.bb
 create mode 100644 recipes-extended/xen/xen_4.3.1.bb
 create mode 100644 recipes-extended/xen/xen_git.bb

--
1.8.4.rc3

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"