diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-06-13 17:17:47 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-06-13 17:17:47 +0000 |
commit | fa097feafd6109d26d013c5da3bd108d961669c5 (patch) | |
tree | d1a90974679de49ccde412d3395fb63fa7a7624e /base-files | |
parent | 73466c525841e3b603eb062d5d45cdf5e5a3bc48 (diff) |
use openembedded as hostname if is unset
BKrev: 40cc8c3bOZ7VOMmZugDCB_8utTQFHw
Diffstat (limited to 'base-files')
-rw-r--r-- | base-files/base-files_3.0.14.oe | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base-files/base-files_3.0.14.oe b/base-files/base-files_3.0.14.oe index d92bb26bd1..5fe0cde7f4 100644 --- a/base-files/base-files_3.0.14.oe +++ b/base-files/base-files_3.0.14.oe @@ -1,7 +1,7 @@ xDESCRIPTION = "Base system miscellaneous files." SECTION = "base" PRIORITY = "required" -PR = "r5" +PR = "r6" SRC_URI = " \ file://etc/nsswitch.conf \ @@ -81,7 +81,7 @@ do_install () { install -d ${D}/${sysconfdir} oe_machinstall -m 0644 ${WORKDIR}/fstab ${D}/${sysconfdir}/fstab - echo ${MACHINE} > ${D}/${sysconfdir}/hostname + [ -z "${MACHINE}" ] && echo "openembedded" >${D}/${sysconfdir}/hostname || echo ${MACHINE} >${D}/${sysconfdir}/hostname oe_machinstall -m 0644 ${WORKDIR}/profile ${D}/${sysconfdir}/profile install -m 0644 ${WORKDIR}/etc/issue-${DISTRO} ${D}/${sysconfdir}/issue install -m 0644 ${WORKDIR}/etc/issue.net-${DISTRO} ${D}/${sysconfdir}/issue.net |