Where does the package name is defined?
A message that is not in the archive (sent off-list or not yet received): [email protected]
I got it now. It is under the images directory.
Please simple ignore my previous email.
Question closed.
Thanks,
Biao
At 2012-12-11 15:12:43,aaa <[email protected]> wrote:
Hi OE,
I am a newbie to OE, trying to reading the UserManual of the OE.
There are a set of bitbake targets named as PAKAGE-image,which has a "image" suffix, like helloworld-image, bootstrap-image, but there is only "helloworld" under the ${OEBASE}/openembedded/recipes/, my question is where is the helloworld-image(which has a image suffix) defined?
Thanks in advance!
Biao
From [email protected] Tue Dec 11 08:42:29 2012
Received: from m13-70.163.com ([220.181.13.70])
by linuxtogo.org with esmtp (Exim 4.72) (envelope-from <[email protected]>) id 1TiKU0-0003u3-J6 for [email protected]; Tue, 11 Dec 2012 08:42:29 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Subject:Content-Type: MIME-Version:Message-ID; bh=UBJMvvAwuKUxwUagPxpww6mNFAwIlRzNH8qv APr2Ack=; b=TnzbJcvwKjj/k0p8SwGxozv5dHzluEox8wAauzDK3Of5usaH4dJl CRzZotq0KKQbpZNXe8a49mUwXFj8YANmNXBFseNI/B+I2DB9ISBxytxc8RanWb12 KkNiA/NUBFZH/K7PXWtYWWnTbG6AkdT7O48MBXPBk+I6fOTFgXeWGCQ= Received: from huanmateme$163.com ( [61.148.56.138] ) by ajax-webmail-wmsvr70 (Coremail) ; Tue, 11 Dec 2012 15:12:43 +0800 (CST)
X-Originating-IP: [61.148.56.138]
Date: Tue, 11 Dec 2012 15:12:43 +0800 (CST)
From: aaa <[email protected]>
To: [email protected]
X-Priority: 3
X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build
20121210(21001.5125.5051) Copyright (c) 2002-2012 www.mailtech.cn 163com
MIME-Version: 1.0
Message-ID: <[email protected]>
X-CM-TRANSID: RsGowEA5f0Ls3MZQD_UGAA--.15836W
X-CM-SenderInfo: xkxd0z5dwhzvi6rwjhhfrp/xtbBSR2CgE9otSr6gAABsV
X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU==
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.11
Subject: [oe] Where does the package name is defined?
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.11
Precedence: list
Reply-To: [email protected]
List-Id: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel.lists.openembedded.org>
List-Unsubscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/options/openembedded-devel>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.linuxtogo.org/pipermail/openembedded-devel>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 07:42:29 -0000
Hi OE,
I am a newbie to OE, trying to reading the UserManual of the OE.
There are a set of bitbake targets named as PAKAGE-image,which has a "image" suffix, like helloworld-image, bootstrap-image, but there is only "helloworld" under the ${OEBASE}/openembedded/recipes/, my question is where is the helloworld-image(which has a image suffix) defined?
Thanks in advance!
Biao
From [email protected] Tue Dec 11 09:27:07 2012
Received: from mail-we0-f175.google.com ([74.125.82.175])
by linuxtogo.org with esmtp (Exim 4.72) (envelope-from <[email protected]>) id 1TiLBD-00054p-Bs for [email protected]; Tue, 11 Dec 2012 09:27:07 +0100 Received: by mail-we0-f175.google.com with SMTP id z53so1485990wey.6 for <[email protected]>; Tue, 11 Dec 2012 00:12:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=1oW6ifbj2RzfbYud7UJLHjw/gz7+SXmLtfdKAYamuqM=; b=CgPQBP81k7oX/ENfeiYzWQyflp5aOfp7oNG1WOKN2csfAqNuAdv9QTuVcdkAp9Dx2i u1kNzwL5tncChBQhX65YoxOByM0yUHtq4q1md6FLKKiYp6zyqrw2GIOBt4LOrCRF8hvC cibmU457bXSSIJtw10EGrTlwKB2jCmdJ7cdFcvJCe4BoCn3eZ+vdjUWjM8RemK/srEae WcAHzx3GIQ+6LRugP6w8otOFSHfAqCuu3vAZ8QxvWEpzafwV3xNG7mKtC+9NRa9CE/rr A+IS3XDs4zIEPrmh4nqcc7+Meq7TT+ayfj7ZpeXxtGy2QAkWr6HKaMKL5zaoWApeRYbf PyUQ== Received: by 10.180.88.138 with SMTP id bg10mr15225454wib.13.1355213555488; Tue, 11 Dec 2012 00:12:35 -0800 (PST) Received: from localhost.localdomain (ip4da2a5ae.direct-adsl.nl. [77.162.165.174]) by mx.google.com with ESMTPS id t17sm15204146wiv.6.2012.12.11.00.12.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 00:12:34 -0800 (PST)
From: Koen Kooi <[email protected]>
To: [email protected]
Date: Tue, 11 Dec 2012 09:12:23 +0100
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.7.7.6
X-Gm-Message-State: ALoCoQkKvAesJK2TLcfVQlY5u1xpwCnylwi4MGlb32/FcLwTMSUL2xpuWekQwLUNmUOUucUtDZyl
Cc: Koen Kooi <[email protected]>
Subject: [oe] [meta-oe][meta-systemd][PATCH] systemd: update to v196
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.11
Precedence: list
Reply-To: [email protected]
List-Id: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel.lists.openembedded.org>
List-Unsubscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/options/openembedded-devel>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.linuxtogo.org/pipermail/openembedded-devel>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 08:27:07 -0000
Systemd-analyze has 2 reverts to keep it working with the python currently present in OE-core
The LGPLv2.1 was update to the latest text from gnu.org, so match checksum to that.
Runtime tested on beaglebone/angstrom and soekris-net6501/angstrom
--- ...emd-analyze-use-argparse-instead-of-getop.patch | 103 +++++++++++++++++++ ...-analyze-use-GDBus-instead-of-dbus-python.patch | 91 +++++++++++++++++ .../systemd/systemd/use-rootlibdir.patch | 107 -------------------- meta-systemd/recipes-core/systemd/systemd_git.bb | 12 ++- 4 files changed, 201 insertions(+), 112 deletions(-) create mode 100644 meta-systemd/recipes-core/systemd/systemd/0001-Revert-systemd-analyze-use-argparse-instead-of-getop.patch create mode 100644 meta-systemd/recipes-core/systemd/systemd/0002-Revert-analyze-use-GDBus-instead-of-dbus-python.patch delete mode 100644 meta-systemd/recipes-core/systemd/systemd/use-rootlibdir.patch
meta-systemd/recipes-core/systemd/systemd/0001-Revert-systemd-analyze-use-argparse-instead-of-getop.patch new file +103 -0
@@ -0,0 +1,103 @@ +From 2003e63f48cee2f497de7b90b66284f98c1c9919 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Mon, 10 Dec 2012 12:24:32 +0100 +Subject: [PATCH 1/2] Revert "systemd-analyze: use argparse instead of getopt" + +This reverts commit 0c0271841ab45595f71528c50bcf1904d4b841d5. + +Argparse is broken in current OE python +--- + src/analyze/systemd-analyze | 60 ++++++++++++++++++++++++++++--------------- + 1 files changed, 39 insertions(+), 21 deletions(-) + +diff --git a/src/analyze/systemd-analyze b/src/analyze/systemd-analyze +index 88699d6..87a83dd 100755 +--- a/src/analyze/systemd-analyze ++++ b/src/analyze/systemd-analyze +@@ -1,7 +1,6 @@ + #!/usr/bin/python + +-import sys, os +-import argparse ++import getopt, sys, os + from gi.repository import Gio + try: + import cairo +@@ -76,6 +75,20 @@ def draw_text(context, x, y, text, size = 12, r = 0, g = 0, b = 0, vcenter = 0.5 + + context.restore() + ++def usage(): ++ sys.stdout.write("""systemd-analyze [--user] time ++systemd-analyze [--user] blame ++systemd-analyze [--user] plot ++ ++Process systemd profiling information ++ ++ -h --help Show this help ++""") ++ ++def help(): ++ usage() ++ sys.exit() ++ + def time(): + + initrd_time, start_time, finish_time = acquire_start_time() +@@ -266,29 +279,34 @@ def plot(): + + surface.finish() + +-parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, +- description='Process systemd profiling information', +- epilog='''\ +-time - print time spent in the kernel before reaching userspace +-blame - print list of running units ordered by time to init +-plot - output SVG graphic showing service initialization +-''') +- +-parser.add_argument('action', choices=('time', 'blame', 'plot'), +- default='time', nargs='?', +- help='action to perform (default: time)') +-parser.add_argument('--user', action='store_true', +- help='use the session bus') ++def unknown_verb(): ++ sys.stderr.write("Unknown verb '%s'.\n" % args[0]) ++ usage() ++ sys.exit(1) + +-args = parser.parse_args() ++bus = Gio.BusType.SYSTEM + +-if args.user: +- bus = Gio.BusType.SESSION +-else: +- bus = Gio.BusType.SYSTEM ++try: ++ opts, args = getopt.gnu_getopt(sys.argv[1:], "h", ["help", "user"]) ++except getopt.GetoptError as err: ++ sys.stdout.write(str(err) + "\n") ++ usage() ++ sys.exit(2) ++for o, a in opts: ++ if o in ("-h", "--help"): ++ help() ++ elif o == '--user': ++ bus = Gio.BusType.SESSION ++ else: ++ assert False, "unhandled option" + + verb = {'time' : time, + 'blame': blame, + 'plot' : plot, ++ 'help' : help, + } +-verb.get(args.action)() ++ ++if len(args) == 0: ++ time() ++else: ++ verb.get(args[0], unknown_verb)() +-- +1.7.7.6 +
meta-systemd/recipes-core/systemd/systemd/0002-Revert-analyze-use-GDBus-instead-of-dbus-python.patch new file +91 -0
91 lines not on this page · raw message
meta-systemd/recipes-core/systemd/systemd/use-rootlibdir.patch deleted +0 -107
107 lines not on this page · raw message
meta-systemd/recipes-core/systemd/systemd_git.bb +7 -5
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" LICENSE = "GPLv2 & LGPLv2.1 & MIT" LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ - file://LICENSE.LGPL2.1;md5=fb919cc88dbe06ec0b0bd50e001ccf1f \ + file://LICENSE.LGPL2.1;md5=f0df8fd67dfa1db3cc0bd431837f0b89 \ file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" PROVIDES = "udev"
@@ -19,13 +19,14 @@ inherit gitpkgv PKGV = "v${GITPKGVTAG}" PV = "git" -PR = "r10" +PR = "r11" inherit useradd pkgconfig autotools perlnative -SRCREV = "4d92e078e9d7e9a9d346065ea5e4afbafbdadb48" +SRCREV = "decd634e801bee2c554edb35383cc9d43417a850" SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \ - file://use-rootlibdir.patch \ + file://0001-Revert-systemd-analyze-use-argparse-instead-of-getop.patch \ + file://0002-Revert-analyze-use-GDBus-instead-of-dbus-python.patch \ file://gtk-doc.make \ file://touchscreen.rules \ file://modprobe.rules \
@@ -112,7 +113,7 @@ USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} = "-r lock" FILES_${PN}-analyze = "${bindir}/systemd-analyze" -RDEPENDS_${PN}-analyze = "python-dbus" +RDEPENDS_${PN}-analyze = "python-dbus python-argparse python-textutils" RRECOMMENDS_${PN}-analyze = "python-pycairo" FILES_${PN}-initramfs = "/init"
@@ -216,6 +217,7 @@ FILES_udev += "${base_libdir}/udev/udevd \ ${base_libdir}/udev/rules.d/78*.rules \ ${base_libdir}/udev/rules.d/8*.rules \ ${base_libdir}/udev/rules.d/95*.rules \ + ${base_libdir}/udev/hwdb.d \ ${sysconfdir}/udev \ "
Signature · 1 line
1.7.7.6