SWA - getting patches (331 Views)
Reply
Occasional Advisor
Posts: 24
Registered: ‎03-04-2014
Message 1 of 6 (331 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

 

Honored Contributor
Posts: 13,812
Registered: ‎06-21-2000
Message 2 of 6 (323 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

Occasional Advisor
Posts: 24
Registered: ‎03-04-2014
Message 3 of 6 (312 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?

Honored Contributor
Posts: 14,285
Registered: ‎05-29-2000
Message 4 of 6 (305 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.

Honored Contributor
Posts: 13,812
Registered: ‎06-21-2000
Message 5 of 6 (299 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

Occasional Advisor
Posts: 24
Registered: ‎03-04-2014
Message 6 of 6 (280 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.

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.