Re: SWA - getting patches (134 Views)
Reply
Occasional Advisor
harshman1958
Posts: 22
Registered: ‎03-04-2014
Message 1 of 6 (185 Views)
Accepted Solution

SWA - getting patches

I'm trying to use SWA to "get" patch bundles.  I have an issue that it is trying to put it in my "Hom" directory which is not big enough for the download.  Is there a way i can re-direct to a different directory?  I am running HPUX 11.31 on blade servers. 

 

Thanks

 

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,752
Registered: ‎06-21-2000
Message 2 of 6 (177 Views)

Re: SWA - getting patches

Add the directory you want to download to via the '-x swcache=<dirname>' to your 'swa get' command.

 

For example:

 

# swa get -x swcache=/some/large/dir

Please use plain text.
Occasional Advisor
harshman1958
Posts: 22
Registered: ‎03-04-2014
Message 3 of 6 (166 Views)

Re: SWA - getting patches

Thanks,  I did this and it still tells me i need to increase space in my /home dir.    any other ideas?

Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,205
Registered: ‎05-29-2000
Message 4 of 6 (159 Views)

Re: SWA - getting patches

Not sure what else it is looking for, so do this:

cd /var/tmp
mkdir SWAfiles
HOME=/var/tmp/SWAfiles swa ...options for swa...

 Note: put the HOME= text on the same line. It will tell swa where $HOME is located but only while swa is running.

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,752
Registered: ‎06-21-2000
Message 5 of 6 (153 Views)

Re: SWA - getting patches

You may have to add the '-t' switch to tell swa where to put the depot when it tries to create your patch depot.

 

For example:

 

# swa get -t /some/large/dir/mydepot -x swcache=/some/large/dir/swcache

Please use plain text.
Occasional Advisor
harshman1958
Posts: 22
Registered: ‎03-04-2014
Message 6 of 6 (134 Views)

Re: SWA - getting patches

i was able to get it to work finally.  Another related question.  I tried to download my SEC patches, using the same option, and it downloaded the SEC stuff under my .SWA directory.  Any thoughts?  thanks for the help.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation