82e678362f
svn path=/nixpkgs/trunk/; revision=4335
13 lines
257 B
Bash
13 lines
257 B
Bash
source $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
|
|
|
|
chmod +x $out/sbin/mingetty
|