diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2005-03-18 20:26:13 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2005-03-18 20:26:13 +0000 |
commit | f699ee1d5b9059cd2233ba1a18ac3e72c23a7528 (patch) | |
tree | a0a9d22713405ee50c1d126ee7f5f139cb2e48a7 /distrib | |
parent | f0bc8c77559a96c8d65ac7d477823ca89806ff03 (diff) |
kick ass zaurus installer! with ideas and help from deraadt.
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/zaurus/ipk/Makefile | 56 | ||||
-rw-r--r-- | distrib/zaurus/ipk/bootbsd | 2 | ||||
-rw-r--r-- | distrib/zaurus/ipk/bootbsd.desktop | 9 | ||||
-rw-r--r-- | distrib/zaurus/ipk/bootbsd.png.uu | 186 | ||||
-rw-r--r-- | distrib/zaurus/ipk/controlfile | 8 | ||||
-rw-r--r-- | distrib/zaurus/ipk/postinst | 12 | ||||
-rw-r--r-- | distrib/zaurus/ipk/postrm | 7 | ||||
-rw-r--r-- | distrib/zaurus/ipk/rc.zboot | 8 |
8 files changed, 288 insertions, 0 deletions
diff --git a/distrib/zaurus/ipk/Makefile b/distrib/zaurus/ipk/Makefile new file mode 100644 index 00000000000..0996c695246 --- /dev/null +++ b/distrib/zaurus/ipk/Makefile @@ -0,0 +1,56 @@ +# $OpenBSD: Makefile,v 1.1 2005/03/18 20:26:12 uwe Exp $ + +TOP= ${.CURDIR}/.. +IPK= openbsd37_arm.ipk + +all: ${IPK} + +${IPK}: + -rm -rf ${.OBJDIR}/data + + install -o ${BINOWN} -g ${BINGRP} -m 755 -d ${.OBJDIR}/data/hdd2/OpenBSD +# install -o ${BINOWN} -g ${BINGRP} -m 755 -d ${.OBJDIR}/data/hdd2 + install -o ${BINOWN} -g ${BINGRP} -m 755 -d \ + ${.OBJDIR}/data/opt/QtPalmtop/apps/Applications + install -o ${BINOWN} -g ${BINGRP} -m 755 -d ${.OBJDIR}/data/opt/QtPalmtop/bin + install -o ${BINOWN} -g ${BINGRP} -m 755 -d ${.OBJDIR}/data/opt/QtPalmtop/pics + + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.OBJDIR}/../ramdisk/bsd.rd \ + ${.OBJDIR}/data/hdd2/OpenBSD + install -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/mdec/zboot \ + ${.OBJDIR}/data/hdd2/OpenBSD + install -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/mdec/zbsdmod.o \ + ${.OBJDIR}/data/hdd2/OpenBSD + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.CURDIR}/rc.zboot \ + ${.OBJDIR}/data/hdd2/OpenBSD + + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.CURDIR}/bootbsd \ + ${.OBJDIR}/data/opt/QtPalmtop/bin + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.CURDIR}/bootbsd.desktop \ + ${.OBJDIR}/data/opt/QtPalmtop/apps/Applications + uudecode < ${.CURDIR}/bootbsd.png.uu + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.OBJDIR}/bootbsd.png \ + ${.OBJDIR}/data/opt/QtPalmtop/pics + cd ${.OBJDIR}/data && tar -czf ../data.tar.gz . + install -o ${BINOWN} -g ${BINGRP} -m 755 -d ${.OBJDIR}/control + + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.CURDIR}/controlfile \ + ${.OBJDIR}/control/control; + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.CURDIR}/postinst \ + ${.OBJDIR}/control; + install -o ${BINOWN} -g ${BINGRP} -m 755 ${.CURDIR}/postrm \ + ${.OBJDIR}/control; + + cd ${.OBJDIR}/data/ && find . -type f | sed 's,^\.,,' > ../control/openbsd.list + cd ${.OBJDIR}/control && tar -czf ../control.tar.gz . + echo 2.0 > debian-binary; chown ${BINOWN}:${BINGRP} debian-binary + tar -czf ${IPK} ./debian-binary ./data.tar.gz ./control.tar.gz + +install: + cp ${IPK} ${DESTDIR}/snapshot + +clean cleandir: + rm -rf data control ${IPK} debian-binary control.tar.gz data.tar.gz + +.include <bsd.prog.mk> +.include <bsd.subdir.mk> diff --git a/distrib/zaurus/ipk/bootbsd b/distrib/zaurus/ipk/bootbsd new file mode 100644 index 00000000000..09e3a936367 --- /dev/null +++ b/distrib/zaurus/ipk/bootbsd @@ -0,0 +1,2 @@ +#!/bin/sh +cp /hdd2/OpenBSD/bsd.rd /proc/zboot diff --git a/distrib/zaurus/ipk/bootbsd.desktop b/distrib/zaurus/ipk/bootbsd.desktop new file mode 100644 index 00000000000..83951ae6b8f --- /dev/null +++ b/distrib/zaurus/ipk/bootbsd.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +#Comment=Boot the OpenBSD ramdisk kernel bsd.rd +Exec=bootbsd +Icon=bootbsd +Type=Application +CanFastload=0 +Name=Install OpenBSD +Display=640x480/144dpi,480x640/144dpi +#HidePrivilege=1 diff --git a/distrib/zaurus/ipk/bootbsd.png.uu b/distrib/zaurus/ipk/bootbsd.png.uu new file mode 100644 index 00000000000..b1721e18727 --- /dev/null +++ b/distrib/zaurus/ipk/bootbsd.png.uu @@ -0,0 +1,186 @@ +begin 644 bootbsd.png +MB5!.1PT*&@H````-24A$4@```$````!`"`8```"J:7'>````!F)+1T0`_P#_ +M`/^@O:>3````"7!(67,```L2```+$@'2W7[\````!W1)344'U0,2$`,?B90_ +MO@``'Z9)1$%4>)SMFF=\E576MZ]]EW-.3GH/"2&04$(()?0F"*B`J$@1+",@ +MY6$4QRX.@S*B(CHRCG4047`H*@P@("`HTGL/+8&$DD)-3TZ_RWX_Z,SSO._X +M.#KC^'[Q__N=C^?<>UWW6O^]]CX+?M$O^D6_Z!?]/!H^?)@>"-0+:=A"6J8( +MA`(B9!G"L"QA2?G-QS+%S[DFY>=Z4-FEHJZ'#YUZHJ:ZH0V:B51,I*U07^L! +M*1&``*2T,8S`SPKA/Z+KUZ^K'H\GV>/Q]#'-X,/'3Q[Z(CPL65X\7UIFVH%[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;]+^M;X8G9(1I^>\T0M:*@_OWG>S1K;EW_6?+I16TY*=+ +M/Y;]^C:7>W;OD(?W'I'WC4B5LY_+D:_-?$9N6+M.IJ4ER?S\/;*JZHKLUC-- +M/OQ$KKQ<4B(MPY155=7RF6G/2$^@7@9,G_1Z??*AAQ[>91A&UO_ON/]!AF4* +MP[!B9DS_[>U+%G[X9LAG%AE&0+X_[PW9M4.N-,R@K*NMD<_^MH^<,BE75ERZ +M)BNKJV5B4HJLO'Y9FGY3SICZK.S3,UO:AE^:IE]:ME\:9E!:EB%#H8`TC&!9 +M34U-B_]4#/_6N+RN:A*H!3XW`^81H1N%EG2-B4]*Z_CP$T\[I*+CC'3@='1% +M52J(2XH@)`(\,&XR#CT"H=O<-FR8[Z-/%EZP%+/0EA&7-*SKBA05"HI?",VR +M,7?%QL:6_C3A_H<EI8RP;7ND95E[I932-$T9"H7D[-FSY=:M6Z5M6](P#>GS +M^;VF:9XT#..=8#`X_/;;;V]C&$:R81A.V[;%MR6F?'M,_X_J)W^`;=N*E#)) +M493V4LK&MFW+#1LVD)>7%YZ2DA(KA)!2RC(A1`%PUK;M.H?#\0^GM%_TBW[1 +;+_I%/X/^#R9GD%IT%/R9`````$E%3D2N0F"" +` +end diff --git a/distrib/zaurus/ipk/controlfile b/distrib/zaurus/ipk/controlfile new file mode 100644 index 00000000000..c27e97b5cc8 --- /dev/null +++ b/distrib/zaurus/ipk/controlfile @@ -0,0 +1,8 @@ +Package: openbsd +Version: 3.7 +Priority: optional +Maintainer: uwe@openbsd.org +Architecture: arm +Section: Communications +Description: OpenBSD boot loader and kernel image +Installed-Size: 4.1M diff --git a/distrib/zaurus/ipk/postinst b/distrib/zaurus/ipk/postinst new file mode 100644 index 00000000000..22e508779b5 --- /dev/null +++ b/distrib/zaurus/ipk/postinst @@ -0,0 +1,12 @@ +#!/bin/sh +rmmod zbsdmod 2>/dev/null +mount -o remount,rw / +rm -f /root/etc/rc.d/rc.zboot +rm -f /root/etc/rc.d/zboot +rm -f /root/etc/rc.d/zbsdmod.o +cp /hdd2/OpenBSD/rc.zboot /root/etc/rc.d +cp /hdd2/OpenBSD/zboot /root/etc/rc.d +cp /hdd2/OpenBSD/zbsdmod.o /root/etc/rc.d +sync; sleep 3 +mount -o remount,ro / +insmod /hdd2/OpenBSD/zbsdmod.o diff --git a/distrib/zaurus/ipk/postrm b/distrib/zaurus/ipk/postrm new file mode 100644 index 00000000000..6091fb70511 --- /dev/null +++ b/distrib/zaurus/ipk/postrm @@ -0,0 +1,7 @@ +#!/bin/sh +rmmod zbsdmod +mount -o remount,rw / +rm -f /root/etc/rc.d/rc.zboot +rm -f /root/etc/rc.d/zboot +rm -f /root/etc/rc.d/zbsdmod.o +mount -o remount,ro / diff --git a/distrib/zaurus/ipk/rc.zboot b/distrib/zaurus/ipk/rc.zboot new file mode 100644 index 00000000000..75843f73a85 --- /dev/null +++ b/distrib/zaurus/ipk/rc.zboot @@ -0,0 +1,8 @@ +#!/bin/sh +/bin/busybox sleep 2 +/bin/busybox clear + +/sbin/insmod /root/etc/rc.d/zbsdmod.o && +echo /bin/true > /proc/sys/kernel/modprobe && +/root/etc/rc.d/zboot && +echo /sbin/modprobe > /proc/sys/kernel/modprobe |