diff options
-rw-r--r-- | meta/recipes-core/base-files/base-files_3.0.14.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb index 05c0562661..6e75652f15 100644 --- a/meta/recipes-core/base-files/base-files_3.0.14.bb +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb | |||
@@ -32,15 +32,16 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
32 | docdir_append = "/${P}" | 32 | docdir_append = "/${P}" |
33 | dirs1777 = "/tmp ${localstatedir}/volatile/tmp" | 33 | dirs1777 = "/tmp ${localstatedir}/volatile/tmp" |
34 | dirs2775 = "" | 34 | dirs2775 = "" |
35 | dirs555 = "/sys /proc" | ||
35 | dirs755 = "/boot /dev ${base_bindir} ${base_sbindir} ${base_libdir} \ | 36 | dirs755 = "/boot /dev ${base_bindir} ${base_sbindir} ${base_libdir} \ |
36 | ${sysconfdir} ${sysconfdir}/default \ | 37 | ${sysconfdir} ${sysconfdir}/default \ |
37 | ${sysconfdir}/skel ${nonarch_base_libdir} /mnt /proc ${ROOT_HOME} /run \ | 38 | ${sysconfdir}/skel ${nonarch_base_libdir} /mnt ${ROOT_HOME} /run \ |
38 | ${prefix} ${bindir} ${docdir} /usr/games ${includedir} \ | 39 | ${prefix} ${bindir} ${docdir} /usr/games ${includedir} \ |
39 | ${libdir} ${sbindir} ${datadir} \ | 40 | ${libdir} ${sbindir} ${datadir} \ |
40 | ${datadir}/common-licenses ${datadir}/dict ${infodir} \ | 41 | ${datadir}/common-licenses ${datadir}/dict ${infodir} \ |
41 | ${mandir} ${datadir}/misc ${localstatedir} \ | 42 | ${mandir} ${datadir}/misc ${localstatedir} \ |
42 | ${localstatedir}/backups ${localstatedir}/lib \ | 43 | ${localstatedir}/backups ${localstatedir}/lib \ |
43 | /sys ${localstatedir}/lib/misc ${localstatedir}/spool \ | 44 | ${localstatedir}/lib/misc ${localstatedir}/spool \ |
44 | ${localstatedir}/volatile \ | 45 | ${localstatedir}/volatile \ |
45 | ${localstatedir}/${@'volatile/' if oe.types.boolean('${VOLATILE_LOG_DIR}') else ''}log \ | 46 | ${localstatedir}/${@'volatile/' if oe.types.boolean('${VOLATILE_LOG_DIR}') else ''}log \ |
46 | /home ${prefix}/src ${localstatedir}/local \ | 47 | /home ${prefix}/src ${localstatedir}/local \ |
@@ -93,6 +94,9 @@ pkg_preinst_${PN} () { | |||
93 | } | 94 | } |
94 | 95 | ||
95 | do_install () { | 96 | do_install () { |
97 | for d in ${dirs555}; do | ||
98 | install -m 0555 -d ${D}$d | ||
99 | done | ||
96 | for d in ${dirs755}; do | 100 | for d in ${dirs755}; do |
97 | install -m 0755 -d ${D}$d | 101 | install -m 0755 -d ${D}$d |
98 | done | 102 | done |