feat: implement proper Debian Package Registry setup
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m55s
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m55s
Replace Generic Package Registry with proper Debian Package Registry using correct API endpoint and authentication. Update workflow to use POST method with form data and proper Bearer token authentication. Update README with professional apt repository setup including GPG key verification and proper installation instructions following Forgejo documentation.
This commit is contained in:
parent
9e4e1646e6
commit
fff0774835
2 changed files with 35 additions and 31 deletions
38
README.md
38
README.md
|
|
@ -33,17 +33,25 @@ This repository contains the CI/CD workflow and scripts to build a backport of l
|
|||
|
||||
**How to Download**:
|
||||
|
||||
### Option 1: Generic Package Registry (Recommended)
|
||||
Packages are available in Forgejo's Generic Package Registry:
|
||||
### Option 1: Debian Package Registry (Recommended)
|
||||
Packages are available in Forgejo's Debian Package Registry:
|
||||
|
||||
```bash
|
||||
# Add the repository
|
||||
echo "deb [signed-by=/etc/apt/keyrings/forgejo.gpg] https://git.raines.xyz/api/packages/robojerk/debian/ noble main" | sudo tee /etc/apt/sources.list.d/libostree-dev.list
|
||||
|
||||
# Add the GPG key
|
||||
sudo mkdir -p /etc/apt/keyrings/
|
||||
curl -fsSL https://git.raines.xyz/api/packages/robojerk/debian/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/forgejo.gpg
|
||||
|
||||
# Update and install
|
||||
sudo apt update
|
||||
sudo apt install libostree-dev=2025.2-1~noble1
|
||||
```
|
||||
|
||||
### Option 2: Direct Download from Package Registry
|
||||
Visit: https://git.raines.xyz/robojerk/libostree-dev/packages
|
||||
|
||||
### Option 2: Direct Download Links
|
||||
Download individual packages directly:
|
||||
- `libostree-dev_2025.2-1~noble1_amd64.deb` (105KB) - Main development package
|
||||
- `libostree-1-1_2025.2-1~noble1_amd64.deb` (355KB) - Runtime library
|
||||
- `ostree_2025.2-1~noble1_amd64.deb` (190KB) - Command line tools
|
||||
|
||||
### Available Packages:
|
||||
- `libostree-dev_2025.2-1~noble1_amd64.deb` (105KB) - Main development package
|
||||
- `libostree-1-1_2025.2-1~noble1_amd64.deb` (355KB) - Runtime library
|
||||
|
|
@ -65,18 +73,20 @@ Download individual packages directly:
|
|||
### Installation
|
||||
|
||||
```bash
|
||||
# Option 1: Download and install from Generic Package Registry
|
||||
# Option 1: Install via Debian Package Registry (Recommended)
|
||||
echo "deb [signed-by=/etc/apt/keyrings/forgejo.gpg] https://git.raines.xyz/api/packages/robojerk/debian/ noble main" | sudo tee /etc/apt/sources.list.d/libostree-dev.list
|
||||
sudo mkdir -p /etc/apt/keyrings/
|
||||
curl -fsSL https://git.raines.xyz/api/packages/robojerk/debian/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/forgejo.gpg
|
||||
sudo apt update
|
||||
sudo apt install libostree-dev=2025.2-1~noble1
|
||||
|
||||
# Option 2: Manual download and install
|
||||
# 1. Visit: https://git.raines.xyz/robojerk/libostree-dev/packages
|
||||
# 2. Download libostree-dev_2025.2-1~noble1_amd64.deb
|
||||
# 3. Install:
|
||||
sudo dpkg -i libostree-dev_2025.2-1~noble1_amd64.deb
|
||||
sudo apt-get install -f # Install any missing dependencies
|
||||
|
||||
# Option 2: Direct download and install
|
||||
wget https://git.raines.xyz/api/packages/robojerk/generic/libostree-dev/2025.2/libostree-dev_2025.2-1~noble1_amd64.deb
|
||||
sudo dpkg -i libostree-dev_2025.2-1~noble1_amd64.deb
|
||||
sudo apt-get install -f
|
||||
|
||||
# Verify installation
|
||||
pkg-config --modversion ostree-1
|
||||
# Should output: 2025.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue