Operating System - HP-UX
1837779 Members
3942 Online
110119 Solutions
New Discussion

How to Change the Bundle name within an existing Depot

 
Alzhy
Honored Contributor

How to Change the Bundle name within an existing Depot

I have received a custom patch depot from HP and it contains a Bundle named:

# Bundle(s):
#

CPB_31224 2004.08.03 August 2004

Is it possible to change this?

I usually use the "create_depot_hp-ux_11" script with whatever I download from ITRC Patch Assessment to create and name my depot bundle.

Also, is it possible to copy individual patches from this bundle to a new depot so the bundle name is not carried over?
Hakuna Matata.
6 REPLIES 6
Dave Olker
Neighborhood Moderator

Re: How to Change the Bundle name within an existing Depot

I don't know of a way to change the name of an existing bundle, but I believe the swcopy command can copy individual components from one bundle into a new bundle. When run in interactive mode, swcopy prompts for the source depot and a target depot and allows you to select components to copy between them.

Good luck,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
john kingsley
Honored Contributor

Re: How to Change the Bundle name within an existing Depot

swcopy -i -d
Will run a gui that allows you to specify source and target depots. Then allows you to mark the individual patches to copy. However, I think it will still be associated with the bundle name.
Dave Olker
Neighborhood Moderator

Re: How to Change the Bundle name within an existing Depot

Actually, it looks like the swmodify command can be used with the -a option to change the attributes of an existing depot. It appears the attribute associated with the name of the depot is called "title" so you could use swmodify -a title="new name" for the bundle and potentially rename it.

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Alzhy
Honored Contributor

Re: How to Change the Bundle name within an existing Depot

Thanks so far.

That's what I've been trying to do actually but it still brings over the current bundle name.
Hakuna Matata.
Dave Olker
Neighborhood Moderator

Re: How to Change the Bundle name within an existing Depot

Have you tried the swmodify command? The man page contains the following example:

Modify the attributes of a depot:

swmodify -a title='Manufacturing's master depot' \
-a description=

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ermin Borovac
Honored Contributor

Re: How to Change the Bundle name within an existing Depot

I think you can delete the bundle container only and create a new one using make_bundles command.

/* Note the dot after bundle name */
# swremove -d . @
# make_bundles -B -n -c -r -t