[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Converting shell script to RPM



Timur Tabi wrote:

> Now, I'm even more confused.  Why would I install software during the
> process when I build the RPM file?  After all, the RPM file is used to
> install the software.  If I install the software while building the RPM,
> then what's left to do?  The software is already installed!
>

The idea is to build rpm packages that shall be installed to other machines
without leaving any trace in the system of the building machine. To do so You
have to make up a fake place to install things so a package can be built. Once
You have something installed somewhere You can copy it to an rpm package. And
once the rpm package is built You no longer need the fake install place and can
delete it.

The rpm packages shall only be built on the building machine, not installed to
its system during the build process. You ill not be happy after building an rpm
that installs something that mess upp Your machine or make it crash.

> I get the feeling that RPM just doesn't work like installers for other OS's.
>

I can't answer that one.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []