summaryrefslogtreecommitdiffstats
path: root/core/modules/busybox
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-27 13:32:20 +0100
committerSimon Rettberg2017-11-27 13:32:20 +0100
commitc9a078cbc11c60ddbd8db8376b45ed35206ae053 (patch)
treedc13f3a72a3bf1bcbb487ff11196410377c91be8 /core/modules/busybox
parent[rfs-stage32] ldd + strace (diff)
downloadmltk-c9a078cbc11c60ddbd8db8376b45ed35206ae053.tar.gz
mltk-c9a078cbc11c60ddbd8db8376b45ed35206ae053.tar.xz
mltk-c9a078cbc11c60ddbd8db8376b45ed35206ae053.zip
[busybox] Include rtcwake, add patch for -m no
Diffstat (limited to 'core/modules/busybox')
-rw-r--r--core/modules/busybox/module.build3
-rw-r--r--core/modules/busybox/openslx-busybox-config2
2 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/busybox/module.build b/core/modules/busybox/module.build
index 46b60c1c..b35b6576 100644
--- a/core/modules/busybox/module.build
+++ b/core/modules/busybox/module.build
@@ -10,6 +10,9 @@ fetch_source() {
if ! grep -q "bfill_background" "miscutils/fbsplash.c"; then
git apply "${MODULE_DIR}/fbsplash-fillbg.patch" || perror "Could not apply busybox patch for fbsplash background filling"
fi
+ if ! grep -q 'suspend.*"no"' "util-linux/rtcwake.c"; then
+ git apply "${MODULE_DIR}/rtcwake-mode-no.patch" || perror "Could not apply busybox patch for rtcwake 'no'-mode"
+ fi
cd .. || perror "cd .. failed"
}
diff --git a/core/modules/busybox/openslx-busybox-config b/core/modules/busybox/openslx-busybox-config
index 9f9db09b..3b58a9fa 100644
--- a/core/modules/busybox/openslx-busybox-config
+++ b/core/modules/busybox/openslx-busybox-config
@@ -599,7 +599,7 @@ CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_RDATE=y
# CONFIG_RDEV is not set
# CONFIG_READPROFILE is not set
-# CONFIG_RTCWAKE is not set
+CONFIG_RTCWAKE=y
# CONFIG_SCRIPT is not set
# CONFIG_SCRIPTREPLAY is not set
# CONFIG_SETARCH is not set