Le 31/10/2012 17:05, Guillaume Gardet a écrit :
Hi,
with my first pacthes for armv5 support to kiwi, I am nearly done but I have a problem with vmlinuz.
I get the following error during Raspberry Pi image build: [ 1927s] mv: cannot stat 'vmlinuz-3.1.10-1.17-raspberrypi': No such file or directory
Which lead to the final error: [ 1928s] Oct-31 15:43:23 <1> : Extracting kernel [ 1928s] Oct-31 15:43:23 <1> : EXEC [pwd] [ 1928s] Oct-31 15:43:24 <3> : Can't find kernel for extraction: No such file or directory
It seems that the kiwi source code is: ******************************************************************************** #========================================== # create common kernel files, last wins ! #------------------------------------------ pushd /boot if [ -f uImage-$VERSION ];then mv uImage-$VERSION vmlinuz elif [ -f vmlinux-$VERSION.gz ];then mv vmlinux-$VERSION.gz vmlinux.gz mv vmlinuz-$VERSION vmlinuz elif [ -f vmlinuz-$VERSION.el5 ];then mv vmlinux-$VERSION.el5 vmlinuz elif [ -f vmlinuz-$VERSION ];then mv vmlinuz-$VERSION vmlinuz elif [ -f image-$VERSION ];then mv image-$VERSION vmlinuz else rm -f vmlinux cp vmlinux-$VERSION vmlinux mv vmlinux-$VERSION vmlinuz fi ********************************************************************************
So, "mv" should occur only when the file exist. In my case it should not stop in vmlinuz-$VERSION but in image-$VERSION.
Any idea what is going on?
Oh, I got it. I have "vmlinux-$VERSION.gz" but no "vmlinux-$VERSION", so 2nd move is KO. I will submit a patch to have image-* before vmlinux-*.gz. Sorry for the noise... Guillaume
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org