Commit f49455aa authored by Marek Belisko's avatar Marek Belisko
Browse files

Move base-config to base-files


Signed-off-by: default avatarMarek Belisko <marek.belisko@open-nandra.com>
parent 525399bf
DESCRIPTION = "Basic configuration for iqrf images"
LICENSE = "CLOSED"
S = "${WORKDIR}"
SRC_URI = "file://bashrc \
file://profile \
"
do_install_append () {
install -d ${D}${sysconfdir}/iqrf-config/
install -m 0755 ${S}/bashrc ${D}${sysconfdir}/iqrf-config/bashrc
install -m 0755 ${S}/profile ${D}${sysconfdir}/iqrf-config/profile
}
pkg_postinst_${PN} () {
install -m 0600 $D${sysconfdir}/iqrf-config/bashrc $D${ROOT_HOME}/.bashrc
install -m 0600 $D${sysconfdir}/iqrf-config/profile $D${ROOT_HOME}/.profile
}
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
do_install_append () {
# we supply custom hosts
rm -rf ${D}${sysconfdir}/hosts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment