summaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:29:32 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:29:32 +0200
commit6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f (patch)
tree814ad3da280833de03535ca04cf5068da1d31822 /meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend
downloadmeta-eca-6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f.tar.gz
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend')
-rw-r--r--meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend
new file mode 100644
index 0000000..8cd5658
--- /dev/null
+++ b/meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -0,0 +1,11 @@
1BASEFILESISSUEINSTALL = "do_install_hostname_issue"
2
3do_install_hostname_issue() {
4 # change the default hostname
5 echo eca > ${D}${sysconfdir}/hostname
6
7 # create /etc/issue that shows whether we are building
8 # standard eca or bleeding version
9 echo "${DISTRO_NAME} (${DISTRO})" > ${D}${sysconfdir}/issue
10 echo "${DISTRO_NAME} ${DISTRO_VERSION}" > ${D}${sysconfdir}/issue.net
11}