Commit graph

7 commits

Author SHA1 Message Date
robojerk
cd5a97f64a Fix BACKPORT_DIR configuration in ostree-backport.sh - Make BACKPORT_DIR configurable via environment variable - Update disk space check to use correct directory - This allows containers to use user-writable directories - Fixes the permission denied error when creating backport directory
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
2025-08-05 11:09:48 -07:00
robojerk
6fe3939923 Fix Podman permission issues and improve package handling - Avoid changing ownership of host files in containers - Only change ownership of script files needed for execution - Copy built packages to builds/ directory instead of workspace root - Add builds/ and package files to .gitignore - This prevents permission issues and keeps built packages organized
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
2025-08-05 11:07:10 -07:00
robojerk
95097ad46a Fix container image for Trixie backport - Use debian:testing instead of debian:12 - This ensures the container matches the target environment (Trixie) - Source is still pulled from sid, but build environment is Trixie
Some checks failed
Build libostree Backport / Build libostree Backport (push) Successful in 10m56s
Build ostree Backports / Build ostree Backport for noble (push) Has been cancelled
2025-08-05 10:54:50 -07:00
robojerk
c6b363974e Fix Podman container to run as non-root user
Some checks failed
Build libostree Backport / Build libostree Backport (push) Successful in 11m37s
Build ostree Backports / Build ostree Backport for noble (push) Failing after 3m25s
- Add sudo package installation in containers
- Create backport-user account in containers
- Set proper ownership of workspace directory
- Configure sudo access for backport-user
- Run ostree-backport.sh as non-root user
- This fixes the 'should not be run as root' safety check
- Maintains all safety features while allowing proper execution
2025-08-05 10:30:21 -07:00
robojerk
fc05ffcbb9 Fix virt-manager Flatpak command for Bazzite
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
- Update virt-manager Flatpak command from org.virt-manager.virt-manager to org.virt_manager.virt-manager
- This matches the actual Flatpak installation on Bazzite
- Update both noble and trixie wrapper scripts
- Update usage guide with correct command
- Maintain all Bazzite-specific VM creation instructions
2025-08-05 10:28:47 -07:00
robojerk
1b307bcd17 Add Podman container and virsh VM options to wrapper scripts
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
- Add --podman option for isolated container testing (recommended)
- Add --vm option for full VM isolation with virsh
- Add --help option with comprehensive usage information
- Add colored output and safety warnings
- Add interactive prompts for direct host execution
- Update usage-guide.sh with new safety features
- Add proper error handling and command validation

Features:
- Podman containers with Ubuntu 24.04 and Debian 12 images
- virsh VMs with proper networking and storage
- Automatic repository cloning and script setup
- Volume mounting for workspace sharing
- Safety-first approach with clear warnings
2025-08-05 10:22:50 -07:00
robojerk
38e017cef3 Add multi-distribution ostree backport support for Ubuntu Noble and Debian Trixie
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 17m20s
Build ostree Backports / Build ostree Backport for noble (push) Failing after 2m37s
- Add main ostree-backport.sh script with distribution selection
- Add wrapper scripts: backport-noble.sh and backport-trixie.sh
- Add usage-guide.sh for comprehensive documentation
- Update CI/CD workflows with improved multi-distribution support
- Add test-build.yml workflow for quick validation
- Update README.md with multi-distribution documentation
- Add CI-CD-IMPROVEMENTS.md with detailed workflow documentation
- Remove old .deb files (steam.deb, wget_1.21.4-1ubuntu4.1_amd64.deb)

Features:
- Ubuntu Noble: Source from Questing, target Noble
- Debian Trixie: Source from sid, target Trixie
- Enhanced error handling and logging
- Manual triggers for single/all distributions
- Comprehensive CI/CD documentation
2025-08-05 09:33:14 -07:00