diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/base-files/base-files/profile | 2 | ||||
-rw-r--r-- | meta/recipes-core/base-files/base-files_3.0.14.bb | 3 |
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 |
12 | fi | 12 | fi |
13 | 13 | ||
14 | if [ "$HOME" = "/home/root" ]; then | 14 | if [ "$HOME" = "ROOTHOME" ]; then |
15 | PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin | 15 | PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin |
16 | fi | 16 | fi |
17 | if [ "$PS1" ]; then | 17 | if [ "$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}" | |||
34 | dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp" | 34 | dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp" |
35 | dirs2775 = "/home ${prefix}/src ${localstatedir}/local" | 35 | dirs2775 = "/home ${prefix}/src ${localstatedir}/local" |
36 | dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ | 36 | dirs755 = "/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 |