Skip to content

Commit

Permalink
v86 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerIn-wonderland committed Oct 8, 2024
1 parent 8df0f6d commit 8375c61
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion v86
Submodule v86 updated 1 files
+7 −4 lib/9p-filer.js
15 changes: 15 additions & 0 deletions x86_image_wizard/alpine/anura-run
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
if [ -f /var/anura-run_lock ]; then
PID=$(</var/anura-run_lock)
if [ -d /proc/$PID/ ]; then
echo anura-run interface occupied, trying again..
sleep 1
exec anura-run $@
exit
fi
fi
echo -n $$ > /var/anura-run_lock
echo -ne "\0" > /dev/hvc1 # clear buffer by executing whatevers in it
cat $1 > /dev/hvc1
echo -ne "\0" > /dev/hvc1
rm /var/anura-run_lock
5 changes: 2 additions & 3 deletions x86_image_wizard/alpine/build-alpine-bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ rm -rf $OUT_ROOTFS_BIN || :
cp ../xfrog.sh .
cp ../xsetrandr.sh .
cp -r ../anuramouse .
cp anura-run .
cp anura-
cp ../anura-run .
cd ../epoxy/server; RUSTFLAGS="-C target-feature=+crt-static" cargo +nightly b -F twisp -r --target i686-unknown-linux-gnu; cp ../target/i686-unknown-linux-gnu/release/epoxy-server ../../alpine/;
cd ../../alpine;

Expand Down Expand Up @@ -60,4 +59,4 @@ cd "$IMAGES"
mkdir -p alpine-rootfs
split -b50M alpine-rootfs.bin alpine-rootfs/
cd ../
find x86images/alpine-rootfs/* | jq -Rnc "[inputs]"
find x86images/alpine-rootfs/* | jq -Rnc "[inputs]"

0 comments on commit 8375c61

Please sign in to comment.