Bug 2744 - Need special DC branch for BTS release
: Need special DC branch for BTS release
Status: RESOLVED FIXED
Product: distro-constructor
dc-cli
: unspecified
: i86pc/i386 Solaris
: P2 blocker (vote)
: pre-2008.11
Assigned To: Dave Miner
:
:
:
:
:
: 2745
  Show dependency treegraph
 
Reported: 2008-08-01 11:27 UTC by Dave Miner
Modified: 2008-09-18 14:45 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Dave Miner 2008-08-01 11:27:57 UTC
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
Comment 1 Dave Miner 2008-08-01 11:34:34 UTC
.
Comment 2 Dave Miner 2008-08-05 14:04:24 UTC
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.
Comment 3 Dave Miner 2008-08-06 11:23:27 UTC
Fixed in changeset 102:45739ad95749 in caiman/distro_constructor_bts
repository.