blob: 2ba78288ce8ee5f4f46541fd18ae5d5c219f512d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
PR .= ".3"
do_install () {
install -d ${D}${base_bindir}
install -m 4755 tinylogin ${D}${base_bindir}/tinylogin
echo '#!'"${base_bindir}/tinylogin" > tinylogin_wrapper
for i in `cat tinylogin.links`; do
mkdir -p ${D}/`dirname $i`
install -m 755 tinylogin_wrapper ${D}$i
done
}
ALTERNATIVE_${PN} += "login passwd"
ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login"
ALTERNATIVE_LINK_NAME[passwd] = "${bindir}/passwd"
|