diff options
author | Wookey <wookey@wookware.org> | 2013-06-03 18:35:23 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2013-08-21 17:53:46 +0100 |
commit | beb893d3efc7a57190a84af3a5d7e986c0cbfe05 (patch) | |
tree | 09b2fd0b222dc6a53fb1e5892d4be1c4a3a8ab80 | |
parent | 9583e86218a586e891165e66a571ab204c757d9d (diff) |
Add an option to pass extra options through to sbuild,
to allow for architecture variation
-rwxr-xr-x | scripts/package_kernel | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel index fb840f6..cb09f86 100755 --- a/scripts/package_kernel +++ b/scripts/package_kernel @@ -114,6 +114,7 @@ check_settings() set_if_notset "DEBARCH" "armhf" set_if_notset "DEBARCHES" "armhf armel" set_if_notset "HOST_PPA" "ppa:linaro-maintainers/staging-overlay" + set_if_notset "sbuild_options" "" must_be_set "kernel_repo" must_be_set "kernel_branch" @@ -405,7 +406,8 @@ 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 $distribution $keyarg -c ${distribution}-amd64-sbuild ${packagename}_${packagetag} + #arch-specific hackery arm64 chroot cannot be exactly the same + sbuild --host $DEBARCH ${sbuild_options} --nolog -d $distribution $keyarg -c ${distribution}-amd64-sbuild ${packagename}_${packagetag} } |