diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2011-01-19 23:51:41 (GMT) |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-01-19 23:51:41 (GMT) |
commit | 28a6a9870dfc10a176a1149153bfd75958ee1758 (patch) | |
tree | 24f4e221b32ffae0761cf6da0b2660dbd0adce1c /functions | |
parent | 6243d1f157a826f14b3139bb73f0228eff00097c (diff) | |
download | debootstrap-28a6a9870dfc10a176a1149153bfd75958ee1758.zip debootstrap-28a6a9870dfc10a176a1149153bfd75958ee1758.tar.gz debootstrap-28a6a9870dfc10a176a1149153bfd75958ee1758.tar.bz2 |
Hurd support
- Use the newer setup-translators script and firmlink
$TARGET/{dev,servers} in setup_devices_hurd;
- Don't attempt to build devices.tar.gz, which is not needed.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -978,19 +978,11 @@ setup_devices () { } setup_devices_hurd () { - mkdir -p "$TARGET/servers/socket" - /bin/settrans -cfk "$TARGET/servers/socket/1" /hurd/pflocal - /bin/settrans -cf "$TARGET/servers/socket/2" /hurd/pfinet - /bin/settrans -cfk "$TARGET/servers/exec" /hurd/exec - /bin/settrans -cf "$TARGET/servers/crash-suspend" /hurd/crash --suspend - /bin/settrans -cf "$TARGET/servers/crash-kill" /hurd/crash --kill - /bin/settrans -cf "$TARGET/servers/crash-dump-core" /hurd/crash --dump-core - /bin/settrans -cf "$TARGET/servers/password" /hurd/password - /bin/settrans -cf "$TARGET/servers/default-pager" /hurd/proxy-defpager - ln -fs crash-kill "$TARGET/servers/crash" - ln -fs 1 "$TARGET/servers/socket/local" - ln -fs 2 "$TARGET/servers/socket/inet" - (cd "$TARGET/dev"; /sbin/MAKEDEV fd std ptyp ptyq vcs tty1 tty2 tty3 tty4 tty5 tty6) + # Use the setup-translators of the hurd package, and firmlink + # $TARGET/{dev,servers} to the system ones. + in_target /usr/lib/hurd/setup-translators -k + settrans -a $TARGET/dev /hurd/firmlink /dev + settrans -a $TARGET/servers /hurd/firmlink /servers } setup_devices_fakechroot () { |