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