From: Maximilian Engelhardt Date: Tue, 7 Dec 2021 20:52:15 +0000 (+0100) Subject: debian/rules: provide SOURCE_BASE_DIR X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3baadbead172ea8eca3df4baf5d2d380a4e1e0ee;p=xen.git debian/rules: provide SOURCE_BASE_DIR This adds the SOURCE_BASE_DIR variable pointing to the top directory. The variable is then later used by the patch in our delta queue that adjusts the first hypervisor log line to insert Debian specific information. Signed-off-by: Maximilian Engelhardt --- diff --git a/debian/rules b/debian/rules index 222e012cf8..33759effa2 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,11 @@ SHELL := bash -e +# SOURCE_BASE_DIR is used by our delta queue to find the top directory. It +# seems this information is currenty not directly provided by the Debian build +# system. +export SOURCE_BASE_DIR=$(shell pwd) + # This influences dpkg-buildflags to specify better linker # options. See https://wiki.debian.org/Hardening # Apparently some of these might incur silent breakage