Update paths in Layered Build Guide & Reference
Changed mirror paths in the layered build guide and layered build reference to remove hard-coded references to stx-r1, pike, and cgcs-centos. Added review comments. These edits are a follow-on to Build Guide review: 757932 Closes-Bug: 1883760 Change-Id: I898e3bf387fb28a5c2e9f76713cf50fa19ce8fe6 Signed-off-by: MCamp859 <maryx.camp@intel.com>
This commit is contained in:
parent
ebdf63ec68
commit
76b43204ee
@ -258,10 +258,10 @@ be much faster. ::
|
|||||||
cd /stx-tools/centos-mirror-tools
|
cd /stx-tools/centos-mirror-tools
|
||||||
download_mirror.sh -c ./yum.conf.sample -n -g
|
download_mirror.sh -c ./yum.conf.sample -n -g
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
generate-local-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
build-pkgs
|
build-pkgs
|
||||||
build-iso
|
build-iso
|
||||||
@ -281,10 +281,10 @@ required), then it's just ... ::
|
|||||||
...
|
...
|
||||||
download_mirror.sh
|
download_mirror.sh
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
generate-local-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
build-pkgs
|
build-pkgs
|
||||||
build-pkgs --installer
|
build-pkgs --installer
|
||||||
@ -305,10 +305,10 @@ required), then it's just ... ::
|
|||||||
...
|
...
|
||||||
download_mirror.sh
|
download_mirror.sh
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
generate-local-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
build-pkgs
|
build-pkgs
|
||||||
build-pkgs --installer
|
build-pkgs --installer
|
||||||
@ -335,10 +335,10 @@ Set up an independent build environment for each layer.
|
|||||||
...
|
...
|
||||||
download_mirror.sh
|
download_mirror.sh
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
generate-local-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
build-pkgs
|
build-pkgs
|
||||||
build-pkgs --installer
|
build-pkgs --installer
|
||||||
@ -399,10 +399,10 @@ Using option 'b' (see below) would be safer.
|
|||||||
stx-tools/centos-mirror-tools/config/centos/flock/required_layer_iso_inc.cfg
|
stx-tools/centos-mirror-tools/config/centos/flock/required_layer_iso_inc.cfg
|
||||||
download_mirror.sh
|
download_mirror.sh
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
generate-local-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
Option b) Use an alternative config directory.
|
Option b) Use an alternative config directory.
|
||||||
|
|
||||||
@ -423,13 +423,13 @@ with command line arguments.
|
|||||||
config.tmp/centos/flock/required_layer_iso_inc.cfg
|
config.tmp/centos/flock/required_layer_iso_inc.cfg
|
||||||
download_mirror.sh
|
download_mirror.sh
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
generate-local-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
Option c) supply command line arguments to ``populate_downloads.sh`` and
|
Option c) supply command line arguments to ``populate_downloads.sh`` and
|
||||||
``generate-cgcs-centos-repo.sh`` overriding the urls directly ::
|
``generate-local-repo.sh`` overriding the urls directly ::
|
||||||
|
|
||||||
download_mirror.sh \\
|
download_mirror.sh \\
|
||||||
-L distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/rpmbuild/RPMS/rpm.lst \\
|
-L distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/rpmbuild/RPMS/rpm.lst \\
|
||||||
@ -438,16 +438,16 @@ Option c) supply command line arguments to ``populate_downloads.sh`` and
|
|||||||
-I distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/image.inc \\
|
-I distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/image.inc \\
|
||||||
-I distro,dev,file:///localdisk/loadbuild/<my-project>-distro/std/image-dev.inc
|
-I distro,dev,file:///localdisk/loadbuild/<my-project>-distro/std/image-dev.inc
|
||||||
...
|
...
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
...
|
...
|
||||||
generate-cgcs-centos-repo.sh \\
|
generate-local-repo.sh \\
|
||||||
--layer-pkg-url=distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/rpmbuild/RPMS/rpm.lst \\
|
--layer-pkg-url=distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/rpmbuild/RPMS/rpm.lst \\
|
||||||
--layer-pkg-url=distro,rt,file:///localdisk/loadbuild/<my-project>-distro/rt/rpmbuild/RPMS/rpm.lst \\
|
--layer-pkg-url=distro,rt,file:///localdisk/loadbuild/<my-project>-distro/rt/rpmbuild/RPMS/rpm.lst \\
|
||||||
--layer-pkg-url=distro,installer,file:///localdisk/loadbuild/<my-project>-distro/installer/rpmbuild/RPMS/rpm.lst \\
|
--layer-pkg-url=distro,installer,file:///localdisk/loadbuild/<my-project>-distro/installer/rpmbuild/RPMS/rpm.lst \\
|
||||||
--layer-inc-url=distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/image.inc \\
|
--layer-inc-url=distro,std,file:///localdisk/loadbuild/<my-project>-distro/std/image.inc \\
|
||||||
--layer-inc-url=distro,dev,file:///localdisk/loadbuild/<my-project>-distro/std/image-dev.inc \\
|
--layer-inc-url=distro,dev,file:///localdisk/loadbuild/<my-project>-distro/std/image-dev.inc \\
|
||||||
/import/mirrors/CentOS/stx-r1/CentOS/
|
/import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
Now resume building, but this time we'll roll our own installer ::
|
Now resume building, but this time we'll roll our own installer ::
|
||||||
|
|
||||||
|
@ -118,9 +118,9 @@ Download packages
|
|||||||
sudo rm -rf /tmp/stx_mirror_4d2URF
|
sudo rm -rf /tmp/stx_mirror_4d2URF
|
||||||
IMPORTANT: The following 3 files are just bootstrap versions. Based on them, the workable images
|
IMPORTANT: The following 3 files are just bootstrap versions. Based on them, the workable images
|
||||||
for StarlingX could be generated by running "update-pxe-network-installer" command after "build-iso"
|
for StarlingX could be generated by running "update-pxe-network-installer" command after "build-iso"
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||||
|
|
||||||
Success
|
Success
|
||||||
|
|
||||||
@ -152,19 +152,18 @@ downloading the packages for compiler layer:
|
|||||||
|
|
||||||
/localdisk/designer/<user>/<project>/stx-tools/centos-mirror-tools/output
|
/localdisk/designer/<user>/<project>/stx-tools/centos-mirror-tools/output
|
||||||
.
|
.
|
||||||
└── stx-r1
|
└── stx
|
||||||
└── CentOS
|
└── CentOS
|
||||||
└── pike
|
├── Binary
|
||||||
├── Binary
|
│ ├── noarch
|
||||||
│ ├── noarch
|
│ └── x86_64
|
||||||
│ └── x86_64
|
├── downloads
|
||||||
├── downloads
|
│ └── puppet
|
||||||
│ └── puppet
|
├── layer_build_info
|
||||||
├── layer_build_info
|
├── layer_image_inc
|
||||||
├── layer_image_inc
|
├── layer_pkg_lists
|
||||||
├── layer_pkg_lists
|
├── layer_wheels_inc
|
||||||
├── layer_wheels_inc
|
└── Source
|
||||||
└── Source
|
|
||||||
|
|
||||||
*******************************
|
*******************************
|
||||||
Copy CentOS mirror repository
|
Copy CentOS mirror repository
|
||||||
@ -183,7 +182,7 @@ Exit from the building Docker container. Run the following commands:
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
cp -r $HOME/starlingx/workspace/localdisk/designer/<user>/compiler/stx-tools/centos-mirror-tools/output/stx-r1 .
|
cp -r $HOME/starlingx/workspace/localdisk/designer/<user>/compiler/stx-tools/centos-mirror-tools/output/stx .
|
||||||
|
|
||||||
***************************
|
***************************
|
||||||
Create a tarball repository
|
Create a tarball repository
|
||||||
@ -200,14 +199,14 @@ Create a tarball repository
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/pike/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
|
|
||||||
Alternatively, you can run the "populate_downloads.sh" script to copy the
|
Alternatively, you can run the "populate_downloads.sh" script to copy the
|
||||||
tarballs instead of using a symlink:
|
tarballs instead of using a symlink:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
bash populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/
|
bash populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
**************
|
**************
|
||||||
Build packages
|
Build packages
|
||||||
@ -223,7 +222,7 @@ Build packages
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
bash generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/
|
bash generate-centos-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
#. Build the packages:
|
#. Build the packages:
|
||||||
|
|
||||||
@ -327,9 +326,9 @@ Download packages
|
|||||||
sudo rm -rf /tmp/stx_mirror_UIQ675
|
sudo rm -rf /tmp/stx_mirror_UIQ675
|
||||||
IMPORTANT: The following 3 files are just bootstrap versions. Based on them, the workable images
|
IMPORTANT: The following 3 files are just bootstrap versions. Based on them, the workable images
|
||||||
for StarlingX could be generated by running "update-pxe-network-installer" command after "build-iso"
|
for StarlingX could be generated by running "update-pxe-network-installer" command after "build-iso"
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||||
|
|
||||||
Success
|
Success
|
||||||
|
|
||||||
@ -361,34 +360,33 @@ downloading the packages for distro layer:
|
|||||||
|
|
||||||
/localdisk/designer/<user>/distro/stx-tools/centos-mirror-tools/output
|
/localdisk/designer/<user>/distro/stx-tools/centos-mirror-tools/output
|
||||||
.
|
.
|
||||||
└── stx-r1
|
└── stx
|
||||||
└── CentOS
|
└── CentOS
|
||||||
└── pike
|
├── Binary
|
||||||
├── Binary
|
│ ├── EFI
|
||||||
│ ├── EFI
|
│ │ └── BOOT
|
||||||
│ │ └── BOOT
|
│ │ └── fonts
|
||||||
│ │ └── fonts
|
│ ├── images
|
||||||
│ ├── images
|
│ │ └── pxeboot
|
||||||
│ │ └── pxeboot
|
│ ├── isolinux
|
||||||
│ ├── isolinux
|
│ ├── LiveOS
|
||||||
│ ├── LiveOS
|
│ ├── noarch
|
||||||
│ ├── noarch
|
│ └── x86_64
|
||||||
│ └── x86_64
|
├── downloads
|
||||||
├── downloads
|
│ └── puppet
|
||||||
│ └── puppet
|
│ └── packstack
|
||||||
│ └── packstack
|
│ └── puppet
|
||||||
│ └── puppet
|
│ └── modules
|
||||||
│ └── modules
|
├── layer_build_info
|
||||||
├── layer_build_info
|
├── layer_image_inc
|
||||||
├── layer_image_inc
|
├── layer_pkg_lists
|
||||||
├── layer_pkg_lists
|
├── layer_repos
|
||||||
├── layer_repos
|
│ └── compiler
|
||||||
│ └── compiler
|
│ └── std
|
||||||
│ └── std
|
│ ├── repodata
|
||||||
│ ├── repodata
|
│ └── repodata.upstream
|
||||||
│ └── repodata.upstream
|
├── layer_wheels_inc
|
||||||
├── layer_wheels_inc
|
└── Source
|
||||||
└── Source
|
|
||||||
|
|
||||||
*******************************
|
*******************************
|
||||||
Copy CentOS mirror repository
|
Copy CentOS mirror repository
|
||||||
@ -407,7 +405,7 @@ Exit from the building Docker container. Run the following commands:
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
cp -r $HOME/starlingx/workspace/localdisk/designer/<user>/distro/stx-tools/centos-mirror-tools/output/stx-r1 .
|
cp -r $HOME/starlingx/workspace/localdisk/designer/<user>/distro/stx-tools/centos-mirror-tools/output/stx .
|
||||||
|
|
||||||
***************************
|
***************************
|
||||||
Create a tarball repository
|
Create a tarball repository
|
||||||
@ -424,7 +422,7 @@ Create a tarball repository
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/pike/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
|
|
||||||
Alternatively, you can run the "populate_downloads.sh" script to copy the
|
Alternatively, you can run the "populate_downloads.sh" script to copy the
|
||||||
tarballs instead of using a symlink:
|
tarballs instead of using a symlink:
|
||||||
@ -432,7 +430,7 @@ Create a tarball repository
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
|
|
||||||
**************
|
**************
|
||||||
@ -449,7 +447,7 @@ Build packages
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
bash generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/
|
bash generate-centos-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
This step creates the repo directory, following is the output on the console
|
This step creates the repo directory, following is the output on the console
|
||||||
for a successful repo directory creation for the <user> stx:
|
for a successful repo directory creation for the <user> stx:
|
||||||
@ -460,46 +458,46 @@ Build packages
|
|||||||
Createing yum repodata.
|
Createing yum repodata.
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 51 packages
|
Directory walk done - 51 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Source/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/local-repo/Source/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 0 packages
|
Directory walk done - 0 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/rt/Source/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/local-repo/rt/Source/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 1450 packages
|
Directory walk done - 1450 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 0 packages
|
Directory walk done - 0 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/rt/Binary/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/distro/cgcs-root/local-repo/rt/Binary/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Copying mock.cfg.proto file.
|
Copying mock.cfg.proto file.
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/BOOTX64.EFI
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/EFI/BOOT/BOOTX64.EFI
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/fonts/unicode.pf2
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/EFI/BOOT/fonts/unicode.pf2
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/grub.cfg
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/EFI/BOOT/grub.cfg
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/grubx64.efi
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/EFI/BOOT/grubx64.efi
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/images/efiboot.img
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/images/efiboot.img
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/images/pxeboot/initrd.img
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/images/pxeboot/initrd.img
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/images/pxeboot/vmlinuz
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/images/pxeboot/vmlinuz
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/boot.msg
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/boot.msg
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/grub.conf
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/grub.conf
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/initrd.img
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/initrd.img
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/isolinux.bin
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/isolinux.bin
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/isolinux.cfg
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/isolinux.cfg
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/memtest
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/memtest
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/splash.png
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/splash.png
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/vesamenu.c32
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/vesamenu.c32
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/isolinux/vmlinuz
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/vmlinuz
|
||||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/cgcs-centos-repo/Binary/LiveOS/squashfs.img
|
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/LiveOS/squashfs.img
|
||||||
Creating folder EFI
|
Creating folder EFI
|
||||||
Creating folder EFI/BOOT
|
Creating folder EFI/BOOT
|
||||||
Creating folder EFI/BOOT/fonts
|
Creating folder EFI/BOOT/fonts
|
||||||
@ -614,9 +612,9 @@ Download packages
|
|||||||
IMPORTANT: The following 3 files are just bootstrap versions. Based
|
IMPORTANT: The following 3 files are just bootstrap versions. Based
|
||||||
on them, the workable images for StarlingX could be generated by
|
on them, the workable images for StarlingX could be generated by
|
||||||
running "update-pxe-network-installer" command after "build-iso"
|
running "update-pxe-network-installer" command after "build-iso"
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||||
|
|
||||||
***************
|
***************
|
||||||
Verify packages
|
Verify packages
|
||||||
@ -629,9 +627,9 @@ When the download is not successful, the following message appears:
|
|||||||
IMPORTANT: The following 3 files are just bootstrap versions. Based
|
IMPORTANT: The following 3 files are just bootstrap versions. Based
|
||||||
on them, the workable images for StarlingX could be generated by
|
on them, the workable images for StarlingX could be generated by
|
||||||
running "update-pxe-network-installer" command after "build-iso"
|
running "update-pxe-network-installer" command after "build-iso"
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||||
|
|
||||||
Warning: Not all download steps succeeded. You are likely missing files.
|
Warning: Not all download steps succeeded. You are likely missing files.
|
||||||
|
|
||||||
@ -660,41 +658,40 @@ downloading the packages for flock layer:
|
|||||||
|
|
||||||
/localdisk/designer/<user>/flock/stx-tools/centos-mirror-tools/output
|
/localdisk/designer/<user>/flock/stx-tools/centos-mirror-tools/output
|
||||||
|
|
||||||
└── stx-r1
|
└── stx
|
||||||
└── CentOS
|
└── CentOS
|
||||||
└── pike
|
├── Binary
|
||||||
├── Binary
|
│ ├── EFI
|
||||||
│ ├── EFI
|
│ │ └── BOOT
|
||||||
│ │ └── BOOT
|
│ │ └── fonts
|
||||||
│ │ └── fonts
|
│ ├── images
|
||||||
│ ├── images
|
│ │ └── pxeboot
|
||||||
│ │ └── pxeboot
|
│ ├── isolinux
|
||||||
│ ├── isolinux
|
│ ├── LiveOS
|
||||||
│ ├── LiveOS
|
│ ├── noarch
|
||||||
│ ├── noarch
|
│ └── x86_64
|
||||||
│ └── x86_64
|
├── downloads
|
||||||
├── downloads
|
│ └── puppet
|
||||||
│ └── puppet
|
├── layer_build_info
|
||||||
├── layer_build_info
|
├── layer_image_inc
|
||||||
├── layer_image_inc
|
├── layer_pkg_lists
|
||||||
├── layer_pkg_lists
|
├── layer_repos
|
||||||
├── layer_repos
|
│ ├── compiler
|
||||||
│ ├── compiler
|
│ │ └── std
|
||||||
│ │ └── std
|
│ │ ├── repodata
|
||||||
│ │ ├── repodata
|
│ │ └── repodata.upstream
|
||||||
│ │ └── repodata.upstream
|
│ └── distro
|
||||||
│ └── distro
|
│ ├── installer
|
||||||
│ ├── installer
|
│ │ ├── repodata
|
||||||
│ │ ├── repodata
|
│ │ └── repodata.upstream
|
||||||
│ │ └── repodata.upstream
|
│ ├── rt
|
||||||
│ ├── rt
|
│ │ ├── repodata
|
||||||
│ │ ├── repodata
|
│ │ └── repodata.upstream
|
||||||
│ │ └── repodata.upstream
|
│ └── std
|
||||||
│ └── std
|
│ ├── repodata
|
||||||
│ ├── repodata
|
│ └── repodata.upstream
|
||||||
│ └── repodata.upstream
|
├── layer_wheels_inc
|
||||||
├── layer_wheels_inc
|
└── Source
|
||||||
└── Source
|
|
||||||
|
|
||||||
|
|
||||||
*******************************
|
*******************************
|
||||||
@ -714,7 +711,7 @@ Exit from the building Docker container. Run the following commands:
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
cp -r $HOME/starlingx/workspace/localdisk/designer/<user>/flock/stx-tools/centos-mirror-tools/output/stx-r1 .
|
cp -r $HOME/starlingx/workspace/localdisk/designer/<user>/flock/stx-tools/centos-mirror-tools/output/stx .
|
||||||
|
|
||||||
***************************
|
***************************
|
||||||
Create a tarball repository
|
Create a tarball repository
|
||||||
@ -730,23 +727,23 @@ Create a tarball repository
|
|||||||
#. Copy downloaded CentOS tarballs into StarlingX repo
|
#. Copy downloaded CentOS tarballs into StarlingX repo
|
||||||
::
|
::
|
||||||
|
|
||||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/pike/downloads/ $MY_REPO/stx/
|
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||||
|
|
||||||
Alternatively, you can run the "populate_downloads.sh" script to copy the
|
Alternatively, you can run the "populate_downloads.sh" script to copy the
|
||||||
tarballs instead of using a symlink:
|
tarballs instead of using a symlink:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/
|
populate_downloads.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
#. Exit from the container. On the host machine, create mirror binaries:
|
#. Exit from the container. On the host machine, create mirror binaries:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
mkdir -p $HOME/starlingx/mirror/CentOS/stx-installer
|
mkdir -p $HOME/starlingx/mirror/CentOS/stx-installer
|
||||||
cp $HOME/starlingx/mirror/CentOS/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img $HOME/starlingx/mirror/CentOS/stx-installer/initrd.img
|
cp $HOME/starlingx/mirror/CentOS/stx/CentOS/Binary/images/pxeboot/initrd.img $HOME/starlingx/mirror/CentOS/stx-installer/initrd.img
|
||||||
cp $HOME/starlingx/mirror/CentOS/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz $HOME/starlingx/mirror/CentOS/stx-installer/vmlinuz
|
cp $HOME/starlingx/mirror/CentOS/stx/CentOS/Binary/images/pxeboot/vmlinuz $HOME/starlingx/mirror/CentOS/stx-installer/vmlinuz
|
||||||
cp $HOME/starlingx/mirror/CentOS/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img $HOME/starlingx/mirror/CentOS/stx-installer/squashfs.img
|
cp $HOME/starlingx/mirror/CentOS/stx/CentOS/Binary/LiveOS/squashfs.img $HOME/starlingx/mirror/CentOS/stx-installer/squashfs.img
|
||||||
|
|
||||||
**************
|
**************
|
||||||
Build packages
|
Build packages
|
||||||
@ -769,7 +766,7 @@ Build packages
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
bash generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/
|
bash generate-centos-repo.sh /import/mirrors/CentOS/stx/CentOS/
|
||||||
|
|
||||||
Following is the output:
|
Following is the output:
|
||||||
|
|
||||||
@ -779,46 +776,46 @@ Build packages
|
|||||||
Createing yum repodata.
|
Createing yum repodata.
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 1 packages
|
Directory walk done - 1 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Source/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/local-repo/Source/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 0 packages
|
Directory walk done - 0 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/rt/Source/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/local-repo/rt/Source/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 1892 packages
|
Directory walk done - 1892 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Directory walk started
|
Directory walk started
|
||||||
Directory walk done - 40 packages
|
Directory walk done - 40 packages
|
||||||
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/rt/Binary/.repodata/
|
Temporary output repo path: /localdisk/designer/stx/flock/cgcs-root/local-repo/rt/Binary/.repodata/
|
||||||
Preparing sqlite DBs
|
Preparing sqlite DBs
|
||||||
Pool started (with 5 workers)
|
Pool started (with 5 workers)
|
||||||
Pool finished
|
Pool finished
|
||||||
Copying mock.cfg.proto file.
|
Copying mock.cfg.proto file.
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/BOOTX64.EFI
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/EFI/BOOT/BOOTX64.EFI
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/fonts/unicode.pf2
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/EFI/BOOT/fonts/unicode.pf2
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/grub.cfg
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/EFI/BOOT/grub.cfg
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/EFI/BOOT/grubx64.efi
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/EFI/BOOT/grubx64.efi
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/images/efiboot.img
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/images/efiboot.img
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/images/pxeboot/initrd.img
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/images/pxeboot/initrd.img
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/images/pxeboot/vmlinuz
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/images/pxeboot/vmlinuz
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/boot.msg
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/boot.msg
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/grub.conf
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/grub.conf
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/initrd.img
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/initrd.img
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/isolinux.bin
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/isolinux.bin
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/isolinux.cfg
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/isolinux.cfg
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/memtest
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/memtest
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/splash.png
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/splash.png
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/vesamenu.c32
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/vesamenu.c32
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/isolinux/vmlinuz
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/vmlinuz
|
||||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/cgcs-centos-repo/Binary/LiveOS/squashfs.img
|
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/LiveOS/squashfs.img
|
||||||
Creating folder EFI
|
Creating folder EFI
|
||||||
Creating folder EFI/BOOT
|
Creating folder EFI/BOOT
|
||||||
Creating folder EFI/BOOT/fonts
|
Creating folder EFI/BOOT/fonts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user