Message ID | 20191005201808.11647-1-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBCHV4PWAKGQEI6RBZJQ@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:4864:20::438; helo=mail-wr1-x438.google.com; envelope-from=swupdate+bncbcxploxj6ikrbchv4pwakgqei6rbzjq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="arQAG0XW"; dkim-atps=neutral Received: from mail-wr1-x438.google.com (mail-wr1-x438.google.com [IPv6:2a00:1450:4864:20::438]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46lyjt1W9Fz9sNw for <incoming@patchwork.ozlabs.org>; Sun, 6 Oct 2019 07:18:24 +1100 (AEDT) Received: by mail-wr1-x438.google.com with SMTP id v18sf4599929wro.16 for <incoming@patchwork.ozlabs.org>; Sat, 05 Oct 2019 13:18:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570306697; cv=pass; d=google.com; s=arc-20160816; b=O6LKEFRN6RZ5WMVHf+AlJhPcH/J9cBUrMk2z6G3DFuTyrq93T/LQudsYnNpRmm+VmG 3wXhwJoWREm8nqHjh2/nyWxuII44AmIGFDsV6Myf6bfyGmc8a/79YOAVIhcsCogI3GSZ oAKUoXpB1GPkbEh8WgLivGDF83cdpjykRqGdCMlrrS7ktukE+PjwkyszT/iFlzo9CToF JLSrdp0JuZZ35mgnHYEm40tQRMd9d9vABDcAnP6RZoYRZaBUCxJwwxrpUWHQ7tF43QMx F/JkJjkb9J350T70I/0BDoK6esRVPKjMQ+91tGAMTCuIxZPS2Lfc4NjOACbbFa33aEel 3R4w== 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 :mime-version:sender:dkim-signature; bh=/8AEhZG5NnAGLhY6UQ8I9ci+t7oCDXO/6EQs0oUjWSQ=; b=DmJ6cyRrZGZXRdpz9c7zK0t0SV6s/vAE2xc6LWkad5nAxH8GszTvAQ3PMsveiAzJdw 9J0bFYq9zfWoNqi8mCISKqNycRTM6sBAMw13THhmY7vQkPCnGJT1BouDuJ+QUJLW2zOe DsGz+k5fG6yqvRirSyxEEn225rJ9MTcruwFAv+CJV9pZjwKXjklPc8WNUbFsxLmVGyVQ fdLVo4jc0l1BA1D7gE6e2yEr7Uvf3CZgUxh5EBFxp493dS+cc9vwhfDh1qIzVUkM75DE M1YNC85ipaS6Aq4NEvVSD8LZ/ipfun2iQiDcotbqxSm7SAzP7dOC+Gog8diQrP3F8z/0 WBEg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 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=/8AEhZG5NnAGLhY6UQ8I9ci+t7oCDXO/6EQs0oUjWSQ=; b=arQAG0XWsJzu2btkfRrbyuC/bkKcdlqmJBqAVJgIxjWF+WseDlPh+61j3Jbfs9Sy4e JAWSJZnPtmd+vZX7XMCr93cOOXzrMt975hSCZrqb1ak/8LXAH4kE0Gt+1AS6Ff9lz0S2 y8KtZ0k+sy3rxxnLwxEGnrxisoC8OWaL+ou0GkSkOSflsLZho1pY1SJgORou4ZYYdful ctPAXxBquPh3Nz+xwBI27h7JlpDPmghrAHsTvBP78mWxag4HseIQBtD6Fxvk1vcY/HGK uNXb6j389FvrxV2u2h1BQ7rS//fpCf7YPEBqcM6l67yv2mnM/PobYo/vLoFdf5z3c7y1 uZVQ== 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=/8AEhZG5NnAGLhY6UQ8I9ci+t7oCDXO/6EQs0oUjWSQ=; b=ta7WwogsROESVJP2m/fZ49o7W4STYXN6zyyubjwTYe0xGk/vn54Y3zMC3YTk0h7jYX B13s5c0Yho0ELWf39JawA1J6G5m6Qt9PIwJ6Q0+MMF5noTm+BYYZ8Moj7BI0aMV0Tdmz 1njWJe0GDgMJjcro0mU1dTIqKz5cs6BvH3bSC9/WKbXrmN6eFJbJEw3fbxzaaDCMfoMe uR/st+3YogS/SvUnPF6FjMTyAACJikhgdF5h0cr8mGgWtQ0JFy1Z5WVfrUH/GZQ7uT1Q HmllaBf7UO+XDawn0CM5sSWnQhv/+0Svdtw+oB3OWRuFIG8ABLdwcBFEbSjNubF0XTZa EsKQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: APjAAAUZ0z4e+B6rD/8V/i1Z6vhrnFJKCF3hC0Ghx0ZlfCD8Oqd/HqSQ D1ArX11gJZ/7+PU4LzsTqY0= X-Google-Smtp-Source: APXvYqzeA4VJrXkFl8xIpYaIw3SL8IxcQRZdbbR4PNSnl9EJG9BRibjy1PHd/WQgSqVpgVW0GBCh7Q== X-Received: by 2002:a1c:964d:: with SMTP id y74mr10537909wmd.46.1570306697155; Sat, 05 Oct 2019 13:18:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:6889:: with SMTP id h9ls3858341wru.13.gmail; Sat, 05 Oct 2019 13:18:16 -0700 (PDT) X-Received: by 2002:adf:f311:: with SMTP id i17mr6492825wro.394.1570306696585; Sat, 05 Oct 2019 13:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570306696; cv=none; d=google.com; s=arc-20160816; b=NbusARa4O9F9ScaL1h1rQDb1YruTKqSFl8wiy3+mZJBq9Q2Gm8oCbxRSaamk1AZDVK 6HhHsJPM/GBaCvf2kz+RofrtI5WVyKIJKr8+kJwHqU1r/L/AmsZgVbDyPmuNdEr8rTWE cVx/w0RjTxlv6G6h1/4OMGU2AHPdfji2SJOjgR71PokCoYOVWlo/wdPX+iZStUV0/iu0 eLS8KvrcN+4ot6p+sUTAqYvd4BT/Kw3017ZPoLdYDEPW/fTFgHmeFJGCzIyYi3jgRVGi ApUnOH6pEUKuHI+ounH4kVuwG64VoZBylgfXxSYoh90ViOBEKS1Jk8+Dx/8ID2lBaHAu tlvA== 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; bh=LzAkfdSULCdUKcbTFjAzMEtLfqb4+GnRq8Y+7s6uowk=; b=ov8wnhtGbhqmSPN28X8y35Y0yYbWs1ZCzprZihGNFlHTjqio3CkiZVVGQ0wUpT/fbK gWXawD2auNcDgSktA4LlsCs/zC+fbgezWuq1E2xOB++rKxWfRYJBp41Mm/3x/kS39Zhr ifZzh7K3NoIMGwWv63vRJdebBrtrzIi4bunIdc9zh/UnY4PNu2fXBScaLp1mwr11ypmD tqZOGR1UqaHAbUBzIk78lxPaMXB9U+0RyKnNsAmKY5XxiTxhbJ/VRr8ARS8t4WlNMAjW dxIWDcEjMl1/JGu6E65m192JDKm38P+Wi0npJmJ1PLWmJicJ/hSpJAdpvLyO7JYTUHX/ 8avw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 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. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id n16si985998wrs.4.2019.10.05.13.18.16 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Oct 2019 13:18:16 -0700 (PDT) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46lyjh30Llz1rfcw; Sat, 5 Oct 2019 22:18:16 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46lyjh2nP8z1qql8; Sat, 5 Oct 2019 22:18:16 +0200 (CEST) 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 8MBcOpxtWnRj; Sat, 5 Oct 2019 22:18:15 +0200 (CEST) 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; Sat, 5 Oct 2019 22:18:15 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 916D345406DC; Sat, 5 Oct 2019 22:18:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 1y5x6LLe1Wx5; Sat, 5 Oct 2019 22:18:11 +0200 (CEST) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id ACA00454041E; Sat, 5 Oct 2019 22:18:11 +0200 (CEST) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH] u-boot handler: fix removing variable Date: Sat, 5 Oct 2019 22:18:08 +0200 Message-Id: <20191005201808.11647-1-sbabic@denx.de> X-Mailer: git-send-email 2.17.1 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 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 |
u-boot handler: fix removing variable
|
expand
|
diff --git a/handlers/boot_handler.c b/handlers/boot_handler.c index 4af8bda..12a3d42 100644 --- a/handlers/boot_handler.c +++ b/handlers/boot_handler.c @@ -92,7 +92,7 @@ static int install_boot_environment(struct img_type *img, break; case 1: TRACE("name = %s Removed", pair[0]); - dict_remove(img->bootloader, pair[0]); + dict_set_value(img->bootloader, pair[0], ""); break; default: /*
If a variable must be removed from the environment, its value should be set to an empty string. Signed-off-by: Stefano Babic <sbabic@denx.de> --- handlers/boot_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)