diff options
author | Wookey <wookey@wookware.org> | 2013-06-25 14:42:42 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2013-06-25 14:42:42 +0100 |
commit | c305a8b16bd7f8cef223b235a26144f98a3db17d (patch) | |
tree | 6fbacca4f5d406a8813c78b036cf2922e39faede | |
parent | f2a5668925e5787d294389e62135d072660a4dc8 (diff) |
filter out -uc and -us from sbuild command lines as they are not
understood
-rwxr-xr-x | scripts/package_kernel | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel index 1eb1019..7af7530 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 $keyargs | 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} |