summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hurd/CrossPlatformAliases.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/Hurd/CrossPlatformAliases.mdwn b/Hurd/CrossPlatformAliases.mdwn
new file mode 100644
index 00000000..06a0e897
--- /dev/null
+++ b/Hurd/CrossPlatformAliases.mdwn
@@ -0,0 +1,8 @@
+ # Aliases assume Debian GNU/Hurd mounted on /misc/hurd
+ # possibly via autofs /etc/auto.misc configuration and 'cd / && ln -s var/autofs/misc misc'
+ alias locatehurd="locate -d /misc/hurd/var/lib/locate/locatedb"
+ alias apt-cachehurd="APT_CONFIG=/misc/hurd/etc/apt/apt.conf.offline apt-cache"
+ alias apt-gethurd="APT_CONFIG=/misc/hurd/etc/apt/apt.conf.offline apt-get"
+ # dselect requires APT_CONFIG due to dselect apt method
+ alias dselecthurd="APT_CONFIG=/misc/hurd/etc/apt/apt.conf.offline dselect --admindir /misc/hurd/var/lib/dpkg/"
+ alias dpkghurd="dpkg --root=/misc/hurd"=