meta-phosphor: fix reboot of BMC

After the commit bba38f38e7e41525c30116a2fe990d113b8157da the firmware
with a static flash layout is unable to reboot.
It happens because the `reboot` applet was removed from the `busybox`.

This commit restore the `reboot` in the `busybox` for static layout.

Resolves openbmc/openbmc#3399

Tested in the `qemu` with firmwares for `palmetto` and `romulus`.

(From meta-phosphor rev: 8f400dacfc9138bc9395fe995ff914c10bd7eed0)

Change-Id: I5dd7ba0f999f0aa58e54594ad32669e2283e4cee
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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 0000000..bbd85f4
--- /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 e6678fc..cc88bcc 100644
--- a/meta-phosphor/recipes-core/busybox/busybox_%.bbappend
+++ b/meta-phosphor/recipes-core/busybox/busybox_%.bbappend
@@ -3,3 +3,4 @@
 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)}"