the key itself plus the cinit release

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-11-07 21:11:05 +01:00
commit ca81f97577
1124 changed files with 103823 additions and 1 deletions

View file

@ -0,0 +1,23 @@
#!/bin/sh
# Nico Schottelius
# Date: 2005-08-08
# cinit-conf
LIBEXEC=$(dirname $0)/../libexec/cinit-conf/
. ${LIBEXEC}/dialog-alias.sh
dialog --calendar "Test" 0 0 18 12 1982
dialog --checklist "Checktest" 0 0 0 item1 on item2 off item3 on
dialog --infobox "Infotext" 0 0
dialog --inputbox "inputbox" 0 0 "vorgegebener text"
dialog --menu "menu" 0 0 0 tag1 item1 tag2 item2 bla blub
dialog --infobox "Infotext" 0 0
dialog --msgbox "Infotext" 0 0
dialog --radiolist "Infotext" 0 0 0 tag1 item1 on tag2 item2 off
dialog --textbox ~/.bashrc 0 0
dialog --yesno "Ja oder nein?" 0 0
dialog --gauge "Checktest" 0 0 10
#dialog --inputmenu "Infotext" 0 0 0 tag1 item1 tag2 item2 bla blub

View file

@ -0,0 +1,40 @@
#!/bin/sh
# Nico Schottelius
# build, install and test cinit in an uml image
set -e
set -x
###################### Params ########################################
# where the cinit source can be found
CINIT=/root/cinit-0.1
# the image you want to put cinit on (I am using gentoo stage3)
IMG=stage3-p4.img
# where to mount the image
MNT=/mnt/uml
# what fsck to use
FSCK=fsck.jfs
# the uml-linux-kernel
LINUX=./linux-2.6.11.11
# parameters to kernel - should not needed to be changed
LINUX_PARAM="ubd0=$IMG umid=cinit$$ init=/sbin/cinit"
######################################################################
HIER=$(pwd)
"$FSCK" "$IMG"
mount "$IMG" "$MNT" -o loop
echo "$MNT" > "$CINIT/conf/destdir"
make -C "$CINIT" clean all install
umount "$MNT"
"$FSCK" "$IMG"
"$LINUX" $LINUX_PARAM
# restore console, if broken
#reset