Oh, creating the RPM? Thats easy:

$ rpm -ivh <file>.src.rpm
$ cp freevsd/patches/redhat-rpms/SOURCES /usr/src/redhat/SOURCES
$ cp freevsd/patches/redhat-rpms/SPECS/<file>.spec /usr/src/redhat/SPECS
$ rpm -ba <file>.spec

Upgrading an RPM, in my experience, has left the inode numbers alone (use -Uvh, 
not -ivh).

Damion.

Ben Kennish wrote:
> Hi Damion,
> 
> Wednesday, August 28, 2002, 3:38:39 PM, you wrote:
> 
> 
>>The easiest ways is as follows:
> 
> 
>>$ cp -r /var/lib/rpm /home/vsd/<skel>/var/lib
>>$ rpm -Uvh --force --nodeps --root=/home/vsd/<skel> <filename>
> 
> 
> Anyone got a copy of the newly patched RPM?
> 
> 
>>Providing that this process doesn't modify the inode number of the file in the 
>>skel, the changes will automatically propogate to all of the VPSs.
> 
> 
> So does "rpm" replace the contents of files properly or does it delete
> and recreate (hence changing the inode numbers)?
> 
> 
>>Damion.
> 
> 
> TIA,
> 
> Ben Kennish
> [EMAIL PROTECTED]
> 
> ------------------------- The freeVSD Support List --------------------------
> Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> -----------------------------------------------------------------------------
> 
> 

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to