libostree-dev/README.md
robojerk fff0774835
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m55s
feat: implement proper Debian Package Registry setup
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.
2025-07-21 06:02:09 +00:00

114 lines
3.6 KiB
Markdown

# libostree-dev Backport
Compiles a backport of libostree-dev for Ubuntu Noble.
## Source and Target
- **Source**: Ubuntu "Questing Quokka" (questing) - libostree 2025.2-1
- **Target**: Ubuntu "Noble Numbat" (noble) - Ubuntu 24.04 LTS
## For Debian
- **Source**: Debian sid
- **Target**: Debian trixie
## Usage
This repository contains the CI/CD workflow and scripts to build a backport of libostree 2025.2-1 for Ubuntu Noble, which is required for bootc compatibility.
## 📦 Download Latest Build
**Last Built**: 2025-01-20 23:50:00 UTC
**Version**: 2025.2-1~noble1
**Target**: Ubuntu Noble (24.04 LTS)
**Build ID**: [97](https://git.raines.xyz/robojerk/libostree-dev/actions/runs/97)
### Download Links
**Latest Build**: [Build #2](https://git.raines.xyz/robojerk/libostree-dev/actions/runs/2) - Successfully completed
**Available Packages**:
- `libostree-dev_2025.2-1~noble1_amd64.deb`
- `libostree-dev-dbgsym_2025.2-1~noble1_amd64.ddeb`
**How to Download**:
### 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
### 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
- `ostree_2025.2-1~noble1_amd64.deb` (190KB) - Command line tools
- `ostree-boot_2025.2-1~noble1_amd64.deb` (35KB) - Boot utilities
- `ostree-tests_2025.2-1~noble1_amd64.deb` (1.3MB) - Test suite
- `libostree-doc_2025.2-1~noble1_all.deb` (112KB) - Documentation
- `gir1.2-ostree-1.0_2025.2-1~noble1_amd64.deb` (32KB) - GObject introspection
**Quick Download Scripts**:
```bash
# Find the latest build automatically
./find-latest-build.sh
# Or use the simple download helper
./download-latest.sh
```
### Installation
```bash
# 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
# Verify installation
pkg-config --modversion ostree-1
# Should output: 2025.2
```
### Verification
```bash
# Check if libostree 2025.2-1 is installed
pkg-config --modversion ostree-1
# Should output: 2025.2
```
---
## Build Process
1. Downloads libostree source from Ubuntu questing
2. Modifies version and distribution for noble backports
3. Builds the package with all dependencies
4. Creates .deb artifacts for installation
## CI/CD
The workflow automatically builds the backport on every push to main/master branch.