<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I make a depot? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519477#M872285</link>
    <description>swreg see &lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90154/00/00/18-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90154/00/00/18-toc.html&amp;amp;searchterms=swreg&amp;amp;queryid=20010420-083947" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90154/00/00/18-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90154/00/00/18-toc.html&amp;amp;searchterms=swreg&amp;amp;queryid=20010420-083947&lt;/A&gt;</description>
    <pubDate>Fri, 20 Apr 2001 14:40:57 GMT</pubDate>
    <dc:creator>Vincenzo Restuccia</dc:creator>
    <dc:date>2001-04-20T14:40:57Z</dc:date>
    <item>
      <title>How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519473#M872281</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a .tar file that I want to make into a depot of files, so I can run swinstall.  &lt;BR /&gt;&lt;BR /&gt;Can anyone share how to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 20 Apr 2001 14:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519473#M872281</guid>
      <dc:creator>Jeff Thomas_1</dc:creator>
      <dc:date>2001-04-20T14:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519474#M872282</link>
      <description>Hi.&lt;BR /&gt;swcopy -s &lt;SOURCE file=""&gt; @ &lt;YOUR depot="" directory=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example:&lt;BR /&gt;swcopy -s /tmp/xxx @ /tmp/SW&lt;BR /&gt;&lt;BR /&gt;swinstall -s /tmp/SW&lt;BR /&gt;&lt;BR /&gt;good luck.&lt;/YOUR&gt;&lt;/SOURCE&gt;</description>
      <pubDate>Fri, 20 Apr 2001 14:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519474#M872282</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-04-20T14:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519475#M872283</link>
      <description>Hi, Just use swinstall. Example:&lt;BR /&gt;&lt;BR /&gt;swinstall -s /path to file.&lt;BR /&gt;&lt;BR /&gt;You use swreg to register a depot.&lt;BR /&gt;&lt;BR /&gt;If you have a bunch of patches that you want to register then:&lt;BR /&gt;&lt;BR /&gt;# mkdir /tmp/patch_depot&lt;BR /&gt;  # for i in PH*.depot&lt;BR /&gt; &amp;gt; do&lt;BR /&gt; &amp;gt; swcopy -s ${PWD}/$i \* @ /tmp/patch_depot&lt;BR /&gt; &amp;gt; done&lt;BR /&gt;#&lt;BR /&gt;Rob&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Apr 2001 14:37:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519475#M872283</guid>
      <dc:creator>Rob Smith</dc:creator>
      <dc:date>2001-04-20T14:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519476#M872284</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;the command you need to use for this operation is swpackage.&lt;BR /&gt;It has quiet a long manpage and I know that there are docs on the &lt;A href="http://www.docs.hp.com" target="_blank"&gt;www.docs.hp.com&lt;/A&gt; webpage with examples too.&lt;BR /&gt;&lt;BR /&gt;Steffi Jones</description>
      <pubDate>Fri, 20 Apr 2001 14:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519476#M872284</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-04-20T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519477#M872285</link>
      <description>swreg see &lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90154/00/00/18-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90154/00/00/18-toc.html&amp;amp;searchterms=swreg&amp;amp;queryid=20010420-083947" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90154/00/00/18-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90154/00/00/18-toc.html&amp;amp;searchterms=swreg&amp;amp;queryid=20010420-083947&lt;/A&gt;</description>
      <pubDate>Fri, 20 Apr 2001 14:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519477#M872285</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-20T14:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519478#M872286</link>
      <description>Hi again:&lt;BR /&gt;swcopy -s file.tar.depot file.tar @ /var/spool/sw</description>
      <pubDate>Fri, 20 Apr 2001 14:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519478#M872286</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-20T14:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519479#M872287</link>
      <description>You can register a depot by useing &lt;BR /&gt;swreg -l depot /path&lt;BR /&gt;then follow the instructions here to combine &lt;BR /&gt;sotware in the depot&lt;BR /&gt;&lt;BR /&gt;HP patch Depot&lt;BR /&gt;1. Obtain the set of patches you want to install in your depot.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt; [PHCO_7891/PACHRDME/English] ,  [PHCO_9348/PACHRDME/English] ,  &lt;BR /&gt;[PHKL_9361/PACHRDME/English] ,  [PHSS_7726/PACHRDME/English] ,  &lt;BR /&gt;[PHSS_8966/PACHRDME/English] ,  [PHSS_9400/PACHRDME/English] ,&lt;BR /&gt; [PHCO_8353/PACHRDME/English] ,  [PHKL_8376/PACHRDME/English] ,  &lt;BR /&gt;[PHKL_9569/PACHRDME/English] ,  [PHSS_8667/PACHRDME/English] ,  &lt;BR /&gt;[PHSS_9201/PACHRDME/English] &lt;BR /&gt;&lt;BR /&gt;HP patches as delivered by the HP Response Center or by HP web sites are&lt;BR /&gt;shar format files consisting of a product depot and README file.&lt;BR /&gt;&lt;BR /&gt;2. Unshar the patches:&lt;BR /&gt;&lt;BR /&gt;             # for i in PH*&lt;BR /&gt;             do&lt;BR /&gt;                sh $i&lt;BR /&gt;             done&lt;BR /&gt;&lt;BR /&gt;3. Combine all these separate depots into one depot. To do this, use the&lt;BR /&gt;   swcopy command. First, create the directory to store the patches:&lt;BR /&gt;&lt;BR /&gt;             # mkdir /tmp/patches&lt;BR /&gt;&lt;BR /&gt;4. Now take the patch depots and copy them into the target depot:&lt;BR /&gt;&lt;BR /&gt;             # for i in PH*depot&lt;BR /&gt;               do&lt;BR /&gt;                 swcopy -s ${PWD}/$i \* @ /tmp/patches&lt;BR /&gt;               done&lt;BR /&gt;&lt;BR /&gt;5. Verify the contents of the depot:&lt;BR /&gt;&lt;BR /&gt;             # swlist  -d  @ /tmp/patches&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Apr 2001 15:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519479#M872287</guid>
      <dc:creator>Mark Mitchell</dc:creator>
      <dc:date>2001-04-20T15:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a depot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519480#M872288</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   I think you want to make a depot with all&lt;BR /&gt;files on your .tar file. I know to solutions&lt;BR /&gt;to do that :&lt;BR /&gt;&lt;BR /&gt;   - untar your file in a directory, for example in /tmp/prepare_depot, write a PSF&lt;BR /&gt;file to describe your package and use swpackage&lt;BR /&gt;&lt;BR /&gt;   - write a PSF file with a postinstall file&lt;BR /&gt;which untar your .tar file.&lt;BR /&gt;&lt;BR /&gt;   I prefer the first solution for two resons :&lt;BR /&gt;   1) you have not to write any postinstall,&lt;BR /&gt;postremove,... files&lt;BR /&gt;   2) You can really simply change the content&lt;BR /&gt;of you package.&lt;BR /&gt;&lt;BR /&gt;   To create a depot (in a file named &lt;BR /&gt;test.depot for example) you need :&lt;BR /&gt;&lt;BR /&gt;    1) a PSF file to describe your product&lt;BR /&gt;    2) the datas you want to put in your depot&lt;BR /&gt;    3) use swpackage -s &lt;YOUR_PSF_FILE&gt; -d &lt;YOUR_DEPOT_FILE&gt;&lt;BR /&gt;&lt;BR /&gt;    After you can copy your depot on a depot &lt;BR /&gt;server. See swpackage manpage to see how to&lt;BR /&gt;create your depot directly on a depot server,&lt;BR /&gt;it's almost the same command line.&lt;BR /&gt;&lt;BR /&gt;    Now an example for your PSF file (PSF is&lt;BR /&gt;Product Specifications File if I well remember)&lt;BR /&gt;&lt;BR /&gt;Here is a small example with some values you&lt;BR /&gt;can change :&lt;BR /&gt;&lt;BR /&gt;Product&lt;BR /&gt;   tag NameOfYourProduct&lt;BR /&gt;   title Complete name of your new product&lt;BR /&gt;   revision &lt;VERSION of="" your="" product=""&gt;&lt;BR /&gt;   architecture HP_UX_B.11.00_700/800&lt;BR /&gt;   machine_type 9000/[78]??&lt;BR /&gt;   os_name HPUX&lt;BR /&gt;   os_release ?.11.*&lt;BR /&gt;&lt;BR /&gt;fileset&lt;BR /&gt;   tag Files1&lt;BR /&gt;   title First part of all my files&lt;BR /&gt;   revision 1.0&lt;BR /&gt;   directory &lt;DIRECTORY where="" you="" put="" your="" files=""&gt;=&lt;DESTINATION directory="" after="" installation=""&gt;&lt;BR /&gt;   file_permissions -o &lt;USER&gt; -g &lt;GROUP&gt; -m &lt;MASK&gt;&lt;BR /&gt;end &lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can put several filesets in a product. You can put several directory tags in a fileset.&lt;BR /&gt;&lt;BR /&gt;For example if you tar file content's is :&lt;BR /&gt;   /config&lt;BR /&gt;   /binaries/...&lt;BR /&gt;   &lt;BR /&gt;you can make a product with two filesets :&lt;BR /&gt;&lt;BR /&gt;fileset &lt;BR /&gt;  tag Config&lt;BR /&gt;  ...&lt;BR /&gt;  ...&lt;BR /&gt;  directory /tmp/prepare_depot/etc=/etc&lt;BR /&gt;  ...&lt;BR /&gt;end&lt;BR /&gt;fileset &lt;BR /&gt;  tag Binaries&lt;BR /&gt;  ...&lt;BR /&gt;  ...&lt;BR /&gt;  directory /tmp/prepare_depot/bin=/usr/bin&lt;BR /&gt;  ...&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;For more information on how to make a depot,&lt;BR /&gt;to know all options of PSF, swXXX you can read&lt;BR /&gt;this documentation : &lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90154/00/00/1-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90154/00/00/1-toc.html&amp;amp;searchterms=HP%7csoftware%7cwith%7cSD%7cmanaging&amp;amp;queryid=20010423-031648" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90154/00/00/1-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90154/00/00/1-toc.html&amp;amp;searchterms=HP%7csoftware%7cwith%7cSD%7cmanaging&amp;amp;queryid=20010423-031648&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;&lt;BR /&gt;   Herve&lt;BR /&gt;&lt;BR /&gt;&lt;/MASK&gt;&lt;/GROUP&gt;&lt;/USER&gt;&lt;/DESTINATION&gt;&lt;/DIRECTORY&gt;&lt;/VERSION&gt;&lt;/YOUR_DEPOT_FILE&gt;&lt;/YOUR_PSF_FILE&gt;</description>
      <pubDate>Mon, 23 Apr 2001 09:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-make-a-depot/m-p/2519480#M872288</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-04-23T09:17:14Z</dc:date>
    </item>
  </channel>
</rss>

