summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-core')
-rw-r--r--meta-phosphor/recipes-core/busybox/busybox/reboot.cfg1
-rw-r--r--meta-phosphor/recipes-core/busybox/busybox_%.bbappend1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/busybox/busybox/reboot.cfg b/meta-phosphor/recipes-core/busybox/busybox/reboot.cfg
new file mode 100644
index 000000000..bbd85f402
--- /dev/null
+++ b/meta-phosphor/recipes-core/busybox/busybox/reboot.cfg
@@ -0,0 +1 @@
+CONFIG_REBOOT=y
diff --git a/meta-phosphor/recipes-core/busybox/busybox_%.bbappend b/meta-phosphor/recipes-core/busybox/busybox_%.bbappend
index e6678fc8a..cc88bcc40 100644
--- a/meta-phosphor/recipes-core/busybox/busybox_%.bbappend
+++ b/meta-phosphor/recipes-core/busybox/busybox_%.bbappend
@@ -3,3 +3,4 @@ SRC_URI += "file://busybox.cfg"
SRC_URI += "file://flash.cfg"
SRC_URI += "file://mountpoint.cfg"
SRC_URI += "file://0001-Stop-watchdog-first-on-startup.patch"
+SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'obmc-ubi-fs', '', 'file://reboot.cfg', d)}"
OpenPOWER on IntegriCloud