summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/base-files/base-files/profile2
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/base-files/base-files/profile b/meta/recipes-core/base-files/base-files/profile
index e9408d17d7..8eeaac3693 100644
--- a/meta/recipes-core/base-files/base-files/profile
+++ b/meta/recipes-core/base-files/base-files/profile
@@ -11,7 +11,7 @@ if [ ! -e /etc/localtime ]; then
11 export TZ 11 export TZ
12fi 12fi
13 13
14if [ "$HOME" = "/home/root" ]; then 14if [ "$HOME" = "ROOTHOME" ]; then
15 PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin 15 PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
16fi 16fi
17if [ "$PS1" ]; then 17if [ "$PS1" ]; then
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 ba355ee07c..39faad96e5 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
@@ -34,7 +34,7 @@ docdir_append = "/${P}"
34dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp" 34dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp"
35dirs2775 = "/home ${prefix}/src ${localstatedir}/local" 35dirs2775 = "/home ${prefix}/src ${localstatedir}/local"
36dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ 36dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
37 ${sysconfdir}/skel /lib /mnt /proc /home/root /sbin \ 37 ${sysconfdir}/skel /lib /mnt /proc ${ROOT_HOME} /sbin \
38 ${prefix} ${bindir} ${docdir} /usr/games ${includedir} \ 38 ${prefix} ${bindir} ${docdir} /usr/games ${includedir} \
39 ${libdir} ${sbindir} ${datadir} \ 39 ${libdir} ${sbindir} ${datadir} \
40 ${datadir}/common-licenses ${datadir}/dict ${infodir} \ 40 ${datadir}/common-licenses ${datadir}/dict ${infodir} \
@@ -94,6 +94,7 @@ do_install () {
94 install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab 94 install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
95 install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems 95 install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
96 install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd 96 install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
97 sed -i "s#ROOTHOME#${ROOT_HOME}#" ${WORKDIR}/profile
97 install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/profile 98 install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/profile
98 install -m 0644 ${WORKDIR}/shells ${D}${sysconfdir}/shells 99 install -m 0644 ${WORKDIR}/shells ${D}${sysconfdir}/shells
99 install -m 0755 ${WORKDIR}/share/dot.profile ${D}${sysconfdir}/skel/.profile 100 install -m 0755 ${WORKDIR}/share/dot.profile ${D}${sysconfdir}/skel/.profile