LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

The rise of linux (was RE: [ILUG] Pre configured boxes)

The rise of linux (was RE: [ILUG] Pre configured boxes)

Kenn Humborg kenn at bluetree.ie
Thu Nov 25 12:35:00 GMT 1999


> Not knowing anything about how RPM works internally, can an rpm install
> run a script before installing any files? That could easily check for
> free space..

Yes.  You can run a pre-install script.  However, since
this script must be embedded in the spec file (can't be
a separate file since you haven't copied anything to the
target machine), it would be quite tricky to generate the
directory size list at RPM build time.  

Following this route leads to "make a small single-file 
RPM that installs the installation script for the main RPM".  
Beginning to sound like a lot of Windows' installers (where 
setup.exe just copies the main install engine).

But, yes, embedding this functionality in RPM itself
is the way to go.

Kenn






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell