diff options
author | Mario Preksavec <mario@slackware.hr> | 2017-06-02 00:36:12 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 08:00:02 +0700 |
commit | a8b29ad52811cf0aa5f88f9a498ebaa6cc28acc5 (patch) | |
tree | 9a2e8d4ecb311e7c0503be34351a4855b19792ef /system/xen/xen.SlackBuild | |
parent | 339f7ce0690abac8a3e275a8e72ea9ecf81d6b21 (diff) |
system/xen: Updated for version 4.8.1.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/xen/xen.SlackBuild')
-rw-r--r-- | system/xen/xen.SlackBuild | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index 93a380bbb5375..6caf94f47566a 100644 --- a/system/xen/xen.SlackBuild +++ b/system/xen/xen.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xen -VERSION=${VERSION:-4.8.0} -BUILD=${BUILD:-4} +VERSION=${VERSION:-4.8.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SEABIOS=${SEABIOS:-1.10.0} @@ -44,21 +44,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "x86_64" ] && [ ! -f /usr/include/gnu/stubs-32.h ]; then - cat << EOF - - For a 32bit guest support 32bit libs are required to build the - stub-domain. This is usualy done by installing multilib, but - there is also a chance that you do not need 32bit guest support, - so you might want to try symlinking stubs-64.h to stubs-32.h - like this: - - # ln -s /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs-32.h - -EOF - exit -fi - if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -68,6 +53,17 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" + if [ ! -e /usr/include/gnu/stubs-32.h ]; then + cat << EOF + + HVM domain support (hvmloader) requires 32bit libs (multilib), + or you can try symlinking stubs-64.h to stubs-32.h like this: + + # ln -s /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs-32.h + +EOF + exit + fi else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -83,7 +79,15 @@ esac case "${WITH_OVMF:-yes}" in no) CONF_XEN+=" --disable-ovmf" ;; - *) CONF_XEN+=" --enable-ovmf" ;; + *) case "$ARCH" in + i?86) cat << EOF + + Disabling 32bit EFI/UEFI guest support (WITH_OVMF=no) + +EOF + CONF_XEN+=" --disable-ovmf" ;; + *) CONF_XEN+=" --enable-ovmf" ;; + esac esac case "${USE_LIBSSH2:-no}" in |