summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/lsb/lsbsetup_0.9.bb25
-rw-r--r--meta/recipes-extended/lsb/lsbsetup_1.0.bb27
2 files changed, 27 insertions, 25 deletions
diff --git a/meta/recipes-extended/lsb/lsbsetup_0.9.bb b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
deleted file mode 100644
index f3651e24a9..0000000000
--- a/meta/recipes-extended/lsb/lsbsetup_0.9.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1DESCRIPTION = "auto-setup environment for lsb test"
2SECTION = "console/utils"
3PRIORITY = "required"
4LICENSE = "GPLv2"
5PR = "r3"
6
7LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
8
9SRC_URI = "file://LSB_Setup.sh"
10
11S=${WORKDIR}
12
13do_install() {
14 # Only install file if it has a contents
15 install -d ${D}/usr/bin
16 install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
17 install -d ${D}/usr/lib/lsb
18 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
19 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
20 ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
21}
22
23FILES_${PN} += "${libdir}/lsb \
24 ${libdir}/* \
25 "
diff --git a/meta/recipes-extended/lsb/lsbsetup_1.0.bb b/meta/recipes-extended/lsb/lsbsetup_1.0.bb
new file mode 100644
index 0000000000..247f9bc736
--- /dev/null
+++ b/meta/recipes-extended/lsb/lsbsetup_1.0.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "auto-setup environment for lsb test"
2SECTION = "console/utils"
3PRIORITY = "required"
4LICENSE = "GPLv2"
5PR = "r3"
6
7LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
8
9SRC_URI = "file://LSB_Setup.sh"
10
11S=${WORKDIR}
12
13do_install() {
14 # Only install file if it has a contents
15 install -d ${D}/usr/bin
16 install -d ${D}/${sysconfdir}
17 install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
18 install -d ${D}/usr/lib/lsb
19 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
20 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
21 ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
22 ln -sf ${datadir}/zoneinfo/Asia/Hong_Kong ${D}${sysconfdir}/localtime
23}
24
25FILES_${PN} += "${libdir}/lsb \
26 ${libdir}/* \
27 "