Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: YourName <andrea.adami@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-handheld][PATCH 1/2] mininit: initial commit of v. 1.1.0
Date: Fri, 23 May 2014 01:24:04 +0200	[thread overview]
Message-ID: <1400801045-14912-1-git-send-email-email@gmail.com> (raw)

From: Andrea Adami <andrea.adami@gmail.com>

See https://github.com/pcercuei/mininit

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 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



             reply	other threads:[~2014-05-22 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22 23:24 YourName [this message]
2014-05-22 23:24 ` [meta-handheld][PATCH 2/2] initramfs-mininit-klibc-image: initial commit YourName

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1400801045-14912-1-git-send-email-email@gmail.com \
    --to=andrea.adami@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox