]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Removed mount.tmpfs.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 May 2009 20:25:13 +0000 (22:25 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 May 2009 20:25:13 +0000 (22:25 +0200)
lfs/util-linux-ng
src/util-linux-ng/mount.tmpfs [deleted file]

index a83120a8fd39b81e57d5c750b2e4786a5665dc48..41b5ecfbe6aee53a47ee2782a4b5d6d4ba137ff4 100644 (file)
@@ -112,9 +112,6 @@ ifeq "$(STAGE)" "base"
        cd $(DIR_APP) && install -m 755 nologin /sbin
        install -m 644 $(DIR_SOURCE)/$(PKG_NAME)/nologin.8 /usr/share/man/man8
 
-       # Install mount tmpfs helper
-       install -m 755 $(DIR_SOURCE)/$(PKG_NAME)/mount.tmpfs /sbin
-
        ln -svf ../../sbin/hwclock /usr/sbin/hwclock
        ln -svf hwclock /sbin/clock
        ln -sf ../../bin/kill /usr/bin/kill
diff --git a/src/util-linux-ng/mount.tmpfs b/src/util-linux-ng/mount.tmpfs
deleted file mode 100644 (file)
index f862c03..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/bash
-#
-# Copyright (C) 2009 Eric Paris <eparis@redhat.com>
-#                    Daniel Walsh <dwalsh@redhat.com>
-#                    Karel Zak <kzak@redhat.com>
-#
-# http://bugzilla.redhat.com/show_bug.cgi?id=476964
-#
-# Usage:
-# /sbin/mount.tmpfs spec dir [-sfnv] [-o options]
-#
-
-if ! echo "$@" | grep -q -E '(fs|def|root)?context='; then
-  con=$(ls --scontext -d "$2" | cut -f 1 -d ' ')
-  if [ -n "$con" ] && [ "$con" != "?" ] && [ "$con" != "unlabeled" ]; then 
-      exec /bin/mount "$@" -o "rootcontext=\"$con\"" -i -t tmpfs
-  fi
-fi
-
-exec /bin/mount "$@" -i -t tmpfs