Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 10m14s
- Replace artifact upload with Debian Package Registry integration - Add automatic package upload to Forgejo's native Debian repository - Update README with apt repository installation instructions - Provide multiple download methods: apt repo, direct download, and artifacts - Enable users to install packages via standard apt commands - Improve package distribution with version control and deduplication This change transforms the package distribution from manual artifact downloads to a professional Debian repository that users can add to their apt sources.
103 lines
3 KiB
Markdown
103 lines
3 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 https://git.raines.xyz/api/packages/robojerk/debian/ noble main" | sudo tee /etc/apt/sources.list.d/libostree-dev.list
|
|
|
|
# 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 3: Manual Download from Actions
|
|
1. Go to the [Actions tab](https://git.raines.xyz/robojerk/libostree-dev/actions)
|
|
2. Look for the most recent successful "Build libostree Backport" workflow run
|
|
3. Click on the workflow run (it should show "Successful" status)
|
|
4. Look for the "Artifacts" section at the bottom of the page
|
|
5. Download the `libostree-packages` artifact (it will be a .zip file)
|
|
6. Extract the .zip file to get the .deb packages
|
|
|
|
**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 https://git.raines.xyz/api/packages/robojerk/debian/ noble main" | sudo tee /etc/apt/sources.list.d/libostree-dev.list
|
|
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
|
|
```
|
|
|
|
### 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.
|