Commit 683e35f9 authored by Henrik Riomar's avatar Henrik Riomar

main/xen: split xen-qemu

The qemu files are optional and takes lots of space

seabios only needed in runtime by xen-qemu, but its also
a build dependency.
parent 8f9c1816
Pipeline #59780 passed with stages
in 13 minutes and 58 seconds
......@@ -199,8 +199,7 @@ options="!strip"
case "$CARCH" in
x86*)
depends="$depends seabios-bin"
makedepends="$makedepends iasl"
makedepends="$makedepends iasl seabios-bin"
;;
arm*)
makedepends="$makedepends dtc-dev"
......@@ -214,7 +213,7 @@ esac
# subpackages="$pkgname-dbg"
#fi
subpackages="$subpackages $pkgname-doc $pkgname-dev $pkgname-libs
$pkgname-hypervisor $pkgname-bridge"
$pkgname-hypervisor $pkgname-bridge $pkgname-qemu"
# grep _VERSION= stubdom/configure
_ZLIB_VERSION="1.2.3"
......@@ -506,6 +505,35 @@ EOF
}
qemu() {
pkgdesc="QEMU for XEN"
case "$CARCH" in
x86*)
depends="$depends seabios-bin"
;;
esac
mkdir -p "$subpkgdir"/etc/conf.d \
"$subpkgdir"/etc/init.d \
"$subpkgdir"/usr/lib/xen/bin
mv "$pkgdir"/etc/conf.d/xenqemu "$subpkgdir"/etc/conf.d
mv "$pkgdir"/etc/init.d/xenqemu "$subpkgdir"/etc/init.d
mv "$pkgdir"/usr/lib/xen/bin/qemu* "$subpkgdir"/usr/lib/xen/bin
mv "$pkgdir"/usr/share/qemu-xen "$subpkgdir"/usr/share
case "$CARCH" in
x86*)
# these files are only in the x86* builds
mkdir -p "$subpkgdir"/etc/xen/scripts \
"$subpkgdir"/usr/bin \
"$subpkgdir"/usr/share/xen
mv "$pkgdir"/etc/xen/scripts/qemu-ifup "$subpkgdir"/etc/xen/scripts
mv "$pkgdir"/usr/bin/qemu* "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/share/xen/qemu "$subpkgdir"/usr/share/xen
;;
esac
}
sha512sums="ebce47a2f754955d8517123d69f62006634d97620fbbe3784869a0667466e586a249f57ffaf7846d5bcb45d69377cde43354c82c233fbb5407e55653b9a33ac0 xen-4.14.0.tar.gz
2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf gmp-4.3.2.tar.bz2
c2bc9ffc8583aeae71cee9ddcc4418969768d4e3764d47307da54f93981c0109fb07d84b061b3a3628bd00ba4d14a54742bc04848110eb3ae8ca25dbfbaabadb grub-0.97.tar.gz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment