Commit graph

8 commits

Author SHA1 Message Date
robojerk
5e263d2e83 Fix ZSTD linking in debian/rules with explicit linker flags
All checks were successful
Build deb-bootupd Artifacts / build (push) Successful in 8m45s
- Add explicit -C link-arg=-lzstd to RUSTFLAGS in debian/rules
- This ensures ZSTD library is linked during Debian package build
- Build script approach didn't work because dpkg-buildpackage bypasses Cargo
- Local Debian package build now succeeds with ZSTD linking
- Should resolve the 63+ failed CI builds
2025-08-10 13:38:54 -07:00
robojerk
f30ced3551 Fix ZSTD linking with build script and clean debian/install
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 8m34s
- Add build.rs to handle ZSTD library linking via pkg-config
- Add pkg-config as build dependency in Cargo.toml
- Clean debian/install to avoid conflicts with manual installation
- ZSTD linking now works properly for OpenSSL with ZSTD support
- Local Debian package build succeeds
2025-08-10 13:27:12 -07:00
robojerk
22a316469d Fix ZSTD linking issue in Debian packaging
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 7m40s
- Add libzstd-dev to Build-Depends in debian/control
- Add libzstd1 to runtime Depends
- Remove complex ZSTD verification from workflow
- Let Debian build system handle ZSTD dependencies properly
- Simplify workflow by removing unnecessary complexity
2025-08-10 13:15:33 -07:00
robojerk
a40ed904c5 Fix syntax error in debian/rules
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 7m57s
Simple Build and Upload / build (push) Failing after 2m35s
- Remove extra indentation before override_dh_auto_build target
- Fixes 'No such file or directory' error during build
- Ensures proper Makefile syntax for Debian build system
2025-08-10 12:28:42 -07:00
robojerk
252124c6df Fix Rust target architecture for Debian package build
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 5m25s
Simple Build and Upload / build (push) Failing after 2m39s
- Add explicit target x86_64-unknown-linux-gnu to cargo build
- Update install path to use target-specific directory
- Fixes proc-macro compilation error for clap_derive
- Ensures proper host architecture compilation
2025-08-10 12:19:25 -07:00
robojerk
73b43239e9 Add Debian packaging and update Forgejo workflow
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 6m14s
Simple Build and Upload / build (push) Failing after 2m0s
- Add complete Debian packaging configuration (debian/ directory)
- Create build-deb.sh script for building packages
- Update Forgejo workflow to build and upload .deb artifacts
- Add comprehensive version naming for both binary and Debian artifacts
- Update .gitignore to exclude build artifacts and packaging files
- Add PACKAGING.md documentation
- Add test-deb.sh for testing package installation
2025-08-10 11:30:19 -07:00
robojerk
95c23891b6 Add Forgejo Actions workflows for automated builds and artifact uploads
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 1m51s
Simple Build & Upload / build (push) Failing after 1m20s
- Add comprehensive build-artifacts.yml workflow with Forgejo Package Registry upload
- Add simple-build.yml workflow for basic artifact management
- Update README.md with workflow documentation and setup instructions
- Fix debian/rules to correctly create bootupctl symlink to /usr/libexec/bootupd
- Improve error handling and validation throughout the codebase
- Remove unused functions and imports
- Update documentation to clarify bootupd is not a daemon
- Fix binary layout to match RPM packaging pattern
2025-08-09 23:38:01 -07:00
robojerk
aaf662d5b1 Restructure project layout for better CI/CD integration
Some checks failed
Cross build / Build on ppc64le (push) Failing after 1m8s
Cross build / Build on s390x (push) Failing after 2s
- Flattened nested bootupd/bootupd/ structure to root level
- Moved all core project files to root directory
- Added proper Debian packaging structure (debian/ directory)
- Created build scripts and CI configuration
- Improved project organization for CI/CD tools
- All Rust source, tests, and configuration now at root level
- Added GitHub Actions workflow for automated testing
- Maintained all original functionality while improving structure
2025-08-09 23:11:42 -07:00