From c9a078cbc11c60ddbd8db8376b45ed35206ae053 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 27 Nov 2017 13:32:20 +0100 Subject: [busybox] Include rtcwake, add patch for -m no --- core/modules/busybox/module.build | 3 +++ core/modules/busybox/openslx-busybox-config | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'core/modules/busybox') 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 -- cgit v1.2.3-55-g7522