Skip to content

Commit ed86dd9

Browse files
try tar from tom
1 parent e0a0257 commit ed86dd9

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ jobs:
324324
;;
325325
omnios)
326326
# Ensure a proper hostname/FQDN is set (VMs may not have one by default)
327-
sudo -E /bin/sh -c 'grep -q "omnios\.local" /etc/hosts || echo "127.0.0.1 omnios.local omnios" >> /etc/hosts'
328-
sudo -E hostname omnios.local
327+
pfexec /bin/sh -c 'grep -q "omnios\.local" /etc/hosts || echo "127.0.0.1 omnios.local omnios" >> /etc/hosts'
328+
pfexec hostname omnios.local
329329
hostname
330330
331331
# Packages
@@ -338,13 +338,22 @@ jobs:
338338
pfexec pkg refresh localhostomnios
339339
pfexec pkg install --accept system/file-system/fusefs
340340
pfexec pkg install --accept system/file-system/libfuse
341-
pfexec pkg install --accept system/file-system/libfuse/src
341+
# pfexec pkg install --accept system/file-system/libfuse/src
342342
pkg list system/file-system/fusefs
343343
pkg list system/file-system/libfuse
344-
pkg list system/file-system/libfuse/src
344+
# pkg list system/file-system/libfuse/src
345345
pkg contents system/file-system/fusefs
346346
pkg contents system/file-system/libfuse
347-
pkg contents system/file-system/libfuse/src
347+
# pkg contents system/file-system/libfuse/src
348+
349+
# Fetch custom build from Tom and install it
350+
modinfo | grep fuse | awk '{print $1}' | while read id; do pfexec modunload -i $id; done
351+
modinfo | grep fuse || true
352+
curl -L https://www.wagner-net.com/~tom/fuse-files-sfe-omnios-r151054-f66c95f374.tar.bz2 -o /tmp/fuse-files.tar.bz2
353+
pushd /
354+
pfexec tar xvjf /tmp/fuse-files.tar.bz2
355+
popd
356+
ls -l /usr/gnu/lib/amd64/libfuse.so.2.7.1 /usr/gnu/lib/libfuse.so.2.7.1 /usr/kernel/drv/amd64/fuse
348357
349358
# Install pip Dependencies
350359
python3 -m pip install pytest pytest-order ioctl-opt

0 commit comments

Comments
 (0)