]> code.ossystems Code Review - openembedded-core.git/commitdiff
base-files: Replace hardcoded root paths with appropriate bitbake variables
authorAmarnath Valluri <amarnath.valluri@intel.com>
Wed, 22 Feb 2017 08:27:01 +0000 (10:27 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 22:28:55 +0000 (22:28 +0000)
/bin, /sbin, /lib are replaced with ${base_bindir}, ${base_sbindir} and
${base_libdir}.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/base-files/base-files_3.0.14.bb

index 2f1786b784ced85098f6074d4659af7632cf215a..f56969c52e95398d9aae40947b66a8d5347e9304 100644 (file)
@@ -32,8 +32,9 @@ INHIBIT_DEFAULT_DEPS = "1"
 docdir_append = "/${P}"
 dirs1777 = "/tmp ${localstatedir}/volatile/tmp"
 dirs2775 = ""
-dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
-           ${sysconfdir}/skel /lib /mnt /proc ${ROOT_HOME} /run /sbin \
+dirs755 = "/boot /dev ${base_bindir} ${base_sbindir} ${base_libdir} \
+           ${sysconfdir} ${sysconfdir}/default \
+           ${sysconfdir}/skel ${nonarch_base_libdir} /mnt /proc ${ROOT_HOME} /run \
            ${prefix} ${bindir} ${docdir} /usr/games ${includedir} \
            ${libdir} ${sbindir} ${datadir} \
            ${datadir}/common-licenses ${datadir}/dict ${infodir} \