diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-02 09:20:46 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-02 09:20:46 +0000 |
commit | c90c0ceca50fee19e683c19468110fba51da6cfe (patch) | |
tree | 304bf254c88ed40bb7ac9cc87a521e42758e1cb6 /meta/recipes-core | |
parent | 904ccfe1c60eaba404a88cd03bbcb0a218f6b951 (diff) | |
download | poky-c90c0ceca50fee19e683c19468110fba51da6cfe.tar.gz |
base-files: Allow a basic issue file to be extended by the code, following the method now used by OE
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/base-files/base-files/issue | 2 | ||||
-rw-r--r-- | meta/recipes-core/base-files/base-files/issue.net | 3 | ||||
-rw-r--r-- | meta/recipes-core/base-files/base-files_3.0.14.bb | 8 |
3 files changed, 3 insertions, 10 deletions
diff --git a/meta/recipes-core/base-files/base-files/issue b/meta/recipes-core/base-files/base-files/issue index 329af4665e..e69de29bb2 100644 --- a/meta/recipes-core/base-files/base-files/issue +++ b/meta/recipes-core/base-files/base-files/issue | |||
@@ -1,2 +0,0 @@ | |||
1 | OpenEmbedded Linux \n \l | ||
2 | |||
diff --git a/meta/recipes-core/base-files/base-files/issue.net b/meta/recipes-core/base-files/base-files/issue.net index 6dc3588b4f..e69de29bb2 100644 --- a/meta/recipes-core/base-files/base-files/issue.net +++ b/meta/recipes-core/base-files/base-files/issue.net | |||
@@ -1,3 +0,0 @@ | |||
1 | OpenEmbedded Linux %h | ||
2 | |||
3 | |||
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 aad3d8352b..56a48fb3de 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 | |||
@@ -116,9 +116,10 @@ do_install_basefilesissue () { | |||
116 | echo ${hostname} > ${D}${sysconfdir}/hostname | 116 | echo ${hostname} > ${D}${sysconfdir}/hostname |
117 | fi | 117 | fi |
118 | 118 | ||
119 | install -m 644 ${WORKDIR}/issue* ${D}${sysconfdir} | ||
119 | if [ -n "${DISTRO_NAME}" ]; then | 120 | if [ -n "${DISTRO_NAME}" ]; then |
120 | echo -n "${DISTRO_NAME} " > ${D}${sysconfdir}/issue | 121 | echo -n "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue |
121 | echo -n "${DISTRO_NAME} " > ${D}${sysconfdir}/issue.net | 122 | echo -n "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue.net |
122 | if [ -n "${DISTRO_VERSION}" ]; then | 123 | if [ -n "${DISTRO_VERSION}" ]; then |
123 | echo -n "${DISTRO_VERSION} " >> ${D}${sysconfdir}/issue | 124 | echo -n "${DISTRO_VERSION} " >> ${D}${sysconfdir}/issue |
124 | echo -n "${DISTRO_VERSION} " >> ${D}${sysconfdir}/issue.net | 125 | echo -n "${DISTRO_VERSION} " >> ${D}${sysconfdir}/issue.net |
@@ -127,9 +128,6 @@ do_install_basefilesissue () { | |||
127 | echo >> ${D}${sysconfdir}/issue | 128 | echo >> ${D}${sysconfdir}/issue |
128 | echo "%h" >> ${D}${sysconfdir}/issue.net | 129 | echo "%h" >> ${D}${sysconfdir}/issue.net |
129 | echo >> ${D}${sysconfdir}/issue.net | 130 | echo >> ${D}${sysconfdir}/issue.net |
130 | else | ||
131 | install -m 0644 ${WORKDIR}/issue ${D}${sysconfdir}/issue | ||
132 | install -m 0644 ${WORKDIR}/issue.net ${D}${sysconfdir}/issue.net | ||
133 | fi | 131 | fi |
134 | } | 132 | } |
135 | 133 | ||