2112550_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2112550_en-US

2112550_en-US

Set Custom Hostname in LLDP SDK

I want to change the hostname of the LLDP SDK for NXP LX2160ARBD Board. I tried using "hostname" and "hostname_pn-base-files" in local.conf, but after building it shows the default hostname. I even tried creating a base-files recipe with a bbappend to modify hostname and hosts file in my custom layer, even that didn't work.. What else can be done?


Re: Set Custom Hostname in LLDP SDK

I have resolved this by using the parameter HOST_NAME = "CUSTOM_HOSTNAME" in the respective distro's bb file, in my case it is ls-image-main. 

I created a ls-image-main.bbappend in my custom layer and added this line in that file and after building the distro recipe, host name change was reflected in the image.

Re: Set Custom Hostname in LLDP SDK

If you want to add custom machine in the yocto, you could refer to

https://docs.nxp.com/bundle/UG10081_LLDP_L6.1.55_2.2.0/page/topics/how_to_add_a_custom_machine_in_fl...

Thanks

タグ(1)
評価なし
バージョン履歴
最終更新日:
土曜日
更新者: