22 lines
736 B
Plaintext
22 lines
736 B
Plaintext
# Copyright (C) 2023 Vincent BENOIT <vincent.benoit@scle.fr>
|
|
# Release under the MIT license (see COPYING.MIT for the terms)
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI += "file://hostname \
|
|
file://hosts \
|
|
file://locale.conf \
|
|
file://fstab \
|
|
file://vconsole.conf"
|
|
|
|
FILES:{PN} += "${sysconfdir}/locale.conf \
|
|
${sysconfdir}/vconsole.conf"
|
|
|
|
do_install:append() {
|
|
install -m 0644 ${WORKDIR}/hostname ${D}${sysconfdir}
|
|
install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}
|
|
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}
|
|
install -m 0644 ${WORKDIR}/locale.conf ${D}${sysconfdir}
|
|
install -m 0644 ${WORKDIR}/vconsole.conf ${D}${sysconfdir}
|
|
install -d ${D}/data
|
|
}
|