[opensuse-arm] Kiwi and armv5
Hi Marcus, It seems your trick to move armv5 Image to vmlinuz is not working: See: https://github.com/openSUSE/kiwi/commit/8a3bea89ea2147c89c585687846ffdf7d9eb... In modules/KIWIConfig.sh: + elif [[ $arch =~ ^arm ]] && [ -f image-$VERSION ];then + mv image-$VERSION vmlinuz is KO. Because you have not to test for image-* but for Image-* (with a capital letter) During a build, I get this log: *************************************************************** mv: cannot stat 'vmlinuz-3.1.10-1.17-raspberrypi': No such file or directory (...) [ 2074s] Nov-15 14:48:06 <3> : Can't find kernel for extraction: No such file or directory (...) [ 2075s] Nov-15 14:48:07 <3> : KIWI exited with error(s) *************************************************************** Could you fix it in kiwi, and submit a fixed kiwi in OBS, please? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
It seems your trick to move armv5 Image to vmlinuz is not working: See: https://github.com/openSUSE/kiwi/commit/8a3bea89ea2147c89c585687846ffdf7d9eb...
In modules/KIWIConfig.sh: + elif [[ $arch =~ ^arm ]] && [ -f image-$VERSION ];then + mv image-$VERSION vmlinuz
is KO. Because you have not to test for image-* but for Image-* (with a capital letter)
*grmbl* why are we that inconsistent with the kernel file names here ? ok I have added yet another check for the capital 'I' match Thanks Regards, Marcus -- Public Key available gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
----- Marcus Schäfer
Hi,
It seems your trick to move armv5 Image to vmlinuz is not working: See: https://github.com/openSUSE/kiwi/commit/8a3bea89ea2147c89c585687846ffdf7d9eb...
In modules/KIWIConfig.sh: + elif [[ $arch =~ ^arm ]] && [ -f image-$VERSION ];then + mv image-$VERSION vmlinuz
is KO. Because you have not to test for image-* but for Image-* (with a capital letter)
*grmbl* why are we that inconsistent with the kernel file names here ? ok I have added yet another check for the capital 'I' match
I think kernel images are always with a capital I (Image, uImage, zImage). Isn't it? So, you may remove your check for image with a lower-case i. Thanks. Guillaume
Thanks
Regards, Marcus -- Public Key available gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de -------------------------------------------------------
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
I think kernel images are always with a capital I (Image, uImage, zImage). Isn't it? So, you may remove your check for image with a lower-case i.
I had it for a good reason, iirc the ppc kernel was a match of that expression, at least in the past. I think I will not remove the lower-case check as long as we still support sle10. that code part is reached for any distro in any arch thus pretty critical to touch ;) Thanks Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
----- Marcus Schäfer
Hi,
I think kernel images are always with a capital I (Image, uImage, zImage). Isn't it? So, you may remove your check for image with a lower-case i.
I had it for a good reason, iirc the ppc kernel was a match of that expression, at least in the past. I think I will not remove the lower-case check as long as we still support sle10. that code part is reached for any distro in any arch thus pretty critical to touch ;)
I do not mean to remove this part: elif [ -f image-$VERSION ];then mv image-$VERSION vmlinuz since I guess it is useful because it was there before. ;) but I mean to remove the ARM part with the lower case 'i': elif [[ $arch =~ ^arm ]] && [ -f image-$VERSION ];then mv image-$VERSION vmlinuz Guillaume
Thanks
Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de -------------------------------------------------------
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
I do not mean to remove this part: elif [ -f image-$VERSION ];then mv image-$VERSION vmlinuz
since I guess it is useful because it was there before. ;)
but I mean to remove the ARM part with the lower case 'i': elif [[ $arch =~ ^arm ]] && [ -f image-$VERSION ];then mv image-$VERSION vmlinuz
ah ok yes that makes sense will do that Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Guillaume Gardet
-
guillaume.gardet@free.fr
-
Marcus Schäfer