void-packages/srcpkgs/bootchart2/patches/rdinit-fix-panic.patch

11 lines
327 B
Diff

--- a/bootchartd.in 2021-01-24 15:52:43.339735933 +0700
+++ b/bootchartd.in 2021-01-24 15:53:30.256889311 +0700
@@ -32,6 +32,7 @@
# some initrds don't have usleep etc.
USLEEP="$COLLECTOR_BIN --usleep"
+: "${OLDPATH:=/sbin:/bin:/usr/sbin:/usr/bin}"
# we need to find our tools
PATH="/sbin:/bin:/usr/sbin:/usr/bin:$PATH"