From patchwork Tue May 14 04:53:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 164100 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2173677ili; Mon, 13 May 2019 21:55:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG2ZtS65y3pB4eFW/hlZOI6ijbq38zvAJ9uYt6rl4/J+AJhzTXbeGLNRkYnVgMLPIkfH// X-Received: by 2002:a17:902:2aeb:: with SMTP id j98mr2394791plb.135.1557809710077; Mon, 13 May 2019 21:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557809710; cv=none; d=google.com; s=arc-20160816; b=vMEH/6xGDSa+qvkN7NiZk6YPcVRNOI9qBHTeochOLWmk41EVOT4DRZqZULkuxcUvT5 /umcoGw+Uymu4qYAdq0LYaNRaEBK31SAx4y3CsMcdhRH8YH3vpUMGUSgreoHdLPXLJ/9 gaKai3MYfVMWaf3tJFe4Lc/Rr2GGEuahb+cEgB3wj192ifgqn8XPXmEKv1Lz6wrJBFCJ ZC6husZ/h4ORFtjrbRfRCtIZJcq6qqha1YurJfUxqI7kn/9tnON2MHK8OKUAmFdi+UbY 9E2Zucll3KSGJA9PNbGEaOfLJ3Q6gioNBZ46fFR5Vd8SKKhL4zb8ot8ZnX8joSHRgb2M zg8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=6EpQTirUIbCFRI11MsT1m/LGMePFmC1npu/BhhwGky0=; b=Isgto57fm2kfv0ykRfbGrqm7XF5ynaTVmKLFKWXnnJAgoXjBXItrcDGwSNGIa6UT1o OKcfUqta8Gl/SWOvAUU9JG58QBogaepH2pV3YuBRwPjC8wrUPCGVgBuxyHYwAnwAfelL B5/gpqlhWCn6WrWQqN+FNS9s+WYS6zPPiF7jSuQK7/wY8uZ7bV3lYMLLXQA2kt6U8dLS AFCJDgfNBIlM0dZ7S7rkvEkwnYUSIUogYP7FoMNXF+Zn6Z352vx+m87kVFeqRDpAoSQl OSgZAGKwAihi5KknfHP5C0oAIxi/L3kEWpnTl5KClbyP0QFeHlMbZw5ww7FXc+wt2lWV 4MKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FYES8Tmx; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y4si17811578pll.138.2019.05.13.21.55.09; Mon, 13 May 2019 21:55:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FYES8Tmx; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C3B257DF60; Tue, 14 May 2019 04:54:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id A6A627DF03 for ; Tue, 14 May 2019 04:54:13 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id t187so7926587pgb.13 for ; Mon, 13 May 2019 21:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=oWbnlQ+MD8VzDhdVUS0jbKWbOG3hDeMshik4kk0kajM=; b=FYES8TmxkHFTJLRL0i5LRR/daGzWopG9AAqUP5Ns1loCalLYUXlrfx+kbJJL70rP9M SAO1StcGTBzHtAnJGgv0t1mwSDPw1Iircx+efhCI6fk+/WGFFbRfkqO44OdHueUZvSUq Xpx/DL0Ktx4TvyfIezUn6JA2ADzPmEMt2VtiBbXsKRVspK9+PTZOEhDlDw9GqCv4d3BO t5l79czKtvBQZLcI+9taZ+y5aU/SUmcBZOV1rfOQwtrsbTJT7tmRPjr2julHc6MG3VfZ dX/33/rvtbcFC9DYAPqI7LUY0xHpj5aq7scvjAoUQfKUjKOBpt+SYzDallhAiaKP8Wtq vgCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=oWbnlQ+MD8VzDhdVUS0jbKWbOG3hDeMshik4kk0kajM=; b=FleK4HWxxa/Nwqq598QixEqYO+M3AYjgMzHaIUG2f4rovEl6YYIJv8A8r/qoNWJO6C suGHAXfpck7IxoeptM7sopszR/M/nON2Q4MNvRkpNF72hC2dcKSActsgsnT29RHo3N0H 61YBdAYzVofdoro53Omt6+5aWgIO6tQ6AGklvQD7kPU3Q3dMcdpo0Nt0y0vYsbff/uKf 4wJVinTpSHyQCVKUIC0IlEIek2LSybDR2S+wMOhCZyYvJgSzioMrKgLGZhILRvIMGjpS 3tNbiGnEAZqdihMtEcmDzreI/kOm5XwhpPhcwNSwXl35GX2PD+AaI2JVQeyJe2Dvl8ZU /2Yw== X-Gm-Message-State: APjAAAU7JwZ6isQNPgO7NWTK+qPePwbYOhFYSXAK9BvWyBASZmKmyQ23 5hZdmP6YiGcHaWjohTHsww7NxUHh X-Received: by 2002:a63:a08:: with SMTP id 8mr35492830pgk.46.1557809654741; Mon, 13 May 2019 21:54:14 -0700 (PDT) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:c33:d909:eb3d:d2ab:fd1d]) by smtp.gmail.com with ESMTPSA id q75sm5698451pfa.175.2019.05.13.21.54.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 May 2019 21:54:14 -0700 (PDT) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Mon, 13 May 2019 21:53:48 -0700 Message-Id: <6d86d126121cd15c7e9832b24106332ab439beeb.1557809500.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [PATCH 06/23] wic: change expand behaviour to match docs 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton The documentation says that --expand takes a comma-separated list of partition:size pairs, but the code was splitting on hyphens. Hyphens are not a transitional separator for a list of items, so change the code to reflect the documentation. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- scripts/wic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/scripts/wic b/scripts/wic index b4b7212..a3c0f73 100755 --- a/scripts/wic +++ b/scripts/wic @@ -426,7 +426,7 @@ def expandtype(rules): if rules == 'auto': return {} result = {} - for rule in rules.split('-'): + for rule in rules.split(','): try: part, size = rule.split(':') except ValueError: From patchwork Tue May 14 04:53:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 164101 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2174291ili; Mon, 13 May 2019 21:56:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOPBMWj9JGuPQZCB4iTdAdlZDJ6E5BHC0Ed5Oep/fr+LYSVxqQsysYKnChAvsjxY4yT56d X-Received: by 2002:aa7:87ca:: with SMTP id i10mr12334371pfo.157.1557809764077; Mon, 13 May 2019 21:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557809764; cv=none; d=google.com; s=arc-20160816; b=jJv3CesaAMBsDG9MsOSsS9ysPzhmGEyKpIk1RDwIpbLMNZsoP08LQyTaA7/agHQAoG +y9F4ESsAw7AxNSLzUZBRy07QdpWolk9a9/e8Wndu20kmE7/7pq9cS2auf01a9y0mV1b ggiquqCwd4Gx0MVqymGOxs1kUy6ja/sIPI4WkYsNGuyIEChLw4YoYwyWLt3aO6LROJ9M t31Xw6g7093WMRtcTz3mo85aaFAVHUDM0zgRu1pddAf7v6FzEZbKU34R5HDXCaBk74Vu KvbBgjriA6+mIMqSGvdG/Yo9/hp3HUr5Md5HKmUYvMrn8Op7Zza9Iax0qs5RhPMUZnAX CYWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=Ah9yFOTgy2O7EbCkHv0Fb9Qvy/H+2aAg7XcLBtYo/ak=; b=Uyi+EjK9q3FztPq6BYMXg4HRq0ytX6+pSc6VWzyCd8Rz7CeH4K2OQxQ1lQfnG7punq CXg0B1Cmgr5QaQuzULNpxFHgDDnR7vHZeyE+SCvajsaQ+e942Qo3O9e4vseQbjt0+B2x dZzyJrT2UA05OZOEFyPC9XoG3on2sEATEXfsljlgKhNla+A/Ija5tvH/z+G5Ntg38zAj ErQaKQt3VeYyc78eb+XGCljTi0FSY8jVtPdgk5v4wBZp2/6EBX6blM5WjuspqfS13ebd vdJ1MrLEEBRiJgPRZNCrWB9bnV03nOah9ahRxl8+GLeMPMyUNmWfsWZATr5V+uHzeTzT DMbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=SS0lRMt4; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id cb3si2628870plb.89.2019.05.13.21.56.03; Mon, 13 May 2019 21:56:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=SS0lRMt4; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9BE087DFDB; Tue, 14 May 2019 04:54:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id 4683A7DF20 for ; Tue, 14 May 2019 04:54:19 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id z3so7940352pgp.8 for ; Mon, 13 May 2019 21:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=mXus7KMAxucBCQTMlNdc+Upz/Rh7hnH8B+T77+X8ZX8=; b=SS0lRMt4FamBDhZgpKFolOm/ffM/YGLHiwFFBAhroS+9fJoyb6mm3tlvSFcGS3AtQ0 zcp0l87m8TjYU7uWT6ofa8UpwsvI2fGO1TAO1HjFZJCK813GMv7++GCf0TDHssyAh4HJ DBfPxVd7fIu4PcGyUBpReMkeFPjzQQ7LOQNKySHzYgzmOdgpRAfF5wLCIRlBHlJPlHp6 DB+8kXGIsyOp3qIbDuAc1I02knRpDbsM9C0PKFXdauhoFFtJDte55z560ea/pizsy/TM H0w1qf4FaW4a66aC6PqIxyzsi/Y1hEm266dhka4Kt9DfIzaE8hTzlVx6XLV02X/D6Vws A0CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=mXus7KMAxucBCQTMlNdc+Upz/Rh7hnH8B+T77+X8ZX8=; b=btqYM/ZK3pCQm82Sb8cSfXRcSI4wFtn4UYkP4bf+aVTFUmCwaokMo+7njgnQyBrXJB Wu5dZnsEF6QPgH1cywQxe/zTFynssHHdqWIOLPKK6451yOoQxf/G7tlvaklrpTbylImN dGGzuozuyxczAdE/spw5eU2dG5+XCT0HEjj18RvBovT8OLt65B9B7I9hIf/D0t5OjWcK 8ztJL4J2/S3R/hihQnKS5km5P/oerWOYeLbBJy0Sax1KyuZ9vAxAcDjhg/tuFDtrIcg3 GjKVgmZYvoVMtPzeyOZEHSvBQWG2hC/LprcECodrK2bHd5S8PcjGBoXFNCiNT30eT5XY eUxw== X-Gm-Message-State: APjAAAVCDThtx/f0zGpUe+q6xEVrFVX59LvY0xRL2/mTQXnvSeJ7OjoY wdUjYRuiFcJEm+3uXoHz1oaIkoa2 X-Received: by 2002:a63:8342:: with SMTP id h63mr36773094pge.251.1557809660483; Mon, 13 May 2019 21:54:20 -0700 (PDT) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:c33:d909:eb3d:d2ab:fd1d]) by smtp.gmail.com with ESMTPSA id q75sm5698451pfa.175.2019.05.13.21.54.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 May 2019 21:54:19 -0700 (PDT) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Mon, 13 May 2019 21:53:55 -0700 Message-Id: <5979289d5f306d37fe5c8ed994bb833f2492ef32.1557809500.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [PATCH 13/23] uboot-sign: Fix u-boot-nodtb symlinks 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: "Ying-Chun Liu (PaulLiu)" When using u-boot-nodtb, the symlink didn't install correctly to the ${DEPLOYDIR}. This commit fixes this bug. Signed-off-by: Ying-Chun Liu (PaulLiu) Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/classes/uboot-sign.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass index 6385a06..8beafff 100644 --- a/meta/classes/uboot-sign.bbclass +++ b/meta/classes/uboot-sign.bbclass @@ -53,8 +53,8 @@ concat_dtb_helper() { if [ -f "${UBOOT_NODTB_BINARY}" ]; then install ${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE} - ln -sf ${UBOOT_NODTB_IMAGE} ${UBOOT_NODTB_SYMLINK} - ln -sf ${UBOOT_NODTB_IMAGE} ${UBOOT_NODTB_BINARY} + ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_SYMLINK} + ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_BINARY} fi # Concatenate U-Boot w/o DTB & DTB with public key