<?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>i.MX Processors中的主题 Connman do_install error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1711654#M211464</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I attempted to create a connman append recipe (connman_%.append shown below) to add configuration files for known services so the device connects to them automatically when they are available. However, I get the do_install error shown below and am not sure how to address it.&lt;/P&gt;&lt;P&gt;As a workaround, I created a whole new receipt to install these files, which worked for build and on the device. However, I'd prefer to append connman than creating a new receipt. I tried commenting and uncommenting the "&lt;SPAN&gt;FILES:${PN}" lines, but that didn't help. I also executed "bitbake connman -c cleanall" before baking the receipt, and that didn't help either.&amp;nbsp;Any ideas?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://home.config \
            file://work.config \
            "

do_install() {
    install -d ${D}/var/lib/connman
    install -m 0644 ${WORKDIR}/home.config ${D}/var/lib/connman
    install -m 0644 ${WORKDIR}/work.config ${D}/var/lib/connman
}

#FILES:${PN} += "/var/lib/connman/home.config"
#FILES:${PN} += "/var/lib/connman/work.config"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/bluez5/bluez5_5.65.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/ofono/ofono_1.34.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/ppp/ppp_2.4.9.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/dbus/dbus_1.14.0.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/readline/readline_8.1.2.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross_11.3.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_11.3.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-extended/iptables/iptables_1.8.7.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-support/gnutls/gnutls_3.7.4.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/automake/automake_1.16.5.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-extended/xz/xz_5.2.6.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['bluez5', 'ofono', 'ppp', 'wpa-supplicant', 'dbus', 'glib-2.0', 'glibc', 'readline', 'systemd-systemctl-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libtool-cross', 'libtool-native', 'opkg-utils', 'quilt-native', 'iptables', 'gnutls', 'autoconf-native', 'automake-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'xz-native', 'texinfo-dummy-native', 'openssl', 'libnl', 'gettext-minimal-native', 'mobile-broadband-provider-info', 'systemd', 'ell', 'linux-libc-headers', 'libgcc', 'libpcap', 'libxcrypt', 'libpcre', 'bash-completion', 'zlib', 'libffi', 'util-linux', 'libunistring', 'libidn2', 'p11-kit', 'nettle', 'gmp', 'libseccomp', 'libical', 'binutils-cross-aarch64', 'flex-native', 'zlib-native', 'gnu-config-native', 'libmpc-native', 'zstd-native', 'mpfr-native', 'gmp-native', 'attr-native', 'autoconf-archive', 'base-passwd', 'shadow-native', 'base-files', 'expat', 'shadow-sysroot', 'shadow', 'm4-native', 'ncurses', 'cryptodev-linux', 'libcheck', 'acl', 'libcap', 'zstd', 'libpam', 'kmod', 'bzip2', 'libcap-ng', 'util-linux-libuuid', 'libtasn1', 'vala', 'gobject-introspection', 'libxml2', 'icu', 'attr', 'cracklib', 'flex', 'xz', 'python3', 'libnsl2', 'sqlite3', 'libtirpc', 'gdbm']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_install
rmdir: failed to remove '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/build/tmp/work/armv8a-poky-linux/connman/1.41-r0/image/usr/lib/connman/scripts': No such file or directory
WARNING: exit code 1 from a shell command.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Aug 2023 00:32:59 GMT</pubDate>
    <dc:creator>moose</dc:creator>
    <dc:date>2023-08-26T00:32:59Z</dc:date>
    <item>
      <title>Connman do_install error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1711654#M211464</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I attempted to create a connman append recipe (connman_%.append shown below) to add configuration files for known services so the device connects to them automatically when they are available. However, I get the do_install error shown below and am not sure how to address it.&lt;/P&gt;&lt;P&gt;As a workaround, I created a whole new receipt to install these files, which worked for build and on the device. However, I'd prefer to append connman than creating a new receipt. I tried commenting and uncommenting the "&lt;SPAN&gt;FILES:${PN}" lines, but that didn't help. I also executed "bitbake connman -c cleanall" before baking the receipt, and that didn't help either.&amp;nbsp;Any ideas?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://home.config \
            file://work.config \
            "

