--- elwix/install2img.sh 2012/10/11 13:31:33 1.2.4.1 +++ elwix/install2img.sh 2013/01/28 10:42:47 1.5 @@ -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.5 2013/01/28 10:42:47 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -156,5 +156,15 @@ umountdev 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."