blob: 2792d51f23401a38d01dd4077bfb288709c48e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
DESCRIPTION = "auto-setup environment for lsb test"
SECTION = "console/utils"
LICENSE = "GPLv2"
PR = "r4"
LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
SRC_URI = "file://LSB_Setup.sh"
S = "${WORKDIR}"
do_install() {
# Only install file if it has a contents
install -d ${D}${bindir}
install -d ${D}/${sysconfdir}
install -m 0755 ${S}/LSB_Setup.sh ${D}${bindir}
install -d ${D}/${libdir}/lsb
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
ln -sf ${datadir}/zoneinfo/Asia/Hong_Kong ${D}${sysconfdir}/localtime
}
FILES_${PN} += "${libdir}/lsb \
${libdir}/* \
"
|