aboutsummaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-core/base-files/base-files_3.0.14.bbappend
blob: 8cd56581526779eac2464c3549c07c434ce4d0ba (plain)
1
2
3
4
5
6
7
8
9
10
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
}