mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 23:09:54 -09:00
Adjust build model such that akmods are built before ublue-main, and then the resulting RPM artifacts are installed in ublue-main in the same manner used by ublue-config.
12 lines
339 B
Bash
Executable file
12 lines
339 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -oeux pipefail
|
|
|
|
|
|
### BUILD UBLUE AKMODS-KEY RPM
|
|
install -D /etc/pki/akmods/certs/public_key.der /tmp/ublue-os-akmods-key/rpmbuild/SOURCES/public_key.der
|
|
rpmbuild -ba \
|
|
--define '_topdir /tmp/ublue-os-akmods-key/rpmbuild' \
|
|
--define '%_tmppath %{_topdir}/tmp' \
|
|
/tmp/ublue-os-akmods-key/ublue-os-akmods-key.spec
|
|
|