From 0efc9781ea53c9162a09c0a9ed556295eda0320a Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Thu, 3 Sep 2026 11:50:07 +0200 Subject: [PATCH] Revise APT repository verification instructions Updated verification steps for APT repository and package version checks. Signed-off-by: Eike Waldt --- docs/how-to/apt-repos.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/docs/how-to/apt-repos.md b/docs/how-to/apt-repos.md index 1ace532..66867af 100644 --- a/docs/how-to/apt-repos.md +++ b/docs/how-to/apt-repos.md @@ -223,22 +223,42 @@ Or check the GitHub Actions page: https://github.com/gardenlinux/repo/actions After the minor release is published, verify it works correctly: -### Verify APT Repository Structure +### Verify APT Repository was published Check that the repository was published to S3: ```bash -# The repository should be available at: -# https://repo.gardenlinux.io/gardenlinux/dists/2150.1.0/ +# The repositorie's InRelease file should be available: +curl -s https://packages.gardenlinux.io/gardenlinux/dists/2150.1.0/InRelease | grep Codename +Codename: 2150.1.0 ``` +### Verify Package Version + +The `gl-search.sh` script provides a quick way of browsing the repository: + +```bash +# inside a cloned gardenlinux repo +git clone https://github.com/gardenlinux/gardenlinux +cd gardenlinux + +# gl-search.sh runs interactively +hack/gl-search.sh +> gardenlinux +> 2150.1.0 +> search +> amd64 +``` + +The script can also perform dependency checks and download packages for you. + ### Test Package Installation In a test environment, configure the new repository and test package installation: ```bash # Add the repository (in a test Garden Linux system) -echo "deb https://repo.gardenlinux.io/gardenlinux 2150.1.0 main" > /etc/apt/sources.list.d/gardenlinux.list +echo "deb https://packages.gardenlinux.io/gardenlinux 2150.1.0 main" > /etc/apt/sources.list.d/gardenlinux.list # Update package lists apt update