diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:29:32 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:29:32 +0200 |
commit | 6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f (patch) | |
tree | 814ad3da280833de03535ca04cf5068da1d31822 /meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend | |
download | meta-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.bbappend | 11 |
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 @@ | |||
1 | BASEFILESISSUEINSTALL = "do_install_hostname_issue" | ||
2 | |||
3 | do_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 | } | ||