Skip to content

Commit

Permalink
Merge pull request canonical#9843 from mvo5/debian-sbuild-fix
Browse files Browse the repository at this point in the history
packaging: fix arch-indep build on debian-sid
  • Loading branch information
mvo5 authored Jan 19, 2021
2 parents fe7a22b + 0575d37 commit 7467a49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packaging/debian-sid/rules
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ override_dh_install-indep:
rm -f ${CURDIR}/debian/tmp/usr/bin/snappy
# chrorder generator
rm -f ${CURDIR}/debian/tmp/usr/bin/chrorder
# bootloader assets generator
rm -f ${CURDIR}/debian/tmp/usr/bin/genasset
# docs generator
rm -f ${CURDIR}/debian/tmp/usr/bin/docs

Expand Down
8 changes: 4 additions & 4 deletions tests/nightly/sbuild/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ priority: 500

environment:
BUILD_MODE/normal: normal
BUILD_MODE/any: any
BUILD_MODE/all: all

systems: [debian-sid-*]

Expand All @@ -16,9 +16,9 @@ execute: |
echo "Allow test user to run sbuild"
sbuild-adduser test
BUILD_PARAM="--verbose --debug"
if [ "$BUILD_MODE" == "any" ]; then
BUILD_PARAM="$BUILD_PARAM --arch-any"
BUILD_PARAM="--verbose"
if [ "$BUILD_MODE" == "all" ]; then
BUILD_PARAM="$BUILD_PARAM --arch-all --no-arch-any"
fi
echo "Build mode: $BUILD_MODE"
Expand Down

0 comments on commit 7467a49

Please sign in to comment.