Closed RadxaYuntian closed 7 months ago
模板内容先用https://github.com/radxa-build/radxa-zero-2pro
rsdk目前能构建出镜像吗,我进入开发容器后试了一下:
vscode ➜ /workspaces/rsdk (main) $ rsdk build
/workspaces/rsdk/bin/sub/rsdk-build: line 62: 1: unbound variable
vscode ➜ /workspaces/rsdk (main) $
rsdk目前能构建出镜像吗,我进入开发容器后试了一下:
vscode ➜ /workspaces/rsdk (main) $ rsdk build /workspaces/rsdk/bin/sub/rsdk-build: line 62: 1: unbound variable vscode ➜ /workspaces/rsdk (main) $
vscode ➜ /workspaces/rsdk (main) $ rsdk build zero2pro bullseye cli APT keyrings are ready. RUNTIME ERROR: Index 0 out of bounds, not within [0, 0) /workspaces/rsdk/templates/lib/product_soc.libjsonnet:(4:5)-(5:32) /workspaces/rsdk/templates/mod/additional_repos.libjsonnet:3:48-68 thunk from <function <product_soc_family>> /workspaces/rsdk/templates/lib/soc_family.libjsonnet:4:51-54 /workspaces/rsdk/templates/lib/soc_family.libjsonnet:4:28-55 /workspaces/rsdk/templates/lib/soc_family.libjsonnet:(4:5)-(5:25) /workspaces/rsdk/templates/mod/additional_repos.libjsonnet:3:37-69 function <product_soc_family> /workspaces/rsdk/templates/mod/additional_repos.libjsonnet:41:41-68 object <anonymous> <std>:773:15-21 thunk <val> from <function <format_codes_obj>> <std>:780:27-30 thunk from <thunk <s> from <function <format_codes_obj>>> <std>:604:22-25 thunk from <function <format_code>> ... <std>:785:15-35 thunk <s_padded> from <function <format_codes_obj>> <std>:786:51-59 thunk from <function <format_codes_obj>> <std>:786:11-60 function <format_codes_obj> <std>:791:7-43 function <anonymous> <std>:249:7-23 function <anonymous> /workspaces/rsdk/templates/mod/additional_repos.libjsonnet:(37:13)-(42:18) Array element 5 Field "setup-hooks" Field "mmdebstrap" During manifestation
issue中提出的rsdk-infra-rebuild现在算是有替代物了
--create-missing-org
开关来允许新建组织--create-missing-product-repo
开关来允许在没有找到的情况下新建仓库rsdk rebuild-infra
默认检查configs/products.json里面所有的仓库,但可以使用rsdk rebuild-infra --product xxx
来只检查某一个产品的仓库。主要用于调试和客户自己维护个别定制产品之用