added new build

This commit is contained in:
Leon van Kammen 2025-01-15 18:00:55 +01:00
parent d968c87dc5
commit 34c54640a5
6 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x
test "$1" = "--edit" && { test "$1" = "--edit" && {
EDIT="-ti -v $PWD/edit.sh:/root/edit.sh --entrypoint bash" EDIT="-ti -v $PWD/edit.sh:/root/edit.sh --entrypoint bash"
@ -10,10 +11,12 @@ test -d dist || mkdir dist
test -d cache || mkdir cache test -d cache || mkdir cache
rm -rf cache/* rm -rf cache/*
docker images | grep buildroot || docker build -t buildroot . OCI=$(which podman || which docker)
docker run \ $OCI images | grep buildroot || $OCI build -t buildroot .
--rm \
#$OCI --conmon /usr/bin/false run \
$OCI run \
--name build-v86 \ --name build-v86 \
-v $PWD/dist:/build \ -v $PWD/dist:/build \
-v $PWD/buildroot-v86/:/buildroot-v86 ${EDIT} \ -v $PWD/buildroot-v86/:/buildroot-v86 ${EDIT} \

View File

@ -1,3 +1,2 @@
source "$BR2_EXTERNAL_v86_PATH/package/nled/Config.in" source "$BR2_EXTERNAL_v86_PATH/package/nled/Config.in"
source "$BR2_EXTERNAL_v86_PATH/package/execfuse/Config.in"
source "$BR2_EXTERNAL_v86_PATH/package/fusescript/Config.in" source "$BR2_EXTERNAL_v86_PATH/package/fusescript/Config.in"

View File

@ -39,7 +39,7 @@ help_tips(){
echo 'paste text ' "ctrl/cmd+shift+v'" echo 'paste text ' "ctrl/cmd+shift+v'"
echo 'paste text to file ' "ctrl/cmd+v'" echo 'paste text to file ' "ctrl/cmd+v'"
echo 'import file to scene ' "drag-drop file or ctrl/cmd+v or type 'upload'" echo 'import file to scene ' "drag-drop file or ctrl/cmd+v or type 'upload'"
echo 'import remote URL ' "type 'require <https://foo.org/scene.glb>'" echo 'import remote URL ' "type 'require <https://xrfragment.org/index.glb>'"
echo 'reset scene & shell ' "type 'reset'" echo 'reset scene & shell ' "type 'reset'"
echo 'js run ' "type 'js 'alert(\"hello\")'" echo 'js run ' "type 'js 'alert(\"hello\")'"
echo 'js console.log: ' "type 'console document.baseURI" echo 'js console.log: ' "type 'console document.baseURI"

View File

@ -47,7 +47,7 @@ test -d /dev/browser || {
stty raw < /dev/ttyS1 stty raw < /dev/ttyS1
mkfifo /var/run/ttyS1 mkfifo /var/run/ttyS1
cat /dev/ttyS1 > /var/run/ttyS1 & cat /dev/ttyS1 > /var/run/ttyS1 &
/bin/sh < /var/run/ttyS1 /bin/sh < /var/run/ttyS1 > /var/run/ttyS1
} }
setup_listen_homedir(){ setup_listen_homedir(){

View File

@ -1,6 +1,12 @@
#!/bin/sh #!/bin/sh
source /etc/profile.sh # expose xrsh cmds like require etc source /etc/profile.sh # expose xrsh cmds like require etc
if [[ "$1" =~ pos=|t= ]] then
# we are dealing with XR or Media Fragments
exit # ignore for now
fi
# otherwise execute
echo "" # clear line echo "" # clear line
$* # simply execute $* # simply execute
echo "$*" >> /tmp/frag.log echo "$*" >> /tmp/frag.log

BIN
dist/v86-linux.iso vendored

Binary file not shown.