~eeickmeyer/debian-cd/ubuntu

Viewing all changes in revision 2131.

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2021-12-02 12:32:12 UTC
  • Revision ID: lukasz.zemczak@canonical.com-20211202123212-f1gmakrxor51fq58
Whenever SUBARCH has a '-' sign, currently debian-cd doesn't handle it well when generating the rawlist of packages. The generation logic uses a dynamically generated C source file and the FULLARCH is then use in the ifdef section. A '-' sign generates warnings (as it's not valid for macro definitions) and also there's a mismatch, as the #ifdef section is FULLARCH but the -DARCH_<FULLARCH> that we define actually removes any - and + signes from the arch string. Use a new CPPARCH variable consistently for all the cpp executions instead.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: