summaryrefslogtreecommitdiff
path: root/debian/patches/startup-usr-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/startup-usr-support.patch')
-rw-r--r--debian/patches/startup-usr-support.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/startup-usr-support.patch b/debian/patches/startup-usr-support.patch
new file mode 100644
index 00000000..1d705fc9
--- /dev/null
+++ b/debian/patches/startup-usr-support.patch
@@ -0,0 +1,27 @@
+Debian GNU/Hurd has a real /usr
+---
+ daemons/rc.sh | 2 +-
+ daemons/runsystem.sh | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/daemons/rc.sh
++++ b/daemons/rc.sh
+@@ -1,6 +1,6 @@
+ #!/bin/bash
+
+-PATH=/bin:/sbin
++PATH=/bin:/sbin:/usr/bin:/usr/sbin
+
+ # Start the default pager. It will bail if there is already one running.
+ /hurd/mach-defpager
+--- a/daemons/runsystem.sh
++++ b/daemons/runsystem.sh
+@@ -11,7 +11,7 @@
+ ### Where to find programs, etc.
+ ###
+
+-PATH=/bin:/sbin
++PATH=/bin:/sbin:/usr/bin:/usr/sbin
+ export PATH
+
+ umask 022