aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWookey <wookey@wookware.org>2013-05-17 01:59:41 +0100
committerWookey <wookey@wookware.org>2013-08-21 17:53:46 +0100
commit9583e86218a586e891165e66a571ab204c757d9d (patch)
treeed621eac3f96bcd192606318807be2b7b087b7a4
parent958c4815ea4752b1b43332d60595f8dd72a6dcb4 (diff)
use $distribution from the hwpack to set correct sbuild runes
-rwxr-xr-xscripts/package_kernel3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel
index 9312563..fb840f6 100755
--- a/scripts/package_kernel
+++ b/scripts/package_kernel
@@ -12,7 +12,6 @@ export TCBINDIR=${TCBINDIR:-"$HOME/tc/bin"}
export PATH="$CIROOTDIR/scripts:$CIROOTDIR/configs:$PATH"
toolchain_url=${toolchain_url:-}
-TARGETSUITE=raring
# exit with error message and bad exit status
#
@@ -406,7 +405,7 @@ sbuild_source_pkg()
packagetag=$(changelog_get debian.linaro/changelog "Version")
cd ../../out
#$keyarg won't work if its '-uc -us'
- sbuild --host $DEBARCH --nolog -d ${TARGETSUITE} $keyarg -c ${TARGETSUITE}-amd64-sbuild ${packagename}_${packagetag}
+ sbuild --host $DEBARCH --nolog -d $distribution $keyarg -c ${distribution}-amd64-sbuild ${packagename}_${packagetag}
}