General :: Rpmbuild Force To Use Cpio.gz On RHEL 5.3?

Oct 19, 2010

I have RHEL 5.3.

I am trying to build a e1000 network card driver rpm with particular requirement to have cpio.gz inside rpm.

But after i build my rpm driver it has cpio.lzma inside. I simply build using command from the readme: rpmbuild -tb *.tar.gz.

I have googled and found that from around 5.0 RHEL includes lzma and uses it as a default setting. Is there any way to force to use cpio.gz or somehow repackage my rpm correctly?

I have searched through makefile and other files but was not able to find a clue.

View 11 Replies


ADVERTISEMENT

General :: Hot Backup Of Root With Cpio?

Feb 22, 2011

i would like to know if its safe to backup root partition with cpio. I need to do an online backup of running system so i can't unmount partition or so to dump it or dd it. Is it safe? is there any chance the backup would be inconsistent or so? What is the worst what could happend? will the files used by a running system backup correctly?
Running opensuse 11.3 and some basic daemons like ftp,www server...

BTW i did try search with tag "cpio" but there was not such a topic.

View 4 Replies View Related

General :: Kernel Source Cannot Install Using Rpmbuild

Apr 19, 2010

i downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5. i installed succeffully above src.rpm using command .. rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpm it created a directory in /usr/src/redhat

then i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed. saying: error:cannot create %sourcedir /usr/src/redhat/sources error:kernel-2.6.18-53.el5.src.rpm cannot be installed

View 1 Replies View Related

General :: Unable To Install CPIO Extension Files

Apr 23, 2011

I want to install Forms & Reports Developer Suite in Linux OS So I have downloaded Oracle Developer Suite 10g for Linux (Including Forms & Reports)
as_linux_x86_ids_101202_disk1.cpio
as_linux_x86_ids_101202_disk2.cpio

So in the Oracle Documentation Site they have given Guide as Follows:
To extract the cpio file,
move the cpio file to an empty directory,
then do:
cat filename.cpio | cpio -icd ....
but its not extracting.

View 7 Replies View Related

General :: Cannot Ping From Host (RHEL 6) To RHEL 5 In (virtual)?

May 1, 2011

can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.

View 1 Replies View Related

General :: Downloading RHEL 5.4 AS From RHEL Website?

Dec 23, 2009

I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?

View 3 Replies View Related

Red Hat / Fedora :: Rpmbuild Cannot Install Src.rpm?

Apr 19, 2010

kernel source cannot install using rpmbuild Dear all, here is my problemi downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5.i installed succeffully above src.rpm using command ..rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpmit created a directory in /usr/src/redhatthen i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed.saying: error:cannot create %sourcedir /usr/src/redhat/sourceserror:kernel-2.6.18-53.el5.src.rpm cannot be installed may i know the reason why it is failing

View 1 Replies View Related

Red Hat :: Extract Cpio.gz File By Using Command?

Jun 25, 2010

I was trying to extract a file by using this command cpio -idmvz <file.cpio.gz> but system hangs. Nothing gets extracted.

View 3 Replies View Related

Fedora :: Error From The Rpmbuild Command

Aug 9, 2009

I'm building an RPM for the first time. I'm getting the following error from the rpmbuild command:

View 2 Replies View Related

Fedora :: Can't Build Rpm - Rpmbuild Fails

Mar 4, 2010

recently i have been building my own kernels, and have been successful. however, over the last 2 days, using the proper documentation and methods i always get to the same point that rpmbuild fails at. it's very frustrating to say the least...i am somewhat new to fedora, as i tend to use debian-based systems or freeBSD, where the approach and methodology is quite different to that of redhat. the command used:

rpmbuild -bb --with baseonly --with firmware --without debuginfo --target=`uname -m` kernel.spec

this builds the kernel with modules(needed by me) and this is where it fails:

[Code]...

if anyone has fix let me know, i can't update or upgrade rpmubuild without doing so to my whole system, so i hope this isn't a bug in rpmbuild.... i already had to upgrade yum & yum-utils because of a bug that wouldn't let "builddep" work. (come on fedora, this is a standard release, i shouldn't be having problems with yum or with rpm! this is apart of the OS's core isn't it? anyway, if someone who is in the know has a solution

