From ac8f7194f2b5896084a813d298ed486b4f479c91 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 6 Mar 2014 15:34:10 +0200 Subject: mkcard: remove recipe for mkcard mkcard.sh script is moved to b2qt-build-scripts, so that deployment of images is not dependent on the toolchain. Task-number: QTEE-434 Change-Id: If7a93d4e8065c38a1d7205ce29d11ca8fbf8d2cf Reviewed-by: Rainer Keller --- recipes/mkcard/files/mkcard.sh | 62 ---------------------- recipes/mkcard/mkcard_0.5.bb | 36 ------------- ...dk-packagegroup-b2qt-embedded-toolchain-host.bb | 1 - 3 files changed, 99 deletions(-) delete mode 100755 recipes/mkcard/files/mkcard.sh delete mode 100644 recipes/mkcard/mkcard_0.5.bb diff --git a/recipes/mkcard/files/mkcard.sh b/recipes/mkcard/files/mkcard.sh deleted file mode 100755 index e75a176..0000000 --- a/recipes/mkcard/files/mkcard.sh +++ /dev/null @@ -1,62 +0,0 @@ -#! /bin/sh -# mkcard.sh v0.5 -# (c) Copyright 2009 Graeme Gregory -# Licensed under terms of GPLv2 -# -# Parts of the procudure base on the work of Denys Dmytriyenko -# http://wiki.omap.com/index.php/MMC_Boot_Format - -export LC_ALL=C - -if [ $# -ne 1 ]; then - echo "Usage: $0 " - exit 1; -fi - -DRIVE=$1 - -dd if=/dev/zero of=$DRIVE bs=1024 count=1024 - -SIZE=`fdisk -l $DRIVE | grep Disk | grep bytes | awk '{print $5}'` - -echo DISK SIZE - $SIZE bytes - -CYLINDERS=`echo $SIZE/255/63/512 | bc` - -echo CYLINDERS - $CYLINDERS - -{ -echo ,9,0x0C,* -echo ,,,- -} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE - -sleep 1 - -# handle various device names. -# note something like fdisk -l /dev/loop0 | egrep -E '^/dev' | cut -d' ' -f1 -# won't work due to https://bugzilla.redhat.com/show_bug.cgi?id=649572 - -PARTITION1=${DRIVE}1 -if [ ! -b ${PARTITION1} ]; then - PARTITION1=${DRIVE}p1 -fi - -PARTITION2=${DRIVE}2 -if [ ! -b ${PARTITION2} ]; then - PARTITION2=${DRIVE}p2 -fi - -# now make partitions. -if [ -b ${PARTITION1} ]; then - umount ${PARTITION1} - mkfs.vfat -F 32 -n "boot" ${PARTITION1} -else - echo "Cant find boot partition in /dev" -fi - -if [ -b ${PARITION2} ]; then - umount ${PARTITION2} - mke2fs -t ext3 -j -L "rootfs" ${PARTITION2} -else - echo "Cant find rootfs partition in /dev" -fi diff --git a/recipes/mkcard/mkcard_0.5.bb b/recipes/mkcard/mkcard_0.5.bb deleted file mode 100644 index 8d71f81..0000000 --- a/recipes/mkcard/mkcard_0.5.bb +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################# -## -## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). -## -## This file is part of the Qt Enterprise Embedded Scripts of the Qt -## framework. -## -## $QT_BEGIN_LICENSE$ -## Commercial License Usage Only -## Licensees holding valid commercial Qt license agreements with Digia -## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, -## may use this file in accordance with the terms contained in said license -## agreement. -## -## For further information use the contact form at -## http://qt.digia.com/contact-us. -## -## -## $QT_END_LICENSE$ -## -############################################################################# - -DESCRIPTION = "mkcard.sh v0.5" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://${COREBASE}/bitbake/COPYING;md5=751419260aa954499f7abaabaa882bbe" -SECTION = "devel" -PR = "0" - -SRC_URI = "file://mkcard.sh" - -do_install () { - install -d ${D}${bindir}/ - install -m 0755 ${WORKDIR}/mkcard.sh ${D}${bindir}/ -} - -BBCLASSEXTEND = "nativesdk" diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb index f32bac4..9c92438 100644 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb +++ b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb @@ -28,7 +28,6 @@ LICENSE = "CLOSED" require recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb RDEPENDS_${PN} = "\ - mkcard-nativesdk \ python-nativesdk \ python-subprocess-nativesdk \ " -- cgit v1.2.3-54-g00ecf