1833863 Members
2269 Online
110063 Solutions
New Discussion

swcopy and patch bundles

 
Paul Stock
New Member

swcopy and patch bundles

I'm attempting to roll up a number of patches using the following type of command:

swcopy -s /tmp/snp1.depot ServiceNode @ /tmp/temp_depot
swcopy -s /tmp/snp2.depot ServiceNode @ /tmp/temp_depot

and so on.

The difficulty arises when trying to install the roll up as the product tag is the same in all patches. This means that swinstall will only install one software selection when I try this:

swinstall -r -s /tmp/temp_depot ServiceNode @ /tmp/test_install

Is there anyway to force swinstall to install everything? I've already tried expanding the software selection to the version level, swinstall tells me it's not going to install as they're the same thing - even when they're not.

Is there a different approach I should be taking for this?

Thanks,

Paul
4 REPLIES 4
Andi Rigauer
Regular Advisor

Re: swcopy and patch bundles

Hi,

perhaps it's a stupid question, but have you already tried the swcopy gui?
I think you have to copy all patches into on swdepot and if you choose in the swinstall gui
the depot it will install all patches.

regards
Andi
god, root where's the difference
Steven Gillard_2
Honored Contributor

Re: swcopy and patch bundles

I take it that swinstall is failing because it thinks the product is already installed.

You could use the -x reinstall=true option to force the installation, but that will result in your IPD only having one entry for the product when multiple revisions exist.

The depots that you're using really should be recreated correctly.

Regards,
Steve
Mateja Bezjak
Respected Contributor

Re: swcopy and patch bundles

Hi Paul,

Try \* insetad of using product name:

swinstall -r -s /tmp/temp_depot \* @ /tmp/test_install

Regards,
Mateja
Paul Stock
New Member

Re: swcopy and patch bundles

Thanks for all your help guys.

Steven, yes it's failing because the product tag is the same. In order to do what I want to do I'll need to change the product tag to be unique for each package.