altboot: Update to 0.0.5-rc3, fixes a bug preventing CF booting
authorMatthias Hentges <oe@hentges.net>
Wed, 22 Feb 2006 01:28:24 +0000 (01:28 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 22 Feb 2006 01:28:24 +0000 (01:28 +0000)
packages/altboot/altboot_0.0.0.bb
packages/altboot/altboot_0.0.5-rc3.bb [moved from packages/altboot/altboot_0.0.5-rc2.bb with 89% similarity]
packages/altboot/files/altboot.func

index 54d260a..20245ef 100644 (file)
@@ -34,6 +34,10 @@ do_install() {
        install -m 0644 ${WORKDIR}/altboot.rc/*.txt ${D}/etc/altboot.rc 
 }              
 
+do_configure() {
+       cat ${WORKDIR}/init.altboot | sed "s/^VERSION=.*/VERSION=\"0.0.0 Developer Snapshot (${DATE})\"/" > ${WORKDIR}/init.altboot_
+       mv ${WORKDIR}/init.altboot_ ${WORKDIR}/init.altboot
+}
 
 
 pkg_postinst() {
similarity index 89%
rename from packages/altboot/altboot_0.0.5-rc2.bb
rename to packages/altboot/altboot_0.0.5-rc3.bb
index e4e20b5..9e975fb 100644 (file)
@@ -57,6 +57,15 @@ do_install() {
        install -m 0644 ${WORKDIR}/altboot/altboot.rc/*.txt ${D}/etc/altboot.rc 
 }              
 
+######################################################################################
+
+do_configure() {
+       cat ${WORKDIR}/altboot/init.altboot | sed "s/^VERSION=.*/VERSION=\"${PV}\"/" > ${WORKDIR}/altboot/init.altboot_
+       mv ${WORKDIR}/altboot/init.altboot_ ${WORKDIR}/altboot/init.altboot
+}
+
+######################################################################################
+
 pkg_postinst() {
        update-alternatives --install /sbin/init init /sbin/init.altboot 55
 }
@@ -90,6 +99,8 @@ pkg_postinst_spitz() {
        fi
 }
 
+######################################################################################
+
 pkg_postrm() {
        update-alternatives --remove init /sbin/init.altboot
 }
index 6dfad21..1362268 100644 (file)
@@ -360,6 +360,8 @@ mount_cf(){
 
                # Give the SD and CF mounting some time. This is a must for SD                  
                sleep 2
+               
+               mount /media/cf
        fi
 }