Add multi-arch package build support

- do not restrain package build to just one architecture
  and allow user to create packages outside of x86_64
- add pckgen option to specify different architecture
  to build packages for, instead of the current one

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
Rafal Stefanowski
2021-11-24 16:43:28 +01:00
parent 2ce3f52d7d
commit f67f5c8aea
3 changed files with 12 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ Homepage: <CAS_HOMEPAGE>
Vcs-Git: <CAS_GIT>
Package: <CAS_NAME>
Architecture: amd64
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, python3-packaging, python3-yaml,
<CAS_NAME>-modules (= <CAS_VERSION>-1)
Description: Open Cache Acceleration Software
@@ -20,7 +20,7 @@ Description: Open Cache Acceleration Software
running cache instances (no kernel modules).
Package: <CAS_NAME>-modules
Architecture: amd64
Architecture: any
Depends: ${misc:Depends}, debhelper (>= 9), dkms
Description: Open Cache Acceleration Software kernel modules (${kver})
Open Cache Acceleration Software (Open CAS) is an open source project