summaryrefslogtreecommitdiff
path: root/packages/altboot/altboot_20050620.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/altboot/altboot_20050620.bb
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/altboot/altboot_20050620.bb')
-rw-r--r--packages/altboot/altboot_20050620.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/altboot/altboot_20050620.bb b/packages/altboot/altboot_20050620.bb
index e69de29bb2..f2635e0f6a 100644
--- a/packages/altboot/altboot_20050620.bb
+++ b/packages/altboot/altboot_20050620.bb
@@ -0,0 +1,39 @@
+SECTION = "base"
+DESCRIPTION = "A text-based bootmanager allowing a Zaurus to boot from SD or CF. \
+Tested machines: Collie"
+PRIORITY = "optional"
+MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
+LICENSE = "GPL"
+
+
+PR = "r1"
+
+CVSDATE = "${PV}"
+
+SRC_URI = "cvs://anonymous@hentges.net/hentgescvs;module=hentgescvs/hentges-utils/files;method=pserver \
+ file://altboot.cfg"
+S = "${WORKDIR}/files"
+
+do_install() {
+ install -d ${D}/sbin
+ install -d ${D}/etc/altboot-menu
+ install -d ${D}/etc/altboot-menu/Advanced
+ install -d ${D}/usr/share/doc/altboot
+
+ install -m 0644 ${WORKDIR}/altboot.cfg ${D}/etc
+ install -m 0644 ${WORKDIR}/files/altboot.func ${D}/etc
+ install -m 0644 docs/altboot/*.txt ${D}/usr/share/doc/altboot
+ install -m 0755 init.altboot ${D}/sbin
+ install -m 0755 altboot-menu/*-* ${D}/etc/altboot-menu
+ install -m 0755 altboot-menu/Advanced/*-* ${D}/etc/altboot-menu/Advanced
+}
+
+
+
+pkg_postinst() {
+ update-alternatives --install /sbin/init init /sbin/init.altboot 55
+}
+
+pkg_postrm() {
+ update-alternatives --remove init /sbin/init.altboot
+}