Unpacking the mvista kernel RPMs

Jason Wohlgemuth jsw-embedded at mindspring.com
Mon Apr 10 13:25:29 EST 2000


Graham,

If you just want to get the files out try this:

work within a temp directory

rpm2cpio < kernel.rpm > kernel.cpio
cpio --make-directories --extract --verbose < kernel.cpio

Enjoy,

Jason

-----Original Message-----
From: owner-linuxppc-embedded at lists.linuxppc.org
[mailto:owner-linuxppc-embedded at lists.linuxppc.org]On Behalf Of Graham
Stoney
Sent: Sunday, April 09, 2000 11:15 PM
To: Pavel Roskin
Cc: Wohlgemuth Jason; 'linuxppc-embedded at lists.linuxppc.org'
Subject: Unpacking the mvista kernel RPMs



Pavel Roskin writes:
> By the way, I found a newer kernel (March, 23) in
> ftp://ftp.mvista.com/pub/CDK/updates/1.0/ppc_8xx/SRPMS/

How does one go about unpacking one of these RPMs?

I tried ftp'ing the rpm and going:
% rpm -i hhl-kernel-2.2.13-7.src.rpm
% rpm -bp /usr/src/redhat/SPECS/hhl-kernel-2.2.13.spec
...
cp: configs/%{_hhl_kernel_configs}: No such file or directory
Bad exit status from /var/tmp/rpm-tmp.689 (%prep)

Can anyone please help me get the hang of RPM?  I'm sure it's _supposed_ to
make my life easier, but...

Thanks,
Graham


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list