Last change
on this file since 3574 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
346 bytes
|
Rev | Line | |
---|
[3320] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | # Wrapper for User Mode Linux emulation environment
|
---|
| 4 |
|
---|
| 5 | RUNFILE="$(pwd)/${1}.testroot"
|
---|
| 6 | if [ -z "$RUNFILE" ] || [ ! -x "$RUNFILE" ]
|
---|
| 7 | then
|
---|
| 8 | echo "Can't run '$RUNFILE'"
|
---|
| 9 | exit 1
|
---|
| 10 | fi
|
---|
| 11 |
|
---|
| 12 | shift
|
---|
| 13 |
|
---|
| 14 | if [ -z $(which linux) ]
|
---|
| 15 | then
|
---|
| 16 | echo "No User Mode Linux."
|
---|
| 17 | exit 1;
|
---|
| 18 | fi
|
---|
| 19 |
|
---|
| 20 | linux rootfstype=hostfs rw init="$RUNFILE" TESTDIR=`pwd` PATH="$PATH" $* quiet
|
---|
Note:
See
TracBrowser
for help on using the repository browser.