svn path=/nixpkgs/trunk/; revision=3721
This commit is contained in:
Armijn Hemel 2005-08-27 17:58:07 +00:00
parent a0da6723f3
commit 36c969565f
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,10 @@
. $stdenv/setup
#. $makeWrapper
ensureDir "$(dirname $out)"
ensureDir "$(dirname $out/sbin/mingetty)"
cat > $out/sbin/mingetty << END
#! $SHELL -e
exec $mingetty/sbin/mingetty --loginprog=$shadowutils/bin/login "\$@"
END

View File

@ -0,0 +1,11 @@
{stdenv, mingetty, shadowutils}:
stdenv.mkDerivation {
name = mingetty.name;
builder = ./builder.sh;
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
inherit mingetty shadowutils;
}