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
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.
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