From 93715d4bb274cd25ace083f054d4a791689557b6 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Fri, 1 Apr 2011 12:28:01 +0200 Subject: added beagle datasheets Signed-off-by: Manuel Traut --- beagle/build_image.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 beagle/build_image.sh (limited to 'beagle/build_image.sh') diff --git a/beagle/build_image.sh b/beagle/build_image.sh new file mode 100644 index 0000000..37b9c80 --- /dev/null +++ b/beagle/build_image.sh @@ -0,0 +1,20 @@ +#!/bin/bash +if [ `whoami` != root ]; then + echo "This script must be run as root, e.g.:" + echo "sudo $0" + exit -1 +fi + +if [ "$TYPE" == "" ]; then + TYPE=handset +fi + +RELEASE=latest +ARCH=armv7l + +# create meego image from kickstart. this will contain everything but the kernel +mic-image-creator --pkgmgr=yum --cache=../mycachedir --format=loop --arch=${ARCH} --release=${RELEASE} --compress-disk-image=none --config=${TYPE}-${ARCH}-beagle.ks + +echo +echo "Some versions of mic throw an error regarding some file not being closed properly." +echo "You can safely ignore this problem." -- cgit v1.2.3