apt-ostree/debian
robojerk 92f9f08c84
Some checks failed
Comprehensive CI/CD Pipeline / Security Audit (push) Waiting to run
Comprehensive CI/CD Pipeline / Package Validation (push) Waiting to run
Comprehensive CI/CD Pipeline / Status Report (push) Blocked by required conditions
Comprehensive CI/CD Pipeline / Build and Test (push) Has been cancelled
feat: add comprehensive systemd services and kernel integration to Debian packaging
- Add missing systemd services: bootstatus, countme, automatic, fix-shadow-mode
- Add kernel installation hooks and configuration files
- Add tmpfiles configuration for proper system integration
- Add D-Bus policy configuration for daemon communication
- Update debian/rules to install all new configuration files
- Package now includes 64 files (up from ~30) with complete system integration
- Resolves critical gap in apt-ostree Debian packaging for atomic system deployment
- All services properly configured for OSTree-based atomic updates
2025-09-01 18:20:58 -07:00
..
apt-ostree feat: add comprehensive systemd services and kernel integration to Debian packaging 2025-09-01 18:20:58 -07:00
apt-ostreed fix: Resolve compilation errors in parallel and cache modules 2025-08-16 15:10:00 -07:00
man Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
source feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
apt-ostree.1 feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
apt-ostree.bash-completion feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
apt-ostree.conffiles Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
apt-ostree.lintian-overrides feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
apt-ostree.postinst Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
apt-ostree.postrm Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
apt-ostree.postrm.debhelper feat: add comprehensive systemd services and kernel integration to Debian packaging 2025-09-01 18:20:58 -07:00
apt-ostree.prerm Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
apt-ostree.substvars feat: add comprehensive systemd services and kernel integration to Debian packaging 2025-09-01 18:20:58 -07:00
apt-ostree.triggers Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
apt-ostree.zsh-completion feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
apt-ostreed.postrm.debhelper fix: Resolve compilation errors in parallel and cache modules 2025-08-16 15:10:00 -07:00
build.sh feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
changelog Major apt-ostree refactor: Simplified architecture, Debian Trixie compatibility 2025-08-13 13:11:26 -07:00
compat Build apt-ostree Debian package with libostree 2025.2 compatibility 2025-07-22 05:45:32 +00:00
control Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
copyright feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
debhelper-build-stamp Fix YAML linting issues and update system requirements to Debian 13+ 2025-08-18 11:39:58 -07:00
files feat: add comprehensive systemd services and kernel integration to Debian packaging 2025-09-01 18:20:58 -07:00
local-options feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
README.Debian feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow 2025-08-15 14:05:37 -07:00
rules feat: add comprehensive systemd services and kernel integration to Debian packaging 2025-09-01 18:20:58 -07:00

apt-ostree for Debian
====================

This is the Debian packaging for apt-ostree, a tool for managing atomic,
immutable deployments on Debian and Ubuntu systems using OSTree as the backend.

Building the Package
-------------------

To build the Debian package:

1. Install build dependencies:
   ```bash
   sudo apt-get install build-essential devscripts debhelper dh-cargo
   sudo apt-get install libostree-dev libglib2.0-dev libcurl4-gnutls-dev
   sudo apt-get install libssl-dev libsystemd-dev libmount-dev libselinux1-dev
   sudo apt-get install libapt-pkg-dev
   ```

2. Install Rust toolchain:
   ```bash
   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
   source ~/.cargo/env
   ```

3. Build the package:
   ```bash
   # Using the build script (recommended)
   ./debian/build.sh
   
   # Or manually
   dpkg-buildpackage -us -uc -b
   ```

4. Install the package:
   ```bash
   sudo dpkg -i ../apt-ostree_*.deb
   sudo apt-get install -f  # Install any missing dependencies
   ```

Package Structure
----------------

The package installs the following components:

- Binary: `/usr/bin/apt-ostree`
- Man page: `/usr/share/man/man1/apt-ostree.1`
- Bash completion: `/usr/share/bash-completion/completions/apt-ostree`
- Zsh completion: `/usr/share/zsh/vendor-completions/_apt-ostree`
- Configuration: `/etc/apt-ostree/config.toml`
- Data directory: `/var/lib/apt-ostree`
- Log directory: `/var/log/apt-ostree`

Configuration
------------

After installation, apt-ostree will create a default configuration file at
`/etc/apt-ostree/config.toml`. You can modify this file to customize the
behavior of apt-ostree.

Dependencies
-----------

apt-ostree requires the following system packages:

- ostree (>= 2025.2)
- systemd
- libapt-pkg7.0 (>= 3.0.0)
- libostree-1-1 (>= 2025.2)

Development
----------

For development builds, you can use the local options:

```bash
# Enable debug mode
export DH_VERBOSE=1
export APT_OSTREE_LOG_LEVEL=debug

# Build with debug symbols
export CARGO_PROFILE_RELEASE_DEBUG=1

# Build the package
dpkg-buildpackage -us -uc -b
```

Troubleshooting
--------------

If you encounter build issues:

1. Ensure all build dependencies are installed
2. Check that Rust toolchain is properly configured
3. Verify OSTree development libraries are available
4. Check build logs in `debian/cargo/target/`

For runtime issues:

1. Check the configuration file at `/etc/apt-ostree/config.toml`
2. Verify OSTree is properly configured on the system
3. Check logs in `/var/log/apt-ostree/`
4. Ensure proper permissions on OSTree directories

Reporting Bugs
-------------

Please report bugs to the project issue tracker:
https://github.com/robojerk/apt-ostree/issues

Include the following information:
- Debian/Ubuntu version
- apt-ostree version
- Error messages and logs
- Steps to reproduce the issue

Maintainer Information
----------------------

This package is maintained by Robojerk <robojerk@example.com>.

For Debian-specific issues, please contact the maintainer or file a bug
report against the apt-ostree package in the Debian bug tracking system.