Debian GNU/Hurd does not support unshare
authorPaul Wise <pabs@debian.org>
Wed, 1 Oct 2014 22:32:04 +0000 (06:32 +0800)
committerPaul Wise <pabs@debian.org>
Wed, 1 Oct 2014 22:32:13 +0000 (06:32 +0800)
Requested-in: <CABcaWC3NRq2Wq-RKux62mEYnXu2G01ARz7cTXOx4whjq1V0GcQ@mail.gmail.com>

modules/porterbox/files/dd-schroot-cmd

index 0798131..6506b6e 100755 (executable)
@@ -80,7 +80,7 @@ def ensure_ok(session):
         die("Session owner mismatch.")
 
 def os_supports_unshare():
-    if platform.uname()[0] == 'GNU/kFreeBSD':
+    if platform.uname()[0] in ('GNU/kFreeBSD', 'GNU'):
         return False
     return True