Re: RPM %files installation directory confusion
From: Rose (spamaccout69_at_yahoo.com)
Date: 10/28/03
- Previous message: N Nair: "Re: System.map question"
- In reply to: Markku Kolkka: "Re: RPM %files installation directory confusion"
- Next in thread: Rose: "Re: RPM %files installation directory confusion"
- Reply: Rose: "Re: RPM %files installation directory confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2003 14:33:10 -0800
Ok so now I have a spec file that looks like this ( I am not doing a
build of the binaries or the install just package up in an rpm)
BuildRoot:/var/pbiace/rel_2003_10
%build
%install
%files
/bin/*
/cdunix/*
/cfg/*
/lib/*
/ndm/*
/transfer/*
and the error is File not found by glob: /var/pbiace/rel_2003_10/bin/*
(for each one)
/var/pbiace/rel_2003_10 is the installation target directory not the
pick up area. I have moved the binaries to the %_topdir/BUILD
directory in the /var/pbiace/rel_2003_10 directories.
here is the output from the build:
+ umask 022
+ cd /export/home/ca6459/ccm_wa/ace/ace#ca6459_2003_09/ace/test2/deploy/BUILD
+ exit 0
+ umask 022
+ cd /export/home/ca6459/ccm_wa/ace/ace#ca6459_2003_09/ace/test2/deploy/BUILD
+ exit 0
File not found by glob: /var/pbiace/rel_2003_10/BuildofMaterials.*
File not found by glob: /var/pbiace/rel_2003_10/bin/*
File not found by glob: /var/pbiace/rel_2003_10/cdunix/*
File not found by glob: /var/pbiace/rel_2003_10/cfg/*
File not found by glob: /var/pbiace/rel_2003_10/crontab/nodataman.*
File not found by glob: /var/pbiace/rel_2003_10/lib/*
File not found by glob: /var/pbiace/rel_2003_10/ndm/*
File not found by glob: /var/pbiace/rel_2003_10/transfer/*
Markku Kolkka <markku.kolkka@iki.fi> wrote in message news:<bnb063$slj$1@phys-news1.kolumbus.fi>...
> Rose wrote:
> > In my spec file in the %files section I have defined where to pick up
> > and which files to pick up....for example:
> > /export/home/myhomedir/workingarea
> > then when I install it trys to put the binaries back in the same
> > location. I want them to install to /var/lib/applicationname.
>
> Define your BuildRoot as "/export/home/myhomedir/workingarea", copy the
> files in the %install section to
> $RPM_BUILD_ROOT/var/lib/applicationname, and in the %files section list
> the files to be packaged without the prefix
> (/var/lib/applicationname/*)
>
> http://www.rpm.org/max-rpm/ch-rpm-anywhere.html
- Previous message: N Nair: "Re: System.map question"
- In reply to: Markku Kolkka: "Re: RPM %files installation directory confusion"
- Next in thread: Rose: "Re: RPM %files installation directory confusion"
- Reply: Rose: "Re: RPM %files installation directory confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|