Greetings,

 

I would greatly appreciate if anybody could help me with this:

I am getting "Invalid gzip magic" error from busybox rpm utility on
ARM9.

So there is busybox rpm inflate errors due to the above.

 

PRM was rolled up on 32-bit 0x86 Open SUSE 10.2 using standard rpmbuild
utility that came with OpenSuse. 

and standard GNU tar (1.15.1) & gzip (1.3.5)  for the source tarball and
then I attemptedto install it on ARM9 

with busybox rpm utility.

 

Here is a very simple .spec file (edited for brevity):

 

************************************************************************
**************

...standard header here...

ExclusiveArch: arm

Exclusiveos: linux

 

Source: %{name}-%{version}.tar.gz

Buildroot: /tmp/product-build-root

 

...

%prep

%setup -n %{name}-%{version}

 

%install

install -m777 -d $RPM_BUILD_ROOT/mnt

install -m777 -d $RPM_BUILD_ROOT/mnt/flash

install -m777   file1 $RPM_BUILD_ROOT/mnt/flash/file1

install -m777   file2 $RPM_BUILD_ROOT/mnt/flash/file2

install -m777   file3 $RPM_BUILD_ROOT/mnt/flash/file3

 

%clean

[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"

 

%post

echo "%{name}-%{version} successfully installed."

 

%files

%defattr(777,root,root)

/mnt/flash/file1

/mnt/flash/file2

/mnt/flash/file3

************************************************************************
*****************

 

RPM was build with :

rpmbuild -bb -target arm file.spec

 

If I put source.tar.gz file on the ARM9  I can untar and gunzip it just
fine.

 

Tried different versions of busybox on ARM9 up to (1.6.0) - to no avail.

 

What am I missing?

 

 

Regards,

 

Nikolay V. Yevik

 

Technical Advisor

Halliburton ESG

 

 

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to