Is it possible to create indvidual rpm packages for each component? We need a ui based and rpm installer for linux with an rpm for each component but a single ui installer which will provide compoinent selection.

asked 19 Jul '12, 18:27

anonymous_dad's gravatar image

anonymous_dad
1222
accept rate: 0%


It is not possible to create a separate RPM for one or more components. What can be done is to create a separate project for each of the components and build RPM packages.

Next, an installer could be created that installs the selected RPM packages using rpm command.

Could you provide more details on what exactly you want to achieve? Also, why do you need separate RPM packages for each component vs a single RPM package for entire application?

link

answered 23 Jul '12, 08:10

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

i have 3 different applications A, B, C with B & C dependent on A but each have its own versioning. i would like to create an rpm for each component but at the same time provide a combined ui based installer which would allow component selection.

(30 Jul '12, 12:39) anonymous_dad

You could create a component for each of them and save it in its own file. Then, create individual projects, used to generate the rpms, and a full one for the UI installer. The individual installers will be as simple as just:

<project>
   <shortName>b</shortName>
   ...
   <componentList>
     <include file="b.xml"/>
   </componentList>
   <parameterList>
      <directoryParameter name="installdir" .../>
   </parameterList>
<project>

And in the full project you could include all of them:

<project>
   <shortName>a</shortName>
   ...
   <componentList>
     <include file="a.xml"/>
     <include file="b.xml"/>
     <include file="c.xml"/>
   </componentList>
   <parameterList>
      <directoryParameter name="installdir" .../>
   </parameterList>
<project>
link

answered 05 Aug '12, 14:53

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48
×21

Asked: 19 Jul '12, 18:27

Seen: 1,201 times

Last updated: 05 Aug '12, 14:53