--- elwix/install2img.sh 2012/10/11 13:31:33 1.2.4.1 +++ elwix/install2img.sh 2013/07/29 21:04:03 1.6.2.1 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: install2img.sh,v 1.2.4.1 2012/10/11 13:31:33 misho Exp $ +# $Id: install2img.sh,v 1.6.2.1 2013/07/29 21:04:03 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -129,7 +129,7 @@ gencksum() ### main() -if [ ! -r ${REL}/${OS} -a -r ${REL}/${OS_LITE} ]; then +if [ ! -r ${REL}/${OS} ]; then echo echo "Error:: ELWIX OS file not found!" echo @@ -145,16 +145,5 @@ umountdev boot2dev $DEV cleandev $DEV 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 echo "ELWIX OS image complete."