diff options
author | Wookey <wookey@wookware.org> | 2013-06-25 14:42:42 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2013-06-25 14:44:23 +0100 |
commit | 48447a992b54b75421ecc06a2cba6460e6824523 (patch) | |
tree | 9d919a412392ac6bf461085d984e59cd067d33fd | |
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..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} |