Re: How do I create a SD depot? (202 Views)
Reply
Advisor
Make software boundle
Posts: 14
Registered: ‎07-31-2008
Message 1 of 9 (202 Views)

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
Valued Contributor
Masud Parvez
Posts: 46
Registered: ‎06-30-2005
Message 2 of 9 (202 Views)

Re: How do I create a software boundle?

Acclaimed Contributor
Dennis Handly
Posts: 25,287
Registered: ‎03-06-2006
Message 3 of 9 (202 Views)

Re: How do I create a SD depot?

[ Edited ]

>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

Advisor
Make software boundle
Posts: 14
Registered: ‎07-31-2008
Message 4 of 9 (202 Views)

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?
Acclaimed Contributor
Dennis Handly
Posts: 25,287
Registered: ‎03-06-2006
Message 5 of 9 (202 Views)

Re: How do I create a SD depot?

[ Edited ]

>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

Advisor
Make software boundle
Posts: 14
Registered: ‎07-31-2008
Message 6 of 9 (202 Views)

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. â
Acclaimed Contributor
Dennis Handly
Posts: 25,287
Registered: ‎03-06-2006
Message 7 of 9 (202 Views)

Re: How do I create a SD depot?

[ Edited ]

>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/???. :-)

Advisor
Make software boundle
Posts: 14
Registered: ‎07-31-2008
Message 8 of 9 (202 Views)

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
Acclaimed Contributor
Dennis Handly
Posts: 25,287
Registered: ‎03-06-2006
Message 9 of 9 (202 Views)

Re: How do I create a SD depot?

[ Edited ]

>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

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.