6 |
distrel=${distvers:0:1} |
distrel=${distvers:0:1} |
7 |
distarch=$(uname -i) |
distarch=$(uname -i) |
8 |
|
|
9 |
|
exec < /dev/null |
10 |
|
exec &> build_ISO.$distarch |
11 |
|
|
12 |
if ! [ -d $distarch ] |
if ! [ -d $distarch ] |
13 |
then |
then |
14 |
echo "No $distarch directory?" |
echo "No $distarch directory?" |
22 |
/usr/bin/mkcramfs \ |
/usr/bin/mkcramfs \ |
23 |
$(pwd)/$distarch/$img \ |
$(pwd)/$distarch/$img \ |
24 |
$(pwd)/$distarch/SME/base/$img.img |
$(pwd)/$distarch/SME/base/$img.img |
25 |
else |
elif [ -d "$(pwd)/$distarch/$img" ] |
26 |
|
then |
27 |
/sbin/mksquashfs \ |
/sbin/mksquashfs \ |
28 |
$(pwd)/$distarch/$img \ |
$(pwd)/$distarch/$img \ |
29 |
$(pwd)/$distarch/images/$img.img \ |
$(pwd)/$distarch/images/$img.img \ |
109 |
fi |
fi |
110 |
|
|
111 |
# That's it. |
# That's it. |
|
|
|