diff options
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb index bda8a519b6..663e298e4a 100644 --- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb +++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | |||
@@ -5,7 +5,7 @@ SECTION = "base" | |||
5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
7 | file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4" | 7 | file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4" |
8 | PR = "r4" | 8 | PR = "r5" |
9 | 9 | ||
10 | RDEPENDS_${PN} = "${PN}-inittab" | 10 | RDEPENDS_${PN} = "${PN}-inittab" |
11 | 11 | ||
@@ -65,41 +65,41 @@ do_install () { | |||
65 | install -d ${D}${sysconfdir}/rc$level.d | 65 | install -d ${D}${sysconfdir}/rc$level.d |
66 | ln -s ../init.d/stop-bootlogd ${D}${sysconfdir}/rc$level.d/S99stop-bootlogd | 66 | ln -s ../init.d/stop-bootlogd ${D}${sysconfdir}/rc$level.d/S99stop-bootlogd |
67 | done | 67 | done |
68 | mv ${D}${base_sbindir}/init ${D}${base_sbindir}/init.${PN} | 68 | mv ${D}${base_sbindir}/init ${D}${base_sbindir}/init.${BPN} |
69 | mv ${D}${base_bindir}/pidof ${D}${base_bindir}/pidof.${PN} | 69 | mv ${D}${base_bindir}/pidof ${D}${base_bindir}/pidof.${BPN} |
70 | mv ${D}${base_sbindir}/halt ${D}${base_sbindir}/halt.${PN} | 70 | mv ${D}${base_sbindir}/halt ${D}${base_sbindir}/halt.${BPN} |
71 | mv ${D}${base_sbindir}/reboot ${D}${base_sbindir}/reboot.${PN} | 71 | mv ${D}${base_sbindir}/reboot ${D}${base_sbindir}/reboot.${BPN} |
72 | mv ${D}${base_sbindir}/shutdown ${D}${base_sbindir}/shutdown.${PN} | 72 | mv ${D}${base_sbindir}/shutdown ${D}${base_sbindir}/shutdown.${BPN} |
73 | mv ${D}${base_sbindir}/poweroff ${D}${base_sbindir}/poweroff.${PN} | 73 | mv ${D}${base_sbindir}/poweroff ${D}${base_sbindir}/poweroff.${BPN} |
74 | mv ${D}${bindir}/last ${D}${bindir}/last.${PN} | 74 | mv ${D}${bindir}/last ${D}${bindir}/last.${BPN} |
75 | mv ${D}${bindir}/mesg ${D}${bindir}/mesg.${PN} | 75 | mv ${D}${bindir}/mesg ${D}${bindir}/mesg.${BPN} |
76 | mv ${D}${bindir}/wall ${D}${bindir}/wall.${PN} | 76 | mv ${D}${bindir}/wall ${D}${bindir}/wall.${BPN} |
77 | } | 77 | } |
78 | 78 | ||
79 | pkg_postinst_${PN} () { | 79 | pkg_postinst_${PN} () { |
80 | update-alternatives --install ${base_sbindir}/halt halt halt.${PN} 200 | 80 | update-alternatives --install ${base_sbindir}/halt halt halt.${BPN} 200 |
81 | update-alternatives --install ${base_sbindir}/reboot reboot reboot.${PN} 200 | 81 | update-alternatives --install ${base_sbindir}/reboot reboot reboot.${BPN} 200 |
82 | update-alternatives --install ${base_sbindir}/shutdown shutdown shutdown.${PN} 200 | 82 | update-alternatives --install ${base_sbindir}/shutdown shutdown shutdown.${BPN} 200 |
83 | update-alternatives --install ${base_sbindir}/poweroff poweroff poweroff.${PN} 200 | 83 | update-alternatives --install ${base_sbindir}/poweroff poweroff poweroff.${BPN} 200 |
84 | update-alternatives --install ${bindir}/last last last.${PN} 200 | 84 | update-alternatives --install ${bindir}/last last last.${BPN} 200 |
85 | update-alternatives --install ${bindir}/mesg mesg mesg.${PN} 200 | 85 | update-alternatives --install ${bindir}/mesg mesg mesg.${BPN} 200 |
86 | update-alternatives --install ${bindir}/wall wall wall.${PN} 200 | 86 | update-alternatives --install ${bindir}/wall wall wall.${BPN} 200 |
87 | } | 87 | } |
88 | 88 | ||
89 | pkg_prerm_${PN} () { | 89 | pkg_prerm_${PN} () { |
90 | update-alternatives --remove halt halt.${PN} | 90 | update-alternatives --remove halt halt.${BPN} |
91 | update-alternatives --remove reboot reboot.${PN} | 91 | update-alternatives --remove reboot reboot.${BPN} |
92 | update-alternatives --remove shutdown shutdown.${PN} | 92 | update-alternatives --remove shutdown shutdown.${BPN} |
93 | update-alternatives --remove poweroff poweroff.${PN} | 93 | update-alternatives --remove poweroff poweroff.${BPN} |
94 | update-alternatives --remove last last.${PN} | 94 | update-alternatives --remove last last.${BPN} |
95 | update-alternatives --remove mesg mesg.${PN} | 95 | update-alternatives --remove mesg mesg.${BPN} |
96 | update-alternatives --remove wall wall.${PN} | 96 | update-alternatives --remove wall wall.${BPN} |
97 | } | 97 | } |
98 | 98 | ||
99 | pkg_postinst_sysvinit-pidof () { | 99 | pkg_postinst_sysvinit-pidof () { |
100 | update-alternatives --install ${base_bindir}/pidof pidof pidof.${PN} 200 | 100 | update-alternatives --install ${base_bindir}/pidof pidof pidof.${BPN} 200 |
101 | } | 101 | } |
102 | 102 | ||
103 | pkg_prerm_sysvinit-pidof () { | 103 | pkg_prerm_sysvinit-pidof () { |
104 | update-alternatives --remove pidof pidof.${PN} | 104 | update-alternatives --remove pidof pidof.${BPN} |
105 | } | 105 | } |