version 1.6, 2013/05/07 20:46:47
|
version 1.6.2.1, 2013/07/29 21:04:03
|
Line 129 gencksum()
|
Line 129 gencksum()
|
|
|
### main() |
### main() |
|
|
if [ ! -r ${REL}/${OS} -a -r ${REL}/${OS_LITE} ]; then | if [ ! -r ${REL}/${OS} ]; then |
echo |
echo |
echo "Error:: ELWIX OS file not found!" |
echo "Error:: ELWIX OS file not found!" |
echo |
echo |
Line 145 umountdev
|
Line 145 umountdev
|
boot2dev $DEV |
boot2dev $DEV |
cleandev $DEV |
cleandev $DEV |
gencksum $IMG $MD5CHK $SHA1CHK |
gencksum $IMG $MD5CHK $SHA1CHK |
|
|
|
|
mkdevice $IMG_LITE ${1:-"${IMG_SIZE}"} |
|
initdev $DEV |
|
mountdev $DEV |
|
install2 ${REL}/${OS_LITE} |
|
umountdev |
|
#enablejfs $DEV |
|
boot2dev $DEV |
|
cleandev $DEV |
|
gencksum $IMG_LITE $MD5CHK_LITE $SHA1CHK_LITE |
|
|
|
mkdevice $IMG_LITE128 ${1:-"${IMG_SIZE128}"} |
|
initdev $DEV |
|
mountdev $DEV |
|
install2 ${REL}/${OS_LITE128} |
|
umountdev |
|
#enablejfs $DEV |
|
boot2dev $DEV |
|
cleandev $DEV |
|
gencksum $IMG_LITE128 $MD5CHK_LITE128 $SHA1CHK_LITE128 |
|
|
|
echo "ELWIX OS image complete." |
echo "ELWIX OS image complete." |