Subversion Repositories livecd

Rev

Rev 8 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 9
Line 41... Line 41...
41
mkdir -p $CDDATA/base
41
mkdir -p $CDDATA/base
42
mkdir -p $CDDATA/modules
42
mkdir -p $CDDATA/modules
43
mkdir -p $CDDATA/optional
43
mkdir -p $CDDATA/optional
44
mkdir -p $CDDATA/rootcopy
44
mkdir -p $CDDATA/rootcopy
45
 
45
 
46
echo "copying livecd.conf to $CDDATA"
-
 
47
cp -a ../livecd.conf $CDDATA/
-
 
48
 
-
 
49
echo "copying cd-root to $CDDATA"
46
echo "copying cd-root to $CDDATA"
50
cp -R cd-root/* $CDDATA
47
cp -R cd-root/* $CDDATA
51
if [ ! $SMP ]; then
48
if [ ! $SMP ]; then
52
    # delete line with "SMP kernel" in boot/splash.cfg
49
    # delete line with "SMP kernel" in boot/splash.cfg
53
    sed -i "/SMP kernel/d" $CDDATA/boot/splash.cfg
50
    sed -i "/SMP kernel/d" $CDDATA/boot/splash.cfg
Line 109... Line 106...
109
      create_module $ROOT/$dir $CDDATA/base/$dir.mo -keep-as-directory
106
      create_module $ROOT/$dir $CDDATA/base/$dir.mo -keep-as-directory
110
      if [ $? -ne 0 ]; then exit; fi
107
      if [ $? -ne 0 ]; then exit; fi
111
    fi
108
    fi
112
done
109
done
113
 
110
 
114
# remove any .svn folders from the CD
-
 
115
find $CDDATA -type d -name .svn -exec rm -f {} \;
-
 
116
 
-
 
117
echo "creating LiveCD ISO image..."
111
echo "creating LiveCD ISO image..."
118
cd $CDDATA
112
cd $CDDATA
119
./make_iso.sh /tmp/livecd.iso
113
./make_iso.sh /tmp/livecd.iso
120
 
114
 
121
cd /tmp
115
cd /tmp