You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ray Burgemeestre 7c52fed6c9 Fix 5 months ago
..
Dockerfile-ubuntu1804 Add apt publisher for Ubuntu 20.04. 4 years ago
Dockerfile-ubuntu2004 Fix non-interactive for Ubuntu 20.04 4 years ago
Dockerfile-ubuntu2204 Fix apt-publisher for 22.04 2 years ago
Dockerfile-ubuntu2404 dpkg-sig does not exist in 24.04 5 months ago
INIT.TXT Finalize move to apt secure repo 5 years ago
Makefile Fix 5 months ago
README Fix docs 5 months ago

README

First did instructions in --> INIT.TXT

THEN, this is new:

gpg --output public.pgp --export 83345E54

// optional I guess; gpg --keyring ./public.pgp --no-default-keyring --export -a > public.asc

we need that public.pgp file!! let's upload it to somewhere, such as:

https://cppse.nl/public.pgp !!


Then make sure you have an "empty" repo.

reprepro -b /repo remove bionic whatever # if needed

Until it's empty, then, if you didn't already at some point:

ssh-keygen -f keys/ssh < <(echo "\n\n")

Then:

sudo tar -czf secret.tar.gz keys gnupg repo
# might print some errors on special files, can be ignored.

Upload that thing to some secret URL you can use during CI.

---

Usage after all this:

# install key
## THIS NO LONGER WORKS sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5CE16B7B

# install repo
## THIS NO LONGER WORKS sudo add-apt-repository "deb https://cppse.nl/repo/ $(lsb_release -cs) main"

# NEW APPROACH:
curl -qs https://cppse.nl/public.pgp | sudo tee /etc/apt/keyrings/public.pgp
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/public.pgp] https://cppse.nl/repo/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list


# enjoy
sudo apt-get install whatever


--- adding new distro.

we need to edit the secret file.

FIND IT:

find ./ -name '*secret.tar.gz'

untar into a temp dir..

1) open conf/distributions
add a block for the new thing, e.g., focal or jammy.

2) recreate tar with same file.

that should do it.