Comment 7 for bug 1819941

Revision history for this message
Scott Little (slittle1) wrote :

The CENGN build does not delete stx-tools/centos-mirror-tools/output between build. This speeds builds by reusing rpms, tarballs and other files downloaded by prior builds. This works great for versioned files like rpms. It dos not work at all for non-versioned files like squashfs.img. 'download_mirrors.sh', via it's daughter script 'dl_other_from_centos_repo.sh', was happy to say 'Already downloaded' and left us with the 7.4 version of squashfs.img, rather than replace it with the 7.6 version.

Sort term work around will be to delete all the non-versioned files created by 'dl_other_from_centos_repo.sh' as found in the CENGN build directories.

A longer term solution will be to fix dl_other_from_centos_repo.sh. Possibilities are ...
1) checksum the file vs a checksum stored in a modified other_downloads.lst
2) Store the files in a versioned subdirectory. Perhaps add symlinks to bridge the gap from old non-versioned path to versioned path so that the rest of the build scripts can stay as is.