Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open source
IQRF Yocto Layer
Commits
6650e6b1
Commit
6650e6b1
authored
Jul 14, 2021
by
Karel Hanák
Browse files
systemd: added custom sysctl configuration
Signed-off-by:
Karel Hanák
<
karel.hanak@iqrf.org
>
parent
737c6e9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
recipes-core/systemd/files/50-iqrf.conf
0 → 100644
View file @
6650e6b1
kernel
.
panic_on_rcu_stall
=
1
kernel
.
panic
=
20
\ No newline at end of file
recipes-core/systemd/systemd_%.bbappend
View file @
6650e6b1
...
...
@@ -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}/*"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment