Skip to content

Commit 891bf06

Browse files
committed
enable panic_on_oom
1 parent 881aec0 commit 891bf06

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vm.panic_on_oom=2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2+
SRC_URI:append:x470d4u = " file://vm.conf"
3+
4+
FILES:${PN}:append:x470d4u = " ${sysconfdir}/sysctl.d/vm.conf"
5+
6+
do_install:append:x470d4u() {
7+
install -m 644 -D ${WORKDIR}/vm.conf ${D}${sysconfdir}/sysctl.d/vm.conf
8+
}

0 commit comments

Comments
 (0)