Support for podman #9
|
@ -20,7 +20,7 @@
|
|||
{
|
||||
"label": "read memory map",
|
||||
"type": "shell", // TODO: Make this work again? Or remove it and just tell people how to use it? Does not work with docker...?
|
||||
"command": "${env:JABY_ENGINE_PATH}/scripts/podman_jaby_engine.sh ${workspaceFolder} . psxreadmap ${input:output memory map} application/bin/PAL/PSX-${input:build profile}/PoolBox.elf",
|
||||
"command": "${env:JABY_ENGINE_PATH}/bin/psxreadmap ${input:output memory map} application/bin/PAL/PSX-${input:build profile}/PoolBox.elf",
|
||||
"problemMatcher": [],
|
||||
}
|
||||
],
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM "ubuntu:24.04"
|
||||
FROM "ubuntu:22.04"
|
||||
WORKDIR /usr/scripts
|
||||
cody marked this conversation as resolved
|
||||
ADD ["scripts/make_gcc.sh", "/usr/scripts"]
|
||||
WORKDIR /usr
|
||||
cody marked this conversation as resolved
Outdated
cody
commented
For temporary working spaces to compile programs it would be preferable to use For temporary working spaces to compile programs it would be preferable to use `/tmp` or `$HOME` instead of `/usr` to conform to normal *NIX conventions.
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
JABY_ENGINE_DOT_FOLDER="$HOME/.jaby_engine"
|
||||
JABY_ENGINE_CARGO_FOLDER="$JABY_ENGINE_DOT_FOLDER/cargo/registry"
|
||||
cody marked this conversation as resolved
cody
commented
Can you directly map it to the local system cargo registry? does this potentially cause any problems? Can you directly map it to the local system cargo registry? does this potentially cause any problems?
jaby
commented
I leave this unchanged for now. I leave this unchanged for now.
I need to figure out first if this is really an issue
|
||||
|
||||
if [[ -n "${PSX_LICENSE_PATH}" ]]; then
|
||||
LICENSE_MOUNT="-v ${PSX_LICENSE_PATH}:/psx_license"
|
||||
else
|
||||
|
@ -9,4 +12,5 @@ PROJECT_PATH=$1
|
|||
PROJECT_WORK_DIR=$2
|
||||
shift
|
||||
shift
|
||||
podman run --rm -it -v ${JABY_ENGINE_PATH}:/jaby_engine -v ${PROJECT_PATH}:/project $LICENSE_MOUNT -w /project/$PROJECT_WORK_DIR jaby_engine $@
|
||||
mkdir -p $JABY_ENGINE_CARGO_FOLDER
|
||||
podman run --rm -it -v $JABY_ENGINE_CARGO_FOLDER:/root/.cargo/registry -v ${JABY_ENGINE_PATH}:/jaby_engine -v ${PROJECT_PATH}:/project $LICENSE_MOUNT -w /project/$PROJECT_WORK_DIR jaby_engine $@
|
Loading…
Reference in New Issue
Potentially not needed?