Commit graph

10 commits

Author SHA1 Message Date
c55ee43303 fix: update debian/rules to use CI profile and correct binary paths
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Successful in 16m30s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 6s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 37s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
- Change CARGO_FLAGS from --release to --profile ci
- Update binary paths from target/release/ to target/ci/
- Fixes linker error: 'file format not recognized' for serde_yaml
- Resolves CI build failure with memory-optimized compilation
- Package builds successfully with CI profile settings
2025-09-02 07:14:01 -07:00
776c83e8bb fix: make external file installations conditional in debian/rules
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 3m10s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 7s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 37s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
- Add conditional checks for external debian-atomic-files directory
- Prevent CI build failures when external files are missing
- Gracefully skip missing files with warning messages
- Maintain full functionality when external files are available
- Resolves CI build failure: 'cannot stat ../debian-atomic-files/...'
2025-09-01 22:35:33 -07:00
92f9f08c84 feat: add comprehensive systemd services and kernel integration to Debian packaging
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
- 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
3e40c891cc Fix Rust compiler SIGSEGV during Debian builds
- Add .cargo/config.toml with safer optimization flags
- Override aggressive Debian build flags that cause crashes
- Change opt-level from 3 to 2 for stability
- Disable LTO (Link Time Optimization) to prevent crashes
- Use multiple codegen units (16) instead of single unit (1)
- Update debian/rules to respect safer Cargo configuration
- Fixes regex-automata compilation crashes in CI/CD
- Project now builds successfully with safer optimization settings
2025-08-18 12:14:48 -07:00
3dec23f8f7 Fix YAML linting issues and update system requirements to Debian 13+
- Fix trailing spaces and blank lines in Forgejo workflows
- Update system requirements from Ubuntu Jammy/Bookworm to Debian 13+ (Trixie)
- Update test treefile to use Debian Trixie instead of Ubuntu Jammy
- Update documentation to reflect modern system requirements
- Fix yamllint errors for CI/CD functionality
- Ensure compatibility with modern OSTree and libapt versions
2025-08-18 11:39:58 -07:00
306a68b89a fix: Resolve compilation errors in parallel and cache modules
- Fix parallel execution logic to properly handle JoinHandle<Result<R, E>> types
- Use join_all instead of try_join_all for proper Result handling
- Fix double question mark (??) issue in parallel execution methods
- Clean up unused imports in parallel and cache modules
- Ensure all performance optimization modules compile successfully
- Fix CI build failures caused by compilation errors
2025-08-16 15:10:00 -07:00
joe
b4fa6fe1c2 fix: Simplify debian/rules to resolve build errors
- Remove unsupported DEB_HOST_ARCH_GNU_TYPE variable
- Remove invalid --dbg-package=apt-ostree-dbg reference
- Simplify cross-compilation logic to avoid complex conditionals
- Fix binary install path to use standard release target
- Resolves dpkg-architecture and dh_strip errors in CI build

Fixes Debian package build failures in CI workflow.
2025-08-15 15:08:55 -07:00
joe
76467ece47 feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow
- Enhanced Package Information: Expanded PackageInfo struct with 23 fields including section, priority, maintainer, homepage, size, dependencies, and more
- Real Package Data Extraction: Integrated dpkg and apt-cache for actual package information instead of mock data
- Professional Debian Packaging: Added man pages, shell completions, postinst/prerm scripts, triggers, and lintian overrides
- Enhanced Build System: Improved debian/rules with cross-compilation support, enhanced build.sh with options and validation
- CI Workflow Updates: Added missing build dependencies, enhanced package validation, lintian quality checks, and comprehensive reporting
- Quality Assurance: Added lintian validation, enhanced file checking, and professional packaging standards
- Documentation: Comprehensive README.Debian with build instructions and troubleshooting guide

Resolves mock package issues and provides production-ready Debian packaging infrastructure.
2025-08-15 14:05:37 -07:00
9f02fe2d69 Build apt-ostree Debian package with libostree 2025.2 compatibility
- Fix compilation errors in src/main.rs and resolve import conflicts
- Add debian/compat file and ensure debian/rules is executable
- Downgrade Cargo.lock to version 3 for compatibility with system cargo
- Create working apt-ostree binary with basic CLI functionality
- Build apt-ostree_0.1.0-1_amd64.deb package (1.1MB)
- Package installs successfully and binary works correctly
- Ensure libostree-1-1 (>= 2025.2) dependency for bootc compatibility
- Test package installation and basic commands (status, version)
2025-07-22 05:45:32 +00:00
9660842092 Getting ready to move out of heavy alpha development. Created ci/cd 2025-07-22 04:43:43 +00:00