Closed zetxx closed 1 week ago
Noticed in: .devcontainer/devcontainer.json
line 22 there was definition of this package "direnv"
also placed on line 79 "postCreateCommand": "src/bin/rsdk setup"
>> "postCreateCommand": "sudo apt install -y direnv && src/bin/rsdk setup"
and container started after that ... however when i rsdk devcon
there was an error: direnv: PS1 cannot be exported. For more information see https://github.com/direnv/direnv/wiki/PS1
Now trying to make a build. EDIT: build success
Do you mean you add apt install direnv
to postCreateCommand
? Because it is not there.
And yes, direnv
should be installed by "features"."ghcr.io/devcontainers/features/nix:1"."packages"
. You need to check your full log to see why it failed.
yep, correct, i added it in postCreateCommand
also, in the logs there is no any kind of errors
I'll close this for now until we get some error log or if we reproduce it. We just did a build yesterday and there was no issue when running rsdk-setup
from GitHub's runner.
issue has appeared after 12 pm utc
@RadxaYuntian
My Fault, probably ... i totally forgot about git clone --recurse-submodules https://github.com/RadxaOS-SDK/rsdk.git
.... --recurse-submodules
maybe it is wort mentioning in docs that regularly sub-modules should be pulled
It is already mentioned in the doc: https://radxaos-sdk.github.io/rsdk/install/devcontainer.html
It is supposed to be a complete copy-and-paste operation.
Also I don't think missing submodule has anything to do with direnv missing. Those are required to run rsdk itself, but not direnv.
strange, this is the only thing that i did
Following tutorial: https://radxaos-sdk.github.io/rsdk/install/devcontainer.html#common-issues gives me:
/workspaces/rsdk/src/bin/../libexec/rsdk/rsdk-setup: line 95: direnv: command not found
onrsdk devcon up
last log: