summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-02-10 20:05:46 (GMT)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2014-11-11 10:24:57 (GMT)
commit1f1ab03d1aec2592223980cc699086bf69f74f46 (patch)
tree9a391513491e7f7ea01ab88edd0763b24e4643f8
parent27408c25d10eea01b25c4adfe8306fba1f5856fe (diff)
downloadobs-build-patches-to-check.tar.gz
obs-build-patches-to-check.tar.xz
Alter /CurrentlyBuilding to tell Ubuntu's pkg-create-dbgsym that we know about ddebspatches-to-check
This means we can use an unpatched version of p-c-d. Reviewed-by: Héctor Orón Martínez
-rw-r--r--build-recipe-dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-recipe-dsc b/build-recipe-dsc
index 9cb116c..d8a022d 100644
--- a/build-recipe-dsc
+++ b/build-recipe-dsc
@@ -70,6 +70,8 @@ recipe_build_dsc() {
# this allows the build environment to be manipulated
# and alternate build commands can be used
touch $BUILD_ROOT/CurrentlyBuilding
+ # Tell Ubuntu's pkg-create-dbgsym "yes, we know about ddebs"
+ echo "Build-Debug-Symbols: yes" >> $BUILD_ROOT/CurrentlyBuilding
DSC_BUILD_CMD="$(queryconfig --dist "$BUILD_DIST" --archpath "$BUILD_ARCH" --configdir "$CONFIG_DIR" substitute dsc:build_cmd)"
test -z "$DSC_BUILD_CMD" && DSC_BUILD_CMD="dpkg-buildpackage -b -v${DEBVERSION}~0 -us -uc $DSC_BUILD_JOBS"
if test -e $BUILD_ROOT/$TOPDIR/SOURCES/build.script ; then