aboutsummaryrefslogtreecommitdiff
path: root/scripts/package_kernel
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package_kernel')
-rwxr-xr-xscripts/package_kernel3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel
index 1eb1019..b60250d 100755
--- a/scripts/package_kernel
+++ b/scripts/package_kernel
@@ -404,7 +404,8 @@ sbuild_source_pkg()
packagename=$(changelog_get debian.linaro/changelog "Source")
packagetag=$(changelog_get debian.linaro/changelog "Version")
cd ../../out
- #$keyarg won't work if its '-uc -us'
+ # -uc & -us are not regognised by sbuild. but -k is
+ $keyarg=`echo $keyarg | sed -e 's/-uc//g;s/-us//g'`
#arch-specific hackery: arm64 chroot cannot be exactly the same
sbuild --host $DEBARCH --chroot-system-setup-commands="configchrootforarch $DEBARCH" --nolog -d $distribution $keyarg -c ${distribution}-amd64-sbuild ${packagename}_${packagetag}