|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 10/11] mg-debian-installer-update: Honour OSSTEST_SPECIALKERNELDEB_<suite>_<arch>
This variable can be set to the absolute pathname of a kernel .deb to
use. It will be used only for hosts for which the corresponding
hostflag "need-kernel-deb-<suite>-special" is set.
There is not currently any facility for more than one special kernel
for each architecture.
As with backports kernels, the normal (Debian-supplied) kernel is
available too, and is used for hosts without any special hostflag.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
mg-debian-installer-update | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index 4f318c1..f1e682f 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -114,7 +114,14 @@ case ${suite}_${arch} in
wheezy_armhf) bpok=armmp; need_initramfs=y;;
jessie_arm64) bpok=arm64 ;;
esac
-if [ x$bpok != x ]; then
+eval "specialdeb=\${OSSTEST_SPECIALKERNELDEB_${suite}_${arch}}"
+if [ "x$specialdeb" != x ]; then
+ echo "using special kernel $specialdeb"
+ cp $specialdeb special.deb
+ specialkernel=special
+ bpok=''
+fi
+if [ x$bpok != x ] && [ "x$specialkernel" = x ]; then
bp="$sbase-backports"
pfile=$bp/main/binary-$arch/Packages.gz
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |