Fix rustup toolchain and zstd dependency issues
- Add rustup default stable in build step for proper toolchain setup - Install libzstd-dev for zstd-sys crate compatibility - Fix rustup toolchain context issues in main workflow - Add missing zstd development libraries to both workflows - Ensure all Rust crate dependencies are available
This commit is contained in:
parent
9e9dfebbf2
commit
5d38f1f47a
2 changed files with 5 additions and 3 deletions
|
|
@ -149,7 +149,8 @@ jobs:
|
|||
libarchive-dev libfuse3-dev libsystemd-dev libmount-dev \
|
||||
libselinux1-dev libavahi-client-dev libavahi-glib-dev \
|
||||
libsoup-3.0-dev gobject-introspection gtk-doc-tools \
|
||||
docbook-xml docbook-xsl xsltproc gjs libglib2.0-doc
|
||||
docbook-xml docbook-xsl xsltproc gjs libglib2.0-doc \
|
||||
libzstd-dev
|
||||
|
||||
- name: Clone bootc source
|
||||
run: |
|
||||
|
|
@ -194,8 +195,9 @@ jobs:
|
|||
run: |
|
||||
cd bootc-${BOOTC_VERSION}
|
||||
echo "Building bootc package with libostree compatibility patch..."
|
||||
# Source Rust environment for the build
|
||||
# Source Rust environment and ensure default toolchain is set
|
||||
. ~/.cargo/env
|
||||
rustup default stable
|
||||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: List built packages
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
- name: Install build dependencies
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y libglib2.0-dev pkg-config
|
||||
apt install -y libglib2.0-dev libzstd-dev pkg-config
|
||||
|
||||
- name: Check libostree version
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue