From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f52.google.com (unknown [74.125.83.52]) by mail.openembedded.org (Postfix) with ESMTP id 710A265ED7 for ; Thu, 22 May 2014 23:24:10 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id e53so3151311eek.11 for ; Thu, 22 May 2014 16:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=HB5K8yIiOoPf3cMB/yIiVIOZI5ZR2T7PW+bi+1wkcnQ=; b=FhlE4ti+QDF4LLLrEXPSy1Cw5/ScR3P63urBvHePVnqNAgoZNBHL/TnatOGkwHsX7B BkpVL9gt0WvcHuMd3/3b78DP+3xOWboZaFDyIKgCdmTiVnMOQxJ+H8rR0be/2cMR2l6w A4Jf0mUizmAiaxfzHYJcO7n9uNZuIZooZIMo+gWE8eWEeYjjil8XIHbYRu8jJbgdwnyR F0tg/pPhextoihQ/IPm9Q7In2rTNro8vHjNwaID/7RQfizYsmi3SQnDRZGZKR+p/+gI3 1LfQ8mmqq5t5+0zv9zpSsi3bU++xqS6P6gzpcObdFf8l1UHRDRVcDMRRrGJNrd5yfaeE Ni8w== X-Received: by 10.14.204.73 with SMTP id g49mr2175619eeo.2.1400801050952; Thu, 22 May 2014 16:24:10 -0700 (PDT) Received: from mizar.208.67.220.220 (host38-245-dynamic.48-82-r.retail.telecomitalia.it. [82.48.245.38]) by mx.google.com with ESMTPSA id h6sm3794049eew.38.2014.05.22.16.24.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 May 2014 16:24:10 -0700 (PDT) From: YourName X-Google-Original-From: YourName To: openembedded-devel@lists.openembedded.org Date: Fri, 23 May 2014 01:24:04 +0200 Message-Id: <1400801045-14912-1-git-send-email-email@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [meta-handheld][PATCH 1/2] mininit: initial commit of v. 1.1.0 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 23:24:14 -0000 From: Andrea Adami See https://github.com/pcercuei/mininit Signed-off-by: Andrea Adami --- recipes-bsp/mininit/mininit_git.bb | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-bsp/mininit/mininit_git.bb diff --git a/recipes-bsp/mininit/mininit_git.bb b/recipes-bsp/mininit/mininit_git.bb new file mode 100644 index 0000000..a0439ae --- /dev/null +++ b/recipes-bsp/mininit/mininit_git.bb @@ -0,0 +1,36 @@ +SUMMARY = "mininit for romfs/squashfs loop images" +DESCRIPTION = "mininit is a linux-as-bootloader implementation based on losetup." +HOMEPAGE = "https://github.com/pcercuei/mininit" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://init.c;md5=305bd83abb9a5aac95d48b5efbc11d58" +SRCREV = "51eaefcaea52a5dbc1addd21ba93154aa9c97d66" +PV = "1.1.0" + +SRC_URI = "git://github.com/pcercuei/mininit.git" +SRC_URI[md5sum] = "62509644735a4e599e3ed0229f283faa" +SRC_URI[sha256sum] = "4d747b16c33ac64a7923a179947d5581b4e309b73a3c89824056e9c4f0749f18" + +S = "${WORKDIR}/git" + +do_compile () { + oe_runmake mininit +} +do_install () { + install -d ${D}${bindir}/ + install -m 0755 mininit ${D}${bindir}/ + install -d ${D}/dev + install -d ${D}/boot + install -d ${D}/root + install -d ${D}/proc + install -d ${D}/sys +} + +FILES_${PN} += " ${bindir}/mininit /init /dev /boot /root /proc /sys" + +pkg_postinst_${PN} () { + ln -sf ${bindir}/mininit $D/init +} + +BBCLASSEXTEND = "klibc" + +COMPATIBLE_MACHINE = "(akita|c7x0|collie|gcw0|h1940|h3600|hx4700|poodle|spitz|tosa)" -- 1.9.1