How to add a product that is in a depot to an existing bundle

Hi,

Just a simple problem I run in today:

I have:

swlist -s s:/var/opt/ignite/depot/Rel_B.11.23/freeware
# Initializing...
# Contacting target "s"...
#
# Target: s:/var/opt/ignite/depot/Rel_B.11.23/freeware
#

#
# Bundle(s):
#

FREEWARE A.1.0 Coleccisn de Software libre para HP-UX 11.23
internet A.11.00-010 HP-UX Internet Express
#
# Product(s) not contained in a Bundle:
#

tusc 7.10 tusc

And you want to add the tusc product to the FREEWARE bundle.

Because you can't add products to and exisiting bundle, You can do the following:

Create a new version of the bundle adding tusc to it:
#make_bundles -B -n FREEWARE -r A.2.0 -t "Coleccisn de Software libre para HP-UX 11.23" /var/opt/ignite/depot/Rel_B.11.23/freeware

swlist -s s:/var/opt/ignite/depot/Rel_B.11.23/freeware FREEWARE | grep tusc
FREEWARE.tusc 7.10 tusc

And then swremove the old A.1.0 bundle version:
#swremove @ /var/opt/ignite/depot/Rel_B.11.23/freeware FREEWARE,r=A.1.0

Done.