Olivier,

It is in (r9450 and r9451).

Thanks for your contribution! :)

----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Envoyé: Mardi 26 Juin 2012 09:14:44
Objet: [Oscar-devel] Kernel detection fix on client image (scconf_kernel)




Hi, 

Here are 2 patches to fix kernel detection in built client image. 

Problem fixed here: 
- rhel6 now uses initramfs.img instead of initrd.img 
- Kernel_ia.pm thought rhel6 x86_64 was an itanium distro as it found /boot/efi 
in client image. 
=> used OS_Detect on Images/Kernel_*.pm to correctly detect client image arch. 
=> IMHO we should use the architecture stored in the Images table of the oscar 
database. No need to redetect something we have previously decided. (anyway, 
for now it fixes stufs). 
- Image.pm & OS_Detect updated to take into account ia64 and ppc64. 

now we have more than 2 lines in the following command (a kernel is found) 
scconf_kernel -i /var/lib/systemimager/images/oscarimage 
DEFAULTBOOT : 5148 
Label Kernel 
2.6.32-220.23.1.el6.x86_64 /boot/vmlinuz-2.6.32-220.23.1.el6.x86_64 

Regards, 

-- 
Olivier LAHAYE 
CEA DRT/LIST/DCSI/DIR 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to