Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple packages question

 
   Soft32 Home -> Linux -> Partner Relationship Management RSS
Next:  Launch Conditions  
Author Message
jhardwick_techniscan

External


Since: Jun 08, 2005
Posts: 1



(Msg. 1) Posted: Wed Jun 08, 2005 2:45 am
Post subject: Multiple packages question
Archived from groups: linux>redhat>rpm (more info?)

Hi all,

I have a problem that's beyond my limited RPM knowledge and need some
advice.

I have a source tree for software that runs on a small cluster. There
are several different node types, and each type requires different
software. The idea is to create one binary RPM per node type, then use
the cluster tools to distribute and install the RPMs to their correct
nodes.

My 'make install' target creates a directory structure as follows:

$INSTALL_ROOT/node1/etc/...
$INSTALL_ROOT/node1/bin/...
$INSTALL_ROOT/node1/opt/...
$INSTALL_ROOT/node2/etc/...
$INSTALL_ROOT/node1/bin/...
$INSTALL_ROOT/node2/opt/...
$INSTALL_ROOT/node3/etc/...
$INSTALL_ROOT/node1/bin/...
$INSTALL_ROOT/node3/opt/...

My spec file looks something like this (some parts omitted):

Summary: Cluster software
Name: cluster
Version: 1
Release: 1

---snip---

%package node1
Summary: Cluster software for node 1
%description
Software for node 1

%package node2
Summary: Cluster software for node 2
%description
Software for node 2

%package node3
Summary: Cluster software for node 3
%description
Software for node 3

---snip---

%install
make install INSTALL_ROOT=$RPM_BUILD_ROOT

%files node1
%defattr(-,root,root)
/node1/*

%files node2
%defattr(-,root,root)
/node2/*

%files node3
%defattr(-,root,root)
/node3/*

The problem is the files in the binary packages obviously have /node1,
node2/, etc prefixes. Is there a way to strip these off so the packages
install as intended? I might be going about this the wrong way... if
so, I'd really appreciate suggestions.

Thanks in advance,
Jim
Back to top
Login to vote
Display posts from previous:   
Related Topics:
multiple versions parallel possible? - Hello Group Is it possible to install (e.g.) 2 differnt version of one rpm-package? I have krb5-libs-1.3.4-5 installed...

Multiple RPMs in one RPM archive - Hi there, Is is possible to embed multiple RPMs in one RPM archive? The reason is that we need to upgrade multiple..

multiple entries in RPM database - Hi, I've installed a package during test multiple times using --force. The package is now listed more then once in the...

Any way to delete just one RPM if multiple architectures e.. - With 64-bit machines, it's often the case that there are two versions of a given RPM--i386 and x86_64. But although rp...

Uninstalling X packages - Hello, I am not a Linux guru so I would really appreciate if someone can help me. I have Red Hat 9.0 and trying to..

Uninstall packages - I want to install MYSQL on RH9 First of all I try to uninstall the package. RPM gives me the message that the package....
       Soft32 Home -> Linux -> Partner Relationship Management All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]