Skip to content

Commit

Permalink
fix: zfs-tools libtirpc path
Browse files Browse the repository at this point in the history
Use a custom path for libtirpc shipped with zfs-tools so that it doesn't
conflict with libtirpc built for nvidia-container-toolkit (as it's
linked against glibc).

Fixes: siderolabs#380

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Jun 7, 2024
1 parent cce3b41 commit 9c7e77b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guest-agents/qemu-guest-agent/glib/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:
pip3 install ninja packaging
build:
- |
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
export _PATH=/usr/lib/pkgconfig
meson setup \
--prefix=/usr \
Expand Down
2 changes: 1 addition & 1 deletion storage/zfs/zfs-tools/libtirpc/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ steps:
export CFLAGS="${CFLAGS} -I/usr/local/include"
./configure \
--prefix=/usr/local \
--prefix=/usr/local/libtirpc \
--disable-gssapi
build:
- |
Expand Down
2 changes: 2 additions & 0 deletions storage/zfs/zfs-tools/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ steps:
tar -xf zfs.tar.gz --strip-components=1
build:
- |
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/libtirpc/lib/pkgconfig
./configure \
--prefix=/usr/local \
--with-udevdir=/usr/local/sbin \
Expand Down

0 comments on commit 9c7e77b

Please sign in to comment.