diff options
author | John Rigby <john.rigby@linaro.org> | 2011-09-27 13:20:53 -0600 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-04-06 13:18:40 +0200 |
commit | 5c719ae196db83efbb08d9abcb953a7729745ce2 (patch) | |
tree | 0628f318203cd4b67490ef05c042accb4bf4f20e /debian/rules.d | |
parent | f1d92f0030db9c0179f8f71376c41c4b3895b50d (diff) |
LINARO: PACKAGING: Never rename dbgsym deb to ddeb
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>
Diffstat (limited to 'debian/rules.d')
-rw-r--r-- | debian/rules.d/2-binary-arch.mk | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index a403bea9c84..dde7aef28fd 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -319,6 +319,11 @@ ifneq ($(skipdbg),true) dh_md5sums -p$(dbgpkg) dh_builddeb -p$(dbgpkg) + # 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 @@ -327,17 +332,17 @@ ifneq ($(skipdbg),true) # # Only do this for PRIMARY archive for now # - set -e; \ - if grep -qs '^Purpose: PRIMARY$$' /CurrentlyBuilding; then \ - mv ../$(dbgpkg)_$(release)-$(revision)_$(arch).deb \ - ../$(dbgpkg)_$(release)-$(revision)_$(arch).ddeb; \ - 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; \ - fi + #set -e; \ + #if grep -qs '^Purpose: PRIMARY$$' /CurrentlyBuilding; then \ + # mv ../$(dbgpkg)_$(release)-$(revision)_$(arch).deb \ + # ../$(dbgpkg)_$(release)-$(revision)_$(arch).ddeb; \ + # 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; \ + #fi # Now, the package wont get into the archive, but it will get put # into the debug system. endif |