Bugzilla – Bug 2744
Need special DC branch for BTS release
Last modified: 2008-09-18 14:45:03 UTC
You need to log in before you can comment on or make changes to this bug.
In order to produce the August 2008 back-to-school kit, which republishes build 86 with updated SUNWipkg, SUNWinstall-libs, and GNOME desktop package(s), we need a special branch of the distro constructor prototype code. Known modifications are: - Workaround for issue in bug 2716. The fix being pursued there requires installer changes; we're trying not to re-deliver the installer for BTS. The following modification appears to work around this problem satisfactorily, because a good copy of the links which are being corrupted by mkisofs is already present in the CD's root archive: diff -r d58e4214d6c6 src/build_dist.lib --- a/src/build_dist.lib Wed Jul 30 11:20:13 2008 -0700 +++ b/src/build_dist.lib Fri Aug 01 14:12:17 2008 -0400 @@ -513,6 +513,10 @@ # sbin, kernel and lib are all in the root archive (cd $PROTO; rm -rf sbin kernel lib) + # remove pkg state from proto area since it's already in root + # and mkisofs will corrupt it + (cd $PROTO; rm -rf var/pkg/state) + # platform only needs to contain the kernel (cd $PROTO/platform; find . -type f -a ! -name unix | xargs rm -f) - Modify the DC prototype code to install a specific version from the repository rather than the latest. Need to modify pkg_retrieve.lib and pkgs.txt to reference specific versions: SUNWcs@0.5.11-0.86 SUNWcsd@0.5.11-0.86 SUNWslim-utils@0.5.11-0.86 entire@0.5.11-0.86 slim_cd@0.5.11-0.86 slim_install@0.1-0.86
.
This entails some modifications to the config file and pkg_retrieve.lib in order to support a specific version of packages being expressed, rather than just the latest. Also, must incorporate the changes to clean out the package content cache after installation. build_dist.lib is modified as shown in previous comment.
Fixed in changeset 102:45739ad95749 in caiman/distro_constructor_bts repository.