Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create a software boundle?

How do I create a software boundle?

Hi,

I have created a PSF file, and runned the swpackage command to create the depault

swpackage -s package.psf -x swpackage.distribution_target_directory=/package

But when I run the swinstall, I noticed that this is a depault, not a software boundle.

So my question is, how do I make a software boundle?
Should I use : make_bundles ?

Regards Tomas
8 REPLIES
Masud Parvez
Valued Contributor

Re: How do I create a software boundle?

Dennis Handly
Acclaimed Contributor

Re: How do I create a SD depot?

>I noticed that this is a depot, not a software bundle.

So what? A SD depot can contain SD bundles and/or SD products. What's wrong with yours?

>Masud: ch02s06.html

This just mentions how to use swcopy to fiddle with existing depots, not how to create them from scratch.

See these threads about packaging depots:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1252592
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1241895

Re: How do I create a software boundle?

Okey,
But when I install some softwares from vendors;
such as IBM Tivoli Storage Manager.
I only got one file.
How do I create one file?
Is that called a software boundle?
Is that when I should use the "make_boundles" tool from ignite?
Dennis Handly
Acclaimed Contributor

Re: How do I create a SD depot?

>But when I install some software from vendors; I only got one file. How do I create one file? Is that called a software bundle?

As I said before a SD bundle is what's in a depot.

It appears you want a tape depot vs a directory depot. See above threadId=1241895 link.
# swpackage -x target_type=tape -s package.psf @ /tmp/product-version.depot

Re: How do I create a software boundle?

Thanks,
That is what I was looking for..

Now I got permission errors..

"vx52:/tmp/product-version.depot":
You do not have the required
permissions to perform this operation.
Check permissions using the
"swacl" command or see your system
administrator for assistance. Or,
to manage applications designed and
packaged for nonprivileged mode,
see the "run_as_superuser" option in the
"sd" man page. â
Dennis Handly
Acclaimed Contributor

Re: How do I create a SD depot?

>Now I got permission errors..
>"vx52:/tmp/product-version.depot":

You are root?
(You should also use your own depot name and path, not mine, /package/???. :-)

Re: How do I create a software boundle?

Yes; I am root (su -).
And I have my package under /tmp/product-version.depot
An I am running "swinstall -s /tmp/product-version.depot

But it does not work
Highlighted
Dennis Handly
Acclaimed Contributor

Re: How do I create a SD depot?

>And I have my package under /tmp/product-version.depot
>And I am running "swinstall -s /tmp/product-version.depot

So you are saying that swpackage is working but swinstall is now failing?
Can you use swlist on that depot you made?

This permission error could be due to swagentd or networking. See these threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1231228
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1166006
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1160275