update to cinit-0.3pre19

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-11-30 07:27:49 +01:00
commit 7c47ae1c48
1119 changed files with 101885 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Directory to keep scripts related to controlling vms,
which are used for testing cinit.

View file

@ -0,0 +1,5 @@
#!/bin/sh
ROOT=$(dirname $0)/../root/Debian-3.0r0.ext2
qemu -hda "$ROOT" "$@"

View file

@ -0,0 +1,26 @@
#!/bin/sh
#
# 2009 Nico Schottelius (nico-cinit at schottelius.org)
#
# This file is part of cinit.
#
# cinit is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# cinit is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with cinit. If not, see <http://www.gnu.org/licenses/>.
#
#
# Start an image with its standard init
#
ROOT="$1"; shift
linux root=/dev/root rootflags="$ROOT" rootfstype=hostfs "$@"

View file

@ -0,0 +1,26 @@
#!/bin/sh
#
# 2009 Nico Schottelius (nico-cinit at schottelius.org)
#
# This file is part of cinit.
#
# cinit is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# cinit is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with cinit. If not, see <http://www.gnu.org/licenses/>.
#
#
# Start an image with cinit as init
#
ROOT="$1"; shift
linux "ubd0=$ROOT" init=/sbin/cinit "$@"

View file

@ -0,0 +1,26 @@
#!/bin/sh
#
# 2009 Nico Schottelius (nico-cinit at schottelius.org)
#
# This file is part of cinit.
#
# cinit is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# cinit is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with cinit. If not, see <http://www.gnu.org/licenses/>.
#
#
# Start an image with its standard init
#
ROOT="$1"; shift
linux "ubd0=$ROOT" "$@"

View file

@ -0,0 +1,3 @@
SDIR=$(dirname $0)
DDIR=$(dirname $0)/root
sudo mount "$SDIR/Debian-3.0r0.ext2" "$DDIR" -o loop,acl,sync

View file

@ -0,0 +1,5 @@
#!/bin/sh
ROOT=$(dirname $0)/Debian-3.0r0.ext2
linux ubd0=$ROOT init=/bin/sh "$@"

View file

@ -0,0 +1,3 @@
SDIR=$(dirname $0)
DDIR=$(dirname $0)/root
sudo umount "$DDIR"