<?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: packaging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030291#M301458</link>
    <description>If you wish, instead of building a .psf manually or using software package builder, you can try a script I've been using for years that simplifies this process.&lt;BR /&gt;&lt;BR /&gt;Download this:&lt;BR /&gt;&lt;A href="http://www.mayoxide.com/goldendepot/make_package.sh" target="_blank"&gt;http://www.mayoxide.com/goldendepot/make_package.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The script has a built-in usage but in your case you would run:&lt;BR /&gt;make_package.sh -p app_java_hpux_11 -t "APP bundle includes Java 1.4.x" -v B.11.00 -f /opt/java1.4  /opt/app/conf /opt/app/scripts&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 02 Jul 2007 09:53:26 GMT</pubDate>
    <dc:creator>Olivier Masse</dc:creator>
    <dc:date>2007-07-02T09:53:26Z</dc:date>
    <item>
      <title>packaging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030288#M301455</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I wanted to create one package named app_java_hpux_11, should include below:&lt;BR /&gt;&lt;BR /&gt;All files and sub-directories in /opt/java1.4&lt;BR /&gt;All files and sub-directories in /opt/app/conf&lt;BR /&gt;All files in /opt/app/scripts&lt;BR /&gt;&lt;BR /&gt;Once package is created, should be able to install using swinstall.&lt;BR /&gt;&lt;BR /&gt;I am not sure about psf file structure and created by looking at some thread.&lt;BR /&gt;&lt;BR /&gt;I was trying to swpackage using following psf file /tmp/app.psf:&lt;BR /&gt;&lt;BR /&gt;tag app_java_hpux_11&lt;BR /&gt;title APP bundle includes Java 1.4.x&lt;BR /&gt;os_name HP-UX&lt;BR /&gt;revision B.11.00&lt;BR /&gt;architecture S700/S800_HP-UX_11&lt;BR /&gt;contents&lt;BR /&gt;directory /opt/java1.4&lt;BR /&gt;file .??*&lt;BR /&gt;file *&lt;BR /&gt;directory /opt/app/conf&lt;BR /&gt;file .??*&lt;BR /&gt;file *&lt;BR /&gt;directory /opt/app/scripts&lt;BR /&gt;file .??*&lt;BR /&gt;file *&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;command:&lt;BR /&gt;swpackage -p -v -s /tmp/app.psf -d /var/adm/crash/app/Rel_B.11.X&lt;BR /&gt;&lt;BR /&gt;following error:&lt;BR /&gt;&lt;BR /&gt;WARNING: No value defined for the keyword "contents", at line 7.&lt;BR /&gt;ERROR:   Incomplete definition for the bundle "app_java_hpux_11", beginning&lt;BR /&gt;         at line 1.  The following attributes are not defined:&lt;BR /&gt;                contents         the software contained in the bundle&lt;BR /&gt;         The attribute(s) must be defined before the parsing can&lt;BR /&gt;         continue.&lt;BR /&gt;ERROR:   Invalid definition for the bundle "app_java_hpux_11", beginning at&lt;BR /&gt;         line 1.  Details described above.  The error(s) must be&lt;BR /&gt;         corrected before the parsing can continue.&lt;BR /&gt;&lt;BR /&gt;Cheers...&lt;BR /&gt;Satish</description>
      <pubDate>Mon, 02 Jul 2007 03:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030288#M301455</guid>
      <dc:creator>Satish Y</dc:creator>
      <dc:date>2007-07-02T03:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: packaging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030289#M301456</link>
      <description>Hello Satish,&lt;BR /&gt;&lt;BR /&gt;I am not sure,whether you may use ? and * in the content section.&lt;BR /&gt;&lt;BR /&gt;Try it again without those variable-letters.&lt;BR /&gt;&lt;BR /&gt;you may first test it with only a few files. I think it should work if you avoud the * and ?&lt;BR /&gt;&lt;BR /&gt;You may get a list of jour required files by typing:&lt;BR /&gt;cd /&lt;BR /&gt;ls -R1 /opt/java1.4&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;I hope tthis helps.&lt;BR /&gt;&lt;BR /&gt;bye&lt;BR /&gt;Ralf</description>
      <pubDate>Mon, 02 Jul 2007 04:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030289#M301456</guid>
      <dc:creator>Ralf Seefeldt</dc:creator>
      <dc:date>2007-07-02T04:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: packaging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030290#M301457</link>
      <description>To see how a SD depot is packaged, you should use "swlist -v -l depot" on an existing depot.  Then repeat with -l product, then -l fileset then -l file.&lt;BR /&gt;&lt;BR /&gt;An SD depot is composed of optional bundles that can contain multiple SD products.  SD products can contain multiple SD filesets.&lt;BR /&gt;&lt;BR /&gt;It is the SD filesets that contain files.&lt;BR /&gt;&lt;BR /&gt;See sd(4):&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/sd.4.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/sd.4.html&lt;/A&gt;&lt;BR /&gt;Managing HP-UX Software With SD-UX: HP 9000 Computers&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-90107/index.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-90107/index.html&lt;/A&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030290#M301457</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-07-02T05:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: packaging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030291#M301458</link>
      <description>If you wish, instead of building a .psf manually or using software package builder, you can try a script I've been using for years that simplifies this process.&lt;BR /&gt;&lt;BR /&gt;Download this:&lt;BR /&gt;&lt;A href="http://www.mayoxide.com/goldendepot/make_package.sh" target="_blank"&gt;http://www.mayoxide.com/goldendepot/make_package.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The script has a built-in usage but in your case you would run:&lt;BR /&gt;make_package.sh -p app_java_hpux_11 -t "APP bundle includes Java 1.4.x" -v B.11.00 -f /opt/java1.4  /opt/app/conf /opt/app/scripts&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging/m-p/4030291#M301458</guid>
      <dc:creator>Olivier Masse</dc:creator>
      <dc:date>2007-07-02T09:53:26Z</dc:date>
    </item>
  </channel>
</rss>

