The document seems to have a problem with the examples —
the description talks about “kerneldir” attribute, but the example uses 
“pkgdir”. 
When I use pkgdir it clobbers the existing value (/install/rhels7.3/x86_64) 
with new value (/install/kernels/3.10.0-862.14.14.el7.x86_64)

I think it should say chdef -t osimage <> -p kerneldir=<> 
I got further using that format. However, I’m still having trouble with the 
packimage
command “Error: Cannot find rhels7.3-x86_64-neboot-comp_kup from the linuximage 
table.
But it’s there:
[root@mgt5 ~]# tabdump linuximage | grep rhels7.3-x86_64-netboot-comp_kup
"rhels7.3-x86_64-netboot-comp_kup",,,,,"/install/kernels/3.10.0-862.14.4.el7.x86_64,/install/rhels7.3/x86_64",,,,,,"/install/kernels/3.10.0-862.14.14.el7.x86_64",,,,,,,,,,,,

Thanks for the pointers,

 — ddj

> On Dec 3, 2018, at 4:08 AM, Yuan Y Bai <by...@cn.ibm.com> wrote:
> 
>  
> Hi David,
>  
> Do you want to create osimage to use RHEL 7.5 kernel rpms based on RHEL 7.3 
> .iso?
>  
> I think you can refer to examples in this doc, if you have problem, contact 
> us freely.
>  
> https://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/diskless/customize_image/install_new_kernel.html?highlight=kernel
>  
> <https://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/diskless/customize_image/install_new_kernel.html?highlight=kernel>
>  
>  
> Best Regards
> --------------------------------------------------
> Yuan Bai (白媛)
> 
> CSTL HPC System Management Development
> Tel:86-10-82451401
> E-mail: by...@cn.ibm.com
> Address: IBM ZGC Campus. Ring Building 28,
> ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
> Beijing P.R.China 100193
> 
> IBM环宇大厦
> 北京市海淀区东北旺西路8号,中关村软件园28号楼
> 邮编:100193
>  
>  
> ----- Original message -----
> From: David Johnson <david_john...@brown.edu>
> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Cc:
> Subject: [xcat-user] choosing kernel for genimage (xCAT 2.13.4)
> Date: Sat, Dec 1, 2018 3:47 AM
>  
> I am trying to build new netboot images based on the RHEL 7.3 .iso,
> while updating only the kernel (to the one released with RHEL 7.5).
> I would like to retain the ability to rebuild the original images.
> It seems to me that “otherpkgs” is probably too late, as the kernel
> and initrd are populated  first.  
> 
> If I drop the updated RPMS in /install/rhels7.3/x86_64/Packages
> and rebuild the repo, it should choose the newer ones. Then I’d
> need the -g and/or -k options to genimage to use the originals.
> Does this make sense or is there an easier way?
> 
> Thanks,
>  — ddj
> Dave Johnson
> 
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user 
> <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>  
>  
> 
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to