|
1
by ago
Added casper overrides to find_iso and find_preseed |
1 |
#!/bin/sh
|
2 |
set -x
|
|
3 |
||
4 |
PREREQ="" |
|
5 |
. /scripts/casper-functions |
|
6 |
||
7 |
prereqs()
|
|
8 |
{
|
|
9 |
echo "$PREREQ" |
|
10 |
}
|
|
11 |
||
12 |
case $1 in |
|
13 |
# get pre-requisites
|
|
|
6
by ago
minor fixes |
14 |
prereqs)
|
15 |
prereqs |
|
16 |
exit 0
|
|
17 |
;; |
|
|
1
by ago
Added casper overrides to find_iso and find_preseed |
18 |
esac
|
19 |
||
20 |
. /scripts/lupin-helpers |
|
21 |
wait_for_devs |
|
22 |
iso_path= |
|
23 |
for x in $(cat /proc/cmdline); do |
|
24 |
case ${x} in |
|
25 |
find_iso=*) |
|
26 |
iso_path=${x#find_iso=} |
|
27 |
;; |
|
28 |
esac
|
|
29 |
done
|
|
|
2
by ago
Disabled ntfs for time being |
30 |
if find_path "${iso_path}" /isodevice; then |
|
1
by ago
Added casper overrides to find_iso and find_preseed |
31 |
echo "LIVEMEDIA=${FOUNDPATH}" >> /conf/param.conf |
|
3
by ago
minor fix |
32 |
echo "LIVEMEDIA_OFFSET=0" >> /conf/param.conf |
|
6
by ago
minor fixes |
33 |
fi
|