Message ID | 1519228732-20082-1-git-send-email-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBQ5OW3KAKGQEADNZXSQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:400c:c0c::23e; helo=mail-wr0-x23e.google.com; envelope-from=swupdate+bncbcxploxj6ikrbq5ow3kakgqeadnzxsq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="XQsfG52H"; dkim-atps=neutral Received: from mail-wr0-x23e.google.com (mail-wr0-x23e.google.com [IPv6:2a00:1450:400c:c0c::23e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zmhxL2g51z9sWG for <incoming@patchwork.ozlabs.org>; Thu, 22 Feb 2018 02:59:02 +1100 (AEDT) Received: by mail-wr0-x23e.google.com with SMTP id z14sf1812709wrh.1 for <incoming@patchwork.ozlabs.org>; Wed, 21 Feb 2018 07:59:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1519228739; cv=pass; d=google.com; s=arc-20160816; b=RFtN/EUkdevJgyQtFi/wJAklaxlkpsRrmwSgufPNwDpYhAfxwczKD634OCVv9G8JpK UO419tgZcfAqrshS1Zk5V6RpCsO6R4tW1gPWjQMqdR49hplgUBeOXR2TyKs71yBLUsoW P+HNbQ5YpzcrJFWbJvyf7YE1ZtAOx2sCXdZQ/WnsMDdsmCZDdlU5g4I0QbvA8nMvEgUq 7RWaFkFNc0vQQc7E/kDBzAc1vosjSS9MW79obCvbXGJHAw+rjtfgVjDcW5G0LKlGQ9Hk bI/1gQmPGVL8HJido8lHw1BNPoz+9onCcavoUBHncfP76UZ8wzGds1WGesaCnGPV6qLX gusg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:message-id:date:subject:cc:to:from :arc-authentication-results:arc-message-signature:mime-version :sender:dkim-signature:arc-authentication-results; bh=O9Joe8YnzdIiNXFqkvoPM2QreTmX3Tq/SnvUFQY1dN4=; b=bmLm14bvOes/7Kn4b9KuyOvbfIKtS+dFdUS3jEiOq2beaiH3Fkxo72O24W3jlVmepc Ew73VcuD+eDo2u61jGsFMxO+UOZV3j4tTSp9+ajvbK9qMP7J62f0MSbY61DRdGk1fjS8 YCy1QRAtBDZbzXZJy70HexVHq/nfGgGIa76aqydqxYpXtiO8d9hGA9YeLqpwdfPTOk9+ AtlaSkdwL7XuZdaXNd7G0WM7RoD6ubxfZsfWeHbPhV/3P0yz64+s7NlGuJuY4sXr5Wqn 60AaAUW4uXTNlEgNcT2XmWl7GJo6oIY26wu6bLt6uZ5ASQwQ4c9L7KbLGvZgBVlOT9eU eULQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=O9Joe8YnzdIiNXFqkvoPM2QreTmX3Tq/SnvUFQY1dN4=; b=XQsfG52HsRGkA2uMhB4S48lNV3ofn6PUhtDIMAlQMaysyeey1puXGn2q5ICjkAwB8+ Qk2MEEzPWh1j6WF0IprjGTgpACxR2lakV6LHPCR5cKNHHDBK26/6OzDfJTdCtfdDfW0+ 0bKSQV1ZbCp5VGiDI7bvjNjxmpie7FPFjjlkyCeEM+038BDnT5r2E6k1d5/NirGCigat KQfs0Axe8sPKaqRlrenW8GeLlCGl7ODV03HeV0Dt2Z8kayi1mIRLEHNdWoZkPPbFotqZ EP/HRWn6iL+jaLShVDPuOKLfquBGgGInlX8jhDMqxmGfNplARD783t3+Wai1rnGiDp+3 5XwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=O9Joe8YnzdIiNXFqkvoPM2QreTmX3Tq/SnvUFQY1dN4=; b=HCGfsihCyzDvhVmG3dwwtY6yzZ1i9d3lzHsFOGBYmVrLu93p8WchaNe55AZEXyC4Ih /aNcd2YdWPr9Xy6MC4kyqYivRwFDWgTleZZjGWpqJL8EfCFScV6IL4vjrF08OL+b0u/3 0Xz2UurVrPpWDDqblOZDVbi3Ym7IGEuQTONvWX6PKwzn/3G4vBmiVVFavZ74ann6im4+ lPtxHUBn4OhIj41Qi95sFiJcwdDfKbWIApvr+vhP1xcw63gxz9n8/RTqSORGSdYt+HiR 8oHp6AvXktHGNDP0jtg/4Vy4lhUi6/CGJ7NCrra25W828s+ccdrHsx4xrpuV8Etdgbmg lGqQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: APf1xPCgjXAvw1TBSQYAzdo7/utmJGKyJ8G2oa6Ck2HGqZj04j0Csnsy UKQownhjfnPplxUUFoIVSL8= X-Google-Smtp-Source: AH8x225eWtgK52d53VAEU7yBMapcPPRE2Ekgugi/+nWgQO1hh+oS6wdaKeBVR98uecTCgAVY9TBXAQ== X-Received: by 10.28.40.134 with SMTP id o128mr43942wmo.0.1519228739726; Wed, 21 Feb 2018 07:58:59 -0800 (PST) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.28.47.194 with SMTP id v185ls365324wmv.4.canary-gmail; Wed, 21 Feb 2018 07:58:59 -0800 (PST) X-Received: by 10.28.184.6 with SMTP id i6mr273496wmf.14.1519228739228; Wed, 21 Feb 2018 07:58:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519228739; cv=none; d=google.com; s=arc-20160816; b=nXwbCeXww0a/C4CuiTaqa/Xoi5RABBhXTpwWHhO0KCqdQLFhbqd7wZk6TluIWY9AHj ggTKax5jBMhBgIVxeS28GMejt8fLPpjXf2B+I/l6kRFBCFX3of+datpn5HNohTXtB8Yd Nc9/03RkDf7ilQJ5/4ANDvf2Ux7gTX65OXyLbjz/4o5TOwqjeXKXGtagXx+6ccRsuPGV 5B9ozq/FIJb6Pq7w8dDoTo8Ln4XuhJf5Dc4AvdSbEaxHHdNBqSXXIGWpfP7Fka4kF9J6 KAjnRytRJwtqZMzmnet3N1IP2uw8yHbs8+8Qxwan8ToGWTMCeNYP4QViEYQBFw3Kb+h1 k47w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=lfauS5/KRHqDzVIF8ugEiGpfAiMK5KRbULZG9eN0oAI=; b=WA7/hB17GFN+illHKHe03dKU0DnENSKwqaC6uhC7zIKVZiPM/SklauXZX4cPYMAhuE o79TkyC8BixTKHbqWfuOCOyuhyMwPtYxDmllwA3hcwaMfyd/EyZUOFD9QtghTTzkDEWs tAQlv255r+sQwMBC4mK7PMJp2m+MH9DjI+EzJ68EeUURoUFs5EW1UFdnrR1pYJ/s8nxW 8wGkj1wcohra76kcwmYuXOxWsNrpBwJjIog4rnsn/b1cuz/TCuy4bXsQGhe0XSQnBG6/ kqKD1xbdBA3I7S6clWaM8AdSMgs1yxxYkVhmbgdR3gRcuuax64ZHe0YMZRG0cCigdKgL HsKA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id s5si713990wra.3.2018.02.21.07.58.59 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 07:58:59 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zmhxG6zwQz1qtF7; Wed, 21 Feb 2018 16:58:58 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zmhxG6q07z1r2Zp; Wed, 21 Feb 2018 16:58:58 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id csuXz2gAtkij; Wed, 21 Feb 2018 16:58:58 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 21 Feb 2018 16:58:58 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 06D0B45402F0; Wed, 21 Feb 2018 16:58:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NxwX4MJgbw29; Wed, 21 Feb 2018 16:58:54 +0100 (CET) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 117C9454027E; Wed, 21 Feb 2018 16:58:54 +0100 (CET) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH 1/2][meta-swupdate] Revert "Use backward compatible syntax for `getVar()`" Date: Wed, 21 Feb 2018 16:58:51 +0100 Message-Id: <1519228732-20082-1-git-send-email-sbabic@denx.de> X-Mailer: git-send-email 2.7.4 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[1/2,meta-swupdate] Revert "Use backward compatible syntax for `getVar()`"
|
expand
|
diff --git a/recipes-support/swupdate/swupdate_git.bb b/recipes-support/swupdate/swupdate_git.bb index d23b965..4fc15ad 100644 --- a/recipes-support/swupdate/swupdate_git.bb +++ b/recipes-support/swupdate/swupdate_git.bb @@ -11,9 +11,9 @@ DEFAULT_PREFERENCE = "-1" # In casethe _git version is chosen, sets the revision # to TOT to test with last commit-id. def version_git(d): - version = d.getVar("PREFERRED_VERSION_%s" % d.getVar('PN', False), False) + version = d.getVar("PREFERRED_VERSION_%s" % d.getVar('PN')) if version is not None and "git" in version: - return d.getVar('AUTOREV', False) + return d.getVar("AUTOREV") else: return "c0fec16b3fc82b0db12d8ac58be7055ed1b8d439"
This reverts commit d9b64419578fba2a459badd95660b7e83fcc49e4. The git version cannot be selected after applying this patch. Signed-off-by: Stefano Babic <sbabic@denx.de> --- recipes-support/swupdate/swupdate_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)