Skip to content

Commit

Permalink
Support Debian 12 builds (#30)
Browse files Browse the repository at this point in the history
* Support Debian 12 builds

* Fix arch logic
  • Loading branch information
treydock authored Oct 20, 2023
1 parent 521dbfb commit 513824d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- amzn2023
- ubuntu-20.04
- ubuntu-22.04
- debian-12
arch:
- x86_64
- aarch64
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
- amzn2023
- ubuntu-20.04
- ubuntu-22.04
- debian-12
arch:
- x86_64
version: ['3.1']
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build:
- OOD_PACKAGING_DIST: [el7, el8]
OOD_PACKAGING_ARCH: [x86_64, aarch64, ppc64le]
OOD_PACKAGING_GPG_PRIVATE_KEY: /systems/osc_certs/gpg/ondemand/ondemand.sec
- OOD_PACKAGING_DIST: [el9]
- OOD_PACKAGING_DIST: [el9, debian-12]
OOD_PACKAGING_ARCH: [x86_64, aarch64, ppc64le]
- OOD_PACKAGING_DIST: [ubuntu-20.04, ubuntu-22.04]
OOD_PACKAGING_ARCH: [x86_64, aarch64]
Expand Down
2 changes: 1 addition & 1 deletion packaging/deb/rules
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export DESTDIR = $(CURDIR)/debian/ondemand-dex
export CONFDIR = $(DESTDIR)/etc/ood/dex
export UNITDIR = $(DESTDIR)/lib/systemd/system
export CONF_UNITDIR = $(DESTDIR)/etc/systemd/system
export ARCH = $(shell uname -p)
export ARCH = $(shell uname -m)
ifeq ($(ARCH),x86_64)
export PLATFORM = amd64
endif
Expand Down

0 comments on commit 513824d

Please sign in to comment.