do_install() {
    install -d ${D}/var/lib/connman
    install -m 0644 ${WORKDIR}/home.config ${D}/var/lib/connman
    install -m 0644 ${WORKDIR}/work.config ${D}/var/lib/connman
}

#FILES:${PN} += "/var/lib/connman/home.config"
#FILES:${PN} += "/var/lib/connman/work.config"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/bluez5/bluez5_5.65.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/ofono/ofono_1.34.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/ppp/ppp_2.4.9.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/dbus/dbus_1.14.0.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/readline/readline_8.1.2.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross_11.3.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_11.3.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-extended/iptables/iptables_1.8.7.bb:do_populate_sysroot', '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-support/gnutls/gnutls_3.7.4.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/automake/automake_1.16.5.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/sources/poky/meta/recipes-extended/xz/xz_5.2.6.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['bluez5', 'ofono', 'ppp', 'wpa-supplicant', 'dbus', 'glib-2.0', 'glibc', 'readline', 'systemd-systemctl-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libtool-cross', 'libtool-native', 'opkg-utils', 'quilt-native', 'iptables', 'gnutls', 'autoconf-native', 'automake-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'xz-native', 'texinfo-dummy-native', 'openssl', 'libnl', 'gettext-minimal-native', 'mobile-broadband-provider-info', 'systemd', 'ell', 'linux-libc-headers', 'libgcc', 'libpcap', 'libxcrypt', 'libpcre', 'bash-completion', 'zlib', 'libffi', 'util-linux', 'libunistring', 'libidn2', 'p11-kit', 'nettle', 'gmp', 'libseccomp', 'libical', 'binutils-cross-aarch64', 'flex-native', 'zlib-native', 'gnu-config-native', 'libmpc-native', 'zstd-native', 'mpfr-native', 'gmp-native', 'attr-native', 'autoconf-archive', 'base-passwd', 'shadow-native', 'base-files', 'expat', 'shadow-sysroot', 'shadow', 'm4-native', 'ncurses', 'cryptodev-linux', 'libcheck', 'acl', 'libcap', 'zstd', 'libpam', 'kmod', 'bzip2', 'libcap-ng', 'util-linux-libuuid', 'libtasn1', 'vala', 'gobject-introspection', 'libxml2', 'icu', 'attr', 'cracklib', 'flex', 'xz', 'python3', 'libnsl2', 'sqlite3', 'libtirpc', 'gdbm']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_install
rmdir: failed to remove '/home/mustafa/Code/Sycamore/imx-kirkstone/yocto/build/tmp/work/armv8a-poky-linux/connman/1.41-r0/image/usr/lib/connman/scripts': No such file or directory
WARNING: exit code 1 from a shell command.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2023 00:32:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1711654#M211464</guid>
      <dc:creator>moose</dc:creator>
      <dc:date>2023-08-26T00:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connman do_install error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1711845#M211509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196789"&gt;@moose&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer the bb file of connman in&amp;nbsp;recipes-connectivity&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/openembedded/openembedded-core/tree/master/meta/recipes-connectivity/connman" target="_blank"&gt;https://github.com/openembedded/openembedded-core/tree/master/meta/recipes-connectivity/connman&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 03:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1711845#M211509</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-08-28T03:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connman do_install error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1712593#M211598</link>
      <description>&lt;P&gt;I did refer to the connman receipt file, but it is not clear to me what is wrong with my append receipt. Is it clear to you?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 19:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1712593#M211598</guid>
      <dc:creator>moose</dc:creator>
      <dc:date>2023-08-28T19:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Connman do_install error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1718372#M212157</link>
      <description>&lt;P&gt;It turns out the receipt itself is fine. I just had the wrong directory structure. Needed those config files within a "connman" directory, so bitbake included them. Basically, the directory structure has to match the way the original connman.bb was set up.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 03:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1718372#M212157</guid>
      <dc:creator>moose</dc:creator>
      <dc:date>2023-09-07T03:28:11Z</dc:date>
    </item>
  </channel>
</rss>

