<?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: passing parameters to rpms in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599222#M19092</link>
    <description>Short answer: No.  You can only pass parameters during the rpm's build phase.&lt;BR /&gt;&lt;BR /&gt;Not-so-short answer: Maybe.  If you populate a file somewhere (fixed) on one of the existing filesystems, and have your built RPM use the contents of that existing file, then you should be able to get something done.  So long as it's not going to ask any questions that is.</description>
    <pubDate>Tue, 09 Aug 2005 03:27:34 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-08-09T03:27:34Z</dc:date>
    <item>
      <title>passing parameters to rpms</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599221#M19091</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;I want to create a rpm that creates a Filesystem, and puts the files in that specific filesystem....&lt;BR /&gt;&lt;BR /&gt;I want that the vg name will be passed while installation...&lt;BR /&gt;&lt;BR /&gt;Is it possible to define parameters in a spec file of rpm, and when installing to set the parameter, and the rpm will act according to the value ? (in my case creating a fs on the vg according to the vg parameter).&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Oved</description>
      <pubDate>Tue, 09 Aug 2005 03:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599221#M19091</guid>
      <dc:creator>ovedwish</dc:creator>
      <dc:date>2005-08-09T03:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameters to rpms</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599222#M19092</link>
      <description>Short answer: No.  You can only pass parameters during the rpm's build phase.&lt;BR /&gt;&lt;BR /&gt;Not-so-short answer: Maybe.  If you populate a file somewhere (fixed) on one of the existing filesystems, and have your built RPM use the contents of that existing file, then you should be able to get something done.  So long as it's not going to ask any questions that is.</description>
      <pubDate>Tue, 09 Aug 2005 03:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599222#M19092</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-08-09T03:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameters to rpms</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599223#M19093</link>
      <description>&lt;BR /&gt;you may be able to do this as per stuart's response. &lt;BR /&gt;&lt;BR /&gt;Other method would be to set an environment variable, check for this environment variable from pre-install script of RPM package install. Based on the value do some pre-install actions (creating vg, vg parameters etc). Then do the actual installation.&lt;BR /&gt;&lt;BR /&gt;Check RPM spec file for pre-install and post-install scripts. There are also options for pre and post uninstall scripts.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 09 Aug 2005 23:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599223#M19093</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-08-09T23:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameters to rpms</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599224#M19094</link>
      <description>hai&lt;BR /&gt;&lt;BR /&gt;Try to cretae a kick start installation.&lt;BR /&gt;&lt;BR /&gt;after installing in one system take a kick start config file( this option is available in the gui mode)and copy the ks.conf file to a floppy&lt;BR /&gt;and in the other system boot with the bootable cd and put the floppy in the fdd&lt;BR /&gt;and give &lt;BR /&gt;&lt;BR /&gt;boot: ks=floppy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 08:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-parameters-to-rpms/m-p/3599224#M19094</guid>
      <dc:creator>Tvs</dc:creator>
      <dc:date>2005-08-24T08:24:04Z</dc:date>
    </item>
  </channel>
</rss>

