From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ra.se.axis.com (ra.se.axis.com [195.60.68.13]) by mail.openembedded.org (Postfix) with ESMTP id 77AB660959 for ; Fri, 31 May 2013 11:37:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ra.se.axis.com (Postfix) with ESMTP id 2DC0611FDA for ; Fri, 31 May 2013 13:37:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ra.se.axis.com Received: from ra.se.axis.com ([127.0.0.1]) by localhost (ra.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NlWqgJtlISd7 for ; Fri, 31 May 2013 13:37:08 +0200 (CEST) Received: from boulder.localdomain (boulder.se.axis.com [10.0.2.104]) by ra.se.axis.com (Postfix) with ESMTP id 03DE813A23 for ; Fri, 31 May 2013 13:36:55 +0200 (CEST) Received: from boulder.localdomain (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id D40E4B94 for ; Fri, 31 May 2013 13:36:55 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by boulder.localdomain (Postfix) with ESMTP id C943B9DE for ; Fri, 31 May 2013 13:36:55 +0200 (CEST) Received: from saur-2.se.axis.com (saur-2.se.axis.com [10.92.3.2]) by seth.se.axis.com (Postfix) with ESMTP id C55A13E06D for ; Fri, 31 May 2013 13:36:55 +0200 (CEST) Received: from saur-2.se.axis.com (localhost [127.0.0.1]) by saur-2.se.axis.com (8.14.5/8.14.5) with ESMTP id r4VBatwb020862 for ; Fri, 31 May 2013 13:36:55 +0200 Received: (from pkj@localhost) by saur-2.se.axis.com (8.14.5/8.14.5/Submit) id r4VBat3e020861 for openembedded-core@lists.openembedded.org; Fri, 31 May 2013 13:36:55 +0200 From: Peter Kjellerstedt To: openembedded-core@lists.openembedded.org Date: Fri, 31 May 2013 13:36:44 +0200 Message-Id: X-Mailer: git-send-email 1.8.2.1 Subject: [PATCH v4 0/5] Fixes for makedevs X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 11:37:11 -0000 When I wanted to create devices from a package I stumbled upon a couple of problems with the makedevs program. Most notable was that it failed to set the correct uid/gid for devices created as part of a block (i.e., with a count > 0). PATCH v2: And now with Signed-off-by lines, as requested. PATCH v3: Also made count for blocks of devices behave as a count rather than the end (noticed after looking a makedevs.c from BusyBox). PATCH v4: Added a Signed-off-by to the fifth patch. Will only resend it as the other patches have already been accepted. The following changes since commit efb8a460d2a977dbd481a0650fba8eb637c65bec: package.bbclass: Fix sources contents (2013-05-14 08:52:47 +0300) are available in the git repository at: git://git.yoctoproject.org/poky-contrib pkj/makedevs http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/makedevs Peter Kjellerstedt (5): makedevs: Create blocks of devices with the correct uid/gid makedevs: Correct the device number calculation for blocks of devices makedevs: Make the mode number readable in debug messages makedevs: Avoid unnecessary timestamp calculation makedevs: Make count actually behave as a count for device blocks meta/files/device_table-minimal.txt | 2 +- .../makedevs/makedevs-1.0.0/makedevs.c | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) -- 1.8.2.1