commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20130620


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20130620-1-2-gb46dacf
Date: Sat, 29 Jun 2013 20:07:31 +0000

The following commit has been merged in the master branch:
commit b46dacf9f66bc1695f4befedb839933112477fdd
Author: Samuel Thibault <address@hidden>
Date:   Sat Jun 29 20:07:11 2013 +0000

    ignore loop option

diff --git a/debian/changelog b/debian/changelog
index c516e85..0cd3879 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ hurd (20130620-1.1) UNRELEASED; urgency=low
 
   * patches/mount-{f,n,remount}.patch: New patches from Justus Winter to make
     mount more compatible with Linux'.
+  * patches/mount-loop.patch: New patch to ignore loop option.
 
  -- Samuel Thibault <address@hidden>  Wed, 19 Jun 2013 23:32:07 +0000
 
diff --git a/debian/patches/mount-loop.patch b/debian/patches/mount-loop.patch
new file mode 100644
index 0000000..07f572b
--- /dev/null
+++ b/debian/patches/mount-loop.patch
@@ -0,0 +1,20 @@
+mount: Ignore `loop' option
+
+* utils/mount.c (do_mount): Ignore `loop' option.
+---
+ mount.c |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+diff --git a/utils/mount.c b/utils/mount.c
+index 8b059c2..8af055e 100644
+--- a/utils/mount.c
++++ b/utils/mount.c
+@@ -248,7 +248,8 @@ do_mount (struct fs *fs, int remount)
+       {
+       ARGZ (add (&fsopts, &fsopts_len, o));
+       }
+-    else if (strcmp (o, "defaults") != 0)
++    else if (strcmp (o, "defaults") != 0 &&
++           strcmp (o, "loop") != 0)
+       {
+       /* Prepend `--' to the option to make a long option switch,
+          e.g. `--ro' or `--rsize=1024'.  */
diff --git a/debian/patches/series b/debian/patches/series
index e8f140a..d902bd8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -44,3 +44,4 @@ exec_filename_use.patch
 mount-n.patch
 mount-f.patch
 mount-remount.patch
+mount-loop.patch

-- 
Debian GNU Hurd packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]