<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Layerscape中的主题 How to change init.d rc boot files for fsl-image-kernelitb?</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-change-init-d-rc-boot-files-for-fsl-image-kernelitb/m-p/491499#M934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;How do customers add a binary file to init.d for fsl-image-kernelitb for the ls1043 and how does a customer modify the init.d recipe for fsl-image-kernelitb to execute the binary at boot time?&amp;nbsp; The fsl-image-kenrelitb uses the fsl-core-image rootfs by default. Need to add a binary to sbin and/or preferably etc to execute at boot time as a quick hack to check boot performance and modify run levels for the binary.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;When I modify poky/meta/recipes-core/initscripts/&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; and add a binary, the binary gets added to aarch64-fsl-linux/image/etc/eos.&amp;nbsp; It never gets copied to the rootfs for the fsl-image-kernelitb bitbake.&amp;nbsp; What is the equivalent recipe for the ls1043. Please answer with more than one or two sentences to avoid wasting time.&amp;nbsp; Clear explanation and no links to yocto documentation please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I modified the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; recipe in poky/meta/recipes-core/initscripts provided below and then placed the binary "eos" under initscripts-1.0/eos.&amp;nbsp; I then did the fsl-image-kernelitb bitbake.&amp;nbsp; The bitbake does a bake of aarch64-fsl-linux and eos the binary is moved to packages-split/initscripts/etc/init.d/eos and images/etc/init.d/eos as shown.&amp;nbsp; But it does not get packaged in rootfs under ls1043ardb-fsl-linux or under core or anywhere else.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;First, it’s unclear how to add a binary to the correct recipes for rootfs /etc/init.d for the fsl-image-kernelitb bitbake that uses core as the default. Second, it is unclear what to modify to get eos to execute at boot time for fsl-image-kernelitb if the image only appears under aarch64-fsl-linux.&amp;nbsp; Any assistance will help.&amp;nbsp; I provide the modified initscripts_1.0.bb recipe below and the directories where the eos binary is copied. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%; font-size: 12pt;"&gt;The bitbake command I used: bitbake fsl-image-kernelitb&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;Placed the binary in this directory and modified the initscripts_1.0.bb recipe as shown below: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;./poky/meta/recipes-core/initscripts/initscripts-1.0/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%; font-family: 'Calibri',sans-serif; font-size: 12pt;"&gt;Then on doing the bitbake, the eos binary was copied to these locations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/rcS.d/S96eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/image/etc/rcS.d/S96eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/image/etc/init.d/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/rcS.d/S96eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/init.d/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%; font-size: 12pt;"&gt;&lt;STRONG&gt;The &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; file:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Located here: Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;SUMMARY = "SysVinit scripts"&lt;BR /&gt;DESCRIPTION = "Initscripts provide the basic system startup initialization scripts for the system.&amp;nbsp; These scripts include actions such as filesystem mounting, fsck, RTC manipulation and other actions routinely performed at system startup.&amp;nbsp; In addition, the scripts are also used during system shutdown to reverse the actions performed at startup."&lt;BR /&gt;SECTION = "base"&lt;BR /&gt;LICENSE = "GPLv2"&lt;BR /&gt;LIC_FILES_CHKSUM = "&lt;A&gt;&lt;SPAN style="color: windowtext;"&gt;file://COPYING;md5=751419260aa954499f7abaabaa882bbe&lt;/SPAN&gt;&lt;/A&gt;"&lt;BR /&gt;PR = "r155"&lt;BR /&gt;&lt;SPAN style="font-family: 'Times New Roman',serif;"&gt;INHIBIT_DEFAULT_DEPS= "1"&lt;BR /&gt;SRC_URI = "&lt;A&gt;&lt;SPAN style="color: windowtext;"&gt;file://functions\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://halt \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://umountfs \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://devpts.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://devpts \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://hostname.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://mountall.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://banner.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://bootmisc.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://mountnfs.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://reboot \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://checkfs.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://single \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://sendsigs &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://urandom \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://rmnologin.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://checkroot.sh\&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://umountnfs.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://sysfs.sh \&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://populate-volatile.sh \&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://read-only-rootfs-hook.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://volatiles \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://save-rtc.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://GPLv2.patc\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://dmesg.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background: yellow none repeat scroll 0% 0%;"&gt;file://eos \&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://logrotate-dmesg.conf \&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;do_install () {&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# Create directories and install device independent scripts&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif;"&gt;......&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman',serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%;"&gt;install -m 0755&amp;nbsp;&amp;nbsp; ${WORKDIR}/eos ${D}${sysconfdir}/init.d&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# Create runlevel links&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;# Run eos and change start sequence as needed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;&lt;P&gt;update-rc.d -r ${D} eos start 96 S .&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;... Rest is original .bb file.&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt; color: #e23d39;"&gt;When doing a bitbake of the fsl-image-core, I receive the following errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;setup-poky -m ls1043ardb&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release was created before.&lt;/P&gt;&lt;P&gt;Back to build project /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release.&lt;/P&gt;&lt;P&gt;Modify files under /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/conf/ to update.&lt;/P&gt;&lt;P&gt;tlsmith@Latitude-E7440:~/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release$&lt;STRONG&gt; bitbake fsl-image-core&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Loading cache: 100% |###########################################| ETA:&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;Loaded 2028 entries from dependency cache.&lt;/P&gt;&lt;P&gt;Parsing recipes: 100% |#########################################| Time: 00:00:00&lt;/P&gt;&lt;P&gt;Parsing of 1573 .bb files complete (1572 cached, 1 parsed). 2028 targets, 126 skipped, 2 masked, 0 errors.&lt;/P&gt;&lt;P&gt;NOTE: Resolving any missing task queue dependencies&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;/P&gt;&lt;P&gt;BB_VERSION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "1.22.0"&lt;/P&gt;&lt;P&gt;BUILD_SYS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "x86_64-linux"&lt;/P&gt;&lt;P&gt;NATIVELSBSTRING&amp;nbsp;&amp;nbsp; = "Ubuntu-14.04"&lt;/P&gt;&lt;P&gt;TARGET_SYS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "aarch64-fsl-linux"&lt;/P&gt;&lt;P&gt;MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "ls1043ardb"&lt;/P&gt;&lt;P&gt;DISTRO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "fsl-networking"&lt;/P&gt;&lt;P&gt;DISTRO_VERSION&amp;nbsp;&amp;nbsp;&amp;nbsp; = "1.6.1"&lt;/P&gt;&lt;P&gt;TUNE_FEATURES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "aarch64"&lt;/P&gt;&lt;P&gt;meta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-yocto&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-yocto-bsp&amp;nbsp;&amp;nbsp;&amp;nbsp; = "(detachedfrom65a7a85):error:"&lt;/P&gt;&lt;P&gt;meta-fsl-arm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "(detachedfrom05f1748):error:"&lt;/P&gt;&lt;P&gt;meta-fsl-networking = "(detachedfromae11e55):error:"&lt;/P&gt;&lt;P&gt;meta-fsl-testing&amp;nbsp; = "(detachedfromfff2c5f):fff2c5fab98f29034d718c210a493fffb33ef142"&lt;/P&gt;&lt;P&gt;meta-fsl-toolchain&lt;/P&gt;&lt;P&gt;meta-virtualization = "&amp;lt;unknown&amp;gt;:&amp;lt;unknown&amp;gt;"&lt;/P&gt;&lt;P&gt;meta-oe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-networking&lt;/P&gt;&lt;P&gt;meta-perl&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-webserver&lt;/P&gt;&lt;P&gt;toolchain-layer&amp;nbsp;&amp;nbsp; = "(detachedfrom4203436):error:"&lt;/P&gt;&lt;P&gt;meta-linaro-toolchain = "(detachedfrom6452ef4):error:"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Preparing runqueue&lt;/P&gt;&lt;P&gt;NOTE: Executing SetScene Tasks&lt;/P&gt;&lt;P&gt;NOTE: Executing RunQueue Tasks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;ERROR: QA Issue: non debug package contains .debug directory: initscripts path /work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: QA run found fatal errors. Please consider fixing them.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Function failed: do_package_qa&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Logfile of failure stored in: /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/temp/log.do_package.3238&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Task 964 (/home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/initscripts_1.0.bb, do_package) failed with exit code '1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: Tasks Summary: Attempted 1397 tasks of which 1393 didn't need to be rerun and 1 failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Waiting for 0 running tasks to finish:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/initscripts_1.0.bb, do_package&lt;/P&gt;&lt;P&gt;Summary: There were 3 ERROR messages shown, returning a non-zero exit code.&lt;/P&gt;&lt;P&gt;tlsmith@Latitude-E7440:~/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release$ bitbake fsl-image-core&lt;/P&gt;&lt;P&gt;Loading cache: 100% |###########################################| ETA:&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;Loaded 2028 entries from dependency cache.&lt;/P&gt;&lt;P&gt;Parsing recipes: 100% |#########################################| Time: 00:00:00&lt;/P&gt;&lt;P&gt;Parsing of 1573 .bb files complete (1572 cached, 1 parsed). 2028 targets, 126 skipped, 2 masked, 0 errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;The log.do_package.3238 contains the following:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function sstate_task_prefunc&lt;/P&gt;&lt;P&gt;DEBUG: Python function sstate_task_prefunc finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function do_package&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function package_get_auto_pr&lt;/P&gt;&lt;P&gt;DEBUG: Python function package_get_auto_pr finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function perform_packagecopy&lt;/P&gt;&lt;P&gt;NOTE: initscripts: Rename /etc/init.d/functions -&amp;gt; /etc/init.d/functions.initscripts&lt;/P&gt;&lt;P&gt;DEBUG: Python function perform_packagecopy finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function split_and_strip_files&lt;/P&gt;&lt;P&gt;DEBUG: runstrip: 'aarch64-fsl-linux-strip' --remove-section=.comment --remove-section=.note '/home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/init.d/eos'&lt;/P&gt;&lt;P&gt;DEBUG: Python function split_and_strip_files finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function fixup_perms&lt;/P&gt;&lt;P&gt;DEBUG: Python function fixup_perms finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function populate_packages_updatealternatives&lt;/P&gt;&lt;P&gt;NOTE: adding update-alternatives calls to postinst/postrm for initscripts-functions&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&amp;nbsp; update-alternatives --install /etc/init.d/functions functions /etc/init.d/functions.initscripts 90&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&amp;nbsp; update-alternatives --remove&amp;nbsp; functions /etc/init.d/functions.initscripts&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG: Python function populate_packages_updatealternatives finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function package_do_split_locales&lt;/P&gt;&lt;P&gt;DEBUG: No locale files in this package&lt;/P&gt;&lt;P&gt;DEBUG: Python function package_do_split_locales finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function populate_packages&lt;/P&gt;&lt;P&gt;DEBUG: Python function populate_packages finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function do_package_qa&lt;/P&gt;&lt;P&gt;NOTE: DO PACKAGE QA&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-functions&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-dbg&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-staticdev&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-dev&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-doc&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-locale&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts&lt;/P&gt;&lt;P&gt;NOTE: aarch64-fsl-linux-objdump -p /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/eos&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;NOTE: aarch64-fsl-linux-objdump -p /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;ERROR: QA Issue: non debug package contains .debug directory: initscripts path /work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: QA run found fatal errors. Please consider fixing them.&lt;/P&gt;&lt;P&gt;DEBUG: Python function do_package_qa finished&lt;/P&gt;&lt;P&gt;DEBUG: Python function do_package finished&lt;/P&gt;&lt;P&gt;ERROR: Function failed: do_package_qa&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;Why is .debug created and how can this be avoided?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;Is this .debug error preventing the eos binary from being copied to fsl-image-core/rootfs/etc/init.d when doing a bitbake of either fsl-image-core or fsl-image-kernelitb?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;If not, what needs to be changed to allow a new executable to be added to the init.d scripts and run for fsl-image-core and fsl-image-kernelitb when booting?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls tmp/work/ls1043ardb-fsl-linux/fsl-image-core/1.0-r0/rootfs/etc/init.d/eos&lt;/P&gt;&lt;P&gt;ls: cannot access eos: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337200"&gt;initscripts_1.0.bb.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 03:50:38 GMT</pubDate>
    <dc:creator>pro-supportengi</dc:creator>
    <dc:date>2016-05-23T03:50:38Z</dc:date>
    <item>
      <title>How to change init.d rc boot files for fsl-image-kernelitb?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-init-d-rc-boot-files-for-fsl-image-kernelitb/m-p/491499#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;How do customers add a binary file to init.d for fsl-image-kernelitb for the ls1043 and how does a customer modify the init.d recipe for fsl-image-kernelitb to execute the binary at boot time?&amp;nbsp; The fsl-image-kenrelitb uses the fsl-core-image rootfs by default. Need to add a binary to sbin and/or preferably etc to execute at boot time as a quick hack to check boot performance and modify run levels for the binary.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;When I modify poky/meta/recipes-core/initscripts/&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; and add a binary, the binary gets added to aarch64-fsl-linux/image/etc/eos.&amp;nbsp; It never gets copied to the rootfs for the fsl-image-kernelitb bitbake.&amp;nbsp; What is the equivalent recipe for the ls1043. Please answer with more than one or two sentences to avoid wasting time.&amp;nbsp; Clear explanation and no links to yocto documentation please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I modified the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; recipe in poky/meta/recipes-core/initscripts provided below and then placed the binary "eos" under initscripts-1.0/eos.&amp;nbsp; I then did the fsl-image-kernelitb bitbake.&amp;nbsp; The bitbake does a bake of aarch64-fsl-linux and eos the binary is moved to packages-split/initscripts/etc/init.d/eos and images/etc/init.d/eos as shown.&amp;nbsp; But it does not get packaged in rootfs under ls1043ardb-fsl-linux or under core or anywhere else.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;First, it’s unclear how to add a binary to the correct recipes for rootfs /etc/init.d for the fsl-image-kernelitb bitbake that uses core as the default. Second, it is unclear what to modify to get eos to execute at boot time for fsl-image-kernelitb if the image only appears under aarch64-fsl-linux.&amp;nbsp; Any assistance will help.&amp;nbsp; I provide the modified initscripts_1.0.bb recipe below and the directories where the eos binary is copied. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%; font-size: 12pt;"&gt;The bitbake command I used: bitbake fsl-image-kernelitb&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;Placed the binary in this directory and modified the initscripts_1.0.bb recipe as shown below: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;./poky/meta/recipes-core/initscripts/initscripts-1.0/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%; font-family: 'Calibri',sans-serif; font-size: 12pt;"&gt;Then on doing the bitbake, the eos binary was copied to these locations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/rcS.d/S96eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/image/etc/rcS.d/S96eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/image/etc/init.d/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/rcS.d/S96eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;./build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/init.d/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%; font-size: 12pt;"&gt;&lt;STRONG&gt;The &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; file:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Located here: Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Finitscripts_1.0.bb%2F" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: windowtext;"&gt;initscripts_1.0.bb&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;SUMMARY = "SysVinit scripts"&lt;BR /&gt;DESCRIPTION = "Initscripts provide the basic system startup initialization scripts for the system.&amp;nbsp; These scripts include actions such as filesystem mounting, fsck, RTC manipulation and other actions routinely performed at system startup.&amp;nbsp; In addition, the scripts are also used during system shutdown to reverse the actions performed at startup."&lt;BR /&gt;SECTION = "base"&lt;BR /&gt;LICENSE = "GPLv2"&lt;BR /&gt;LIC_FILES_CHKSUM = "&lt;A&gt;&lt;SPAN style="color: windowtext;"&gt;file://COPYING;md5=751419260aa954499f7abaabaa882bbe&lt;/SPAN&gt;&lt;/A&gt;"&lt;BR /&gt;PR = "r155"&lt;BR /&gt;&lt;SPAN style="font-family: 'Times New Roman',serif;"&gt;INHIBIT_DEFAULT_DEPS= "1"&lt;BR /&gt;SRC_URI = "&lt;A&gt;&lt;SPAN style="color: windowtext;"&gt;file://functions\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://halt \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://umountfs \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://devpts.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://devpts \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://hostname.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://mountall.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://banner.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://bootmisc.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://mountnfs.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://reboot \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://checkfs.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://single \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://sendsigs &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://urandom \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://rmnologin.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://checkroot.sh\&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://umountnfs.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://sysfs.sh \&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://populate-volatile.sh \&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://read-only-rootfs-hook.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://volatiles \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://save-rtc.sh\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://GPLv2.patc\&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://dmesg.sh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background: yellow none repeat scroll 0% 0%;"&gt;file://eos \&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file://logrotate-dmesg.conf \&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;do_install () {&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# Create directories and install device independent scripts&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif;"&gt;......&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman',serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;SPAN style="background: yellow none repeat scroll 0% 0%;"&gt;install -m 0755&amp;nbsp;&amp;nbsp; ${WORKDIR}/eos ${D}${sysconfdir}/init.d&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# Create runlevel links&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;# Run eos and change start sequence as needed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;&lt;P&gt;update-rc.d -r ${D} eos start 96 S .&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;... Rest is original .bb file.&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt; color: #e23d39;"&gt;When doing a bitbake of the fsl-image-core, I receive the following errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;setup-poky -m ls1043ardb&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release was created before.&lt;/P&gt;&lt;P&gt;Back to build project /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release.&lt;/P&gt;&lt;P&gt;Modify files under /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/conf/ to update.&lt;/P&gt;&lt;P&gt;tlsmith@Latitude-E7440:~/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release$&lt;STRONG&gt; bitbake fsl-image-core&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Loading cache: 100% |###########################################| ETA:&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;Loaded 2028 entries from dependency cache.&lt;/P&gt;&lt;P&gt;Parsing recipes: 100% |#########################################| Time: 00:00:00&lt;/P&gt;&lt;P&gt;Parsing of 1573 .bb files complete (1572 cached, 1 parsed). 2028 targets, 126 skipped, 2 masked, 0 errors.&lt;/P&gt;&lt;P&gt;NOTE: Resolving any missing task queue dependencies&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;/P&gt;&lt;P&gt;BB_VERSION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "1.22.0"&lt;/P&gt;&lt;P&gt;BUILD_SYS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "x86_64-linux"&lt;/P&gt;&lt;P&gt;NATIVELSBSTRING&amp;nbsp;&amp;nbsp; = "Ubuntu-14.04"&lt;/P&gt;&lt;P&gt;TARGET_SYS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "aarch64-fsl-linux"&lt;/P&gt;&lt;P&gt;MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "ls1043ardb"&lt;/P&gt;&lt;P&gt;DISTRO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "fsl-networking"&lt;/P&gt;&lt;P&gt;DISTRO_VERSION&amp;nbsp;&amp;nbsp;&amp;nbsp; = "1.6.1"&lt;/P&gt;&lt;P&gt;TUNE_FEATURES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "aarch64"&lt;/P&gt;&lt;P&gt;meta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-yocto&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-yocto-bsp&amp;nbsp;&amp;nbsp;&amp;nbsp; = "(detachedfrom65a7a85):error:"&lt;/P&gt;&lt;P&gt;meta-fsl-arm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "(detachedfrom05f1748):error:"&lt;/P&gt;&lt;P&gt;meta-fsl-networking = "(detachedfromae11e55):error:"&lt;/P&gt;&lt;P&gt;meta-fsl-testing&amp;nbsp; = "(detachedfromfff2c5f):fff2c5fab98f29034d718c210a493fffb33ef142"&lt;/P&gt;&lt;P&gt;meta-fsl-toolchain&lt;/P&gt;&lt;P&gt;meta-virtualization = "&amp;lt;unknown&amp;gt;:&amp;lt;unknown&amp;gt;"&lt;/P&gt;&lt;P&gt;meta-oe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-networking&lt;/P&gt;&lt;P&gt;meta-perl&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;meta-webserver&lt;/P&gt;&lt;P&gt;toolchain-layer&amp;nbsp;&amp;nbsp; = "(detachedfrom4203436):error:"&lt;/P&gt;&lt;P&gt;meta-linaro-toolchain = "(detachedfrom6452ef4):error:"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Preparing runqueue&lt;/P&gt;&lt;P&gt;NOTE: Executing SetScene Tasks&lt;/P&gt;&lt;P&gt;NOTE: Executing RunQueue Tasks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;ERROR: QA Issue: non debug package contains .debug directory: initscripts path /work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: QA run found fatal errors. Please consider fixing them.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Function failed: do_package_qa&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Logfile of failure stored in: /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/temp/log.do_package.3238&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Task 964 (/home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/initscripts_1.0.bb, do_package) failed with exit code '1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: Tasks Summary: Attempted 1397 tasks of which 1393 didn't need to be rerun and 1 failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Waiting for 0 running tasks to finish:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/initscripts_1.0.bb, do_package&lt;/P&gt;&lt;P&gt;Summary: There were 3 ERROR messages shown, returning a non-zero exit code.&lt;/P&gt;&lt;P&gt;tlsmith@Latitude-E7440:~/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release$ bitbake fsl-image-core&lt;/P&gt;&lt;P&gt;Loading cache: 100% |###########################################| ETA:&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;Loaded 2028 entries from dependency cache.&lt;/P&gt;&lt;P&gt;Parsing recipes: 100% |#########################################| Time: 00:00:00&lt;/P&gt;&lt;P&gt;Parsing of 1573 .bb files complete (1572 cached, 1 parsed). 2028 targets, 126 skipped, 2 masked, 0 errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;The log.do_package.3238 contains the following:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function sstate_task_prefunc&lt;/P&gt;&lt;P&gt;DEBUG: Python function sstate_task_prefunc finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function do_package&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function package_get_auto_pr&lt;/P&gt;&lt;P&gt;DEBUG: Python function package_get_auto_pr finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function perform_packagecopy&lt;/P&gt;&lt;P&gt;NOTE: initscripts: Rename /etc/init.d/functions -&amp;gt; /etc/init.d/functions.initscripts&lt;/P&gt;&lt;P&gt;DEBUG: Python function perform_packagecopy finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function split_and_strip_files&lt;/P&gt;&lt;P&gt;DEBUG: runstrip: 'aarch64-fsl-linux-strip' --remove-section=.comment --remove-section=.note '/home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/package/etc/init.d/eos'&lt;/P&gt;&lt;P&gt;DEBUG: Python function split_and_strip_files finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function fixup_perms&lt;/P&gt;&lt;P&gt;DEBUG: Python function fixup_perms finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function populate_packages_updatealternatives&lt;/P&gt;&lt;P&gt;NOTE: adding update-alternatives calls to postinst/postrm for initscripts-functions&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&amp;nbsp; update-alternatives --install /etc/init.d/functions functions /etc/init.d/functions.initscripts 90&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&amp;nbsp; update-alternatives --remove&amp;nbsp; functions /etc/init.d/functions.initscripts&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG: Python function populate_packages_updatealternatives finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function package_do_split_locales&lt;/P&gt;&lt;P&gt;DEBUG: No locale files in this package&lt;/P&gt;&lt;P&gt;DEBUG: Python function package_do_split_locales finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function populate_packages&lt;/P&gt;&lt;P&gt;DEBUG: Python function populate_packages finished&lt;/P&gt;&lt;P&gt;DEBUG: Executing python function do_package_qa&lt;/P&gt;&lt;P&gt;NOTE: DO PACKAGE QA&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-functions&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-dbg&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-staticdev&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-dev&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-doc&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts-locale&lt;/P&gt;&lt;P&gt;NOTE: Checking Package: initscripts&lt;/P&gt;&lt;P&gt;NOTE: aarch64-fsl-linux-objdump -p /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/eos&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;NOTE: aarch64-fsl-linux-objdump -p /home/tlsmith/Linux-LS1043A-SDK-V0.5-20151223-yocto/build_ls1043ardb_release/tmp/work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;ERROR: QA Issue: non debug package contains .debug directory: initscripts path /work/aarch64-fsl-linux/initscripts/1.0-r155/packages-split/initscripts/etc/init.d/.debug/eos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: QA run found fatal errors. Please consider fixing them.&lt;/P&gt;&lt;P&gt;DEBUG: Python function do_package_qa finished&lt;/P&gt;&lt;P&gt;DEBUG: Python function do_package finished&lt;/P&gt;&lt;P&gt;ERROR: Function failed: do_package_qa&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;Why is .debug created and how can this be avoided?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;Is this .debug error preventing the eos binary from being copied to fsl-image-core/rootfs/etc/init.d when doing a bitbake of either fsl-image-core or fsl-image-kernelitb?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;If not, what needs to be changed to allow a new executable to be added to the init.d scripts and run for fsl-image-core and fsl-image-kernelitb when booting?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls tmp/work/ls1043ardb-fsl-linux/fsl-image-core/1.0-r0/rootfs/etc/init.d/eos&lt;/P&gt;&lt;P&gt;ls: cannot access eos: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337200"&gt;initscripts_1.0.bb.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 03:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-init-d-rc-boot-files-for-fsl-image-kernelitb/m-p/491499#M934</guid>
      <dc:creator>pro-supportengi</dc:creator>
      <dc:date>2016-05-23T03:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change init.d rc boot files for fsl-image-kernelitb?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-init-d-rc-boot-files-for-fsl-image-kernelitb/m-p/491500#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;Following these steps the binary file can be found in the new rootfs and in the .itb. If the file can’t be found in new itb.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Add the binary to initscripts-1.0/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~/Linux-LS1043A-SDK-V0.5-20151223-yocto/poky/meta/recipes-core/initscripts/initscripts-1.0/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Modify the initscripts_1.0.bb as follows:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;diff new.bb tmp/org.bb&lt;/P&gt;&lt;P&gt;7,8d6&lt;/P&gt;&lt;P&gt;&amp;lt; # add binary files and skep .debug issue&lt;/P&gt;&lt;P&gt;&amp;lt; &lt;STRONG&gt;INSANE_SKIP_${PN} += "debug-files"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;37d34&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; file://eos \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;103d99&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; install -m 0755&amp;nbsp;&amp;nbsp;&amp;nbsp; ${WORKDIR}/eos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${D}${sysconfdir}/init.d&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;140,143c136&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; update-rc.d -r ${D} dmesg.sh start 41 S .&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Run eos and change start sequence as needed&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;update-rc.d -r ${D} eos start 50 S .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; update-rc.d -r ${D} dmesg.sh start 38 S .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Bitbake&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;bitbake initscripts -c cleansstate&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;bitbake fsl-image-core &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;bitbake fsl-image-kernelitb &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;build_ls1043ardb_release/tmp/work/ls1043ardb-fsl-linux/fsl-image-core/1.0-r0/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./rootfs/etc/rcS.d/S50eos&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;./rootfs/etc/init.d/.debug/eos&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./rootfs/etc/init.d/eos&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using a script under initscripts-1.0/ instead of a binary, there is no need to use:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;INSANE_SKIP_${PN} += "debug-files"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: #606060;"&gt;INSANE_SKIP definition in &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=http://www.yoctoproject.org/docs/2.0.1/ref-manual/ref-manual.html%23var-INSANE_SKIP&amp;amp;source=gmail&amp;amp;ust=1464319845445000&amp;amp;usg=AFQjCNExhXFb98wqh1Z5yAVml4EfhLC8-Q" href="http://www.yoctoproject.org/docs/2.0.1/ref-manual/ref-manual.html#var-INSANE_SKIP" target="_blank"&gt;&lt;SPAN style="color: #606060;"&gt; &lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.yoctoproject.org/docs/2.0.1/ref-manual/ref-manual.html#var-INSANE_SKIP" target="test_blank"&gt;http://www.yoctoproject.org/docs/2.0.1/ref-manual/ref-manual.html#var-INSANE_SKIP&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 01:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-init-d-rc-boot-files-for-fsl-image-kernelitb/m-p/491500#M935</guid>
      <dc:creator>pro-supportengi</dc:creator>
      <dc:date>2016-05-26T01:51:05Z</dc:date>
    </item>
  </channel>
</rss>

