[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Peer review needed: Message board
- Subject: Re: [cobalt-developers] Peer review needed: Message board
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue Mar 12 11:57:15 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
"Matthew Nuzum" <cobalt@xxxxxxxxxxxxx> wrote:
> I have to either list each file separately (there are 72 files) or use
> something besides install.
>
> I replaced
> install * $RPM_BUILD_ROOT/home/bboard
> with
> cp -R * $RPM_BUILD_ROOT/home/bboard
> and everything seemed to work.
You can include whatever commands or bash scripts you want in the spec file.
There's nothing wrong with using cp.
> I got an error for every file saying that it
> was listed twice, but otherwise it looks like it works. The only problem
is
> that there are no RPM files. There are no SRPM files. There is a folder
in
> the BUILD directory with all of the source files in it.
You build the RPM using the spec file. The process is described in the docs
at the URL I sent in my previous post. So at the end of the process there
should be an RPM file generated. BTW, a PKG file does not require an RPM,
other than a null RPM to make it happy. So if you wanted to just include a
tar.gz file and a script in upgrade_me to do your dirty work it wouldn't be
a problem. I'm not saying that's preferable to building an RPM and using
that within your PKG file, but it's certainly not a technical requirement.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/