[Starlingx-discuss] stx tools 6.0 / iso build

Outback Dingo outbackdingo at gmail.com
Mon May 9 10:24:53 UTC 2022


i must be missing something trying to get an iso built, seems way to
hard by these docks, for  such a simple procless

reading https://opendev.org/starlingx/tools

it states

To generate centos-repo
The centos-repo is a set of symbolic links to the packages in the
mirror and the mock configuration file. It is needed to create these
links if this is the first build or the mirror has been updated.

generate-centos-repo.sh /import/mirrors/CentOS
Where the argument to the script is the path of the mirror.

To build all packages:
$ cd $MY_REPO
$ build-pkgs or build-pkgs --clean <pkglist>; build-pkgs <pkglist>
To generate local-repo:
The local-repo has the dependency information that sequences the build
order; To generate or update the information the following command
needs to be executed after building modified or new packages.

$ generate-local-repo.sh


however inside the container,

[dingo at 25d9abcf4450 starlingx]$ generate-local-repo.sh
ERROR: directory not found '/import/mirrors/CentOS/stx/CentOS'
[dingo at 25d9abcf4450 starlingx]$ generate-centos-repo.sh /import/mirrors/CentOS
mirror_dir=/import/mirrors/CentOS
config_dir=/localdisk/designer/dingo/starlingx/cgcs-root/../stx-tools/centos-mirror-tools/config
distro=centos
layer=all

layer_pkg_urls=

layer_image_inc_urls=

layer_wheels_inc_urls=

The mirror /import/mirrors/CentOS doesn't has the Binary and Source
folders. Please provide a valid mirror
[dingo at 25d9abcf4450 starlingx]$ $ build-iso
bash: $: command not found
[dingo at 25d9abcf4450 starlingx]$ build-iso
05:56:09
05:56:09 *************************
05:56:09 Create StarlingX/CentOS Boot CD
05:56:09 *************************
05:56:09
05:56:09 ERROR: create-yum-conf failed
[dingo at 25d9abcf4450 starlingx]$ generate-centos-repo.sh /import/mirrors/CentOS
mirror_dir=/import/mirrors/CentOS
config_dir=/localdisk/designer/dingo/starlingx/cgcs-root/../stx-tools/centos-mirror-tools/config
distro=centos
layer=all

layer_pkg_urls=

layer_image_inc_urls=

layer_wheels_inc_urls=

The mirror /import/mirrors/CentOS doesn't has the Binary and Source
folders. Please provide a valid mirror



More information about the Starlingx-discuss mailing list