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
+++ /dev/null
-#! /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