[oe-commits] org.oe.dev initscripts-slugos: Fix extra symlinks that break do_install. Bump PR of initscripts
nail commit
openembedded-commits at lists.openembedded.org
Thu Aug 31 23:51:58 UTC 2006
initscripts-slugos: Fix extra symlinks that break do_install. Bump PR of initscripts
Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: ffc8667e1d24683361320dde9bb3b7efaf44f846
ViewMTN: http://monotone.openembedded.org/revision.psp?id=ffc8667e1d24683361320dde9bb3b7efaf44f846
Files:
1
packages/initscripts/initscripts-slugos_1.0.bb
packages/initscripts/initscripts_1.0.bb
Diffs:
#
# mt diff -r416f85f7a01f217e51a4cde5c03a5c7436c29749 -rffc8667e1d24683361320dde9bb3b7efaf44f846
#
#
#
# patch "packages/initscripts/initscripts-slugos_1.0.bb"
# from [cf20d9aaf9ee44feba36f378bdaffbefd0909353]
# to [89e1599da2229955ee59ed11e31ce722618cd1f3]
#
# patch "packages/initscripts/initscripts_1.0.bb"
# from [f70c223a374abeae96153119e21d584d4e21636b]
# to [b9351bda03b55246c18e442bd74a74a84f1bba80]
#
============================================================
--- packages/initscripts/initscripts-slugos_1.0.bb cf20d9aaf9ee44feba36f378bdaffbefd0909353
+++ packages/initscripts/initscripts-slugos_1.0.bb 89e1599da2229955ee59ed11e31ce722618cd1f3
@@ -1,17 +1,17 @@
# SlugOS specific stuff for the init scripts.
#
# This is, in effect, an extended patch to fix various
# problems in the initscripts on SlugOS. The problems
# mostly come down to the order the scripts are executed
# in.
-require initscripts_${PV}.bb
+include initscripts_${PV}.bb
MAINTAINER = "John Bowler <jbowler at acm.org>"
RCONFLICTS = "initscripts"
# All other standard definitions inherited from initscripts
# Except the PR which is hacked here. The format used is
# a suffix
-PR := "${PR}.9"
+PR := "${PR}.10"
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${P}', '${FILE_DIRNAME}/initscripts-${PV}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
@@ -64,15 +64,20 @@ do_install_append() {
# udev will run at S04 if installed
rm ${D}${sysconfdir}/rcS.d/S03sysfs
rm ${D}${sysconfdir}/rcS.d/S38devpts.sh
-# rm ${D}${sysconfdir}/rcS.d/S06alignment
+ rm ${D}${sysconfdir}/rcS.d/S06alignment
+ rm ${D}${sysconfdir}/rcS.d/S37populate-volatile.sh
+ rm ${D}${sysconfdir}/rc0.d/S25save-rtc.sh
+ rm ${D}${sysconfdir}/rc6.d/S25save-rtc.sh
+
+
# Check the result
find ${D}${sysconfdir}/rc?.d ! -type d -print | {
status=0
while read d
do
- oenote "initscripts-slugos: unexpected link $f"
- status = 1
+ oenote "initscripts-slugos: unexpected link $d"
+ status=1
done
test $status -eq 0 ||
oefatal "initscripts-slugos: new links break do_install"
@@ -102,6 +107,7 @@ do_install_append() {
# base-files populate-volatile.sh runs at S37
update-rc.d -r ${D} devpts.sh start 38 S .
# slugos file syslog starts here (39)
+ update-rc.d -r ${D} populate-volatile.sh start 37 S .
# set hostname and domainname before the network script works (by
# entering them at level 40), networking may reset them.
@@ -138,6 +144,7 @@ do_install_append() {
# This is the special, correct, slugos umountnfs.sh (it looks in
# the /proc/mounts information, not /etc/fstab)
update-rc.d -r ${D} umountnfs.sh start 31 0 6 .
+ update-rc.d -r ${D} save-rtc.sh start 25 0 6 .
# portmap stops at 32
# slugos network syslog stops here (39)
# networking stops at 40 (nothing else does, believe me.)
============================================================
--- packages/initscripts/initscripts_1.0.bb f70c223a374abeae96153119e21d584d4e21636b
+++ packages/initscripts/initscripts_1.0.bb b9351bda03b55246c18e442bd74a74a84f1bba80
@@ -92,7 +92,7 @@ do_install () {
# Install device dependent scripts
#
- if [ "${DISTRO}" == "openzaurus" ]; then
+ if [ "${DISTRO}" = "openzaurus" ]; then
cat ${WORKDIR}/checkversion | sed -e "s,VERSION,${KERNEL_VERSION}-${DISTRO_VERSION}," > ${D}${sysconfdir}/init.d/checkversion
chmod 0755 ${D}${sysconfdir}/init.d/checkversion
ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version
More information about the Openembedded-commits
mailing list