Hi Damion,

Wednesday, August 28, 2002, 3:55:48 PM, you wrote:

> Oh, creating the RPM? Thats easy:

Here's what I did....

> $ rpm -ivh <file>.src.rpm

# wget 
"ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/SRPMS/fileutils-4.1-4.src.rpm";
# rpm -ivh fileutils-4.1-4.src.rpm

> $ cp freevsd/patches/redhat-rpms/SOURCES /usr/src/redhat/SOURCES

# cd /usr/src
# cp freevsd/SOURCE/redhat-rpms/SOURCES/* redhat/SOURCES/

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

# cp freevsd/patches/redhat-rpms/SPECS/fileutils-4.1vsd.spec redhat/SPECS/

> $ rpm -ba <file>.spec

# cd redhat
# cd SPECS
# rpm -ba fileutils-4.1vsd.spec

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

# mkdir /home/vsd/skel/skel/var
# mkdir /home/vsd/skel/skel/var/lib
# cp -R /var/lib/rpm /home/vsd/skel/skel/var/lib/
# rpm -Uvh --force --nodeps --root=/home/vsd/skel/skel

Unfortunately, this seems to have changed the inode numbers...

[root@ned var]# cd /home/vsd/skel/skel/bin/
[root@ned bin]# ls -l cp
-rwsr-xr-x    1 root     root        44648 Sep  2 14:43 cp

NB: 'cp' binary in skel has an Inode count of 1. :'(

I am now going to do "vsd-linkvs.pl" to relink all the VSs back to the
skel.  Just thought I'd let you know what happened.  BTW, I tried to
upload the patched RPM I made to the ftp.freevsd.org/incoming
directory but got ................

----------------------------
# ftp freevsd.org
Connected to 217.204.14.101 (217.204.14.101).
220 ProFTPD 1.2.5rc1 Server (ProFTPD) [freevsd.org]
Name (freevsd.org:root): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd incoming
250- This area can be used to upload source code for contribution to the freeVSD 
project. All code uploaded to this area will be considered to be subject to the terms 
and conditions of the GNU General Public License (GPL). Uploading source will be 
considered as agreement to these terms and conditions.
250 CWD command successful.
ftp> put fileutils-4.1-4vsd.i386.rpm fileutils-4.1-4vsd.i386.rpm_benK
local: fileutils-4.1-4vsd.i386.rpm remote: fileutils-4.1-4vsd.i386.rpm
227 Entering Passive Mode (217,204,14,101,180,65).
550 fileutils-4.1-4vsd.i386.rpm: Permission denied
ftp>
------------------------------
> Damion.

Cyas

-- 

Kind Regards,

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
-----------------------------------------------------------------------------

Reply via email to