From 6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:29:32 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend (limited to 'meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend') 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 @@ +BASEFILESISSUEINSTALL = "do_install_hostname_issue" + +do_install_hostname_issue() { + # change the default hostname + echo eca > ${D}${sysconfdir}/hostname + + # create /etc/issue that shows whether we are building + # standard eca or bleeding version + echo "${DISTRO_NAME} (${DISTRO})" > ${D}${sysconfdir}/issue + echo "${DISTRO_NAME} ${DISTRO_VERSION}" > ${D}${sysconfdir}/issue.net +} -- cgit v1.2.3-54-g00ecf