From 3baadbead172ea8eca3df4baf5d2d380a4e1e0ee Mon Sep 17 00:00:00 2001 From: Maximilian Engelhardt Date: Tue, 7 Dec 2021 21:52:15 +0100 Subject: [PATCH] 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 --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2