summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-05-25 23:40:21 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-05-25 23:40:21 +0000
commit62e8c611698b87648a65f34d82cad8090fdbda1f (patch)
tree0a80f0c91f40abc621e3ac2d9a5da3669df0828d /packages
parent80ead252fd27f56a55936495471e6f85e7651fee (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/26 01:04:31+02:00 uni-frankfurt.de!mickeyl altboot: use overrides system BKrev: 42950ce5QeB3gbZaTJuKRvP37MDdtg
Diffstat (limited to 'packages')
-rw-r--r--packages/altboot/altboot_cvs.bb33
-rw-r--r--packages/altboot/files/collie/altboot.cfg0
-rw-r--r--packages/altboot/files_collie/altboot.cfg14
3 files changed, 33 insertions, 14 deletions
diff --git a/packages/altboot/altboot_cvs.bb b/packages/altboot/altboot_cvs.bb
index e69de29bb2..855edbbaf8 100644
--- a/packages/altboot/altboot_cvs.bb
+++ b/packages/altboot/altboot_cvs.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "A text-based bootmanager allowing a Zaurus to boot from SD or CF. \
+Tested machines: Collie"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
+LICENSE = "GPL"
+PV = "0.0.1"
+PR = "r2"
+
+CVSDATE = "20051212"
+
+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 -m 0644 ${WORKDIR}/altboot.cfg ${D}/etc
+ install -m 0755 init.altboot ${D}/sbin
+ install -m 0755 altboot-menu/*-* ${D}/etc/altboot-menu
+}
+
+
+
+pkg_postinst() {
+ update-alternatives --install /sbin/init init /sbin/init.altboot 55
+}
+
+pkg_postrm() {
+ update-alternatives --remove init /sbin/init.altboot
+}
diff --git a/packages/altboot/files/collie/altboot.cfg b/packages/altboot/files/collie/altboot.cfg
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/altboot/files/collie/altboot.cfg
diff --git a/packages/altboot/files_collie/altboot.cfg b/packages/altboot/files_collie/altboot.cfg
deleted file mode 100644
index 71d2ad4caf..0000000000
--- a/packages/altboot/files_collie/altboot.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Handled by /sbin/init.altboot
-# Allow booting images from SD or CF instead of booting
-# the ROM.
-ENABLE_ALTBOOT="yes"
-REAL_INIT="/sbin/init.sysvinit"
-SH_SHELL="/bin/sh"
-IMAGE_PATH="boot-images"
-SD_DEVICE="/dev/mmcda1"
-SD_KERNEL_MODULE="/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o"
-INIT_RUNLEVEL="5"
-NO_GUI_RL="2"
-SD_MOUNTPOINT="/media/card"
-CF_MOUNTPOINT="/media/cf"