nixpkgs/pkgs/os-specific/linux/mingetty-wrapper/builder.sh
Armijn Hemel c6bbe9d029 do a chmod +x for the wrapper script (also: try to rewrite it using
makeWrapper once more)

svn path=/nixpkgs/trunk/; revision=4086
2005-10-14 10:37:31 +00:00

13 lines
252 B
Bash

. $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