the key itself plus the cinit release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
373cd31b73
commit
ca81f97577
1124 changed files with 103823 additions and 1 deletions
22
software/cinit/browse_source/cinit-0.3pre18/scripts/internal/qemu-test.sh
Executable file
22
software/cinit/browse_source/cinit-0.3pre18/scripts/internal/qemu-test.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius
|
||||
# 2007-09-03: For testing cinit in qemu
|
||||
#
|
||||
|
||||
emud="${HOME}/emu"
|
||||
img="${emud}/debian-hd.img"
|
||||
ddir="${emud}/mount"
|
||||
loop=/dev/loop1
|
||||
fsck="/sbin/fsck.jfs"
|
||||
|
||||
# my jfs is on the first partition, 512*63 bytes offset
|
||||
offset="32256"
|
||||
|
||||
set -e
|
||||
set -x
|
||||
sudo losetup -o "${offset}" "${loop}" "${img}"
|
||||
sudo "${fsck}" "${loop}"
|
||||
sudo mount "${loop}" "${ddir}"
|
||||
|
||||
sudo umount "${loop}"
|
||||
sudo losetup -d "${loop}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue