Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help.
Hi, I’m en engineer from CertusNet. At present, we are developing edge computing terminal products that we need to use StarlingX. I have some problems when deploying the StarlingX, when I made the StarlingX ISO, I have downloaded the source code library and run it with ‘repo init -u https://git.starlingx.io/stx-manifest -m default.xml’, the system report: Then i have configured the HTTP proxy, but the error was still reported. Please help me check this problem. Thank you. by the way do you have StaringX internal discussion groups such like Wechat group Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn
Hi chenzz, You need a proxy that could access google site to download the clone.bundle file. Then you could have a try with below cmd: repo init -u < uri of manifest on mirror > --repo-url ~/clone.bundle Best Regards Shuicheng From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Tuesday, December 11, 2018 9:32 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi, I'm en engineer from CertusNet. At present, we are developing edge computing terminal products that we need to use StarlingX. I have some problems when deploying the StarlingX, when I made the StarlingX ISO, I have downloaded the source code library and run it with 'repo init -u [cid:image001.png@01D4913A.6677E090] https://git.starlingx.io/stx-manifest -m default.xml', the system report: [cid:image002.png@01D4913A.6677E090] Then i have configured the HTTP proxy, but the error was still reported. [cid:image003.png@01D4913A.6677E090] Please help me check this problem. Thank you. by the way do you have StaringX internal discussion groups such like Wechat group ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn
Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn From: Hu, Yong Date: 2018-12-20 10:38 To: chenzz; starlingx-discuss Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn
Hi : Could you run “which build-pkgs” in build container and check if the path ? And check if /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs exists ? Thanks. BR Austin Sun. From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Hu, Yong<mailto:yong.hu@intel.com> Date: 2018-12-20 10:38 To: chenzz<mailto:chenzz@certusnet.com.cn>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn<mailto:chenzz@certusnet.com.cn>> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
Hi: I found there is no “build-pkgs ” command in the path variable; In addition,in my environment,the “build-pkgs” file is in the directory /root/cgcs-root/build-tools, not in the directory /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs. After manually executing “./build-pkgs” , the following error is prompted: Dependency cache is missing. Creating it now. Traceback (most recent call last): File "/root/cgcs-root/build-tools/create_dependancy_cache.py", line 75, in <module> workspace_repo_dirs[rt][bt]="%s/%s/rpmbuild/%sS" % (os.environ['MY_WORKSPACE'], bt, rt) File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'MY_WORKSPACE' Dependency cache created. build-pkgs-parallel ./build-pkgs: line 54: build-pkgs-parallel: command not found CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn From: Sun, Austin Date: 2018-12-20 14:25 To: chenzz; Hu, Yong; starlingx-discuss Subject: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi : Could you run “which build-pkgs” in build container and check if the path ? And check if /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs exists ? Thanks. BR Austin Sun. From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn From: Hu, Yong Date: 2018-12-20 10:38 To: chenzz; starlingx-discuss Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn
Hi : Are you run this command in Docker ? do you run command “bash tb.sh exec” to enter Docker ? Thanks. BR Austin Sun From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Tuesday, December 25, 2018 2:19 PM To: Sun, Austin <austin.sun@intel.com>; Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi: I found there is no “build-pkgs ” command in the path variable; In addition,in my environment,the “build-pkgs” file is in the directory /root/cgcs-root/build-tools, not in the directory /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs. After manually executing “./build-pkgs” , the following error is prompted: Dependency cache is missing. Creating it now. Traceback (most recent call last): File "/root/cgcs-root/build-tools/create_dependancy_cache.py", line 75, in <module> workspace_repo_dirs[rt][bt]="%s/%s/rpmbuild/%sS" % (os.environ['MY_WORKSPACE'], bt, rt) File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'MY_WORKSPACE' Dependency cache created. build-pkgs-parallel ./build-pkgs: line 54: build-pkgs-parallel: command not found ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Sun, Austin<mailto:austin.sun@intel.com> Date: 2018-12-20 14:25 To: chenzz<mailto:chenzz@certusnet.com.cn>; Hu, Yong<mailto:yong.hu@intel.com>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi : Could you run “which build-pkgs” in build container and check if the path ? And check if /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs exists ? Thanks. BR Austin Sun. From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com<mailto:yong.hu@intel.com>>; starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Hu, Yong<mailto:yong.hu@intel.com> Date: 2018-12-20 10:38 To: chenzz<mailto:chenzz@certusnet.com.cn>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn<mailto:chenzz@certusnet.com.cn>> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
Hi: Yes, it’s running in the docker with the command “bash tb.sh exec” to enter the docker command CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn From: Sun, Austin Date: 2018-12-25 14:51 To: chenzz; Hu, Yong; starlingx-discuss Subject: RE: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi : Are you run this command in Docker ? do you run command “bash tb.sh exec” to enter Docker ? Thanks. BR Austin Sun From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Tuesday, December 25, 2018 2:19 PM To: Sun, Austin <austin.sun@intel.com>; Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi: I found there is no “build-pkgs ” command in the path variable; In addition,in my environment,the “build-pkgs” file is in the directory /root/cgcs-root/build-tools, not in the directory /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs. After manually executing “./build-pkgs” , the following error is prompted: Dependency cache is missing. Creating it now. Traceback (most recent call last): File "/root/cgcs-root/build-tools/create_dependancy_cache.py", line 75, in <module> workspace_repo_dirs[rt][bt]="%s/%s/rpmbuild/%sS" % (os.environ['MY_WORKSPACE'], bt, rt) File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'MY_WORKSPACE' Dependency cache created. build-pkgs-parallel ./build-pkgs: line 54: build-pkgs-parallel: command not found CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn From: Sun, Austin Date: 2018-12-20 14:25 To: chenzz; Hu, Yong; starlingx-discuss Subject: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi : Could you run “which build-pkgs” in build container and check if the path ? And check if /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs exists ? Thanks. BR Austin Sun. From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn From: Hu, Yong Date: 2018-12-20 10:38 To: chenzz; starlingx-discuss Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn
It seems your env is not configured successfully. Could you run ‘bash tb.sh env’ to check your config ? From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Tuesday, December 25, 2018 2:56 PM To: Sun, Austin <austin.sun@intel.com>; Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi: Yes, it’s running in the docker with the command “bash tb.sh exec” to enter the docker command ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Sun, Austin<mailto:austin.sun@intel.com> Date: 2018-12-25 14:51 To: chenzz<mailto:chenzz@certusnet.com.cn>; Hu, Yong<mailto:yong.hu@intel.com>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: RE: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi : Are you run this command in Docker ? do you run command “bash tb.sh exec” to enter Docker ? Thanks. BR Austin Sun From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Tuesday, December 25, 2018 2:19 PM To: Sun, Austin <austin.sun@intel.com<mailto:austin.sun@intel.com>>; Hu, Yong <yong.hu@intel.com<mailto:yong.hu@intel.com>>; starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi: I found there is no “build-pkgs ” command in the path variable; In addition,in my environment,the “build-pkgs” file is in the directory /root/cgcs-root/build-tools, not in the directory /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs. After manually executing “./build-pkgs” , the following error is prompted: Dependency cache is missing. Creating it now. Traceback (most recent call last): File "/root/cgcs-root/build-tools/create_dependancy_cache.py", line 75, in <module> workspace_repo_dirs[rt][bt]="%s/%s/rpmbuild/%sS" % (os.environ['MY_WORKSPACE'], bt, rt) File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'MY_WORKSPACE' Dependency cache created. build-pkgs-parallel ./build-pkgs: line 54: build-pkgs-parallel: command not found ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Sun, Austin<mailto:austin.sun@intel.com> Date: 2018-12-20 14:25 To: chenzz<mailto:chenzz@certusnet.com.cn>; Hu, Yong<mailto:yong.hu@intel.com>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi : Could you run “which build-pkgs” in build container and check if the path ? And check if /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs exists ? Thanks. BR Austin Sun. From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com<mailto:yong.hu@intel.com>>; starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Hu, Yong<mailto:yong.hu@intel.com> Date: 2018-12-20 10:38 To: chenzz<mailto:chenzz@certusnet.com.cn>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn<mailto:chenzz@certusnet.com.cn>> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
Hi, There are two container, and “build-pkgs” is in the build container only. The 1st container is for the mirror, it will not have this cmd. Best Regards Shuicheng From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Hu, Yong<mailto:yong.hu@intel.com> Date: 2018-12-20 10:38 To: chenzz<mailto:chenzz@certusnet.com.cn>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn<mailto:chenzz@certusnet.com.cn>> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
And moreover, if everything goes well, “./tb.sh exec” will help you go into the build container. Inside the build container you should have the complete build environment. From: "Lin, Shuicheng" <shuicheng.lin@intel.com> Date: Thursday, 20 December 2018 at 2:28 PM To: chenzz <chenzz@certusnet.com.cn>, "Hu, Yong" <yong.hu@intel.com>, starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi, There are two container, and “build-pkgs” is in the build container only. The 1st container is for the mirror, it will not have this cmd. Best Regards Shuicheng From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 1:54 PM To: Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Hi Yong, Thanks for your reply, one more question: in the following build packages steps, I try to execute “build-pkgs” command, it reports command not found, could you answer this question for me? BRs ________________________________ CertusNet 赛特斯信息科技股份有限公司 陈峥峥 | 现场工程师 南京市玄武区玄武大道699-22号18幢 手机:152 9559 2415 公司网址:www.certusnet.com.cn<http://www.certusnet.com.cn/> From: Hu, Yong<mailto:yong.hu@intel.com> Date: 2018-12-20 10:38 To: chenzz<mailto:chenzz@certusnet.com.cn>; starlingx-discuss<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. Bill, I suppose you were running “make” in “stx-tools”. Here are some steps FYI. Especially you need to understand what I made in comments starting with #. --------------------- Start Here -------------------------------------------------- # update localrc if needed – MUST DO # use Makefile to build a docker image based on your settings # NOTES: in advance into Dockerfile, need to add http/https # proxies and "/etc/yum.conf", which will be used in CentOS make all # after quite a while (depending on network), the docker # image should be made, check it by: docker images # if the image is made successfully, to make a container: ./tb.sh run # after the container is made and running, to check by: docker ps # if the container is running, to login in shell in the # container, with user/path defined in your localrc ./tb.sh exec From: chenzz <chenzz@certusnet.com.cn<mailto:chenzz@certusnet.com.cn>> Date: Thursday, 20 December 2018 at 10:14 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
Hi, The cmd has been removed. Please replace it with “make all”. Hi Abraham, Could you help check the developer guide [0] and update it with latest instruction? Thanks. [0]: https://docs.starlingx.io/developer_guide/index.html Best Regards Shuicheng From: chenzz [mailto:chenzz@certusnet.com.cn] Sent: Thursday, December 20, 2018 9:56 AM To: starlingx-discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help. hi there: My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make: *** No rule to make target `base-build'. Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly. When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’ command,Please tell me how to solve this problem again. Thanks very much ________________________________ Bill chen | CertusNet Building 18, No. 699-22 Xuanwu Avenue, Xuanwu District, Nanjing, 210042, P.R.China Tel: +86 25 6642 3768 -XXXX Mobile: +86 15295592415 Web: www.certusnet.com.cn<http://www.certusnet.com.cn/>
participants (5)
-
chenzz
-
Erich Cordoba
-
Hu, Yong
-
Lin, Shuicheng
-
Sun, Austin