diff options
author | John Rigby <john.rigby@linaro.org> | 2011-09-26 16:26:56 -0600 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-08-16 00:28:46 -0600 |
commit | a183cd2cbd151b3cc8afdd21d9a9a2c14913a3f0 (patch) | |
tree | c78f4a9d9e8e8390e9690f53e0bf439024cfae50 | |
parent | 2a44ae957208892135341b894ddd579cb4ed41d0 (diff) |
LINARO: Never rename dbgsym deb to ddeb
HACK: Must not upload this to primary archive as is.
This is a hack until we find conditional way to do this.
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r-- | debian/rules.d/2-binary-arch.mk | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 0f2688b0e5f..c174b6fd723 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -385,26 +385,29 @@ ifneq ($(skipdbg),true) dh_md5sums -p$(dbgpkg) dh_builddeb -p$(dbgpkg) - # Hokay...here's where we do a little twiddling... - # Renaming the debug package prevents it from getting into - # the primary archive, and therefore prevents this very large - # package from being mirrored. It is instead, through some - # archive admin hackery, copied to http://ddebs.ubuntu.com. - # - mv ../$(dbgpkg)_$(release)-$(revision)_$(arch).deb \ - ../$(dbgpkg)_$(release)-$(revision)_$(arch).ddeb - set -e; \ - ( \ - $(lockme_cmd) 9 || exit 1; \ - if grep -qs '^Build-Debug-Symbols: yes$$' /CurrentlyBuilding; then \ - sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files; \ - else \ - grep -v '^$(dbgpkg)_.*$$' debian/files > debian/files.new; \ - mv debian/files.new debian/files; \ - fi; \ - ) 9>$(lockme_file) - # Now, the package wont get into the archive, but it will get put - # into the debug system. + # Hack Alert! Commenting the section out for linaro ppa build only + # Must not upload this to primary archive as is. + # Turns out that Purpose: PRIMARY is in /CurrentlyBuilding + # and not PPA as was expected + + ## Hokay...here's where we do a little twiddling... + ## Renaming the debug package prevents it from getting into + ## the primary archive, and therefore prevents this very large + ## package from being mirrored. It is instead, through some + ## archive admin hackery, copied to http://ddebs.ubuntu.com. + ## + ##set -e; \ + ##( \ + ## $(lockme_cmd) 9 || exit 1; \ + ## if grep -qs '^Build-Debug-Symbols: yes$$' /CurrentlyBuilding; then \ + ## sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files; \ + ## else \ + ## grep -v '^$(dbgpkg)_.*$$' debian/files > debian/files.new; \ + ## mv debian/files.new debian/files; \ + ## fi; \ + ##) 9>$(lockme_file) + ## Now, the package wont get into the archive, but it will get put + ## into the debug system. endif ifneq ($(full_build),false) # Clean out this flavours build directory. |