diff options
Diffstat (limited to 'meta/packages/initscripts/initscripts_1.0.bb')
-rw-r--r-- | meta/packages/initscripts/initscripts_1.0.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb index 222c1eee7c..5f59bf9d7b 100644 --- a/meta/packages/initscripts/initscripts_1.0.bb +++ b/meta/packages/initscripts/initscripts_1.0.bb | |||
@@ -5,7 +5,7 @@ DEPENDS = "makedevs" | |||
5 | DEPENDS_openzaurus = "makedevs virtual/kernel" | 5 | DEPENDS_openzaurus = "makedevs virtual/kernel" |
6 | RDEPENDS = "makedevs" | 6 | RDEPENDS = "makedevs" |
7 | LICENSE = "GPL" | 7 | LICENSE = "GPL" |
8 | PR = "r73" | 8 | PR = "r74" |
9 | 9 | ||
10 | SRC_URI = "file://halt \ | 10 | SRC_URI = "file://halt \ |
11 | file://ramdisk \ | 11 | file://ramdisk \ |
@@ -30,7 +30,8 @@ SRC_URI = "file://halt \ | |||
30 | file://sysfs.sh \ | 30 | file://sysfs.sh \ |
31 | file://device_table.txt \ | 31 | file://device_table.txt \ |
32 | file://populate-volatile.sh \ | 32 | file://populate-volatile.sh \ |
33 | file://volatiles " | 33 | file://volatiles \ |
34 | file://save-rtc.sh" | ||
34 | 35 | ||
35 | SRC_URI_append_arm = " file://alignment.sh" | 36 | SRC_URI_append_arm = " file://alignment.sh" |
36 | SRC_URI_append_openzaurus = " file://checkversion" | 37 | SRC_URI_append_openzaurus = " file://checkversion" |
@@ -81,6 +82,7 @@ do_install () { | |||
81 | install -m 0755 ${WORKDIR}/devpts ${D}${sysconfdir}/default | 82 | install -m 0755 ${WORKDIR}/devpts ${D}${sysconfdir}/default |
82 | install -m 0755 ${WORKDIR}/sysfs.sh ${D}${sysconfdir}/init.d | 83 | install -m 0755 ${WORKDIR}/sysfs.sh ${D}${sysconfdir}/init.d |
83 | install -m 0755 ${WORKDIR}/populate-volatile.sh ${D}${sysconfdir}/init.d | 84 | install -m 0755 ${WORKDIR}/populate-volatile.sh ${D}${sysconfdir}/init.d |
85 | install -m 0755 ${WORKDIR}/save-rtc.sh ${D}${sysconfdir}/init.d | ||
84 | install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_core | 86 | install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_core |
85 | if [ "${TARGET_ARCH}" = "arm" ]; then | 87 | if [ "${TARGET_ARCH}" = "arm" ]; then |
86 | install -m 0755 ${WORKDIR}/alignment.sh ${D}${sysconfdir}/init.d | 88 | install -m 0755 ${WORKDIR}/alignment.sh ${D}${sysconfdir}/init.d |
@@ -89,7 +91,7 @@ do_install () { | |||
89 | # Install device dependent scripts | 91 | # Install device dependent scripts |
90 | # | 92 | # |
91 | 93 | ||
92 | if [ "${DISTRO}" == "openzaurus" ]; then | 94 | if [ "${DISTRO}" = "openzaurus" ]; then |
93 | cat ${WORKDIR}/checkversion | sed -e "s,VERSION,${KERNEL_VERSION}-${DISTRO_VERSION}," > ${D}${sysconfdir}/init.d/checkversion | 95 | cat ${WORKDIR}/checkversion | sed -e "s,VERSION,${KERNEL_VERSION}-${DISTRO_VERSION}," > ${D}${sysconfdir}/init.d/checkversion |
94 | chmod 0755 ${D}${sysconfdir}/init.d/checkversion | 96 | chmod 0755 ${D}${sysconfdir}/init.d/checkversion |
95 | ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version | 97 | ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version |
@@ -118,6 +120,8 @@ do_install () { | |||
118 | ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc0.d/S40umountfs | 120 | ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc0.d/S40umountfs |
119 | # udev will run at S55 if installed | 121 | # udev will run at S55 if installed |
120 | ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt | 122 | ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt |
123 | ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc0.d/S25save-rtc.sh | ||
124 | ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc6.d/S25save-rtc.sh | ||
121 | ln -sf ../init.d/banner ${D}${sysconfdir}/rcS.d/S02banner | 125 | ln -sf ../init.d/banner ${D}${sysconfdir}/rcS.d/S02banner |
122 | ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh | 126 | ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh |
123 | # ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh | 127 | # ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh |