metux / deb-pkg

Toolkit for building apt/yum completely from sources
GNU Affero General Public License v3.0
2 stars 0 forks source link

Support mixed arch repos #9

Closed metux closed 1 year ago

metux commented 1 year ago

What is the problem you're trying to solve

Currently, apt repos are separated by target identifier (used by dck-buildpackage). That one is just a plain string w/o inherent structure. Since separate arch's of the same distro have separate target identifier, they're creating separate repos.

This is in contrast to classic apt repos that contain all supported archs in one repo.

Describe the solution you'd like

  1. Introduce target configs in deb-pkg (located in cf/target/...)
  2. These define several things like archs, repo identifier, arch to build and corresponding deb-buildpackage target identifiers
  3. the current target list entries refer to these, if found, otherwise compute the entries that mimic the current behaviour

Additional context

No response

metux commented 1 year ago

Solved. Configured devuan to use it by default.