Difference between revisions of "Conf local.conf"

From ESS-WIKI
Jump to: navigation, search
Line 21: Line 21:
  
 
 
 
 
 +
 +
#適用於 build_ProjectA/conf/local.conf 和 build_ProjectB/conf/local.conf
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">SSTATE_DIR = "/opt/yocto_shared_cache/sstate-cache"</div> <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">DL_DIR = "/opt/yocto_shared_cache/downloads"</div>
 +
&nbsp;
 +
 +
Yocto2.1:
 +
 +
WARNING: Invalid protocol (\ftp) in MIRRORS: \[ftp://.*/.* ftp://.*/.*] &nbsp; &nbsp; &nbsp;[http://downloads.yoctoproject.org/mirror/sources/ http://downloads.yoctoproject.org/mirror/sources/]<br/> ERROR: &nbsp;OE-core's config sanity checker detected a potential misconfiguration.<br/> &nbsp; &nbsp; Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).<br/> &nbsp; &nbsp; Following is the list of potential problems / advisories:
 +
 +
&nbsp; &nbsp; Fetcher failure for URL: '[https://eula-downloads.yoctoproject.org/index.php' https://eula-downloads.yoctoproject.org/index.php']. URL [https://eula-downloads.yoctoproject.org/index.php https://eula-downloads.yoctoproject.org/index.php] doesn't work. Please ensure your network is configured correctly.
 +
<pre>touch conf/sanity.conf</pre>

Revision as of 04:55, 15 October 2025

ACCEPT_FSL_EULA = "1"

INHERIT += "rm_work"

RM_WORK_EXCLUDE += " spdlog dtc "

UBOOT_CONFIG = "2G"

IMAGE_INSTALL_append = " tcpdump spdlog-dev qtserialport ethtool "

//#IMAGE_OVERHEAD_FACTOR = "1.5"
//#IMAGE_ROOTFS_EXTRA_SPACE_append = "1024576"
//#IMAGE_ROOTFS_EXTRA_SPACE = "1024576"
//#IMAGE_FEATURES += " dev-pkgs tools-sdk "
//#IMAGE_INSTALL_append = " vim busybox phoronix-test-suite packagegroup-core-base-utils "
//#IMAGE_INSTALL_append += " vim xeyes xwininfo helloyocto hellogtk "
//#IMAGE_INSTALL_append = " gtk+3 libzip-dev zlib zip php php-cgi lighttpd lighttpd-module-fastcgi "
//#CORE_IMAGE_EXTRA_INSTALL += " chromium-ozone-wayland "
//#LICENSE_FLAGS_WHITELIST += " commercial_libav commercial_x264 "
//#CORE_IMAGE_EXTRA_INSTALL += "chromium-x11 libexif"
//#LICENSE_FLAGS_WHITELIST="commercial"

//#IMAGE_INSTALL_append = " vim "
//#IMAGE_INSTALL_remove = " packagegroup-qt5-imx packagegroup-imx-ml "
//#PACKAGE_EXCLUDE = "  opencv "

 

In build/conf/local.conf. It can add parameter below to reduce the system resource usage.

BB_NUMBER_THREADS = "Half of you CPU core"  # Ex. 8 core CPU, it can set 4
PARALLEL_MAKE = "-j Half of your CPU core"     # Ex. 8 core CPU, it can set 4</code>

 

  1. 適用於 build_ProjectA/conf/local.conf 和 build_ProjectB/conf/local.conf
SSTATE_DIR = "/opt/yocto_shared_cache/sstate-cache"
DL_DIR = "/opt/yocto_shared_cache/downloads"

 

Yocto2.1:

WARNING: Invalid protocol (\ftp) in MIRRORS: \ftp://.*/.*      http://downloads.yoctoproject.org/mirror/sources/
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:

    Fetcher failure for URL: 'https://eula-downloads.yoctoproject.org/index.php'. URL https://eula-downloads.yoctoproject.org/index.php doesn't work. Please ensure your network is configured correctly.

touch conf/sanity.conf