McCarthy, John wrote:
> file /usr/share/systemimager/boot/x86_64/xw94rhws3.8scsi/kernel
> /usr/share/systemimager/boot/x86_64/xw94rhws3.8scsi/kernel: ELF
> 64-bit LSB executable, AMD x86-64, version 1 (SYSV), statically
> linked, stripped
Here is the problem! this is not a valid kernel file, it's an
executable! There's a bug and I should have fixed it in the trunk...
the patch is the following, you can apply it directly to
/usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.
You can also manually fix it using one of the kernels available in the
/boot of your image.
Regards,
-Andrea
Index: lib/SystemImager/UseYourOwnKernel.pm
===================================================================
--- lib/SystemImager/UseYourOwnKernel.pm (revision 3845)
+++ lib/SystemImager/UseYourOwnKernel.pm (working copy)
@@ -302,10 +302,14 @@
my ($input) = (<INPUT>);
#
# eliminate vmlinux files on RH
- if( $input =~ m/ELF 32-bit LSB executable,/ ) { return
undef; }
+ if( $input =~ m/ELF (32|64)-bit LSB executable,/ ) {
return undef; }
#
# eliminate compressed data (eg. ramdisk)
if( $input =~ m/gzip compressed data,/ ) { return undef; }
+ # eliminate cpio archives (eg. ramdisk)
+ if( $input =~ m/cpio archive/ ) { return undef; }
+ # eliminate cramfs files (eg. ramdisk)
+ if( $input =~ m/Linux Compressed ROM File System data,/
) { return undef; }
close(INPUT);
#
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users