[yocto] How to change machine name in yocto

amit tomer amittomer25 at gmail.com
Wed Sep 11 07:30:10 PDT 2013


 I am new to opensource build framework Yocto and have a requirement
wherein wanted to change the machine name ,when I do BITBAKE image-name

Build Configuration:

BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "RedHatEnterpriseServer-5.6"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "pyp-ii"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.1"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa15"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "(nobranch):beda5013e46da16a3d76f095869a5a5c5b1bc08a"
meta-linaro-toolchain = "(nobranch):0f679485b945c1b929a44d1865eb517a096ac4ef"
meta-ti           = "(nobranch):3eb71003af3ebb025285493721332111ac581a42

Now MACHIEN name I wanted to change something like k2 from pyp-ii ,I tried
changing it in local.conf file but I am getting error like

ERROR: OE-core's config sanity checker detected a potential
misconfiguration. Either fix the cause of this error or at your own risk
disable the checker (see sanity.conf). Following is the list of potential
problems / advisories:

Please set a valid MACHINE in your local.conf or environment

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

I also tried setting up export MACHINE="k2" but I am getting the same error
message

In my /var/fpwork/tomar_yocto1/snz-yocto/meta-xyz/conf/machine there exist
a pyp-ii.conf file.

I tried renaming it to k2.conf but it also didn't work out.


Can anybody let me know what needs to be done in order to change MACHINE
name here.


Thanks

Amit Singh Tomar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130911/383fcff7/attachment.html>


More information about the yocto mailing list