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

11 lines
328 B
Diff

--- bootchartd.in.orig 2021-01-24 15:52:43.339735933 +0700
+++ 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"