View 2 Replies View Related

Red Hat :: Why Rpmbuild Deletes The BUILD Directory

Apr 15, 2011

I'm using rpmbuild 4.8.0 to build my rpm package on RHEL6. The spec file works just fine with any other Linux Releases, including RHEL5. But at the end, build failed with:
"shell-init error retrieving current directory: getcwd: cannot access parent directories: No such file or directory" I found that rpmbuild tried to compare the BUILD directory with the root filesystem, it will delete the BUILD directory if it's not '/'. My working directory is /tmp/test, so something like this in the /var/tmp/rpm-tmp file:

Code:

cd "/tmp/test/BUILD"
[ "RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"

I think this is the reason why the command failed. And I can't find the two lines of similar code in an earlier version of rpmbuild on RHEL5.

View 5 Replies View Related

General :: Difference Between Rhel 5 And Rhel 6?

Feb 3, 2011

difference between rhel 5 and rhel 6 - basic difference.

View 3 Replies View Related

General :: Upgrade From RHEL 3 To RHEL 5.x?

Nov 18, 2009

i have old RHEL 3 system which has kernel 2.4 installed into it. I wasnt to upgrade it to RHEL 5.x so i downloaded a kernel 2.6 package but was not able to compile it.

View 1 Replies View Related

Ubuntu :: Use Cpio Command For Back Up Files?

Feb 14, 2011

I want to use cpio command for back up my files. but I cant understand what's the meaning of -p in this command. pass through?

View 2 Replies View Related

CentOS 5 :: Restoring With Cpio - Command Correct?

Nov 12, 2009

The last time I did a restore using cpio under CentOS 3.9 it took a very long time for me to find my seemingly correct command wasn't working and I ended up doing the work in Knoppix. This time I thought I'd run my command by wiser heads before the necessary tape turns up and I spend a lot of time finding my command doesn't work. cpio -i -mtvV --block-size=128 --no-absolute-filenames /var/log/maillog* < /dev/st0

Does this look right? The backup string is find / -path /mnt -prune -o -path /lost+found -prune -o -path /sys -prune -o -path /proc -prune -o -path /swapfile1 -prune -o -path /var/named/chroot/proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0

EDIT: I changed the restore string to cpio -i -mtvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0 EDIT2: Whoops, should be cpio -i -mvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0

View 1 Replies View Related

Server :: Run Rpmbuild -bb On Centos 5.5 Box To Create The Rpm For Python 2.7

Feb 23, 2011

I've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success.

View 3 Replies View Related

Ubuntu :: Cannot Cpio Files / Directories To Mounted Partition

Dec 8, 2010

I am trying to copy my /home directory to a separate partition. I have seen a lot of info on this on the internet. Most of the information uses cpio to copy the files. The destination partition has been successfukky mounter.

View 2 Replies View Related

Server :: CPIO And Find Operation Not Permitted Errors?

Jun 14, 2011

Below is the oneliner that I am using to exclude all of "." hidden directories within the same directory.

Code:
cd find . -depth ( -wholename ./.* ) -prune -o -print | cpio -oav > /media/caca/extract/full$date.cpio
it works fine but when I extract the files from the full$date.cpio archive it appears to have worked but gives me permission errors:

Code:
cd /media/caca/extract
cpio -ivd < full061411.cpio
cpio: Selection_001.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_001.png
cpio: Selection_002.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_002.png

[Code]...

View 4 Replies View Related

Server :: Create A Initrd Image Without Using Mkfs But Cpio?

Jan 26, 2011

how to create an initrd image using cpio, instead of mkfs?

Now im doing it like this:

Code:
dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd

But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.

View 2 Replies View Related

Software :: Rpmbuild Does Not Create Lib64 In Correct Path?

May 13, 2011

I am trying to install OpenCV2.2.0 from the sources and to make it easier in the future I want to create a rpm on my OpenSuse 11.2 x86_64 platform. The instructions how to install are in the specfile The relevant parts of the specfile below:

Code:

---snipp
%prep
%setup
%build

[code]....

View 2 Replies View Related

Software :: Rpmbuild A Spec File When A BuildRequires Is Not Installed

Dec 8, 2008

I'm trying to create a set of rpm files to install the requirements for a program.I found a great utility named cpanspec that will create a spec file for perl modules and have started building rpm files. I was able to create an rpm file for Business::CreditCard as a regular user. Now I'm trying to build another module that requires B::CC, and rpmbuild -ba fails saying that I am missing B::CC. I don't want to install it just to create another rpm file.Is there a way to make rpmbuild "think" that B::CC is installed in the build environment without installing it on the system?

View 1 Replies View Related

Programming :: Unable To Install The %files Directory In Rpmbuild

Nov 25, 2010

I have managed to get it to install the files in the BUILDROOT directory correctly but when I add the directories under the file it seems to try and install the files from root. my rpmmacros is as follows:

Code:

%_topdir /home/rpmbuild
# The directory where buildroots will be created.
%_buildrootdir %{_topdir}/BUILDROOT

[code]...

View 1 Replies View Related

Fedora :: Use Rpmbuild To Compile Kernel Without Re-compiling Unchanged Module?

Apr 20, 2011

Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time

View 13 Replies View Related

Software :: Rpmbuild: Check File Exist Before Installing Package?

Nov 17, 2010

I'm building a RPM package. In my SPEC file, in the "%pre" and "%post" sections, I need to be sure that Postgresql-server is started.I tried to add a "PreReq: /var/run/postmaster*" but the * is not interpreted ! (filename changes, depending on the linux distribution)Is this way test that this file exist (or test if the result of "pidof -s/usr/bin/postmaster" is empty, for example

View 2 Replies View Related

Software :: Rpmbuild: ./libtool: Line 1015: -e: Command Not Found?

Jan 24, 2010

rpmbuild: ./libtool: line 1015: -e: command not foundDear Experts,As part of a solution here:[URL]I'm trying to create a binary RPM from a SRC.RPM file. I'm running Redhat 5. cat /etc/redhat-releaseEnterprise Linux Enterprise Linux Server release 5.2 (Carthage)uname -aLinux blue.gateway.2wire.net 2.6.18-92.el5PAE #1 SMP Fri May 23 22:26:05 EDT 2008 i686 i686 i386 GNU/LinuxI managed to find the source package I need:ompat-db-4.1.25-9.src.rpmBut I'm getting this error as part of the build process:./libtool: line 1015: -e: command not foundDoes anyone know the secret to getit to work?Please see more detail in the following notes

pwd
/tmp/compat-db-4.1.25-9.i386
ls -l

[code]....

View 1 Replies View Related

Server :: Initrd Image Created With Cpio Doesn't Boot The Livecd

Jul 1, 2011

Im trying to build an initrd image for my livecd using cpio -o -H newc, but the livecd can't boot. If I create the initrd image using mkfs.ext2 then it works.

View 2 Replies View Related

OpenSUSE Install :: Copy Data From The Straight Disk To The Array, Using Several Methods: With Dolphin, With Cpio?

Jan 9, 2010

I'm not sure wether this is the correct forum for this, but this is the best place I can see at the moment, so I'll give it a try. Please redirect me if I'm mistaken.Running Suse 11.2, I have a RAID-5 device mounted, and a straigt disk. I want to copy data from the straigt disk to the array, using several methods: with Dolphin, with cpio. Copying runs for some time, sometimes one or some files are copied indeed, but after a short time (sometimes half a minute, sometimes 10 minutes or more) I get a

Message from syslogd@linux-wrth at Jan 9 22:44:03 ...
kernel:[ 381.602651] Oops: 0000 [#1] PREEMPT SMP
Message from syslogd@linux-wrth at Jan 9 22:44:03 ...

[code]....

View 2 Replies View Related

Server :: Edit The Default RHEL CD To Have It Automatically Install RHEL Based Off Of A Kickstart File

Mar 2, 2011

is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.

View 3 Replies View Related

Server :: Configuration Difference Between RHEL 3 To RHEL 5 For Webserver Installations?

Feb 1, 2011

We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?

View 1 Replies View Related

General :: Force Mono Sound On 9.10?

Mar 15, 2010

My headphones broke so audio only works on the right speaker. As a temporary fix I want to force all sounds to play in mono in the right speaker. I run Ubuntu 9.10. Is there a way to complete this?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved