diff options
author | Matthias Hentges <oe@hentges.net> | 2006-02-22 01:28:24 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-22 01:28:24 +0000 |
commit | 2ad1a059e4cd15b72664a795074bedbe66b459b3 (patch) | |
tree | a2a20a838249172564affdccbefc5e9c6f1ef8d6 /packages/altboot | |
parent | 4931db455e5e0d58d341d85e5784592257679959 (diff) |
altboot: Update to 0.0.5-rc3, fixes a bug preventing CF booting
Diffstat (limited to 'packages/altboot')
-rw-r--r-- | packages/altboot/altboot_0.0.0.bb | 4 | ||||
-rw-r--r-- | packages/altboot/altboot_0.0.5-rc3.bb (renamed from packages/altboot/altboot_0.0.5-rc2.bb) | 11 | ||||
-rw-r--r-- | packages/altboot/files/altboot.func | 2 |
3 files changed, 17 insertions, 0 deletions
diff --git a/packages/altboot/altboot_0.0.0.bb b/packages/altboot/altboot_0.0.0.bb index 54d260a76a..20245ef251 100644 --- a/packages/altboot/altboot_0.0.0.bb +++ b/packages/altboot/altboot_0.0.0.bb @@ -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() { diff --git a/packages/altboot/altboot_0.0.5-rc2.bb b/packages/altboot/altboot_0.0.5-rc3.bb index e4e20b5abe..9e975fbb96 100644 --- a/packages/altboot/altboot_0.0.5-rc2.bb +++ b/packages/altboot/altboot_0.0.5-rc3.bb @@ -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 } diff --git a/packages/altboot/files/altboot.func b/packages/altboot/files/altboot.func index 6dfad21374..1362268b83 100644 --- a/packages/altboot/files/altboot.func +++ b/packages/altboot/files/altboot.func @@ -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 } |