From fd8dadf55f191a537f1eba47be0ba64962730796 Mon Sep 17 00:00:00 2001 From: Ross Lagerwall Date: Tue, 10 May 2016 13:58:14 +0100 Subject: [PATCH] Require --depends WIth the version of xSplice in Xen 4.7, the build-id dependency is required, so require the option. --- xsplice-build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xsplice-build b/xsplice-build index 35b9aae..2eb7993 100755 --- a/xsplice-build +++ b/xsplice-build @@ -138,10 +138,7 @@ function create_patch() fi # Create a dependency section - > depends.bin - if [ -n "$DEPENDS" ]; then - perl -e "print pack 'VVVZ*H*', 4, 20, 3, 'GNU', '${DEPENDS}'" >> depends.bin - fi + perl -e "print pack 'VVVZ*H*', 4, 20, 3, 'GNU', '${DEPENDS}'" > depends.bin echo "Creating patch module..." if [ -z "$PRELINK" ]; then @@ -239,6 +236,7 @@ done [ -z "$srcarg" ] && die "Xen directory not given" [ -z "$patcharg" ] && die "Patchfile not given" [ -z "$outputarg" ] && die "Output directory not given" +[ -z "$DEPENDS" ] && die "Build-id dependency not given" SRCDIR="$(realpath -m -- "$srcarg")" PATCHFILE="$(realpath -m -- "$patcharg")" -- 2.39.5