Commit 6650e6b1 authored by Karel Hanák's avatar Karel Hanák
Browse files

systemd: added custom sysctl configuration


Signed-off-by: Karel Hanák's avatarKarel Hanák <karel.hanak@iqrf.org>
parent 737c6e9f
kernel.panic_on_rcu_stall=1
kernel.panic=20
\ No newline at end of file
......@@ -3,6 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " \
file://init.sh \
file://0001-Move-localtime-to-data-partition.patch \
file://50-iqrf.conf \
"
do_install_append() {
......@@ -14,6 +15,8 @@ do_install_append() {
# systemd services should have read-write permission to /etc and /data/etc
sed -i -e "s#\(^ReadWritePaths=.*\)#\1 /data/etc#" ${D}${systemd_unitdir}/system/systemd-timedated.service
install -m 600 ${WORKDIR}/50-iqrf.conf ${D}${sysconfdir}/sysctl.d
}
FILES_${PN} += "${sbindir}/*"
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