summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-core/busybox
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08busybox: Enable expand(1) utilityAndrew Jeffery1-0/+1
Required by perf(1), which is now in the debug tools tarball. expand(1) expands /bin/busybox.nosuid by 468 bytes and adds one symlink to the filesystem: $ size a/bin/busybox.nosuid text data bss dec hex filename 582385 1845 8816 593046 90c96 a/bin/busybox.nosuid $ size b/bin/busybox.nosuid text data bss dec hex filename 582853 1845 8816 593514 90e6a b/bin/busybox.nosuid Resolves: openbmc/openbmc#2879 Change-Id: I999a12768ab7e0d740bed710b01dab49aa2a8019 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2017-10-24Prepare-overlay service: check for mountpoint before removing workdirEdward A. James2-0/+2
The service was getting called twice, resulting in a removal of the overlayfs workdir while the overlay was mounted. Solve this by checking if the /etc overlay is mounted yet before removing the workdir. Need to add mountpoint to busybox for this. Resolves openbmc/openbmc#2429 Change-Id: I407a07dcc3f3856af12a7f3a52966fe7c3d756c3 Signed-off-by: Edward A. James <eajames@us.ibm.com>
2017-06-26Patch busybox watchdog to fix restartsMatt Spinler2-0/+64
It is possible the watchdog device is configured to do something other than reset the system on a watchdog timeout. If this occurs, and the busybox watchdog is started back up again, the watchdog driver won't actually start the watchdog hardware unless the watchdog device has been properly closed first. So, on startup, write the magic character to the watchdog device to properly close it before running. Change-Id: I61521d337a958c9dc8f9a6786a65aee3e81994ac Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-06-04busybox: Install watchdogMatt Spinler1-0/+1
Enable the watchdog application Change-Id: I83829b7e4270359a4dcf2a7aad92035f783b9a6c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-02-01busybox: default ls color output, less search and truncateXo Wang1-0/+3
Add features to busybox configuration: - default color output for ls. ls still disables color for non-tty files - support for less search (with slash /) - support for less -S (truncate lines instead of wrapping) Notably, this makes journalctl --no-pager | less -S much more usable. ls colors were because I saw petitboot's busybox had them enabled. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I11870a26c90d8d38f6d172906f2ea407af45e2c7
2015-12-05Add flash copy commands to busyboxMilton D. Miller II2-0/+5
The flashcp command will copy a file to a mtd device after erasing the partition. This is useful for updating the bmc u-boot, kernel, environment, and/or initrd. It can also be used for upating the whole pnor, or partitions if we later add ffs partition parsing.
2015-10-22Add devmem to busybox config.Brad Bishop2-0/+3