forked from nickbnf/glogg
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update links to DEB/RPM repos (#613) [skip ci]
- Loading branch information
Showing
3 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
https://pmateusz.github.io/linux/2017/06/30/linux-secure-apt-repository.html | ||
|
||
gpg --output private.pgp --armor --export-secret-subkey B8A34571 | ||
podman --rm --ti -v .:/klogg docker.io/ubuntu:jammy | ||
|
||
apt install reprepro | ||
gpg --import private.pgp | ||
reprepro --basedir /klogg/website/public/deb/focal/ includedeb focal klogg-22.06.0.1289-Linux-amd64-focal.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
gpg --output private.pgp --armor --export-secret-subkey B8A34571 | ||
|
||
podman run -v .:/klogg --rm -ti docker.io/oraclelinux:8 | ||
yum install createrepo rpm-sign | ||
gpg --import private.pgp | ||
echo "%_gpg_name FE39EDA4B8A34571" >> ~/.rpmmacros | ||
mv ../klogg-22.06.0.1289-Linux-amd64-oracle8.rpm oracle/8/amd64/RPMS | ||
rpm --addsign oracle/8/amd64/RPMS/klogg-22.06.0.1289-Linux-amd64-oracle8.rpm | ||
createrepo oracle/8/amd64 | ||
gpg --pinentry-mode loopback --detach-sign --armor --default-key FE39EDA4B8A34571 oracle/8/amd64/repodata/repomd.xml |