Merge "Update paths in Layered Build Guide & Reference"
This commit is contained in:
commit
32c78efebc
@ -258,10 +258,10 @@ be much faster. ::
|
||||
cd /stx-tools/centos-mirror-tools
|
||||
download_mirror.sh -c ./yum.conf.sample -n -g
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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-iso
|
||||
@ -281,10 +281,10 @@ required), then it's just ... ::
|
||||
...
|
||||
download_mirror.sh
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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 --installer
|
||||
@ -305,10 +305,10 @@ required), then it's just ... ::
|
||||
...
|
||||
download_mirror.sh
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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 --installer
|
||||
@ -335,10 +335,10 @@ Set up an independent build environment for each layer.
|
||||
...
|
||||
download_mirror.sh
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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 --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
|
||||
download_mirror.sh
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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.
|
||||
|
||||
@ -423,13 +423,13 @@ with command line arguments.
|
||||
config.tmp/centos/flock/required_layer_iso_inc.cfg
|
||||
download_mirror.sh
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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
|
||||
``generate-cgcs-centos-repo.sh`` overriding the urls directly ::
|
||||
``generate-local-repo.sh`` overriding the urls directly ::
|
||||
|
||||
download_mirror.sh \\
|
||||
-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,dev,file:///localdisk/loadbuild/<my-project>-distro/std/image-dev.inc
|
||||
...
|
||||
ln -s /import/mirrors/CentOS/stx-r1/CentOS/downloads/ $MY_REPO/stx/
|
||||
populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/
|
||||
ln -s /import/mirrors/CentOS/stx/CentOS/downloads/ $MY_REPO/stx/
|
||||
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,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-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 \\
|
||||
/import/mirrors/CentOS/stx-r1/CentOS/
|
||||
/import/mirrors/CentOS/stx/CentOS/
|
||||
|
||||
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
|
||||
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"
|
||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
||||
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||
|
||||
Success
|
||||
|
||||
@ -152,19 +152,18 @@ downloading the packages for compiler layer:
|
||||
|
||||
/localdisk/designer/<user>/<project>/stx-tools/centos-mirror-tools/output
|
||||
.
|
||||
└── stx-r1
|
||||
└── stx
|
||||
└── CentOS
|
||||
└── pike
|
||||
├── Binary
|
||||
│ ├── noarch
|
||||
│ └── x86_64
|
||||
├── downloads
|
||||
│ └── puppet
|
||||
├── layer_build_info
|
||||
├── layer_image_inc
|
||||
├── layer_pkg_lists
|
||||
├── layer_wheels_inc
|
||||
└── Source
|
||||
├── Binary
|
||||
│ ├── noarch
|
||||
│ └── x86_64
|
||||
├── downloads
|
||||
│ └── puppet
|
||||
├── layer_build_info
|
||||
├── layer_image_inc
|
||||
├── layer_pkg_lists
|
||||
├── layer_wheels_inc
|
||||
└── Source
|
||||
|
||||
*******************************
|
||||
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
|
||||
@ -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
|
||||
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
|
||||
@ -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:
|
||||
|
||||
@ -327,9 +326,9 @@ Download packages
|
||||
sudo rm -rf /tmp/stx_mirror_UIQ675
|
||||
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"
|
||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
||||
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||
|
||||
Success
|
||||
|
||||
@ -361,34 +360,33 @@ downloading the packages for distro layer:
|
||||
|
||||
/localdisk/designer/<user>/distro/stx-tools/centos-mirror-tools/output
|
||||
.
|
||||
└── stx-r1
|
||||
└── stx
|
||||
└── CentOS
|
||||
└── pike
|
||||
├── Binary
|
||||
│ ├── EFI
|
||||
│ │ └── BOOT
|
||||
│ │ └── fonts
|
||||
│ ├── images
|
||||
│ │ └── pxeboot
|
||||
│ ├── isolinux
|
||||
│ ├── LiveOS
|
||||
│ ├── noarch
|
||||
│ └── x86_64
|
||||
├── downloads
|
||||
│ └── puppet
|
||||
│ └── packstack
|
||||
│ └── puppet
|
||||
│ └── modules
|
||||
├── layer_build_info
|
||||
├── layer_image_inc
|
||||
├── layer_pkg_lists
|
||||
├── layer_repos
|
||||
│ └── compiler
|
||||
│ └── std
|
||||
│ ├── repodata
|
||||
│ └── repodata.upstream
|
||||
├── layer_wheels_inc
|
||||
└── Source
|
||||
├── Binary
|
||||
│ ├── EFI
|
||||
│ │ └── BOOT
|
||||
│ │ └── fonts
|
||||
│ ├── images
|
||||
│ │ └── pxeboot
|
||||
│ ├── isolinux
|
||||
│ ├── LiveOS
|
||||
│ ├── noarch
|
||||
│ └── x86_64
|
||||
├── downloads
|
||||
│ └── puppet
|
||||
│ └── packstack
|
||||
│ └── puppet
|
||||
│ └── modules
|
||||
├── layer_build_info
|
||||
├── layer_image_inc
|
||||
├── layer_pkg_lists
|
||||
├── layer_repos
|
||||
│ └── compiler
|
||||
│ └── std
|
||||
│ ├── repodata
|
||||
│ └── repodata.upstream
|
||||
├── layer_wheels_inc
|
||||
└── Source
|
||||
|
||||
*******************************
|
||||
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
|
||||
@ -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
|
||||
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
|
||||
for a successful repo directory creation for the <user> stx:
|
||||
@ -460,46 +458,46 @@ Build packages
|
||||
Createing yum repodata.
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/EFI/BOOT/BOOTX64.EFI
|
||||
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/local-repo/Binary/EFI/BOOT/grub.cfg
|
||||
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/local-repo/Binary/images/efiboot.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/local-repo/Binary/images/pxeboot/vmlinuz
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/boot.msg
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/grub.conf
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/initrd.img
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/isolinux.bin
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/isolinux.cfg
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/memtest
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/splash.png
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/vesamenu.c32
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/isolinux/vmlinuz
|
||||
Creating symlink for /localdisk/designer/stx/distro/cgcs-root/local-repo/Binary/LiveOS/squashfs.img
|
||||
Creating folder EFI
|
||||
Creating folder EFI/BOOT
|
||||
Creating folder EFI/BOOT/fonts
|
||||
@ -614,9 +612,9 @@ Download packages
|
||||
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"
|
||||
- ./output/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
||||
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||
|
||||
***************
|
||||
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
|
||||
on them, the workable images 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-r1/CentOS/pike/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz
|
||||
- ./output/stx/CentOS/Binary/LiveOS/squashfs.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/initrd.img
|
||||
- ./output/stx/CentOS/Binary/images/pxeboot/vmlinuz
|
||||
|
||||
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
|
||||
|
||||
└── stx-r1
|
||||
└── stx
|
||||
└── CentOS
|
||||
└── pike
|
||||
├── Binary
|
||||
│ ├── EFI
|
||||
│ │ └── BOOT
|
||||
│ │ └── fonts
|
||||
│ ├── images
|
||||
│ │ └── pxeboot
|
||||
│ ├── isolinux
|
||||
│ ├── LiveOS
|
||||
│ ├── noarch
|
||||
│ └── x86_64
|
||||
├── downloads
|
||||
│ └── puppet
|
||||
├── layer_build_info
|
||||
├── layer_image_inc
|
||||
├── layer_pkg_lists
|
||||
├── layer_repos
|
||||
│ ├── compiler
|
||||
│ │ └── std
|
||||
│ │ ├── repodata
|
||||
│ │ └── repodata.upstream
|
||||
│ └── distro
|
||||
│ ├── installer
|
||||
│ │ ├── repodata
|
||||
│ │ └── repodata.upstream
|
||||
│ ├── rt
|
||||
│ │ ├── repodata
|
||||
│ │ └── repodata.upstream
|
||||
│ └── std
|
||||
│ ├── repodata
|
||||
│ └── repodata.upstream
|
||||
├── layer_wheels_inc
|
||||
└── Source
|
||||
├── Binary
|
||||
│ ├── EFI
|
||||
│ │ └── BOOT
|
||||
│ │ └── fonts
|
||||
│ ├── images
|
||||
│ │ └── pxeboot
|
||||
│ ├── isolinux
|
||||
│ ├── LiveOS
|
||||
│ ├── noarch
|
||||
│ └── x86_64
|
||||
├── downloads
|
||||
│ └── puppet
|
||||
├── layer_build_info
|
||||
├── layer_image_inc
|
||||
├── layer_pkg_lists
|
||||
├── layer_repos
|
||||
│ ├── compiler
|
||||
│ │ └── std
|
||||
│ │ ├── repodata
|
||||
│ │ └── repodata.upstream
|
||||
│ └── distro
|
||||
│ ├── installer
|
||||
│ │ ├── repodata
|
||||
│ │ └── repodata.upstream
|
||||
│ ├── rt
|
||||
│ │ ├── repodata
|
||||
│ │ └── repodata.upstream
|
||||
│ └── std
|
||||
│ ├── repodata
|
||||
│ └── repodata.upstream
|
||||
├── layer_wheels_inc
|
||||
└── 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
|
||||
@ -730,23 +727,23 @@ Create a tarball repository
|
||||
#. 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
|
||||
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:
|
||||
|
||||
::
|
||||
|
||||
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-r1/CentOS/pike/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/images/pxeboot/initrd.img $HOME/starlingx/mirror/CentOS/stx-installer/initrd.img
|
||||
cp $HOME/starlingx/mirror/CentOS/stx/CentOS/Binary/images/pxeboot/vmlinuz $HOME/starlingx/mirror/CentOS/stx-installer/vmlinuz
|
||||
cp $HOME/starlingx/mirror/CentOS/stx/CentOS/Binary/LiveOS/squashfs.img $HOME/starlingx/mirror/CentOS/stx-installer/squashfs.img
|
||||
|
||||
**************
|
||||
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:
|
||||
|
||||
@ -779,46 +776,46 @@ Build packages
|
||||
Createing yum repodata.
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
Directory walk started
|
||||
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
|
||||
Pool started (with 5 workers)
|
||||
Pool finished
|
||||
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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/cgcs-centos-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/EFI/BOOT/BOOTX64.EFI
|
||||
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/local-repo/Binary/EFI/BOOT/grub.cfg
|
||||
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/local-repo/Binary/images/efiboot.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/local-repo/Binary/images/pxeboot/vmlinuz
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/boot.msg
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/grub.conf
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/initrd.img
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/isolinux.bin
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/isolinux.cfg
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/memtest
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/splash.png
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/vesamenu.c32
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/isolinux/vmlinuz
|
||||
Creating symlink for /localdisk/designer/stx/flock/cgcs-root/local-repo/Binary/LiveOS/squashfs.img
|
||||
Creating folder EFI
|
||||
Creating folder EFI/BOOT
|
||||
Creating folder EFI/BOOT/fonts
|
||||
|
Loading…
Reference in New Issue
Block a user