Conversation

Jarkko Sakkinen

I think I should do some kind of output filtering to make opencode-landstrip output just contain the tool command :-)

{ exec 3<>/dev/tcp/127.0.0.1/45811 ; } 2>/dev/null && '/home/jarkko/.cache/opencode/packages/opencode-landstrip@latest/node_modules/@landstrip/landstrip-linux-x64/bin/landstrip' '--trap-fd' '3' '-p' '/tmp/opencode-landstrip-df17xp/policy.json' '/bin/zsh' '-lc' 'env TARGET_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/target" BINARIES_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/images" HOST_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/host" BR2_EXTERNAL_PUU_PATH="/home/jarkko/work/codeberg.org/puu/puu" PUU_VERSION="2026.05" SOURCE_DATE_EPOCH="1735689600" "/home/jarkko/work/codeberg.org/puu/puu/board/puu/amd64/post-image.sh"' || bash -c 'exec 3<>/dev/tcp/127.0.0.1/45811 2>/dev/null && exec "$@"' bash '/home/jarkko/.cache/opencode/packages/opencode-landstrip@latest/node_modules/@landstrip/landstrip-linux-x64/bin/landstrip' '--trap-fd' '3' '-p' '/tmp/opencode-landstrip-df17xp/policy.json' '/bin/zsh' '-lc' 'env TARGET_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/target" BINARIES_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/images" HOST_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/host" BR2_EXTERNAL_PUU_PATH="/home/jarkko/work/codeberg.org/puu/puu" PUU_VERSION="2026.05" SOURCE_DATE_EPOCH="1735689600" "/home/jarkko/work/codeberg.org/puu/puu/board/puu/amd64/post-image.sh"' 2>/dev/null || '/home/jarkko/.cache/opencode/packages/opencode-landstrip@latest/node_modules/@landstrip/landstrip-linux-x64/bin/landstrip' '-p' '/tmp/opencode-landstrip-df17xp/policy.json' '/bin/zsh' '-lc' 'env TARGET_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/target" BINARIES_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/images" HOST_DIR="/home/jarkko/work/codeberg.org/puu/puu/build/puu_amd64/host" BR2_EXTERNAL_PUU_PATH="/home/jarkko/work/codeberg.org/puu/puu" PUU_VERSION="2026.05" SOURCE_DATE_EPOCH="1735689600" "/home/jarkko/work/codeberg.org/puu/puu/board/puu/amd64/post-image.sh"'
1
0
0

Jarkko Sakkinen

Edited 5 days ago
It's sick that this card tower is finally working, while looking at the command-line composed correctly and actually doing the job; and even has permission dialog flows. Took multiple weeks and lot of painful trial and error to get here :-)
1
0
0

Jarkko Sakkinen

Edited 5 days ago
It seems that "build the OS" prompt is a really good test case for this type of sandbox because there's fakeroot and whatnot involved. Hit to a bug during some fs permission changes done by the build process.
0
0
1