- 最新
- 投票最多
- 评论最多
I would recommend to review the steps again perhaps in either of the documentation.
Hi. I think if you look in Desktop/cp/zip-build
you will see you have an archive named cp.zip
. The zip build system creates an archive named after the current directory: https://github.com/aws-greengrass/aws-greengrass-gdk-cli/blob/a2b4a4b7b6867a39e12d52a2a3997b9a4a605ac2/gdk/commands/component/BuildCommand.py#L186 . Therefore your recipe should specify a zip file name that matches the directory name.
I recommend you add the --debug
switch to your 'gdk component build
command to get a better understanding on how the zip build system works: https://github.com/aws-greengrass/aws-greengrass-gdk-cli/blob/a2b4a4b7b6867a39e12d52a2a3997b9a4a605ac2/gdk/commands/component/BuildCommand.py#L161-L194
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 10 个月前
- AWS 官方已更新 1 年前