[{"id":1749504,"web_url":"http://patchwork.ozlabs.org/comment/1749504/","msgid":"<d15bb9d0-5799-9610-7a61-0e9590d33f0c@denx.de>","list_archive_url":null,"date":"2017-08-17T10:42:49","subject":"Re: [swupdate] [PATCH] bootloader GRUB doc","submitter":{"id":5771,"url":"http://patchwork.ozlabs.org/api/people/5771/","name":"Stefano Babic","email":"sbabic@denx.de"},"content":"Hi Roman,\n\nI am afraid this is not enough. Pazch should be well formatted and must\nhave a commit message that describe what is done.\n\nEach patch must have a Signed-off-by that takes track of the\ncontributor. Take a look how to submit patches for a FOSS project (for\nexample, in the kernel).\n\nOn 16/08/2017 12:25, Roman Kalashnikov wrote:\n> diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst\n> index 4a798ee..b4e8d75 100644\n> --- a/doc/source/sw-description.rst\n> +++ b/doc/source/sw-description.rst\n> @@ -548,6 +548,26 @@ that must be changed:\n>  SWUpdate will internally generate a script that will be passed to the\n>  bootloader handler for adjusting the environment.\n>  \n> +For example to use GRUB environment - after update some of partition\n> +and boot from it:\n> +\n> +::\n> +\n> +       bootenv: (\n> +               {\n> +                       name = \"default\";\n> +                       value = \"1\";\n> +               },\n> +               {\n> +                       name = \"fallback\";\n> +                       value = \"0\";\n> +               },\n> +       )\n> +\n> +Note the `value` must contain correct partition's number in\n> +GRUB menuentry. Also `bootenv` can contains variable like `fallback`\n> +for failsafe boot if the new default menu entry fails to boot.\n> +\n\nThis is not enough - a newbie with Grub does not have any additional\ninformation. What we expect in the documentation is something like:\n\n- which CONFIG_ must be set\n- how to setup the system (Grub configuration, an example of grub.cfg to\nbe put into the example directory, whatever can be helpful)\n- and of course an example for sw-description. Your example does not\nexplain the A / B approach you used it and it is too generic.\n\nBest regards,\nStefano Babic","headers":{"Return-Path":"<swupdate+bncBAABBL7G2XGAKGQESSRBLFY@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c0c::23f;\n\thelo=mail-wr0-x23f.google.com;\n\tenvelope-from=swupdate+bncbaabbl7g2xgakgqessrblfy@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"jzv7ShvJ\"; dkim-atps=neutral"],"Received":["from mail-wr0-x23f.google.com (mail-wr0-x23f.google.com\n\t[IPv6:2a00:1450:400c:c0c::23f])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xY2qQ2HcZz9t2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 17 Aug 2017 20:42:57 +1000 (AEST)","by mail-wr0-x23f.google.com with SMTP id z91sf431965wrc.2\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 17 Aug 2017 03:42:57 -0700 (PDT)","by 10.28.36.7 with SMTP id k7ls725894wmk.27.gmail; Thu, 17 Aug 2017\n\t03:42:54 -0700 (PDT)","from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10])\n\tby gmr-mx.google.com with ESMTPS id\n\tn126si1422813wma.7.2017.08.17.03.42.54\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 17 Aug 2017 03:42:54 -0700 (PDT)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xY2qL41kwz1qtFT;\n\tThu, 17 Aug 2017 12:42:54 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xY2qL3WRkz3jR9p;\n\tThu, 17 Aug 2017 12:42:54 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id D98rFEXy6K_C; Thu, 17 Aug 2017 12:42:52 +0200 (CEST)","from babic.homelinux.org\n\t(host-88-217-136-221.customer.m-online.net [88.217.136.221])\n\t(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPS;\n\tThu, 17 Aug 2017 12:42:52 +0200 (CEST)","from localhost (mail.babic.homelinux.org [127.0.0.1])\n\tby babic.homelinux.org (Postfix) with ESMTP id ED83245405ED;\n\tThu, 17 Aug 2017 12:42:51 +0200 (CEST)","from babic.homelinux.org ([127.0.0.1])\n\tby localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id L2fKwG1W5f8v; Thu, 17 Aug 2017 12:42:49 +0200 (CEST)","from [192.168.178.132] (papero.fritz.box [192.168.178.132])\n\tby babic.homelinux.org (Postfix) with ESMTP id 3838A45403C3;\n\tThu, 17 Aug 2017 12:42:49 +0200 (CEST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1502966575; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=Easw62nRSfkmXi1OhD58NkuH4FIdDoLpGWALlOFthXDDlT6/wAuX1yItPnAfUJRj5T\n\to+GZrGAQa/FGQU3PzbU0KYFBOSH4w6P+pnxdl8dRXlMJISz4T9z6p+zU+RsGdRLiljdR\n\tfnx0KuF4pVGELbmGLUMNVZd6i1U9Me48Do5fXikHgJsK0oFd542IJecOUqKeQb2AY13N\n\tHEy9ersR/2A/dOJIYEnP77JvGuYWXECTSQ2NXGW4ZlyOeicoypYBJ6DxGO9gD4q+LgzS\n\tgnj015r8kdy76537ptf7osUIIo4yenvMACouosSdG4N6Y4alK8JXP1BrnnNBUiHaC4ZC\n\tXzQg==","i=1; a=rsa-sha256; t=1502966574; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=UYD/J7ij9ag4b3g9Fj3cenmkuWyGncZlhXrliHZt00FfVAIHmjquJYi9Rd66nme7qk\n\tgZuGgEvDXUXB2q6yD7FuF2vSvsnLJXCgRFMbDlFbUHOV/cMBM7mEIDahq+oUZy/LxNhe\n\tee5y+sONahUlFnWFu/Z7Sopa9ReiVynFaSD4XEyyRYKJa1STnIh4PHbGvU2cEWI8I0Uk\n\tgiUZ/NaE+BfepsV5HZgd869P3q6f0RS7MgxsYzR+KJOPvfLj4DvCKPTnn2izUCh38QEU\n\tN5S1qrWN7fj+AGKKDwd7fr/MdSq0B1em9l8kQEwPmzbapOvxHFskmOBHWxRd9Xw7R8ci\n\tMo5Q=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:content-language:in-reply-to\n\t:mime-version:user-agent:date:message-id:from:references:to:subject\n\t:arc-authentication-results:arc-message-signature:sender\n\t:dkim-signature:arc-authentication-results;\n\tbh=xK5dhlKcTu1Ulp/EY7smSU5g2ajew0oZUo9dBtvdOW4=;\n\tb=Tv8Nf3FkXRB7qG+iWFjOnMJxV/YH0ll7lc2RThv+IRuKJIqsY976qM8j90mOxoCq4F\n\tcmxQetVUBrr8eKi8lIY/jqjkGa6vU6c8EopONShGC3Zjiq5TyidzSHlhgiFcyYtsTzZK\n\tZOd5d7+Q6tyO6doSPA0Z8e0VNT9yPiycCIdI2CmgippMrPXGLrvTiFOFbuyAPWVEF68O\n\tSnIhaF3tkycfc17VFQM0F0ms9tjggKW4wugfUxzIXBr+WQ+f9qsAweuoZ47DUmVtgX+o\n\tgug6OiFqkiSU/l5ITzAk3b57MEHO0WtZycdp4VC3AlvrTwjva4TLvMEWPZxGPysDj68d\n\tQFLQ==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=content-transfer-encoding:content-language:in-reply-to:mime-version\n\t:user-agent:date:message-id:from:references:to:subject\n\t:arc-authentication-results;\n\tbh=R11ynWzHbCVXZYf4JNFwg7jHUP9uEDOfFTVDnKKvjJ4=;\n\tb=pyJKT9YzytRWBc1w7pJLfWQ3Hp4HSvS/6zSs11rTQQnkZrrnI5i1pna06yTpR068gz\n\tl8ZdTEcv8ydwdDla2UHpqn9px4Jb7LlAMU9GgIHcJosbgcgQbXcezyzvtN7pcCj6P9mG\n\tGzXRrwgdVQazXZIALne27xxtR29h9RM//iqqWbWxVDKsmU60l66xeI1VRz0EwtZv0x+j\n\tFZMeAYWMBlhan+Ui1uUUHKZkbd/api/ec0jgLEJvpoGWs9x3Cse0cBymaXUgPkJusCUP\n\t/g+YAvllBYoUZvyox+MufPuyCgwpaV72RtitADn3nnQpmTW/ruvns+hgPahzUlULffoM\n\tMlaQ=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.10 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.10 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:subject:to:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:list-post:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=xK5dhlKcTu1Ulp/EY7smSU5g2ajew0oZUo9dBtvdOW4=;\n\tb=jzv7ShvJdGl2GAQgNYWS3XNcE6WSc4WqqeIEKFB3Py/2kEyeFxwbfGzNyFJMSFCHXh\n\tlcmJ03Zk7v61cUZOhAiAjCvV4xxLiMsbevWI5vLZX8L8jLhMbzYTed7WNVh3nHBUJQDY\n\tE4I4hmsavywgBOrISj3FG/kXUjCtkIweKfEMQXQNDCd7DfsJDwL/mdEKR53aMH0wTyHE\n\tq+tLQ5nt3JOXDZq+E+Grz2pBkOJNyKHkJYGSup91uDBgXGU8nvtRxS0We65gK0aexykX\n\tYw0Uw4Xe+QcPkAnY5Edr/+COG4CJlpa+ItiJUsArTZz5I1IQTyzfqVVxcocIBQD4N9KZ\n\tnWqg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:subject:to:references:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:x-spam-checked-in-group:list-post:list-help\n\t:list-archive:list-subscribe:list-unsubscribe;\n\tbh=xK5dhlKcTu1Ulp/EY7smSU5g2ajew0oZUo9dBtvdOW4=;\n\tb=f53xGBLp1Dp8zX/VMZez7Tr03iyT333/GrvYa0LO5mWN2oOcAekqQbN/nPHu+07o8z\n\tFHHsrbEB/5BfP2ZnNU1zbuZj+8ByjPZXSwbp3fmZOKRZWWjrgkZrrapc2TB+t3f7PSc6\n\t82NyUW1h4lPeeeQW34i4Wg1nBTHLWW5RjiBynTtDqKU+oFO5oaNDvLtc7XDnx6pdFHf+\n\txbBj2UFPCmB/KbPpH08LrXn8iNUlOjuw47yD8yjJz12wMuode1pzBsMTEGKYO+/Rih5/\n\tp2GVc7YVDuy4TcXMnNxJ6l20KasXwDuTps1STiQ2nnlzzQqbq1kVkY81XFRYCG/Vkhvt\n\tOaDA==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AHYfb5j0+sIzxSu3KlYH2XfvqajLIjp5vE056GomQqcjPXYjiT3X1Sgc\n\tL739yx/ZEnqzbA==","X-Received":["by 10.28.135.212 with SMTP id j203mr2062wmd.9.1502966575294;\n\tThu, 17 Aug 2017 03:42:55 -0700 (PDT)","by 10.28.98.137 with SMTP id w131mr11605wmb.0.1502966574893;\n\tThu, 17 Aug 2017 03:42:54 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 212.18.0.10 is neither permitted nor\n\tdenied by best guess record for domain of sbabic@denx.de)\n\tclient-ip=212.18.0.10; ","X-Virus-Scanned":["amavisd-new at mnet-online.de","Debian amavisd-new at babic.homelinux.org"],"Subject":"Re: [swupdate] [PATCH] bootloader GRUB doc","To":"Roman Kalashnikov <lunix0x@gmail.com>,\n\tswupdate <swupdate@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>","From":"Stefano Babic <sbabic@denx.de>","Message-ID":"<d15bb9d0-5799-9610-7a61-0e9590d33f0c@denx.de>","Date":"Thu, 17 Aug 2017 12:42:49 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Language":"en-GB","X-Original-Sender":"sbabic@denx.de","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 212.18.0.10 is neither permitted nor denied by best\n\tguess record\n\tfor domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829530,"web_url":"http://patchwork.ozlabs.org/comment/1829530/","msgid":"<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>","list_archive_url":null,"date":"2017-12-29T05:58:56","subject":"[swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":73109,"url":"http://patchwork.ozlabs.org/api/people/73109/","name":"R lab","email":"rlabdeveloper@gmail.com"},"content":"On Wednesday, August 16, 2017 at 3:55:39 PM UTC+5:30, Roman Kalashnikov wrote:\n> diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst\n> index 4a798ee..b4e8d75 100644\n> --- a/doc/source/sw-description.rst\n> +++ b/doc/source/sw-description.rst\n> @@ -548,6 +548,26 @@ that must be changed:\n>  SWUpdate will internally generate a script that will be passed to the\n>  bootloader handler for adjusting the environment.\n>  \n> +For example to use GRUB environment - after update some of partition\n> +and boot from it:\n> +\n> +::\n> +\n> +       bootenv: (\n> +               {\n> +                       name = \"default\";\n> +                       value = \"1\";\n> +               },\n> +               {\n> +                       name = \"fallback\";\n> +                       value = \"0\";\n> +               },\n> +       )\n> +\n> +Note the `value` must contain correct partition's number in\n> +GRUB menuentry. Also `bootenv` can contains variable like `fallback`\n> +for failsafe boot if the new default menu entry fails to boot.\n> +\n>  For backward compatibility with previously built .swu images, \"uboot \"group name\n>  is still relevant (as an alias).\n>  \n\nHi Roman,\n\nI am working with swupdate and GRUB-efi. I am having issue to use grub environment block to switch partition. I am using the logic you suggested. But I am not sure the GRUB is looking for grubenv in my case. How we can set grub where to look for grubenv block.\n\nAlso If you used yocto for this build. Any suggestion to get grubenv by default in image would be helpful.\n\nThanks,\nR","headers":{"Return-Path":"<swupdate+bncBC52V2V6WUERBINTS7JAKGQEJL4RXAI@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:400c:c05::23e;\n\thelo=mail-vk0-x23e.google.com;\n\tenvelope-from=swupdate+bncbc52v2v6wuerbints7jakgqejl4rxai@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"Q1wvsDgt\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"XR+5wGCw\"; dkim-atps=neutral"],"Received":["from mail-vk0-x23e.google.com (mail-vk0-x23e.google.com\n\t[IPv6:2607:f8b0:400c:c05::23e])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7G9x0yRjz9s1h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 16:59:00 +1100 (AEDT)","by mail-vk0-x23e.google.com with SMTP id r189sf16470401vkf.13\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Dec 2017 21:59:00 -0800 (PST)","by 10.31.147.148 with SMTP id v142ls2824830vkd.7.gmail; Thu, 28 Dec\n\t2017 21:58:57 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:date:from:to:message-id:in-reply-to:references:subject\n\t:mime-version:x-original-sender:precedence:mailing-list:list-id\n\t:list-post:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=kOTslk12/X/+Qeei4jj3nigq67AxSQ0Nnt2Sf8A4i4w=;\n\tb=Q1wvsDgtoL18TDXfHKHGKlH0b4m3zsOflqfcnlGlqd2yDhxk9Eb7FQtRWxCSf+SHqL\n\t9R3gl3tJsKxgQnm1uQG1WNaWMVKmIxNg+bJ1e7CifRTMcTmUAU2O3ykN8FcP03kMQC07\n\tVcieRC6hNtHzZIKZk9KEAqd9NHsyXIkuQngU2wh4jK3xMUBB3fPfkA5V7dbaNrZFxU73\n\td1WdEt7oJkfUzHtSKaNAvCvkRPnOi/MXY6vdNtdVv1+52cpl05IROSea2TdaOFX6v3dn\n\tICdAqpgQjPqhUuUXapFDqPZB+2Tj0P+iYrUKFK+w+InFOwPeAPuy/Y2jpNQNjDM59Smj\n\tgbzg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=date:from:to:message-id:in-reply-to:references:subject:mime-version\n\t:x-original-sender:precedence:mailing-list:list-id:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=kOTslk12/X/+Qeei4jj3nigq67AxSQ0Nnt2Sf8A4i4w=;\n\tb=XR+5wGCw4XceyTMyPzXDBmCnUFKmvlLdUKyO31ryr4MQT8r9Dp5QT45zlN+1U6T1PH\n\t8xDYL2a+Bhr+78PNO7Oqn++N8TvOy++b9u1q+BmGqs3gOM5fepZ8x7dcNuHS5TIJ71jq\n\tZhfnwe1ACANI9c96pHikdcxbKTrZ4tsz4a9E3h60xnbeqe3Aygj40pxH8Kg3ZjCvejPp\n\tW70Fb+PvexAL6hfsTb/CZucsTZOk8B+y3rcT29aeO/7ODflJg0CIZPGuwlIaHGFKVDqd\n\trMPnmWBi1zDsIe7MkpSu/ol8Y39r/L5+H/TET1Ngsg2HCwAxsYP2G/JjOE0QPu0UfFke\n\t+rGQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:date:from:to:message-id:in-reply-to\n\t:references:subject:mime-version:x-original-sender:precedence\n\t:mailing-list:list-id:x-spam-checked-in-group:list-post:list-help\n\t:list-archive:list-subscribe:list-unsubscribe;\n\tbh=kOTslk12/X/+Qeei4jj3nigq67AxSQ0Nnt2Sf8A4i4w=;\n\tb=m7HRYZVisvkGPX6zgXN+p+KQEBJL2wqWcr8pj++KoBbZEcJClpt9lX0lArBj71BCPd\n\tFZQUeiaipur4suN0naZWG6s5+E0ZNXOkulpBURHP79mSrWJD0D0dfWDXj5OESj+135Ga\n\tTZNqhX0JKlQG1lBDzDLJs+PFPl4GKrMDZ5xJ22gTx+0GHUA2JNLrc4KCAnMmCfWvb7Q9\n\tnCk8HojGZgqJTLvXivdcqCvex6kcDls4BBB61vpwCInxigPFzoFUt/t6Y3NC/Ma0gJeJ\n\tGK6vSdGpxBRubfhVA2IKW2bdRobzqhKX6hUNbBuMFYFCgN1vw2D59d7FnmtunX/iwsBG\n\tM5PQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mIJNq6BoXly5riFvxA0QHdMLL2onBCXlh7yojmV+biY5F/ivpb2\n\trip09NHi+EmQJCpWzZe/jL4=","X-Google-Smtp-Source":"ACJfBovorBCs3smNIHvNQP+d4UTET1LaHAFunD7DhqCKrnfI54BTv/KPr+T7w/pbLad3PFeEdgddpg==","X-Received":["by 10.31.170.1 with SMTP id t1mr3109408vke.4.1514527137922;\n\tThu, 28 Dec 2017 21:58:57 -0800 (PST)","by 10.31.192.135 with SMTP id q129mr3107590vkf.0.1514527137398; \n\tThu, 28 Dec 2017 21:58:57 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Date":"Thu, 28 Dec 2017 21:58:56 -0800 (PST)","From":"rlabdeveloper@gmail.com","To":"swupdate <swupdate@googlegroups.com>","Message-Id":"<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>","In-Reply-To":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>","Subject":"[swupdate] Re: [PATCH] bootloader GRUB doc","MIME-Version":"1.0","Content-Type":"multipart/mixed; \n\tboundary=\"----=_Part_26114_818335556.1514527136912\"","X-Original-Sender":"rlabdeveloper@gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829537,"web_url":"http://patchwork.ozlabs.org/comment/1829537/","msgid":"<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>","list_archive_url":null,"date":"2017-12-29T06:31:12","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":72171,"url":"http://patchwork.ozlabs.org/api/people/72171/","name":"Roman Kalashnikov","email":"lunix0x@gmail.com"},"content":"Hi!\n\nI was working with efi-system too. Unfortunately grub2 ignores grubenv and\ni can’t use it for realize update-rotation between partitions. As solution\nI use EFI invironment directly (f.e. it can be used with tool efibootmgr).\nResult:\n1) build and install swupdate stand-alone without yocto (I build system by\nanother way)\n2) build swu-update file\n3) run preload Python-script, which run swupdate with special params\n\n3.1) after swupdate finished the script run efibootmgr and set bootnext efi\nparam\n4) reboot\n\nIt is really works.\n\nSo I should drop this patch or keep it for history.\n\nOn Fri, 29 Dec 2017 at 08:58, <rlabdeveloper@gmail.com> wrote:\n\n> On Wednesday, August 16, 2017 at 3:55:39 PM UTC+5:30, Roman Kalashnikov\n> wrote:\n> > diff --git a/doc/source/sw-description.rst\n> b/doc/source/sw-description.rst\n> > index 4a798ee..b4e8d75 100644\n> > --- a/doc/source/sw-description.rst\n> > +++ b/doc/source/sw-description.rst\n> > @@ -548,6 +548,26 @@ that must be changed:\n> >  SWUpdate will internally generate a script that will be passed to the\n> >  bootloader handler for adjusting the environment.\n> >\n> > +For example to use GRUB environment - after update some of partition\n> > +and boot from it:\n> > +\n> > +::\n> > +\n> > +       bootenv: (\n> > +               {\n> > +                       name = \"default\";\n> > +                       value = \"1\";\n> > +               },\n> > +               {\n> > +                       name = \"fallback\";\n> > +                       value = \"0\";\n> > +               },\n> > +       )\n> > +\n> > +Note the `value` must contain correct partition's number in\n> > +GRUB menuentry. Also `bootenv` can contains variable like `fallback`\n> > +for failsafe boot if the new default menu entry fails to boot.\n> > +\n> >  For backward compatibility with previously built .swu images, \"uboot\n> \"group name\n> >  is still relevant (as an alias).\n> >\n>\n> Hi Roman,\n>\n> I am working with swupdate and GRUB-efi. I am having issue to use grub\n> environment block to switch partition. I am using the logic you suggested.\n> But I am not sure the GRUB is looking for grubenv in my case. How we can\n> set grub where to look for grubenv block.\n>\n> Also If you used yocto for this build. Any suggestion to get grubenv by\n> default in image would be helpful.\n>\n> Thanks,\n> R\n>\n> --\n> You received this message because you are subscribed to a topic in the\n> Google Groups \"swupdate\" group.\n> To unsubscribe from this topic, visit\n> https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe.\n> To unsubscribe from this group and all its topics, send an email to\n> swupdate+unsubscribe@googlegroups.com.\n> To post to this group, send email to swupdate@googlegroups.com.\n> For more options, visit https://groups.google.com/d/optout.\n>","headers":{"Return-Path":"<swupdate+bncBD7IVPND34MBBO6CS7JAKGQEPACGZYI@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c09::237;\n\thelo=mail-wm0-x237.google.com;\n\tenvelope-from=swupdate+bncbd7ivpnd34mbbo6cs7jakgqepacgzyi@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"KfRnjVJb\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"hd1CK0Hr\"; dkim-atps=neutral"],"Received":["from mail-wm0-x237.google.com (mail-wm0-x237.google.com\n\t[IPv6:2a00:1450:400c:c09::237])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7GvM58plz9s1h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 17:31:26 +1100 (AEDT)","by mail-wm0-x237.google.com with SMTP id k126sf11437169wmd.5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Dec 2017 22:31:26 -0800 (PST)","by 10.223.182.6 with SMTP id f6ls7235771wre.4.gmail; Thu, 28 Dec\n\t2017 22:31:23 -0800 (PST)","from mail-wm0-x244.google.com (mail-wm0-x244.google.com.\n\t[2a00:1450:400c:c09::244]) by gmr-mx.google.com with ESMTPS id\n\tq72si227079wme.2.2017.12.28.22.31.23\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 28 Dec 2017 22:31:23 -0800 (PST)","by mail-wm0-x244.google.com with SMTP id t8so46843048wmc.3\n\tfor <swupdate@googlegroups.com>; Thu, 28 Dec 2017 22:31:23 -0800 (PST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514529084; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=gzY0UN7wqCEWSM/UJrPMoWMktnH0MdSYPdi5OWcLXvvz+edA7Usr59ELXXMCUE3Kk0\n\tNDbUGstVrNpMIGY2zNWF0sPwUMR6YZa1Pgs3N1mSJzYCu4CTNyYMrwndGBcQ2E9yYOrU\n\tYOTca9zRoPEmPN3XiMZ9n3diJOgqMrgTpFZTG9RvlxziS4G4w+j7EsCEUnyD9PQLWwDN\n\tSMh/AQIygwjK8CP7eREiFLejvMW3mxrw8zmmq/aigZTkH6sEeXVEdzcm9AlZF67ScoHK\n\tiU22WQOdw3COdhA8xJptPODsTYvfl27DxX3B4+soZS0fXZd/wTwL4SDRE0Of5DNzSFq6\n\tcaKQ==","i=1; a=rsa-sha256; t=1514529083; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=TaLVVSJM9wZMseGDezw6LvY5OTYxwxCuQjJyJtuxvVrpRYFJUUmCWT7eMAmA7il9dI\n\toyqQAAfTq5Mal9DX74OV7zHkNlkEQT3pSFaYXNwL+SUNmVuCiHOWPiGd7MSk5SnDUI5b\n\tjbraFHuZt9vY0pFPRTInZjCfo7ANmieFXfj0xtr/fFB01mpjms9fpNZCDmUlx2jvyNF2\n\tSF1kAtdyeZfLtPrTCaxBnj+v5khqG7F3039i3ahUc15Lm/1B1yeRhzgVBHKo3qGVTPKe\n\tXb5AYzpYgaDnsjA+jRzG3H/aROzdrCYhlkYOsUUuq/xj/re0HIMcAQk6UH04ptDzvc7j\n\ttmfg=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:cc:to:subject:message-id:date:from\n\t:in-reply-to:references:mime-version:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature:dkim-signature\n\t:arc-authentication-results;\n\tbh=B2w/9o7n1RfJg/Eo5SRIvZV4qsyvpK6MWywVZ6WD/3Y=;\n\tb=uXArNMfbqtz8KSb1BlHRUVQcIJYC+89R2mRQ8bZwa/yfCBzTk3FDBf+LpLnGGffuGB\n\tJu8A604AKyhRoae25mtZ1zuSig8SKI1Fd/IMEnqoaKDmxIwDFEMMY0Hpa3v2ILpmLrYO\n\t8k+ckdPn0uCpUAt6eZXTKzoIbFENc2x23YyGcnIsQ1VQqDiMQxmsZB5PZmR9EI+gNwWX\n\tmxllQzFd7Ll3oAqqYDdNiOsqIBvaUg6vD7a4DTSSbBjX0amKieFSY8NnzmP0Gq1OyNXV\n\tIhqwXU19bSecWqtPnWEhkwJQ3jcTnLqgi02DmwCdNhH/Q+Cctves/2u5RA3teN8UPV2X\n\tpEgg==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:dkim-signature:arc-authentication-results;\n\tbh=OTsCdG5OkG0ra7r8UFxty+mEh77wFIIHhrvbaOFsxjc=;\n\tb=SFJ6TEoJpV6vLTqwZfB/KoYMkjyUEyy4CBZatTMq4b6l6/pR4u14Am4s/rrAJmDFIv\n\t1E3Tm88voKt5S8uEqGyNsipsAWSdkvjup33XLOqPFnn6l3rIll6ezhgk6a7Fx3cH0zGh\n\tBQ8KW8G/T2Qo+1wTJG/s3tOHfNsfTAkga1wR/rF2I+vV7h9RE2xJ0xxH7fmcERJWzmvQ\n\tdDk9cuZgIV8yyK/0t/MB+r4nfAL4yDCiyFDQrUcVo4XNUuPi5wz++vXrDDCrPsD/kFiO\n\tFqdvjORo68HvFhH3ghWgeAyo1NIym2fwYPO95xzJp0Mj3D9HhcZzgZDbyc5za5Iu1bHT\n\tggCw=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=ebjV4y9h;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c09::244 as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=ebjV4y9h;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c09::244 as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:references:in-reply-to:from:date:message-id\n\t:subject:to:cc:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=B2w/9o7n1RfJg/Eo5SRIvZV4qsyvpK6MWywVZ6WD/3Y=;\n\tb=KfRnjVJbMvrUnZ1VUaFsfI9HjzE85byxgdwcO5EGmep65Xk42EBcTYuccmYHNc0IfX\n\te8gOKqW31yvcvxR5gdv0X2EXSBSfifZp0ueWNcd0ulijV+2CKThPYqz/+Iy1fVsfpqFp\n\tkaKTm7maFZ+f56P7xHde2GpGDEcTYaiv+ZL1bSaL1rT900Uzn5XuaX3J5eRg/KbMyjo9\n\tAOQO6vBapS0lQL7rm48t30u0feXeoCmXmucL+rOcPdpkAa6Qmt9YXIatNF8MAsevk53T\n\tGZvbYEtpOFfh7c2LrVAaxsMPYOr35rZy6pgPW5NzPj2SEYF2yvub9Ydz2PgtGzFSkXFr\n\thSfg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=mime-version:references:in-reply-to:from:date:message-id:subject:to\n\t:cc:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=B2w/9o7n1RfJg/Eo5SRIvZV4qsyvpK6MWywVZ6WD/3Y=;\n\tb=hd1CK0Hr3yrjkzJb6lCvis9aHWZkYG6spMscvl7yhDuFRbxNufc5/my0MDKgiynoow\n\tlfmYY6vUynSt0mUJ2ePMc3LsX3np62quFLWhpVb4s+8Nuz7A7ulPQHRXOA4RFc8L7zHx\n\t9T35sAkkZGE1hD2OO7eTAOoxNoji7D+DhlhCCstertbObfW8Or6/7KOyJeCE4oxlc1We\n\trVyok3/AdZG6tlv2q7fqVc7afiLtcqDY7am1Z3HhkkRhstLF0L7fD8FzcKi7cfHL6pto\n\t+6pYEqGA6EyP3ucA09aMTs7QZCHQQGFwu/jpnJNAciygrqB9annLqVQAEo3ndwfsTt1K\n\tnb0g=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:references:in-reply-to:from\n\t:date:message-id:subject:to:cc:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=B2w/9o7n1RfJg/Eo5SRIvZV4qsyvpK6MWywVZ6WD/3Y=;\n\tb=i03NrEN4pT6lzfwdwJQF8O0txNHbnQypEkKVQsmVU3Tr7OvFMa0Onzg2a/cMntmVv9\n\t3kBNG6lxJ/+oTKUvHymxrOBcjYsswziJIHSNH63fiLVxKaJnl9Ao1jemdWxBlCV6Bl1e\n\tAqWT5Id7sEcKK6e4Yt1IfcnjyVNa9MweqQNNu4yKXxOIAt59/vJOak7o9vuqFFs47abb\n\t9Wz4U7pvS80X0s3mR8KvMtNxa8kJY1O4Y86um6EhZMsoaAPdVg348NBWBKB+1fB7bOT8\n\tTZ5GhgzHxiHI9BsGISiOstOz7QGrHtBej6+4TB/JAnMjjATMQk+lawUQCwLiMxepe89g\n\tFwsQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mLo/hdy5ab1kSWaR3Ni+X7rf6umElBAva7kVkYPDuJlFUi23OFI\n\t5pDR1I3JkXuRSHKRMDd7UKA=","X-Google-Smtp-Source":"ACJfBosKX0wJyjj4oCFHZPC7p5HrD8V+3DhwFK24ieE4NORibofqzvu1/Cakgoa2SSf9coEQYQL+ig==","X-Received":["by 10.28.225.68 with SMTP id y65mr296592wmg.7.1514529084343;\n\tThu, 28 Dec 2017 22:31:24 -0800 (PST)","by 10.28.24.207 with SMTP id 198mr3256289wmy.12.1514529083347;\n\tThu, 28 Dec 2017 22:31:23 -0800 (PST)","by 10.28.130.208 with SMTP id e199mr27338561wmd.75.1514529082821;\n\tThu, 28 Dec 2017 22:31:22 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c09::244 as permitted sender)\n\tclient-ip=2a00:1450:400c:c09::244; ","MIME-Version":"1.0","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>","In-Reply-To":"<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>","From":"Roman Kalashnikov <lunix0x@gmail.com>","Date":"Fri, 29 Dec 2017 06:31:12 +0000","Message-ID":"<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"rlabdeveloper@gmail.com","Cc":"swupdate <swupdate@googlegroups.com>","Content-Type":"multipart/alternative; boundary=\"001a11442b68fbd149056174c701\"","X-Original-Sender":"lunix0x@gmail.com","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n\theader.i=@gmail.com header.s=20161025 header.b=ebjV4y9h; spf=pass\n\t(google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c09::244\n\tas permitted sender) smtp.mailfrom=lunix0x@gmail.com; dmarc=pass\n\t(p=NONE sp=NONE dis=NONE) header.from=gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829549,"web_url":"http://patchwork.ozlabs.org/comment/1829549/","msgid":"<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>","list_archive_url":null,"date":"2017-12-29T08:35:35","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":5771,"url":"http://patchwork.ozlabs.org/api/people/5771/","name":"Stefano Babic","email":"sbabic@denx.de"},"content":"Hi Roman, R,\n\nOn 29/12/2017 07:31, Roman Kalashnikov wrote:\n> Hi!\n> \n> I was working with efi-system too. Unfortunately grub2 ignores grubenv\n\nReally ? Never heard about such a bug in GRUB2. And grubenv is installed\nin most current linux distro.\n\nAre you sure that you have \"load_env\" in your grub.cfg ?\n\nBest regards,\nStefano Babic\n\n\n> and i can’t use it for realize update-rotation between partitions. As\n> solution I use EFI invironment directly (f.e. it can be used with tool\n> efibootmgr). Result:\n> 1) build and install swupdate stand-alone without yocto (I build system\n> by another way)\n> 2) build swu-update file\n> 3) run preload Python-script, which run swupdate with special params\n> \n> 3.1) after swupdate finished the script run efibootmgr and set bootnext\n> efi param\n> 4) reboot\n> \n> It is really works.\n> \n> So I should drop this patch or keep it for history.\n> \n> On Fri, 29 Dec 2017 at 08:58, <rlabdeveloper@gmail.com\n> <mailto:rlabdeveloper@gmail.com>> wrote:\n> \n>     On Wednesday, August 16, 2017 at 3:55:39 PM UTC+5:30, Roman\n>     Kalashnikov wrote:\n>     > diff --git a/doc/source/sw-description.rst\n>     b/doc/source/sw-description.rst\n>     > index 4a798ee..b4e8d75 100644\n>     > --- a/doc/source/sw-description.rst\n>     > +++ b/doc/source/sw-description.rst\n>     > @@ -548,6 +548,26 @@ that must be changed:\n>     >  SWUpdate will internally generate a script that will be passed to the\n>     >  bootloader handler for adjusting the environment.\n>     >  \n>     > +For example to use GRUB environment - after update some of partition\n>     > +and boot from it:\n>     > +\n>     > +::\n>     > +\n>     > +       bootenv: (\n>     > +               {\n>     > +                       name = \"default\";\n>     > +                       value = \"1\";\n>     > +               },\n>     > +               {\n>     > +                       name = \"fallback\";\n>     > +                       value = \"0\";\n>     > +               },\n>     > +       )\n>     > +\n>     > +Note the `value` must contain correct partition's number in\n>     > +GRUB menuentry. Also `bootenv` can contains variable like `fallback`\n>     > +for failsafe boot if the new default menu entry fails to boot.\n>     > +\n>     >  For backward compatibility with previously built .swu images,\n>     \"uboot \"group name\n>     >  is still relevant (as an alias).\n>     >  \n> \n>     Hi Roman,\n> \n>     I am working with swupdate and GRUB-efi. I am having issue to use\n>     grub environment block to switch partition. I am using the logic you\n>     suggested. But I am not sure the GRUB is looking for grubenv in my\n>     case. How we can set grub where to look for grubenv block.\n> \n>     Also If you used yocto for this build. Any suggestion to get grubenv\n>     by default in image would be helpful.\n> \n>     Thanks,\n>     R\n> \n>     --\n>     You received this message because you are subscribed to a topic in\n>     the Google Groups \"swupdate\" group.\n>     To unsubscribe from this topic, visit\n>     https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe.\n>     To unsubscribe from this group and all its topics, send an email to\n>     swupdate+unsubscribe@googlegroups.com\n>     <mailto:swupdate%2Bunsubscribe@googlegroups.com>.\n>     To post to this group, send email to swupdate@googlegroups.com\n>     <mailto:swupdate@googlegroups.com>.\n>     For more options, visit https://groups.google.com/d/optout.\n> \n> -- \n> You received this message because you are subscribed to the Google\n> Groups \"swupdate\" group.\n> To unsubscribe from this group and stop receiving emails from it, send\n> an email to swupdate+unsubscribe@googlegroups.com\n> <mailto:swupdate+unsubscribe@googlegroups.com>.\n> To post to this group, send email to swupdate@googlegroups.com\n> <mailto:swupdate@googlegroups.com>.\n> For more options, visit https://groups.google.com/d/optout.","headers":{"Return-Path":"<swupdate+bncBCXPLOXJ6IKRBXP4S7JAKGQETSJZR4A@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c0c::23d;\n\thelo=mail-wr0-x23d.google.com;\n\tenvelope-from=swupdate+bncbcxploxj6ikrbxp4s7jakgqetsjzr4a@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"j5sPNArS\"; dkim-atps=neutral"],"Received":["from mail-wr0-x23d.google.com (mail-wr0-x23d.google.com\n\t[IPv6:2a00:1450:400c:c0c::23d])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7Kfq3jfJz9s75\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 19:35:44 +1100 (AEDT)","by mail-wr0-x23d.google.com with SMTP id y10sf4284414wrh.12\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 00:35:44 -0800 (PST)","by 10.80.208.199 with SMTP id g7ls8218088edf.7.gmail; Fri, 29 Dec\n\t2017 00:35:41 -0800 (PST)","from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9])\n\tby gmr-mx.google.com with ESMTPS id\n\ts29si1829357eds.0.2017.12.29.00.35.41\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 00:35:41 -0800 (PST)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3z7Kfj2f4Qz1qsSv;\n\tFri, 29 Dec 2017 09:35:41 +0100 (CET)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3z7Kfj2J2bz1qsw5;\n\tFri, 29 Dec 2017 09:35:41 +0100 (CET)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id 3sqOk7f8gfrt; Fri, 29 Dec 2017 09:35:39 +0100 (CET)","from babic.homelinux.org\n\t(host-88-217-136-221.customer.m-online.net [88.217.136.221])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPS;\n\tFri, 29 Dec 2017 09:35:39 +0100 (CET)","from localhost (mail.babic.homelinux.org [127.0.0.1])\n\tby babic.homelinux.org (Postfix) with ESMTP id D7FF94540420;\n\tFri, 29 Dec 2017 09:35:38 +0100 (CET)","from babic.homelinux.org ([127.0.0.1])\n\tby localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id 8IQ8vhfJSb9O; Fri, 29 Dec 2017 09:35:36 +0100 (CET)","from [192.168.178.89] (stefano-MacBookPro.fritz.box\n\t[192.168.178.89])\n\tby babic.homelinux.org (Postfix) with ESMTPS id 0D5FC454039E;\n\tFri, 29 Dec 2017 09:35:35 +0100 (CET)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514536542; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=z9qaaw7s53AwLXC1L98xUQ1NDoykzBNF7kbZtunGAjfIVrIAUpFMzAD/q94OCbuck4\n\tRSBdYuEsgw/EIi/5X2/cxUqyxgTuE0btn4iF84c7kzwJ0cLuZ6dn5Vo5dL1wdhnrlxwg\n\tmTd0Zj8bh17VvfQA4BCAt9g3632zWVlGINOQ0Oq3FUrjchkDyUeeBI17vVAs0THHpwSQ\n\tQYzLTXLdXpyo1dPv7uH07Rrloz+30pqQRfpQhcfeqAYBPqshH1uczCP3CTluxjVbSDyW\n\t9tiLTBqetFuSMsLsXPrKitLGDPWLd8NAh3vp6wVetsymqIReT1yxQKQh7svCu1gAtRg4\n\ta1Zg==","i=1; a=rsa-sha256; t=1514536541; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=ODlE8V6ozzBPlVisLL69Cr3vn3K2LWr7Ecwu/gpcTtx0s2PV2rfh2J9sRA9vbvhQmF\n\t1jxxeGu9StY9kNgAio9mZKm45OTH8tt4KAxbS8jJuzRurzI11E9qc4wKPX4bdGMueqlS\n\tm7qNLNEjJCoVgLimNbBEZ8IRNb4A7FHCf/nY8c4P+YUKNkOLq/Aqmeft458C6kQiZJ8y\n\tyJaAYwkRzGma46PjLCanLr6cYzfF2EksuYryGm4l6ZRZRkyJ+tNWLrfsKVgGz4ssJlb2\n\t/7y+8eWZ+OHJwjxQ9/IpqNMVGGKtWz1m7L1anZDCGAwmmnpdse10UqBq/Ozn+7SuJiKE\n\tF7Jw=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:content-transfer-encoding\n\t:content-language:in-reply-to:mime-version:user-agent:date\n\t:message-id:from:references:cc:to:subject:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature\n\t:arc-authentication-results;\n\tbh=XLJOI89FlthHKzp+EifcUcoW8Az3pJaKTyCvltojsu8=;\n\tb=WogCmSsmv5AJ2a87H94SxDf3ZATdFFVTuy8dp7L0H02YtpsYjRHSYSoGLUF2OC6BR2\n\trQLYoIccWr2bxJBlEC+jGR3fsNM+w8kjuJV/RHtlqgAox+3NiVcKr60EZCuNEQNy3jO/\n\t+iiFl37W+3IuR9YCvKMhpoZqdDaq3i20ZltsaV3WuV5ZokiOQbn7MahjSGKamUv3dIv6\n\tcv2x/tTdIsFFaxBWRTC0N4YumRdG6PEnqSi9IDAqTY54Em0a11w4KM5HQlWHOdrgtmVp\n\tfxqrr7gofSXfkpJTWDBlbuu7pte/1+0bQdbmtSwvCSBv180M9Di6zWcn/6jo25VD/vU0\n\ttEwA==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=content-transfer-encoding:content-language:in-reply-to:mime-version\n\t:user-agent:date:message-id:from:references:cc:to:subject\n\t:arc-authentication-results;\n\tbh=3n1G34rfXl/fxoDtv24R/ZPrQkpxiEJfrZcWqnBIvOY=;\n\tb=eiTVUgvuG9ptZaF01l6MRWUPnTrTDJ/K4zjdTO6K5hlA4DMp7u5FTJay+RvVAHkkmN\n\tsLfjiauYg2xAqrtjmoJk0MHyn6KT3z2vdscB2zoycqzHq8xkRTBLBreYk5nYaJXglnr2\n\tUAat1V5y2r5ONPnQZT3gY7IHkCOW71EVoB8TDQTbLV1xR2I+2/cRDlP9B4+M0Y3wwGmp\n\tztOL475MWxAHUdhYVbYWNf1g+NYLdEWtDHS1n84fSpeT35pvpm7YuXaHDZfPH+ErTBR3\n\t73cyjr6uZQTJA6zjDwb5DTh8jcFrMTz1WhTcgnn17i3O3jZukIVF6hBQF9AR3FDiUDn9\n\tv4/g=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=XLJOI89FlthHKzp+EifcUcoW8Az3pJaKTyCvltojsu8=;\n\tb=j5sPNArS1Nx8LK6QH8PXRzFbvOk9q3O6fLWOZmZZnCueTD9C4rz/DkQ+RwOjkkRMIq\n\tDNHT1KxxMa0a4BvjikLbi9nFaxZicQ3jp9NOGrxlQp4cHwmKuLeTJYiXc/CcOY9duG17\n\tKKW94tLMYIjd0N5bxTuM7hPX7ZcLYAF49Q639qRfTfIiqLGaWB6mNckV54mqJASwbgCT\n\tEUTik9KIdEF8eUSW/9gxNzurjsiPswDkbhanSqiWUF/A5T0Mv5YiSSehOuRCY9m7MSiJ\n\tU8Rk0jYedCu9fnZ/m6x4Jst92rfspLS+3FAoPdwrBkXBueMuTTCggf5hT4jjKgNF97+Z\n\t6OZg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:subject:to:cc:references:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=XLJOI89FlthHKzp+EifcUcoW8Az3pJaKTyCvltojsu8=;\n\tb=t5w8+NPM9tU542+Qpz1JBW4eLjc78DsxcpASa9vQU1eS3g/7gVio/qhPLgGQHZ26nM\n\tnIKCbDslkF0U9NKNfJev5+JHzDk14U+iRuPPsNHM7JRBgOQJqUQdjsM19DFX78fkEz2Z\n\tevDZCWYl/qpT/50YihlovdmANg10wLMdSNgr+ajMIfwBeqJryszw5gULd+t+07i9Ch/4\n\tFROjGu9VGAeE8cx0Hn8ZKUg5R6pikKmr1M1nDDUkBvlFPEqr8yQqIqIKsHztZEyO+5ss\n\tO5inuA+wqL26JuWyvl11BpJjlHfYNfKJJ7/LOrznAY89ypUtyKAFnhE4VDqn3N7R8+3N\n\tVnBQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mJQWxsLJe4Lz9vqub2NYw3/O2P6Tk/wBZWcYedDF3LN6dBhv8Hg\n\t1w+w/Dgb6SQDFas6wFH9tdw=","X-Google-Smtp-Source":"ACJfBosI5AjAlA9hRjdDLP1opZj3SSxXMZoy8MSWcBsM6qQ4y3tqGM6Fd7eaCU1LyuzKgt8j/nEB/Q==","X-Received":["by 10.28.0.2 with SMTP id 2mr291692wma.3.1514536542253;\n\tFri, 29 Dec 2017 00:35:42 -0800 (PST)","by 10.80.164.203 with SMTP id x11mr8886520edb.7.1514536541688;\n\tFri, 29 Dec 2017 00:35:41 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 212.18.0.9 is neither permitted nor\n\tdenied by best guess record for domain of sbabic@denx.de)\n\tclient-ip=212.18.0.9; ","X-Virus-Scanned":["amavisd-new at mnet-online.de","Debian amavisd-new at babic.homelinux.org"],"Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"Roman Kalashnikov <lunix0x@gmail.com>, rlabdeveloper@gmail.com","Cc":"swupdate <swupdate@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>","From":"Stefano Babic <sbabic@denx.de>","Message-ID":"<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>","Date":"Fri, 29 Dec 2017 09:35:35 +0100","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.5.0","MIME-Version":"1.0","In-Reply-To":"<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Language":"en-US","Content-Transfer-Encoding":"quoted-printable","X-Original-Sender":"sbabic@denx.de","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 212.18.0.9 is neither permitted nor denied by best guess\n\trecord\n\tfor domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829559,"web_url":"http://patchwork.ozlabs.org/comment/1829559/","msgid":"<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>","list_archive_url":null,"date":"2017-12-29T09:27:25","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":72171,"url":"http://patchwork.ozlabs.org/api/people/72171/","name":"Roman Kalashnikov","email":"lunix0x@gmail.com"},"content":"Yes, i have \"load_env\" in my grub.cfg.\nIt was tested in Ubuntu 16.04.3 and grub just ignore most of params (f.e. \nnext boot entry, timeouts, e.t.c.).\nIn any case, grub2 looks like workaround for EFI system. Boards with EFI \ncan use EFI environment directly, without grub-layer.\n\nP.S. Many guides recommend use / etc / default / grub instead of writing \ncustom configs.\n\n\nпятница, 29 декабря 2017 г., 11:35:42 UTC+3 пользователь Stefano Babic \nнаписал:\n>\n> Hi Roman, R, \n>\n> On 29/12/2017 07:31, Roman Kalashnikov wrote: \n> > Hi! \n> > \n> > I was working with efi-system too. Unfortunately grub2 ignores grubenv \n>\n> Really ? Never heard about such a bug in GRUB2. And grubenv is installed \n> in most current linux distro. \n>\n> Are you sure that you have \"load_env\" in your grub.cfg ? \n>\n> Best regards, \n> Stefano Babic \n>\n>\n> > and i can’t use it for realize update-rotation between partitions. As \n> > solution I use EFI invironment directly (f.e. it can be used with tool \n> > efibootmgr). Result: \n> > 1) build and install swupdate stand-alone without yocto (I build system \n> > by another way) \n> > 2) build swu-update file \n> > 3) run preload Python-script, which run swupdate with special params \n> > \n> > 3.1) after swupdate finished the script run efibootmgr and set bootnext \n> > efi param \n> > 4) reboot \n> > \n> > It is really works. \n> > \n> > So I should drop this patch or keep it for history. \n> > \n> > On Fri, 29 Dec 2017 at 08:58, <rlabde...@gmail.com <javascript:> \n> > <mailto:rlabde...@gmail.com <javascript:>>> wrote: \n> > \n> >     On Wednesday, August 16, 2017 at 3:55:39 PM UTC+5:30, Roman \n> >     Kalashnikov wrote: \n> >     > diff --git a/doc/source/sw-description.rst \n> >     b/doc/source/sw-description.rst \n> >     > index 4a798ee..b4e8d75 100644 \n> >     > --- a/doc/source/sw-description.rst \n> >     > +++ b/doc/source/sw-description.rst \n> >     > @@ -548,6 +548,26 @@ that must be changed: \n> >     >  SWUpdate will internally generate a script that will be passed to \n> the \n> >     >  bootloader handler for adjusting the environment. \n> >     >   \n> >     > +For example to use GRUB environment - after update some of \n> partition \n> >     > +and boot from it: \n> >     > + \n> >     > +:: \n> >     > + \n> >     > +       bootenv: ( \n> >     > +               { \n> >     > +                       name = \"default\"; \n> >     > +                       value = \"1\"; \n> >     > +               }, \n> >     > +               { \n> >     > +                       name = \"fallback\"; \n> >     > +                       value = \"0\"; \n> >     > +               }, \n> >     > +       ) \n> >     > + \n> >     > +Note the `value` must contain correct partition's number in \n> >     > +GRUB menuentry. Also `bootenv` can contains variable like \n> `fallback` \n> >     > +for failsafe boot if the new default menu entry fails to boot. \n> >     > + \n> >     >  For backward compatibility with previously built .swu images, \n> >     \"uboot \"group name \n> >     >  is still relevant (as an alias). \n> >     >   \n> > \n> >     Hi Roman, \n> > \n> >     I am working with swupdate and GRUB-efi. I am having issue to use \n> >     grub environment block to switch partition. I am using the logic you \n> >     suggested. But I am not sure the GRUB is looking for grubenv in my \n> >     case. How we can set grub where to look for grubenv block. \n> > \n> >     Also If you used yocto for this build. Any suggestion to get grubenv \n> >     by default in image would be helpful. \n> > \n> >     Thanks, \n> >     R \n> > \n> >     -- \n> >     You received this message because you are subscribed to a topic in \n> >     the Google Groups \"swupdate\" group. \n> >     To unsubscribe from this topic, visit \n> >     https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe. \n> >     To unsubscribe from this group and all its topics, send an email to \n> >     swupdate+u...@googlegroups.com <javascript:> \n> >     <mailto:swupdate%2Bunsubscribe@googlegroups.com <javascript:>>. \n> >     To post to this group, send email to swup...@googlegroups.com \n> <javascript:> \n> >     <mailto:swup...@googlegroups.com <javascript:>>. \n> >     For more options, visit https://groups.google.com/d/optout. \n> > \n> > -- \n> > You received this message because you are subscribed to the Google \n> > Groups \"swupdate\" group. \n> > To unsubscribe from this group and stop receiving emails from it, send \n> > an email to swupdate+u...@googlegroups.com <javascript:> \n> > <mailto:swupdate+u...@googlegroups.com <javascript:>>. \n> > To post to this group, send email to swup...@googlegroups.com \n> <javascript:> \n> > <mailto:swup...@googlegroups.com <javascript:>>. \n> > For more options, visit https://groups.google.com/d/optout. \n>","headers":{"Return-Path":"<swupdate+bncBD7IVPND34MBB7UUTDJAKGQEY2DOKPA@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:400c:c08::240;\n\thelo=mail-ua0-x240.google.com;\n\tenvelope-from=swupdate+bncbd7ivpnd34mbb7uutdjakgqey2dokpa@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"BnCTWJkQ\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"EJ1z7RBY\"; dkim-atps=neutral"],"Received":["from mail-ua0-x240.google.com (mail-ua0-x240.google.com\n\t[IPv6:2607:f8b0:400c:c08::240])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7LpT50DVz9s71\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 20:27:28 +1100 (AEDT)","by mail-ua0-x240.google.com with SMTP id 9sf26719218uao.12\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 01:27:28 -0800 (PST)","by 10.176.96.26 with SMTP id j26ls5697533ual.1.gmail; Fri, 29 Dec\n\t2017 01:27:26 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:date:from:to:message-id:in-reply-to:references:subject\n\t:mime-version:x-original-sender:precedence:mailing-list:list-id\n\t:list-post:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=sgY0S+mlWPa81BEoOuLeLHbM8+Ip3QmlrFuslKjX9/o=;\n\tb=BnCTWJkQZdaVpOTkr0NEulTPTNNvN2fDxw2Yu3sOl4U0QqH4oX7LUSxuOO2ol6g3/w\n\t7yTDlFqP+lxSmSd4s1S6+a/51C9gGRNJVXYu8GU2ILA8rWs3mwwtMJF9sTmD5BVhM/Vs\n\t9GGphTsGzujcehYxiOsGB2qAjfJuVoRup68qb6tQIJ2Z5tq8CZXnSqJbIV1a/E7aeNMu\n\tErfPgmJ776R5isaRUOnidQiYYQHnmR/cHdzQ05L/OjF/jc51tsb+yVAaoi4ZOnDPwWiG\n\t3vgjPRa8gkg1YlKVb8wMzKhHaPipQH/4g2zj38RgbvFsKCGV8ymKI7NsxF6iFhlmqJF8\n\t5cBw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=date:from:to:message-id:in-reply-to:references:subject:mime-version\n\t:x-original-sender:precedence:mailing-list:list-id:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=sgY0S+mlWPa81BEoOuLeLHbM8+Ip3QmlrFuslKjX9/o=;\n\tb=EJ1z7RBYhBeCmW75QO2NZ9xRnVvDp9KN9m10uZw79fC53mJegyn5eSRmChxKrO5BY8\n\tlRuvYjQMVPfMIfPkPGxgsYOX3DVzish3O8FC+Ivfo41VCe/AC8075msNdu9Lfe/CQjOB\n\thWo2M7yOf+Ekp9PZnqsl6PBXM0G7ZsODELrA2w8gRjsY61G2TYHkcBw/kpyJshpuu5k/\n\tCtuySm/OhyksKm4UH9voFCRr8LOLg6ZcjUw9zMj6J+QOudi46c8CxbjR7VRoDxOZsjMo\n\tTWF+9Wqipviuu71NWfZcZ17T7XvB+WAIwDhBBgnWS5tS109stexUB/l+//Oy+ygfIODI\n\tiz6w=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:date:from:to:message-id:in-reply-to\n\t:references:subject:mime-version:x-original-sender:precedence\n\t:mailing-list:list-id:x-spam-checked-in-group:list-post:list-help\n\t:list-archive:list-subscribe:list-unsubscribe;\n\tbh=sgY0S+mlWPa81BEoOuLeLHbM8+Ip3QmlrFuslKjX9/o=;\n\tb=LEycdFYnesokJiY8zrZUSQoMae/T9ofzT99Nd7Q4ALi0i1zpykaZG5iGGzA4cXmo4W\n\t/9GLthQ1J8twyoys8Go/vsU4gGLz9kR2DbAxKY0j+LkgLXJlcdQBbo7hy5etPUGKPi+K\n\tAL6mLXMoM0VVyhZ06XLlX1hnk/GOxOCSHLbwNdB3mXr6cZD/Glh4WjHoRl3PyPmnDyst\n\thOdwlro5Ct+rbmuo4gV5tBJDEH+Sf3DtOWNmsGP+v3pUmXasKm7auIJJU6AmP0xULNU0\n\tnO+EjZfxfD5Sk2u6EzmqLIZism1rU9OqUYapd2KdFC5qXnK0mk0nraG7I26KflZzPA9w\n\tJY6Q==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mLSk01YX21Y+XXrSah/hIOfvoM1lKhjucNr/jx86gwH9fLg8pSD\n\tsxh6OjgihjUevUE02FEWbmc=","X-Google-Smtp-Source":"ACJfBouTGar2gSvI4nR1OeabxfErYPx4Yaxp+N3igo55xxRrC/kkWnLTUzl02oB/X1J2A2RcSoqxSQ==","X-Received":["by 10.31.61.149 with SMTP id k143mr3133172vka.7.1514539646614;\n\tFri, 29 Dec 2017 01:27:26 -0800 (PST)","by 10.31.61.149 with SMTP id k143mr3133171vka.7.1514539645998;\n\tFri, 29 Dec 2017 01:27:25 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Date":"Fri, 29 Dec 2017 01:27:25 -0800 (PST)","From":"Roman Kalashnikov <lunix0x@gmail.com>","To":"swupdate <swupdate@googlegroups.com>","Message-Id":"<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>","In-Reply-To":"<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","MIME-Version":"1.0","Content-Type":"multipart/mixed; \n\tboundary=\"----=_Part_26829_292469219.1514539645503\"","X-Original-Sender":"lunix0x@gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829564,"web_url":"http://patchwork.ozlabs.org/comment/1829564/","msgid":"<c7e2d16c-a7c7-70d9-ae73-af7c3e2e9b73@denx.de>","list_archive_url":null,"date":"2017-12-29T09:39:37","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":5771,"url":"http://patchwork.ozlabs.org/api/people/5771/","name":"Stefano Babic","email":"sbabic@denx.de"},"content":"On 29/12/2017 10:27, Roman Kalashnikov wrote:\n> Yes, i have \"load_env\" in my grub.cfg.\n> It was tested in Ubuntu 16.04.3 and grub just ignore most of params\n> (f.e. next boot entry, timeouts, e.t.c.).\n\nThis is the custom setup for GRUB in Ubuntu. Ubuntu uses /etc/grub.d/\nand it has its own grub.cfg. Variables are interpreted according to this\nimplementation. You have to rewrite grub.cfg to evaluate the variables\nfrom grubenv.\n\nAnyway, updating Ubuntu is quite far away from SWUpdate's goal. If you\nhave an embedded board based on X86, and you have GRUB on it, you have\nto provide your grub.cfg for working - see in Yocto.\n\nIn Ubuntu, variables are overwritten by Ubuntu's handling, that is by\nregenerating grub.cfg based on /etc/grub.d/*.\n\n> In any case, grub2 looks like workaround for EFI system. Boards with EFI\n> can use EFI environment directly, without grub-layer.\n\nDo not forget that this was thought for Desktop / PCs, and not for\nembedded system, and updating the environment is not power-off safe as\nfar as I know.\n\n> \n> P.S. Many guides recommend use / etc / default / grub instead of writing\n> custom configs.\n\nOf course - update of a Linux Distro is different as on an embedded\nsystems and Ubuntu has its own set of rules to drive the bootloader.\n\nBest regards,\nStefano Babic\n\n> \n> \n> пятница, 29 декабря 2017 г., 11:35:42 UTC+3 пользователь Stefano Babic\n> написал:\n> \n>     Hi Roman, R,\n> \n>     On 29/12/2017 07:31, Roman Kalashnikov wrote:\n>     > Hi!\n>     >\n>     > I was working with efi-system too. Unfortunately grub2 ignores\n>     grubenv\n> \n>     Really ? Never heard about such a bug in GRUB2. And grubenv is\n>     installed\n>     in most current linux distro.\n> \n>     Are you sure that you have \"load_env\" in your grub.cfg ?\n> \n>     Best regards,\n>     Stefano Babic\n> \n> \n>     > and i can’t use it for realize update-rotation between partitions. As\n>     > solution I use EFI invironment directly (f.e. it can be used with\n>     tool\n>     > efibootmgr). Result:\n>     > 1) build and install swupdate stand-alone without yocto (I build\n>     system\n>     > by another way)\n>     > 2) build swu-update file\n>     > 3) run preload Python-script, which run swupdate with special params\n>     >\n>     > 3.1) after swupdate finished the script run efibootmgr and set\n>     bootnext\n>     > efi param\n>     > 4) reboot\n>     >\n>     > It is really works.\n>     >\n>     > So I should drop this patch or keep it for history.\n>     >\n>     > On Fri, 29 Dec 2017 at 08:58, <rlabde...@gmail.com <javascript:>\n>     > <mailto:rlabde...@gmail.com <javascript:>>> wrote:\n>     >\n>     >     On Wednesday, August 16, 2017 at 3:55:39 PM UTC+5:30, Roman\n>     >     Kalashnikov wrote:\n>     >     > diff --git a/doc/source/sw-description.rst\n>     >     b/doc/source/sw-description.rst\n>     >     > index 4a798ee..b4e8d75 100644\n>     >     > --- a/doc/source/sw-description.rst\n>     >     > +++ b/doc/source/sw-description.rst\n>     >     > @@ -548,6 +548,26 @@ that must be changed:\n>     >     >  SWUpdate will internally generate a script that will be\n>     passed to the\n>     >     >  bootloader handler for adjusting the environment.\n>     >     >  \n>     >     > +For example to use GRUB environment - after update some of\n>     partition\n>     >     > +and boot from it:\n>     >     > +\n>     >     > +::\n>     >     > +\n>     >     > +       bootenv: (\n>     >     > +               {\n>     >     > +                       name = \"default\";\n>     >     > +                       value = \"1\";\n>     >     > +               },\n>     >     > +               {\n>     >     > +                       name = \"fallback\";\n>     >     > +                       value = \"0\";\n>     >     > +               },\n>     >     > +       )\n>     >     > +\n>     >     > +Note the `value` must contain correct partition's number in\n>     >     > +GRUB menuentry. Also `bootenv` can contains variable like\n>     `fallback`\n>     >     > +for failsafe boot if the new default menu entry fails to boot.\n>     >     > +\n>     >     >  For backward compatibility with previously built .swu images,\n>     >     \"uboot \"group name\n>     >     >  is still relevant (as an alias).\n>     >     >  \n>     >\n>     >     Hi Roman,\n>     >\n>     >     I am working with swupdate and GRUB-efi. I am having issue to use\n>     >     grub environment block to switch partition. I am using the\n>     logic you\n>     >     suggested. But I am not sure the GRUB is looking for grubenv\n>     in my\n>     >     case. How we can set grub where to look for grubenv block.\n>     >\n>     >     Also If you used yocto for this build. Any suggestion to get\n>     grubenv\n>     >     by default in image would be helpful.\n>     >\n>     >     Thanks,\n>     >     R\n>     >\n>     >     --\n>     >     You received this message because you are subscribed to a\n>     topic in\n>     >     the Google Groups \"swupdate\" group.\n>     >     To unsubscribe from this topic, visit\n>     >    \n>     https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe\n>     <https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe>.\n>     >     To unsubscribe from this group and all its topics, send an\n>     email to\n>     >     swupdate+u...@googlegroups.com <javascript:>\n>     >     <mailto:swupdate%2Bunsubscribe@googlegroups.com <javascript:>>.\n>     >     To post to this group, send email to swup...@googlegroups.com\n>     <javascript:>\n>     >     <mailto:swup...@googlegroups.com <javascript:>>.\n>     >     For more options, visit https://groups.google.com/d/optout\n>     <https://groups.google.com/d/optout>.\n>     >\n>     > --\n>     > You received this message because you are subscribed to the Google\n>     > Groups \"swupdate\" group.\n>     > To unsubscribe from this group and stop receiving emails from it,\n>     send\n>     > an email to swupdate+u...@googlegroups.com <javascript:>\n>     > <mailto:swupdate+u...@googlegroups.com <javascript:>>.\n>     > To post to this group, send email to swup...@googlegroups.com\n>     <javascript:>\n>     > <mailto:swup...@googlegroups.com <javascript:>>.\n>     > For more options, visit https://groups.google.com/d/optout\n>     <https://groups.google.com/d/optout>.\n> \n> -- \n> You received this message because you are subscribed to the Google\n> Groups \"swupdate\" group.\n> To unsubscribe from this group and stop receiving emails from it, send\n> an email to swupdate+unsubscribe@googlegroups.com\n> <mailto:swupdate+unsubscribe@googlegroups.com>.\n> To post to this group, send email to swupdate@googlegroups.com\n> <mailto:swupdate@googlegroups.com>.\n> For more options, visit https://groups.google.com/d/optout.","headers":{"Return-Path":"<swupdate+bncBCXPLOXJ6IKRBX42TDJAKGQEZXROC7Q@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:4010:c07::23a;\n\thelo=mail-lf0-x23a.google.com;\n\tenvelope-from=swupdate+bncbcxploxj6ikrbx42tdjakgqezxroc7q@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"YvUUIYkf\"; dkim-atps=neutral"],"Received":["from mail-lf0-x23a.google.com (mail-lf0-x23a.google.com\n\t[IPv6:2a00:1450:4010:c07::23a])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7M4h2YPnz9s71\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 20:39:47 +1100 (AEDT)","by mail-lf0-x23a.google.com with SMTP id o203sf4111610lff.4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 01:39:47 -0800 (PST)","by 10.25.18.159 with SMTP id 31ls124587lfs.14.gmail; Fri, 29 Dec\n\t2017 01:39:43 -0800 (PST)","from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9])\n\tby gmr-mx.google.com with ESMTPS id\n\tu62si1272968lfi.4.2017.12.29.01.39.43\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 01:39:43 -0800 (PST)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3z7M4Z6rbGz1qsT4;\n\tFri, 29 Dec 2017 10:39:42 +0100 (CET)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3z7M4Z6dhVz1qsw7;\n\tFri, 29 Dec 2017 10:39:42 +0100 (CET)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id isx4elVoioVO; Fri, 29 Dec 2017 10:39:41 +0100 (CET)","from babic.homelinux.org\n\t(host-88-217-136-221.customer.m-online.net [88.217.136.221])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPS;\n\tFri, 29 Dec 2017 10:39:41 +0100 (CET)","from localhost (mail.babic.homelinux.org [127.0.0.1])\n\tby babic.homelinux.org (Postfix) with ESMTP id DF9DB454039E;\n\tFri, 29 Dec 2017 10:39:40 +0100 (CET)","from babic.homelinux.org ([127.0.0.1])\n\tby localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id 4gV78Pq24xDM; Fri, 29 Dec 2017 10:39:38 +0100 (CET)","from [192.168.178.132] (papero.fritz.box [192.168.178.132])\n\tby babic.homelinux.org (Postfix) with ESMTP id 100864540420;\n\tFri, 29 Dec 2017 10:39:37 +0100 (CET)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514540384; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=XS2pKQFDX2XIxZAsiMiKtQIXnAZ2ZQoEX1DkTP85xJu0P5FNCEzmA+aqwZUC+Uv3tU\n\t7Fz4zjw3zVXaKl/6RX9ATz/wCDgnr3OFBW87jztodBb9Uu78PrgGYdlB7sPmCAcaOXrR\n\tHJwv5iZhb5+zHXHoJoXaUuX56hXhRtxec7nKknA3zTkQZCMFs3ogJ+i/l8/5lte4xj+7\n\toNATvHNEUCovA3lBRhteTP5h4EGcMT+xluYZvaSTdcjqtlrUKnT4N3M2sHkCzG6m6gFj\n\tUNlUVwzLDsJcC0p+3CSOiJcnguKcTvTF7XFTmycCnQ1SzRHSx3a3826/alpCYBcTFOmY\n\t74uw==","i=1; a=rsa-sha256; t=1514540383; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=1GLbMv2Qxq5AP8nptuEUkbWKEvDpjG5byDZwvjesaQgOMOjneDWJQsdqAWE53J6ntm\n\tz0+IQ4K5tCforSjLh5qIx5h+U8eSX4CoLyS4ByDArn3BXoNiVzPq6zG8j+wAWBS6AxgD\n\t0dCETt2pcpubBez0ICFwPV2/VMnNliy4sSqD70URLy5bOBfkSMntHXu1bsHn0uoDxr20\n\t6hg8jeCkEZPR57WBMQDAmDI/C1xkEA9xTyp5vpUWppp18lvn/UyI6yprdXGAUNBQ7QD2\n\tTY10m3wChbNdpM7X5g5w2GmYrCQK+v4oRHVUdFnJPXNu70QVCZOXfRwvHVSM37Pyq4ir\n\trdxg=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:content-transfer-encoding\n\t:content-language:in-reply-to:mime-version:user-agent:date\n\t:message-id:from:references:to:subject:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature\n\t:arc-authentication-results;\n\tbh=zNwlZyR+abF1hH9bWMVxLAqCS3CAFhFyiBWQhI8mIoY=;\n\tb=gIQQitsRpQB7kl5Q93dvYNxNWM5dszO69Lfr6nDfSYTfkBbxWQFLde1SsiO6Q74H3g\n\td661096LWZQKMoyJKMnabvGWM68jRR1X/f90A3vuc8YdcIEE39OyxB/lemj6cH4O9y0S\n\tVcwTun6s+aNm7dx4q2hKUD7tX9bFa3ZSw8/YEH0xwuQo5iwkOBQpZoh42Gn2h6CRufcP\n\tgK0BMxV57dRYa4SUK50EM0cPKKwLxFuW0vptoxxtyBjBZYk00up1EetsfqMXhrt6Y8rw\n\tXrJ0FdvCrrDcQt/GyIwPH2Nt9DYAK2HO99reEVNDzbl0LdxtSIAvlk9haipN7TGAK9ci\n\tT1zw==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=content-transfer-encoding:content-language:in-reply-to:mime-version\n\t:user-agent:date:message-id:from:references:to:subject\n\t:arc-authentication-results;\n\tbh=+r+NqKQgPnuQLrf54SdDOU2Ey3/AB58uNHtCmVlcr4g=;\n\tb=OKz/CDC485qjLpioWGXG9bKslbIx6wyymp9WZWQLziMH+RqYIeUIMtihPRMY8zebZs\n\tlAN7fxqYLbhmlBv0Cqs7/CCUv7QskcTC5YfuVF4kMsJhlvZ5GXXGvX8bAYuyfslTeuov\n\tljrUpR4OhR5WWIVCayjJKn5+HjfFdLL65tsviLw68q53AN5C1xMn6uPmvsRGvw77Ccja\n\tjOPJCW28lZsDSPFuN2PQW0N+yASVq7y/n9ZtW+3fcSaseRRp/sXJnBVsiO1PAgkzdymU\n\tnstyx+CXZpUB3XwulDkU/dlxDtu4YB6ZlVg7H02Xgj2MUEU11+4qd89PcQYMoYxWlWcI\n\tquHw=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:subject:to:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=zNwlZyR+abF1hH9bWMVxLAqCS3CAFhFyiBWQhI8mIoY=;\n\tb=YvUUIYkflD0WTn7WdXTkMq7K6JOV5cOdnWhWS97ClpNaUH8trltWjnEvCSx0wYX167\n\tQiJ5YUCPtQULte6IIVr9sc2Fg+9w8qYV6ZmoT4ddT32f2jz2u28f2xhmprjXDA3G4681\n\tjmNpA2BxPnVxfyMHQYZxmPEZqD5edheTFOY2B+sravnpJV2u8EU5qpQWpqdk0UbtU9F9\n\tN+1B/nE3znwADAci/FrWTgWO4jMfyAxpVQnFoNPnDxcEqiC3tglfEHVv4Ak2lHnZ/Vrk\n\t5cfMWMuShR0YH6pypDCE4nmTvdst5HeJlYyrlvDUkW6OY9WBbJizRZSatS3wLIFfwFtB\n\tdniA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:subject:to:references:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=zNwlZyR+abF1hH9bWMVxLAqCS3CAFhFyiBWQhI8mIoY=;\n\tb=TRzJH40iVcaDHwYJd0o8rq65tpaKMsDGnItfaDe5Y39Je2ujGBrSkLUTptLfCejd4s\n\t/15riRecB0qhk2k9EMd16S8F7Ol7MdfYAxchDU3eFYhzPdbWczla7D5pQUGbMZocX4FY\n\tIIoV8fyfVJCtHHIP8z9Kyis2g9uVL+mcn1rFfgj6fxugP8G9abZcHuAqYvjSnlkW6Yy2\n\tRj0mFh5GY8yCzh+/HJDpIcG+mUTDmHMBTjXQtqdO2xNVY+Y7YcrYzJpK0i8ATO39Eth9\n\t9svHjLD2Pv2Ilm7sQxGZ8Iaj+t8exrEQF7mOAB9uQca0NevgYEfFv0ufD3KbKLNrFURS\n\tI/GA==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mKaAyszEwyr2KN6ZYhgNahVCrgdM5GYXnCxLy+fP51wwS7BdEr6\n\tmQso3Iwa0AxYgrPNU3iWy2I=","X-Google-Smtp-Source":"ACJfBovI+0/Dtq2Ahd7q53QLVFol4jPt7eIyQeFjEAkmgmeRhRNU8NmFidUTQVkGq7x/Cjc9I2oRtQ==","X-Received":["by 10.25.142.145 with SMTP id a17mr31611lfl.8.1514540384295;\n\tFri, 29 Dec 2017 01:39:44 -0800 (PST)","by 10.25.199.130 with SMTP id x124mr1853395lff.28.1514540383445; \n\tFri, 29 Dec 2017 01:39:43 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 212.18.0.9 is neither permitted nor\n\tdenied by best guess record for domain of sbabic@denx.de)\n\tclient-ip=212.18.0.9; ","X-Virus-Scanned":["amavisd-new at mnet-online.de","Debian amavisd-new at babic.homelinux.org"],"Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"Roman Kalashnikov <lunix0x@gmail.com>,\n\tswupdate <swupdate@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>","From":"Stefano Babic <sbabic@denx.de>","Message-ID":"<c7e2d16c-a7c7-70d9-ae73-af7c3e2e9b73@denx.de>","Date":"Fri, 29 Dec 2017 10:39:37 +0100","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.5.0","MIME-Version":"1.0","In-Reply-To":"<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Language":"de-DE","Content-Transfer-Encoding":"quoted-printable","X-Original-Sender":"sbabic@denx.de","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 212.18.0.9 is neither permitted nor denied by best guess\n\trecord\n\tfor domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829577,"web_url":"http://patchwork.ozlabs.org/comment/1829577/","msgid":"<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>","list_archive_url":null,"date":"2017-12-29T10:17:21","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":66846,"url":"http://patchwork.ozlabs.org/api/people/66846/","name":"Otavio Salvador","email":"otavio.salvador@ossystems.com.br"},"content":"On Fri, Dec 29, 2017 at 7:27 AM, Roman Kalashnikov <lunix0x@gmail.com> wrote:\n> Yes, i have \"load_env\" in my grub.cfg.\n> It was tested in Ubuntu 16.04.3 and grub just ignore most of params (f.e.\n> next boot entry, timeouts, e.t.c.).\n> In any case, grub2 looks like workaround for EFI system. Boards with EFI can\n> use EFI environment directly, without grub-layer.\n\nWe did change the OE-Core grub2 to enable the grub-env. It is likely\ndue Ubuntu build grub-efi with it disabled.","headers":{"Return-Path":"<swupdate+bncBDC27KGQ4MMBBNFMTDJAKGQEE7L37IY@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:400c:c08::23f;\n\thelo=mail-ua0-x23f.google.com;\n\tenvelope-from=swupdate+bncbdc27kgq4mmbbnfmtdjakgqee7l37iy@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"qPCvARTI\"; dkim-atps=neutral"],"Received":["from mail-ua0-x23f.google.com (mail-ua0-x23f.google.com\n\t[IPv6:2607:f8b0:400c:c08::23f])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7Mw932YCz9s1h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 21:17:28 +1100 (AEDT)","by mail-ua0-x23f.google.com with SMTP id x25sf20939697uax.16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 02:17:28 -0800 (PST)","by 10.37.123.195 with SMTP id w186ls882074ybc.20.gmail; Fri, 29 Dec\n\t2017 02:17:24 -0800 (PST)","from mail-ot0-x22e.google.com (mail-ot0-x22e.google.com.\n\t[2607:f8b0:4003:c0f::22e]) by gmr-mx.google.com with ESMTPS id\n\tw194si727639yww.5.2017.12.29.02.17.24\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 02:17:24 -0800 (PST)","by mail-ot0-x22e.google.com with SMTP id d44so27845113otd.12\n\tfor <swupdate@googlegroups.com>; Fri, 29 Dec 2017 02:17:24 -0800 (PST)","from mail-ot0-f180.google.com (mail-ot0-f180.google.com.\n\t[74.125.82.180]) by smtp.gmail.com with ESMTPSA id\n\tz68sm7759800oig.16.2017.12.29.02.17.22\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 02:17:22 -0800 (PST)","by mail-ot0-f180.google.com with SMTP id 37so9532240otv.6\n\tfor <swupdate@googlegroups.com>; Fri, 29 Dec 2017 02:17:22 -0800 (PST)","by 10.157.41.233 with HTTP; Fri, 29 Dec 2017 02:17:21 -0800 (PST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514542645; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=A+yQBV4XVVZYdXrX+i39nFVw7AcoCvZmY6aHuBtn8HP7aHLs8MuKX0MhRqABovd7t9\n\tnybFdoYDWlNb+lxVgwcPyn0r7AKle4L+KfIk1B2vfQZFMzMEWjlJ6iLd7S8ntyK80yx+\n\tseVlwXe+T3Oo39M7Z1DC7LcQcNComY83ZoO55YblUtw5xEHkMJraZgamQpBb4mkwwr/x\n\t1/WzZsk2A7bVViOOqqwLnDPbRnrbbb2YNgHm+3Tozb8Rezc4JL8vUk5V8nLvfmpZHZzz\n\t9Dk2aW0a1vmjQQejzpvuFz9W8N4FgWJqI66SM3TkHTqVM5av/nScFc1d26zERDS85+FI\n\ts0Nw==","i=1; a=rsa-sha256; t=1514542644; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=aPsMPK+FL8q0fysri9JPMK/Ku9JqsZqdsYQfhJmtlc1cO4ARRa7QPCmylcvoXMIshU\n\ta0a5QVK62eNpIR+OSID6LgpQVv+oeeEEqQy/5iWS8P+KJLSocW3Knii6N98e4ufZMfz5\n\txJdpmGy7HkFc25izpvheSwywki9bScu2CztsQJGyKPxefD0Rf5LVc5ti8+sQsMbet6dJ\n\tOLab242mVJpKzngpgj1cC4BdIT6ZQsnRfQKvfa2zgUBei0A1jMihJ24hiEpYrAA1P2Rm\n\tQlc6mvxOB0LozagpMOzKxyZvcRDKP3BVcsrdBOnSk1ErxQSh/QGOqciaLExwM7Mj4cWs\n\t5ldw=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:cc:to:subject:message-id:date\n\t:references:in-reply-to:mime-version:from:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature\n\t:arc-authentication-results;\n\tbh=gQtNTN1arebfRAkdgwl6QjyOxfnw24sjjoYDI56ptr0=;\n\tb=F63u46Naj9Kz3vSmS8wcnYHAGAh7hdH6e7RMVXOzCYbl3pylljWKHdMtLOjB97+kls\n\tbbqcSADc7XlruFUudRt0Rt6zRpVj9KYKZrsGZwe9mbz5cQ5EkUSsiE22kJb8YqmmY1oo\n\tUCNbDlvLJ6JDsSyDj+UxcfnpwZ/1eLtzsH/EeUBHPrfsojMpi/+6Uy4d/abAqQy87iEs\n\thDn06Q+o4gi0iGmX3OB7A2PSaje/HlYx53QPyCKgci+Q9IVoFMyz+sL0rE8e4YmqzPHX\n\tu2Wa0apNITOcRZnv+0ZxzWCAA/EHDguAgZ34Zw+4uIFCMp2nHtVad4ytfoRfOxkwliQo\n\tyZWQ==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=cc:to:subject:message-id:date:references:in-reply-to:mime-version\n\t:from:dkim-signature:arc-authentication-results;\n\tbh=QCatBo0uokT50XJN5Qpkmc1KQ9NE5W2DUzUg2Tb2NZU=;\n\tb=anKuoteekI5yqvcURN4wrDhFyK899OrfOq1Njm1T7Sif0g3A1CdDdIO6pLu8UA6KMH\n\tL2RHiU/e30dVra5SgoxsMI59n2gc1N5kfAZG5hr0MtGsCvEIQNMpiwnh9Ew1H14LtKS1\n\t9tKo5HEiozDIoRC7hCPD/NBcZyMTFp2EyHwrqt3kYHCAXn/st97HgrMSEsIRx+Fzws6g\n\tS2fj/Y/9jZD62TmGY9Vn2HgHlDzujz4RpystCKY6Wk6L+yr2mPNAJNiIbdyt8MPm7gGZ\n\t9DCGoOCpHuEKSxNcmCXW7tNWDiWdVH/t3A+cCVtJKtUlvNAwi34emuLJ4eu5RpA+1C0m\n\t2nOA=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com\n\theader.s=20150623 header.b=EwN1w4M+; \n\tspf=pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::22e as permitted sender)\n\tsmtp.mailfrom=otavio.salvador@ossystems.com.br","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com\n\theader.s=20150623 header.b=EwN1w4M+; \n\tspf=pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::22e as permitted sender)\n\tsmtp.mailfrom=otavio.salvador@ossystems.com.br"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:from:mime-version:in-reply-to:references:date:message-id\n\t:subject:to:cc:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=gQtNTN1arebfRAkdgwl6QjyOxfnw24sjjoYDI56ptr0=;\n\tb=qPCvARTIejl5NvttjMYDoN8PYZorC9LtHei1aP9IIjiRR1NMLUXYuwHlDsXkSgsfg0\n\t8Y8ftmb00bvH0/Avrjfs3ziEtrJz4lG1daiDxfqCprfyzZkGuXN3D1swra/dOxT+TSYt\n\tZ8B8teY42Ojw6A8NTa0sVcDQlMfUrJJnDo/YmzND06wB6g7vks813E6Qev/EMdSpUv73\n\tNY2bFrC7ob2WZu9iY6iIHlA1DmBv1bjyk3HucJ6Wb3EhBM9LJ+AewdeD8aUrHcCQOSDi\n\t2g9ZwIYDhcxeZHBn0wXF78oRJLnLpN3PyvwbolTmJZ4rN4K50gRPKwxyQYPretgOujli\n\t8yZw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:from:mime-version:in-reply-to:references\n\t:date:message-id:subject:to:cc:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=gQtNTN1arebfRAkdgwl6QjyOxfnw24sjjoYDI56ptr0=;\n\tb=mSex0Ct1NEoBgpnFbd2OrNQzGVRKtnzdOQIzPRRX1tyKH02pSEGrmMSSmwHjumtUK5\n\tKpPmdiVRsDKrtOO3o+C2dZF38aiKNEbyo4m+HEyodVPvhNIA54gnf7Kzg0MyS1xJbTQB\n\t41tuLBYpcvC3gP8o/aRWr/CrbSbvd3NdjDc0c6CBd/0RFdzhLcOwm6OHU0AeVEFlsi0m\n\trI/GVAbXG+XwQEBVROyDzwEaOIqpBO/UqZP0vZpNvShYyGRUZv7+TCKyru3UZRM/iTs4\n\tIFI30XtZMb/s/hjaUnoWwrs9bLAUH2kb++ASvIobxC8iHK88Enk0pIzEirEdm+HIC1IP\n\tZ19A==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mKJqPSmjAs2UGOVxDpqRsPwiXYd7zDOsRyb49mKM4i/ar1XCpVf\n\tjBtc3utHrFj55zxEfTQehbU=","X-Google-Smtp-Source":"ACJfBotKQhaXetNLn3QdDd5MyFAK/7pu5iWXNnTzTobDoDXCf9/Ua1zH6+TTsrhFAAfpxvDJOfEcZg==","X-Received":["by 10.31.94.215 with SMTP id s206mr3145199vkb.1.1514542644785;\n\tFri, 29 Dec 2017 02:17:24 -0800 (PST)","by 10.129.141.67 with SMTP id w3mr14266834ywj.242.1514542644474; \n\tFri, 29 Dec 2017 02:17:24 -0800 (PST)","by 10.157.15.6 with SMTP id 6mr22435685ott.6.1514542643375;\n\tFri, 29 Dec 2017 02:17:23 -0800 (PST)","by 10.157.65.235 with SMTP id v40mr27288113oti.392.1514542641798;\n\tFri, 29 Dec 2017 02:17:21 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::22e as permitted sender)\n\tclient-ip=2607:f8b0:4003:c0f::22e; ","From":"Otavio Salvador <otavio.salvador@ossystems.com.br>","MIME-Version":"1.0","In-Reply-To":"<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>","Date":"Fri, 29 Dec 2017 08:17:21 -0200","X-Gmail-Original-Message-ID":"<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>","Message-ID":"<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"Roman Kalashnikov <lunix0x@gmail.com>","Cc":"swupdate <swupdate@googlegroups.com>","Content-Type":"text/plain; charset=\"UTF-8\"","X-Original-Sender":"otavio.salvador@ossystems.com.br","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n\theader.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623\n\theader.b=EwN1w4M+;\n\tspf=pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::22e as permitted sender)\n\tsmtp.mailfrom=otavio.salvador@ossystems.com.br","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829585,"web_url":"http://patchwork.ozlabs.org/comment/1829585/","msgid":"<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>","list_archive_url":null,"date":"2017-12-29T11:06:45","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":73109,"url":"http://patchwork.ozlabs.org/api/people/73109/","name":"R lab","email":"rlabdeveloper@gmail.com"},"content":"Hi,\nGuys with little effort and observing grub recipes in meta-layer. I get\ngrub2 working fine without any hack with the yocto build.\nI am planning to add examples in swupdate repo and meta-swupdate. To save\nothers hours in debugging same things I did.\n\nHere is the brief description of what steps I did.\n\n1. In yocto grub2.0 build. it is preparing image without the\nloadenv module. That is the reason that why I was failing to switch rootfs.\nI added new append file to update grub build to be compatible with swupdate.\n\n# Update grub to generate image with environment block support\n# and create default grub env file with default boot option.\n\nGRUB_BUILDIN = \"boot linux ext2 fat serial part_msdos part_gpt normal\nefi_gop iso9660 search loadenv\"\n\nGRUB_DEFAULT_BOOT_ENTRY ?= \"boot\"\n\ndo_deploy_append() {\n# Create grub env block with default value.\ngrub-editenv grubenv create\ngrub-editenv grubenv set default=${GRUB_DEFAULT_BOOT_ENTRY}\ninstall -m 644 ${B}/grubenv ${DEPLOYDIR}\n}\n\n2. We also need to update grub-efi.bbclass to copy grubenv in EFI folder\nalong bootxXX.efi file.\n3. When we prepare bootXX.efi, add \"load_env\" command along with other\ndefault commands in config.\n\nsearch.file ($cmdpath)/EFI/BOOT/grub.cfg root\nset prefix=($root)/EFI/BOOT\nload_env\n\n4. Update wks or image prepare script to update grub.cfg properly. (I am\nworking on this part). Once I don't with this talk I will add all\nwell-formated steps in a readme.\n\n@\nStefano Babic\n @Otavio\nNeed a piece of advice, Can we add these append file to meta-swupdate layer\nso others can easily start working with GRUB bootloader in the yocto\nbuild? Or keep them as information in doc?\n\nThanks,\nRahul K\n\n\n\nOn Fri, Dec 29, 2017 at 3:47 PM Otavio Salvador <\notavio.salvador@ossystems.com.br> wrote:\n\n> On Fri, Dec 29, 2017 at 7:27 AM, Roman Kalashnikov <lunix0x@gmail.com>\n> wrote:\n> > Yes, i have \"load_env\" in my grub.cfg.\n> > It was tested in Ubuntu 16.04.3 and grub just ignore most of params (f.e.\n> > next boot entry, timeouts, e.t.c.).\n> > In any case, grub2 looks like workaround for EFI system. Boards with EFI\n> can\n> > use EFI environment directly, without grub-layer.\n>\n> We did change the OE-Core grub2 to enable the grub-env. It is likely\n> due Ubuntu build grub-efi with it disabled.\n>\n> --\n> Otavio Salvador                             O.S. Systems\n> http://www.ossystems.com.br        http://code.ossystems.com.br\n> Mobile: +55 (53) 9981-7854 <+55%2053%209981-7854>            Mobile: +1\n> (347) 903-9750 <(347)%20903-9750>\n>\n> --\n> You received this message because you are subscribed to a topic in the\n> Google Groups \"swupdate\" group.\n> To unsubscribe from this topic, visit\n> https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe.\n> To unsubscribe from this group and all its topics, send an email to\n> swupdate+unsubscribe@googlegroups.com.\n> To post to this group, send email to swupdate@googlegroups.com.\n> For more options, visit https://groups.google.com/d/optout.\n>","headers":{"Return-Path":"<swupdate+bncBC52V2V6WUERBUGDTDJAKGQEEKFR7NI@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:400c:c05::239;\n\thelo=mail-vk0-x239.google.com;\n\tenvelope-from=swupdate+bncbc52v2v6wuerbugdtdjakgqeekfr7ni@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"XFZC2V+N\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"ULOoY36g\"; dkim-atps=neutral"],"Received":["from mail-vk0-x239.google.com (mail-vk0-x239.google.com\n\t[IPv6:2607:f8b0:400c:c05::239])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7P1H4KcNz9s74\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 22:06:58 +1100 (AEDT)","by mail-vk0-x239.google.com with SMTP id c67sf4125402vkf.1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 03:06:58 -0800 (PST)","by 10.37.197.210 with SMTP id v201ls882785ybe.8.gmail; Fri, 29 Dec\n\t2017 03:06:55 -0800 (PST)","from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com.\n\t[2607:f8b0:400d:c0d::22e]) by gmr-mx.google.com with ESMTPS id\n\tc17si8672ywk.3.2017.12.29.03.06.55 for <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 03:06:55 -0800 (PST)","by mail-qt0-x22e.google.com with SMTP id u10so53903038qtg.2\n\tfor <swupdate@googlegroups.com>; Fri, 29 Dec 2017 03:06:55 -0800 (PST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514545616; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=vBduQ4ZB0RMzMcub0sFTgqeoaEup/wjzpvBH80u++WOysaKA83ua69zzwJ+yX4ME9l\n\tRJCt6NN9Vf34KZc7tzzvfNjm51zzX+QLsheTrJP/q1wTCdoTBJ5FRqA1ZDsgvpAt5A+7\n\tXWUQtC7ycDtXxnvquePhJ15zzlpp37m8hciNcWNjVjpMcnvhl8/ISDLez60Pv1Cr+eCg\n\tmVzyHPcQuguI0/d+AYnQPDiD95R/qS9ANwdQH/KIaJ1dtiDtrz85oLuMMl/7ZeneMuvP\n\t8+YYau4gwZfG7mBXITX+ZEyLw/YriHHVl7DeyaEQJzcB8bL8Pv7kbCEDxkJRJKjOt+Vr\n\tTZAw==","i=1; a=rsa-sha256; t=1514545615; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=RIaTlmctEYsOAA4acVJg8yOcXSyvd/JCT9vnT9edQdtz40JzYpRfPCZ3m5p3UR/TT0\n\tGbG+ClZj8jIBSYa4SfqJxvoYXVvQsHyQsiTC4hCLjUUFLKtByipwSYDX2iraZ6z3OUkq\n\tEWnWmJg96OpDciYuwVWIH5B6zi3Pg6eAYRT/74km8UPIDjgUyHrH4x8ZI2V31Xdyxl7W\n\t8JevGMISgaEcaQXeXu7EPREep8co/x4cx5dg9WS1OETRtd0Hys2iP+wAi3F9l+mzsFb4\n\t2WsSdE3MxkVZgYKrCHHQkTpwK8gxe9zCnBQuVwOHQVxWNbJFmFbGSRy6j+z6zP01RYqG\n\tvjQA=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:cc:to:subject:message-id:date:from\n\t:in-reply-to:references:mime-version:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature:dkim-signature\n\t:arc-authentication-results;\n\tbh=hIWndNEVJV5yMwWdxd/Mwca1XWMin3tSqBTD8bBYp0g=;\n\tb=GF4/DCMIfI+nFK1yjfet2w+NkTVWMGQpvS+OQpFHa0kcXbXYiKSZBglOZceHTSsRZk\n\tp85PkTkvZsToa7yTS3HtOimvSzkvSUfGzgjkMX29186XJPqQXRZ2CzoguU3wGaD1WK3c\n\tCsA1cDN6HNkxN68c1om9QAwXEmcqYDu2G8nN2hNuFZhUM+X+DVPYFBbpFS7PQzUqQMal\n\tPyKQyyARgr2hNOZyr9avkF0fVOcohkqMmaHnG0C19fZUotFgSY27HONBK1z0DosbHtxM\n\tvntaJjSo44nYFoLPvAVS+SqPBtcWancqyUlCnyzYGJW5/07ufkYD3pThdsS4YXB0BIMF\n\tgyRA==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:dkim-signature:arc-authentication-results;\n\tbh=IbFzhC3mHnFcIPgRi2uSyh8IMfd02rPzNEGk10cIw+0=;\n\tb=JRTUggb7Pasu1db1vkxKar5S7c6TpHTl28VKg6EilvrVnPUI/P5YaxF22aJ0iQ6sPj\n\tJ1KKPkwXSiL35tb4J9eOWhYaZn+9LOIKYnm3/sBM4lNyU+CLng/8D5eAlVrcPjd7x6hq\n\t5oNgJ9WU9wm95B8PZjcZUztWPciBxjUnl5HN35QSUIVwncKpAaq0ycTVNlOuyVgEexeb\n\tTapqtKHNFZJQdXRW8yXvMoq7aYc0z75IFKP2Cai0wc9WE9TQl2OsCeDCkC90QA20M9ju\n\tH6aicrz9EVWZBLvqidiUDx+J5GgJf4SFjOigGemTLMn6nImZY9ilU22dORa0djGI7qgh\n\tJrmg=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=izq+t7Zw;\n\tspf=pass (google.com: domain of rlabdeveloper@gmail.com designates\n\t2607:f8b0:400d:c0d::22e as permitted sender)\n\tsmtp.mailfrom=rlabdeveloper@gmail.com; \n\tdmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=izq+t7Zw;\n\tspf=pass (google.com: domain of rlabdeveloper@gmail.com designates\n\t2607:f8b0:400d:c0d::22e as permitted sender)\n\tsmtp.mailfrom=rlabdeveloper@gmail.com; \n\tdmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:references:in-reply-to:from:date:message-id\n\t:subject:to:cc:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=hIWndNEVJV5yMwWdxd/Mwca1XWMin3tSqBTD8bBYp0g=;\n\tb=XFZC2V+N2MClxWO00U+nHrgA26wAMKbpQCt04rAmZWcFcWM/f8WZgfMffeASNyu1J7\n\t5dqNCdYvC4l7LKYkEWpzBMgdidcU8LFAipk2UCIq4lqt1tsf9TNhdYo/8UaTT2ltWGd6\n\tvfnXK1fwufkZq+95V3q8jnkt2hJfi6Vk/2fa/1nI0LWMqpjOplXRUvLQZsoIM9ybZ+YW\n\tkmGwI8Dfq1coEAS4bu+OhfkgmaVs4Mg2TSJVuGE8FNpBBQs/OWwvFJ+mr8AYb4GRb4tH\n\t4AAKCckcc0zdD2FBW+9+HeZEwdoNE23yVk6qrGKVDfmvTB4acdhTX78Wmr82pRxqIEIT\n\tS4uw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=mime-version:references:in-reply-to:from:date:message-id:subject:to\n\t:cc:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=hIWndNEVJV5yMwWdxd/Mwca1XWMin3tSqBTD8bBYp0g=;\n\tb=ULOoY36glC9qBtumL0mw8YDyzoxT2DOeZkMelVSEKMBM4E+Zs1ESkXMDUTQsyT1wQl\n\tqFGHA2VSGVqH1h++EqG1cXNYFz4ENB9jZjvdDzMEGsneMncsVQbZSjESTjJ1+in0Kq/j\n\tqpnHfA4W75qHUxUtGJkwU/RtgUr2oaNYHkkwcN6hscHhbKx9NrcX9/Us66c+uwHOIt21\n\tjDuhem9uchFQM1XNjY4z5Xbr20ZTQhAyxchoOvEG25qzU1zvR2tMI33Cz1byRMPYCMSi\n\thK0YBhxn1wHz+jXyHV/ALveGeH7OzmuerEHpGSGo4do6iRwD/036kN2LAA6zcV9D+4sA\n\ti6QA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:references:in-reply-to:from\n\t:date:message-id:subject:to:cc:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=hIWndNEVJV5yMwWdxd/Mwca1XWMin3tSqBTD8bBYp0g=;\n\tb=XdXrf0tWY4gAUvCvgnOAVHPvvH2Sc3+kytUIvi/McQDScf6Ee8MgudUzeyHH4s7BWD\n\tqjGbB8V5D8MbiMJsxyeWQwidSabDhKRplx9+1JmFa7p7YvIaMtXES4FYQtRZLht5ImKL\n\t+U8xPtwfco8YWlYGxDOW8DaTVF76ihDlE/D/YhpqcDdo1mrHQ/0V+8l4IODqQgtFieB9\n\t/UxPl695Tzj3oYfEoBQQ+orMzO2T2bvmt0U+Zf5axzT5HMmFe0sBzxhzSWBd3F+kwjl4\n\tidGGetM9ZMd61Cwjj21nYiIdYgEB+GQRZIwb4a6YJGs8anggZ9srtF83+N430Jafhz+3\n\t30yQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mK+LfE+bHFWhcOO4a3Eu4K1lM51ip2RdU9U2o4ASGiG6pZpJ/T3\n\tsAqx2spbZHiD3NMRZ4eKA+0=","X-Google-Smtp-Source":"ACJfBosXmJWA0oTtwU08k9NxKc/oC0J9MWGKPZ7cj5pKYQqxXzGEqUBM1PdlvCupCDvNEtKOuSP5Og==","X-Received":["by 10.31.49.200 with SMTP id x191mr3159336vkx.2.1514545616229;\n\tFri, 29 Dec 2017 03:06:56 -0800 (PST)","by 10.129.52.147 with SMTP id b141mr15030604ywa.48.1514545615868;\n\tFri, 29 Dec 2017 03:06:55 -0800 (PST)","by 10.200.3.8 with SMTP id q8mr46857940qtg.212.1514545615500;\n\tFri, 29 Dec 2017 03:06:55 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of rlabdeveloper@gmail.com designates\n\t2607:f8b0:400d:c0d::22e as permitted sender)\n\tclient-ip=2607:f8b0:400d:c0d::22e; ","MIME-Version":"1.0","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>\n\t<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>","In-Reply-To":"<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>","From":"R lab <rlabdeveloper@gmail.com>","Date":"Fri, 29 Dec 2017 11:06:45 +0000","Message-ID":"<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"Otavio Salvador <otavio.salvador@ossystems.com.br>","Cc":"Roman Kalashnikov <lunix0x@gmail.com>,\n\tswupdate <swupdate@googlegroups.com>","Content-Type":"multipart/alternative; boundary=\"f4030435d010687a83056178a104\"","X-Original-Sender":"rlabdeveloper@gmail.com","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n\theader.i=@gmail.com header.s=20161025 header.b=izq+t7Zw; spf=pass\n\t(google.com: domain of rlabdeveloper@gmail.com designates\n\t2607:f8b0:400d:c0d::22e\n\tas permitted sender) smtp.mailfrom=rlabdeveloper@gmail.com; dmarc=pass\n\t(p=NONE sp=NONE dis=NONE) header.from=gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829597,"web_url":"http://patchwork.ozlabs.org/comment/1829597/","msgid":"<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>","list_archive_url":null,"date":"2017-12-29T11:48:44","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":66846,"url":"http://patchwork.ozlabs.org/api/people/66846/","name":"Otavio Salvador","email":"otavio.salvador@ossystems.com.br"},"content":"On Fri, Dec 29, 2017 at 9:06 AM, R lab <rlabdeveloper@gmail.com> wrote:\n...\n> Need a piece of advice, Can we add these append file to meta-swupdate layer\n> so others can easily start working with GRUB bootloader in the yocto build?\n> Or keep them as information in doc?\n\nIn fact, it is not need. In updatehub we did that on the target\nscript. We added a check for the empty environment and then set it[1]\n\n1. https://github.com/updatehub/meta-updatehub/blob/master/recipes-bsp/grub/updatehub-grub-script/grub.cfg\n\nIf it is indeed desired to copy the environment, I'd work on OE-Core\nto make it generic.","headers":{"Return-Path":"<swupdate+bncBDC27KGQ4MMBBIGXTDJAKGQEFIJL3TQ@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:4001:c06::237;\n\thelo=mail-io0-x237.google.com;\n\tenvelope-from=swupdate+bncbdc27kgq4mmbbigxtdjakgqefijl3tq@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"VPdAenh8\"; dkim-atps=neutral"],"Received":["from mail-io0-x237.google.com (mail-io0-x237.google.com\n\t[IPv6:2607:f8b0:4001:c06::237])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7Pxc3YVyz9s74\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 22:48:51 +1100 (AEDT)","by mail-io0-x237.google.com with SMTP id d17sf10949899ioc.23\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 03:48:51 -0800 (PST)","by 10.98.194.93 with SMTP id l90ls5180616pfg.11.gmail; Fri, 29 Dec\n\t2017 03:48:48 -0800 (PST)","from mail-ot0-x236.google.com (mail-ot0-x236.google.com.\n\t[2607:f8b0:4003:c0f::236]) by gmr-mx.google.com with ESMTPS id\n\tm9si1140068plt.2.2017.12.29.03.48.48\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 03:48:48 -0800 (PST)","by mail-ot0-x236.google.com with SMTP id q5so15162298oth.2\n\tfor <swupdate@googlegroups.com>; Fri, 29 Dec 2017 03:48:48 -0800 (PST)","from mail-oi0-f42.google.com (mail-oi0-f42.google.com.\n\t[209.85.218.42]) by smtp.gmail.com with ESMTPSA id\n\th2sm7871584oth.53.2017.12.29.03.48.45\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 03:48:45 -0800 (PST)","by mail-oi0-f42.google.com with SMTP id g6so12654670oib.11\n\tfor <swupdate@googlegroups.com>; Fri, 29 Dec 2017 03:48:45 -0800 (PST)","by 10.157.41.233 with HTTP; Fri, 29 Dec 2017 03:48:44 -0800 (PST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514548129; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=U7Or7GPhr5vQRAS7xscBpSsTMTW/gbB9vmAtp5o4ztRUnficFX19fVPI9u8jwTJoz9\n\t0nhLwVVEgbckrx0BLAQC0Iho+/EbkwjFV+OGRim+vP9iJpnCWv9duBeQ/PkveEvCN8+d\n\tUBu0YmC9ygCh3kP6XbrC4Q6qkRym0kEU8awGA4qu+Kk6forazwwpn4RhlnKnzqhtaiCw\n\tnNlqRsIv6v82gpSFBdvrE9OS152YMcai4c1qSPgpM8RCgXlFhyxQCW54pVEQj8nuj9zw\n\t0VeB9D++D2169DTL1rjsy6oSjFLQr4BGUr+RyzDE+Rqq9cfIcwU8aWpPhhfZtnbRYV9a\n\t86mg==","i=1; a=rsa-sha256; t=1514548128; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=ctVPLX7ltySvWvRQ07OiO1X4fnJ8QcYKUdvPtpGl/6FpRMGyeUz9LUs/PWwZC5ZSHs\n\tj2jmnnW180BmQItj14dCC60hoG64+J1i8hw4PF2yqZrcpdRSZysDTondWqdlXrNpjUJg\n\tRIH7hYe1UhuDI8boTQjatULK2iaFLH9uUR+bCU5cugVbwy3jqEU8mxVqpLBgpNc/wpha\n\tjgFGcG1mikH7UE6POOcb4dAMt8Wx9AUA7LduG59nhBhLPBlsDfoweXUW/j9fQnLhZIzq\n\tfraoV6MchAAOSQgBXj+NLu2LqUoDsSkoJXrWPuPbCpIwBLxrHUfcFPeykTAY47Tc4c4w\n\tNGoQ=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:cc:to:subject:message-id:date\n\t:references:in-reply-to:mime-version:from:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature\n\t:arc-authentication-results;\n\tbh=54r8sweTkAXcuaZAReKF4TUcp/Oxu+2crf0cE8M1xDs=;\n\tb=uzfVdB/F6TAnvW7jPFfn1gZn99C8BRnhSdN5Gw9bM1sAWabrUzVdOez2F96th2vqM+\n\tzPCl7urhte/bhJrovUGmOz0dbFUR/2VzeDfPvlF6ciGJlMx0Xm2Uxfh1SAarQ0t/ZZcC\n\tA0HZxtUrRE6tRr/rADvhVlGdB418tlFSxbZwcbC7aE6zgcb78cqAOztR9PZC+vgL1dKJ\n\tIK8XxoUtIZxNqDcRL+vdStemPgqnTbV8hocJ2S/GP7ca3/81AhmqmVu4N9++av1t/iZy\n\tXO/TvXyRdt14KFA9fYCfn5mLJuqF8eoDrETckvjRAZMtgZDHJxSPhv8R0jk5uthIu8Ob\n\tR82w==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=cc:to:subject:message-id:date:references:in-reply-to:mime-version\n\t:from:dkim-signature:arc-authentication-results;\n\tbh=+MwOpwVkEOfcnbO2wkFrsnl71sKWdwL0UCxlOIasDeE=;\n\tb=OfRSuWNzisn/byR0FpgLS4nbFKvgMotLrT8uUIF8CxmObgrWPfTqT6GCeBg4ikDK2Z\n\tyl5Tx8XDYjapeCCEcaIZ13o3QAOS3ySvxv8Kg8Dw76po8YkA/g5gzwvmLPXBZLr5y37T\n\tMzIpqM62RQ5GHEsH4wRQ5ybs2p/W60Z1In7MBew10m66pNWKtwWqY9bZ4laEiG4HTHoS\n\t5R2OqNKk7vftFNHvkgcUVM4Bvd7nrSU3p9pelPNY3KMgZctrbAQckoQ5K0M4sheT6lsg\n\tSXAdN03xlNQxlv2mrpBsXxfW8bNsZwjdCwquQXmnFI8I+RWF1ir+9tA26sXueDHl0srt\n\t2Hqg=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com\n\theader.s=20150623 header.b=bttFqDCL; \n\tspf=pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::236 as permitted sender)\n\tsmtp.mailfrom=otavio.salvador@ossystems.com.br","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com\n\theader.s=20150623 header.b=bttFqDCL; \n\tspf=pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::236 as permitted sender)\n\tsmtp.mailfrom=otavio.salvador@ossystems.com.br"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:from:mime-version:in-reply-to:references:date:message-id\n\t:subject:to:cc:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=54r8sweTkAXcuaZAReKF4TUcp/Oxu+2crf0cE8M1xDs=;\n\tb=VPdAenh8zYWtyYKesqy086j3saNKuEXLBpS3wdUMUewEgCEpEeWOyDpAO8tBgZ9rkT\n\tBgvOonpVkflggTxRH9Grl3XjEHyg48aNfTC4hz3Z9CDlKRn3OxcDnYkr9z+iSgisiRPP\n\tCO/btoyalGB0s2+ppfM1Wwr4R2Ru07YJoOwa8RaZW9boBclSS3Y/aAdgKvH+M+ocApgT\n\t0YUg6d9SBhnkiuTmh1x6cFyqZYsXxUynqO1pZkJTjH6SUssHFWqxovyIC5HDeKfDohQV\n\tbbMzEKbyyw04p/CNuTep9olwZzATRpjElMX6K1VBZpIJMFHp5b4+GT+emobkYB1/YN8e\n\tY/lw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:from:mime-version:in-reply-to:references\n\t:date:message-id:subject:to:cc:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=54r8sweTkAXcuaZAReKF4TUcp/Oxu+2crf0cE8M1xDs=;\n\tb=i+6Pka01A6fSyBjWUcCiIRnGX2em+dsCFxfoFSzHYxplBrBoVakOETljnfBVDH166w\n\tkhcrLnVdeAX624V2Bw7qJpXhEQeZlBd12QGNACFI0qWqX5KXpdTkUsXGc43PlFkPNbLV\n\txQAAN37XsFYy0n/kO+6kV/72BzYXCK4tVlkdONTwuhoYTxdMHZ8p7TqHus1YrAiYVuRe\n\tNJfvPoQONK1yH9e91koPaEFhxuwAcAPZ3utH4WpZ6DTWFNXCdn5n0Rmu6ZVqsXtrSVcJ\n\t91ypdrGX+zamiIR3XZabmbyXW3bTJjeyG5YShstpuAFHlD9kzTvxftqcp0GUtn0kIUt5\n\thQjw==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mL2vaqCLuCsULq4kpkFscV1B1z4jjSujrgMLQuT5p18GXq/oyWP\n\t9tCE0WKBrIooK0VOXuMb/5U=","X-Google-Smtp-Source":"ACJfBovGnh0BDELHou88Pli0uxEGKHIgR0gk7SxBUJui2RsmNLJs+TjLHIOcAcbpGLOIb1+KOq59Gw==","X-Received":["by 10.36.177.10 with SMTP id o10mr142188itf.5.1514548129249;\n\tFri, 29 Dec 2017 03:48:49 -0800 (PST)","by 10.99.108.73 with SMTP id h70mr3440568pgc.13.1514548128606;\n\tFri, 29 Dec 2017 03:48:48 -0800 (PST)","by 10.157.9.204 with SMTP id 12mr20966388otz.234.1514548127422; \n\tFri, 29 Dec 2017 03:48:47 -0800 (PST)","by 10.202.67.65 with SMTP id q62mr22671901oia.37.1514548125242; \n\tFri, 29 Dec 2017 03:48:45 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::236 as permitted sender)\n\tclient-ip=2607:f8b0:4003:c0f::236; ","From":"Otavio Salvador <otavio.salvador@ossystems.com.br>","MIME-Version":"1.0","In-Reply-To":"<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>\n\t<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>\n\t<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>","Date":"Fri, 29 Dec 2017 09:48:44 -0200","X-Gmail-Original-Message-ID":"<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>","Message-ID":"<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"R lab <rlabdeveloper@gmail.com>","Cc":"Roman Kalashnikov <lunix0x@gmail.com>,\n\tswupdate <swupdate@googlegroups.com>","Content-Type":"text/plain; charset=\"UTF-8\"","X-Original-Sender":"otavio.salvador@ossystems.com.br","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n\theader.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623\n\theader.b=bttFqDCL;\n\tspf=pass (google.com: domain of otavio.salvador@ossystems.com.br\n\tdesignates 2607:f8b0:4003:c0f::236 as permitted sender)\n\tsmtp.mailfrom=otavio.salvador@ossystems.com.br","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829601,"web_url":"http://patchwork.ozlabs.org/comment/1829601/","msgid":"<7c814461-e0da-4447-96b6-83ae5a0781e2@googlegroups.com>","list_archive_url":null,"date":"2017-12-29T12:32:08","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":73109,"url":"http://patchwork.ozlabs.org/api/people/73109/","name":"R lab","email":"rlabdeveloper@gmail.com"},"content":"On Friday, December 29, 2017 at 5:18:49 PM UTC+5:30, Otavio Salvador wrote:\n> On Fri, Dec 29, 2017 at 9:06 AM, wrote:\n> ...\n> > Need a piece of advice, Can we add these append file to meta-swupdate layer\n> > so others can easily start working with GRUB bootloader in the yocto build?\n> > Or keep them as information in doc?\n> \n> In fact, it is not need. In updatehub we did that on the target\n> script. We added a check for the empty environment and then set it[1]\n> \n> 1. https://github.com/updatehub/meta-updatehub/blob/master/recipes-bsp/grub/updatehub-grub-script/grub.cfg\n> \n> If it is indeed desired to copy the environment, I'd work on OE-Core\n> to make it generic.\n> \n> -- \n> Otavio Salvador                             O.S. Systems\n> http://www.ossystems.com.br        http://code.ossystems.com.br\n> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750\n\nThanks,\n\n1. loadenv module is enabled on openembedded-oe grub2.02\n\nAnd ur grub.cfg will do rest of the thing.\nThanks :)","headers":{"Return-Path":"<swupdate+bncBC52V2V6WUERBSPLTDJAKGQEFI5UXOY@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:400c:c08::23f;\n\thelo=mail-ua0-x23f.google.com;\n\tenvelope-from=swupdate+bncbc52v2v6wuerbspltdjakgqefi5uxoy@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"p4oQm27E\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"eorp/322\"; dkim-atps=neutral"],"Received":["from mail-ua0-x23f.google.com (mail-ua0-x23f.google.com\n\t[IPv6:2607:f8b0:400c:c08::23f])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7Qvc2yMpz9s75\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 23:32:11 +1100 (AEDT)","by mail-ua0-x23f.google.com with SMTP id 111sf14178576uaq.13\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 04:32:11 -0800 (PST)","by 10.31.171.19 with SMTP id u19ls4856675vke.9.gmail; Fri, 29 Dec\n\t2017 04:32:09 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:date:from:to:message-id:in-reply-to:references:subject\n\t:mime-version:x-original-sender:precedence:mailing-list:list-id\n\t:list-post:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=4+V+AYguEqaH5swzAwUCPEDGXcq6MOjcEIe7nwQWQ7A=;\n\tb=p4oQm27EMCJvuoRvpVlxarL2GNXR1NOYOiD2qc3Lwc8yLqhcD0O65u2DQ7vscf+5Fk\n\t0+Agxyamt5qHQV7pQ+EtLrPBEBXQxk6AN8NUfdNQJ1DmcJ6+beERjnGwXTHzKQTBVSxF\n\t7YrUKD7bfAZJgxj1/ipgozWYLwbtP43mmfoISqxiMnwGdb1F7YmPqDUQ6rP4KzDHiWIT\n\tqBhPsoTmo0epFHWAJrME8Bfu4rGPvpZzaiJUnDTRvv5lHirozPjzC7EB3O/abKX9ml4r\n\tLH7Gc8441IAWuLQfZ4wzrl6F1Z6BZaBK05Qb8kbKYQm1of/gcOF755i38Mez6Tmm2lzz\n\twcjg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=date:from:to:message-id:in-reply-to:references:subject:mime-version\n\t:x-original-sender:precedence:mailing-list:list-id:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=4+V+AYguEqaH5swzAwUCPEDGXcq6MOjcEIe7nwQWQ7A=;\n\tb=eorp/322U22S9doQc1+5uIJ7oWK3NDPz3xcSKKhcgzghIE369t8zhcHdbwYv8akLBn\n\tctLpTsjuHyb5wVYG3xwqu6Mpb9GF370yghC5r7m3gMCy4b8Ny0L/3RD0L9IBQYG6TVDF\n\t9FbbdHfWpBJfNYeSBfDEaO8nalrMAvb1+5ZBNxaj7BhzJlB/hGgZMYLhMYXNDHSwoYr3\n\twLENr3rvCXXMF6HTiVsXT5/+Kc75hUnPLHQqrlTQknhtajmOkwRzSf0afZBu5fPk0x2E\n\tdTWGzinBEFtKZrevRIYacMd+jOqotB8A3d9yIb7yB3SGq38xFnre8V52PNT/51R168zY\n\t6byg=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:date:from:to:message-id:in-reply-to\n\t:references:subject:mime-version:x-original-sender:precedence\n\t:mailing-list:list-id:x-spam-checked-in-group:list-post:list-help\n\t:list-archive:list-subscribe:list-unsubscribe;\n\tbh=4+V+AYguEqaH5swzAwUCPEDGXcq6MOjcEIe7nwQWQ7A=;\n\tb=fF9i3t1+zzUyL5yXi9XrPQH13OWP1AbI1aExzdA+uN4w4qjsHFGRzBQPdYGDXcZUBS\n\tOFHgWvtYibKPUUwClAywFs9BjjcQ4vi72Y4392iI3kK3pRks0xGS8YlMh+ggVh+O6Dun\n\ttytzaTUhyyPtCGwlpz3nHtS6SuhGCE4KFJDESkfKvAPHqR89PmJDJXwgs/d4RRLtQ9w0\n\tsennEdMeCdRvn2x05bgYJcosWBHiS1iRZH8gjOkHkscmtW58j8CScLN9c7IryMT5Ajia\n\t7uCKSu0pODzTYhqBCx3J74Dqa3QQgnxbXulwx1Y84ceLCN/eQETsRdu8GXMowGBLpuKi\n\tU/iA==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mJ1cM/4yVXoh6onZzVie2dVFf9/3kc0b5j2aXK0J7Wty15/MU62\n\tSWVpgrir/Br2JKLmhXxPS+Y=","X-Google-Smtp-Source":"ACJfBouLapQ8fLt75On/mDfhsON6KjnzqPeXZg6/zNblkJwTn9X5on9VH4av9bcum0kK1xWVZMAx2g==","X-Received":["by 10.31.158.84 with SMTP id h81mr3177071vke.6.1514550729588;\n\tFri, 29 Dec 2017 04:32:09 -0800 (PST)","by 10.31.192.135 with SMTP id q129mr3179880vkf.0.1514550729024; \n\tFri, 29 Dec 2017 04:32:09 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Date":"Fri, 29 Dec 2017 04:32:08 -0800 (PST)","From":"rlabdeveloper@gmail.com","To":"swupdate <swupdate@googlegroups.com>","Message-Id":"<7c814461-e0da-4447-96b6-83ae5a0781e2@googlegroups.com>","In-Reply-To":"<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>\n\t<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>\n\t<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>\n\t<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","MIME-Version":"1.0","Content-Type":"multipart/mixed; \n\tboundary=\"----=_Part_26862_1450908999.1514550728534\"","X-Original-Sender":"rlabdeveloper@gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829607,"web_url":"http://patchwork.ozlabs.org/comment/1829607/","msgid":"<cd946243-836d-4bca-adaf-aec7307350d6@googlegroups.com>","list_archive_url":null,"date":"2017-12-29T12:43:07","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":73109,"url":"http://patchwork.ozlabs.org/api/people/73109/","name":"R lab","email":"rlabdeveloper@gmail.com"},"content":"On Friday, December 29, 2017 at 6:02:08 PM UTC+5:30, rlabde...@gmail.com wrote:\n> On Friday, December 29, 2017 at 5:18:49 PM UTC+5:30, Otavio Salvador wrote:\n> > On Fri, Dec 29, 2017 at 9:06 AM, wrote:\n> > ...\n> > > Need a piece of advice, Can we add these append file to meta-swupdate layer\n> > > so others can easily start working with GRUB bootloader in the yocto build?\n> > > Or keep them as information in doc?\n> > \n> > In fact, it is not need. In updatehub we did that on the target\n> > script. We added a check for the empty environment and then set it[1]\n> > \n> > 1. https://github.com/updatehub/meta-updatehub/blob/master/recipes-bsp/grub/updatehub-grub-script/grub.cfg\n> > \n> > If it is indeed desired to copy the environment, I'd work on OE-Core\n> > to make it generic.\n> > \n> > -- \n> > Otavio Salvador                             O.S. Systems\n> > http://www.ossystems.com.br        http://code.ossystems.com.br\n> > Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750\n> \n> Thanks,\n> \n> 1. loadenv module is enabled on openembedded-oe grub2.02\n> \n> And ur grub.cfg will do rest of the thing.\n> Thanks :)\n\nYou are right. The logic you used is good. and straightforward for application without updating generic build. :thumbsup:","headers":{"Return-Path":"<swupdate+bncBC52V2V6WUERBXHQTDJAKGQEALMVCFA@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2607:f8b0:400c:c08::23d;\n\thelo=mail-ua0-x23d.google.com;\n\tenvelope-from=swupdate+bncbc52v2v6wuerbxhqtdjakgqealmvcfa@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"IY8XFcFa\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"fHrdOYgZ\"; dkim-atps=neutral"],"Received":["from mail-ua0-x23d.google.com (mail-ua0-x23d.google.com\n\t[IPv6:2607:f8b0:400c:c08::23d])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7R8J4F7Rz9s1h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 23:43:11 +1100 (AEDT)","by mail-ua0-x23d.google.com with SMTP id a4sf18088881uae.14\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 04:43:11 -0800 (PST)","by 10.31.147.148 with SMTP id v142ls2962540vkd.7.gmail; Fri, 29 Dec\n\t2017 04:43:08 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:date:from:to:message-id:in-reply-to:references:subject\n\t:mime-version:x-original-sender:precedence:mailing-list:list-id\n\t:list-post:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=UpacQdtl0RqZHAK5OId+4iB/vae0+KHguRheyzDf5Bs=;\n\tb=IY8XFcFanYy0mNKiX+W5bmczNfouUeD/ful5g6371gnhy8+Ru60g8d5F1A/2rthYxa\n\tDujmwuRu3IiRdKzLty6cRYKrfCFam64HY2V6N/r7j5uEDlCywY+lIl6+8HFczAqiNT2m\n\tT6WEctONesj/SsZgRPExIex30ts+DvcUQRx5LhJuLOMVVGE6dkcdOLkAsib0IDBetnlL\n\t18geEkBs5LvHYdXiC8r+2m06MeQwOAXRRn0oZ8X1Q6eds3L1oKGZKhfEKb05bVLilEAN\n\tfFxxK21NfOzQje6ECiSwLO/BXuTA7BsPD7cn8q9MQcZ15YqPHU6Sd4ydR08DBOyWmn8T\n\t5xxw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=date:from:to:message-id:in-reply-to:references:subject:mime-version\n\t:x-original-sender:precedence:mailing-list:list-id:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=UpacQdtl0RqZHAK5OId+4iB/vae0+KHguRheyzDf5Bs=;\n\tb=fHrdOYgZv21BaZf08TUsyBOryoX1wGhMXziItgYuDsX9uq9OJlIhrm1PG59Oc6ePYN\n\tvjagzlXzKRS+Cmlb3HUWzYN2XCcZf333mmES81tgQpLFtHp89xPlXT8yXFbwXLNzaVOF\n\tKUDyW8ml5IaMDvCzuRTh9hR1ENNnIl5ZR6MmuhhisJdSOAaECbbdbmGeuZ6E5k7JX135\n\tIq23K2ejpzWyTwSGSns7jegfVuF0mnnqH4VN/Z2sDlsE1q7RoHYX0IG+7ELm/3b7q+94\n\t4Rc15kkZKpnudOIUG2Ad/WQv+0/XBdOrHohAhBgpZSUMEGwM/h77bMLERy6rjIsID0lO\n\tOSfA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:date:from:to:message-id:in-reply-to\n\t:references:subject:mime-version:x-original-sender:precedence\n\t:mailing-list:list-id:x-spam-checked-in-group:list-post:list-help\n\t:list-archive:list-subscribe:list-unsubscribe;\n\tbh=UpacQdtl0RqZHAK5OId+4iB/vae0+KHguRheyzDf5Bs=;\n\tb=OIqt6598kpeeuwvEBJ8TOtUspQOLYFkEQIsS5fhFIBAiyHuJksB15XXjaDxL3XZ7zh\n\tJ3bLVvNtggoD+hMQz5Vfai2Qn0iEne36YKAAGFr7gZz/DeJzm5yufiyLnU0NwRmkW/Oa\n\tCbteuS3uRQzkURqjNsyHtFOcz0rmQT0yLQoLHwbLY1FS8DdK2wrCD1eUKXFnBtnitEF5\n\tf08Zr2H0cIFot6JK4AQYfJmabInPvjfvswc5Ybhox253V3atvWXozp9UQZmy0Kfy5Zpv\n\tjTMaHbFvkExPi8b+dZFzIcdLIm+tio/kHDiQ/tIcygEhegBeFszMHYPfmZgXff9dKJoo\n\tj35w==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mLG9blulALQDlROfbPbB53gy670DnHchG2egvulriGT884/qmeb\n\tb+S1eDMlrA3rm/jnmAvzhS4=","X-Google-Smtp-Source":"ACJfBov3xIOhgOCrt65jcKuxTXBU13tFGGAfKr2Wv3OkuWNzdFQs0Td6WxA/FimR5T0suVolf3Zhug==","X-Received":["by 10.31.164.84 with SMTP id n81mr45956vke.14.1514551389052;\n\tFri, 29 Dec 2017 04:43:09 -0800 (PST)","by 10.31.158.84 with SMTP id h81mr3179637vke.6.1514551388382;\n\tFri, 29 Dec 2017 04:43:08 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Date":"Fri, 29 Dec 2017 04:43:07 -0800 (PST)","From":"rlabdeveloper@gmail.com","To":"swupdate <swupdate@googlegroups.com>","Message-Id":"<cd946243-836d-4bca-adaf-aec7307350d6@googlegroups.com>","In-Reply-To":"<7c814461-e0da-4447-96b6-83ae5a0781e2@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>\n\t<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>\n\t<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>\n\t<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>\n\t<7c814461-e0da-4447-96b6-83ae5a0781e2@googlegroups.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","MIME-Version":"1.0","Content-Type":"multipart/mixed; \n\tboundary=\"----=_Part_27086_1626608973.1514551387960\"","X-Original-Sender":"rlabdeveloper@gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1829665,"web_url":"http://patchwork.ozlabs.org/comment/1829665/","msgid":"<CAJcrxCiKs85PJ8_CAbJLw4BumUQuivyLP=N8jXHwPZN0HE8zuw@mail.gmail.com>","list_archive_url":null,"date":"2017-12-29T15:16:36","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":72171,"url":"http://patchwork.ozlabs.org/api/people/72171/","name":"Roman Kalashnikov","email":"lunix0x@gmail.com"},"content":"Why use an extra level when embeddedable Intel SoC works with EFI? For\nexample Apollo Lake can be used in embedded solutions and it uses EFI.\nOn Fri, 29 Dec 2017 at 15:43, <rlabdeveloper@gmail.com> wrote:\n\n> On Friday, December 29, 2017 at 6:02:08 PM UTC+5:30, rlabde...@gmail.com\n> wrote:\n> > On Friday, December 29, 2017 at 5:18:49 PM UTC+5:30, Otavio Salvador\n> wrote:\n> > > On Fri, Dec 29, 2017 at 9:06 AM, wrote:\n> > > ...\n> > > > Need a piece of advice, Can we add these append file to\n> meta-swupdate layer\n> > > > so others can easily start working with GRUB bootloader in the yocto\n> build?\n> > > > Or keep them as information in doc?\n> > >\n> > > In fact, it is not need. In updatehub we did that on the target\n> > > script. We added a check for the empty environment and then set it[1]\n> > >\n> > > 1.\n> https://github.com/updatehub/meta-updatehub/blob/master/recipes-bsp/grub/updatehub-grub-script/grub.cfg\n> > >\n> > > If it is indeed desired to copy the environment, I'd work on OE-Core\n> > > to make it generic.\n> > >\n> > > --\n> > > Otavio Salvador                             O.S. Systems\n> > > http://www.ossystems.com.br        http://code.ossystems.com.br\n> > > Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750\n> >\n> > Thanks,\n> >\n> > 1. loadenv module is enabled on openembedded-oe grub2.02\n> >\n> > And ur grub.cfg will do rest of the thing.\n> > Thanks :)\n>\n> You are right. The logic you used is good. and straightforward for\n> application without updating generic build. :thumbsup:\n>\n> --\n> You received this message because you are subscribed to a topic in the\n> Google Groups \"swupdate\" group.\n> To unsubscribe from this topic, visit\n> https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe.\n> To unsubscribe from this group and all its topics, send an email to\n> swupdate+unsubscribe@googlegroups.com.\n> To post to this group, send email to swupdate@googlegroups.com.\n> For more options, visit https://groups.google.com/d/optout.\n>","headers":{"Return-Path":"<swupdate+bncBD7IVPND34MBBX5YTHJAKGQERFS4RDY@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c09::23b;\n\thelo=mail-wm0-x23b.google.com;\n\tenvelope-from=swupdate+bncbd7ivpnd34mbbx5ythjakgqerfs4rdy@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"gho9+gNw\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Gs8P6KAt\"; dkim-atps=neutral"],"Received":["from mail-wm0-x23b.google.com (mail-wm0-x23b.google.com\n\t[IPv6:2a00:1450:400c:c09::23b])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z7VYc0Whfz9s74\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 30 Dec 2017 02:16:50 +1100 (AEDT)","by mail-wm0-x23b.google.com with SMTP id r63sf10461403wmb.9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Dec 2017 07:16:50 -0800 (PST)","by 10.80.179.211 with SMTP id t19ls8555817edd.3.gmail; Fri, 29 Dec\n\t2017 07:16:47 -0800 (PST)","from mail-wr0-x243.google.com (mail-wr0-x243.google.com.\n\t[2a00:1450:400c:c0c::243]) by gmr-mx.google.com with ESMTPS id\n\ts29si1891387eds.0.2017.12.29.07.16.47\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Dec 2017 07:16:47 -0800 (PST)","by mail-wr0-x243.google.com with SMTP id p17so18132504wre.7\n\tfor <swupdate@googlegroups.com>; Fri, 29 Dec 2017 07:16:47 -0800 (PST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514560608; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=M8Kbz+VX0kKSXls1drSRA8vX2e+xF5rYMCcIgHe4ZXGJzsOi5UN61CkjVOP+gZiPCi\n\t33nbY86utgp5ImsO05nqEgZqIR17feLQ2qPvKDy2+pZFhyTW2/RB+JUSO+3pYvJWe/GR\n\t5bnNQnhkbxl6fvoRrpNEF34w7oTEkpB6BeZw44UUPpD4Fn1qnQHuGiHo9IMe2FW/u9bl\n\tYXh0RDaH3cE423aMAgX8rA/e5oGBZTtwORsdtC+S/S5HQCiTnRkeb7Dlij60m2+ONRuc\n\txjGn+Fwsxix+hCi4edfRr9iI4aeC+LzMC5IuO4L+K74PtP65EKwaqKLbppifTfWQjY8y\n\tRwrQ==","i=1; a=rsa-sha256; t=1514560607; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=lL4cUsgmwuj6d7Je9JjCtJw37bkP8FaipTaUPfsj3YRTGOV+NwwcbCUP1e/XlwUrwp\n\tRWEifqRCiXdTSZRT60FzXs/aGoLTUzsEwpC9ayePtAUQF9modNg50d6rNgo2o6Mx40wN\n\tw+4jxuTKROCYUnzXV8Lb52jOc2oldYlqe42u9vk+q3Fk99M4n8v6vr+lOL3+7jLkSugN\n\tfd3dBYBfE3TR69wytF1R2HBhgNmFAcpQzLo2I2kxTAvLZip1mluLzOXM6l/82HygpZLX\n\tvgcCAk6TyAgtBbuAYK6egvAlo+XR0lYQSIDl41ZrC3VbFJBnvUj+mNY6VafzoOa+6II3\n\tE4Pg=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:cc:to:subject:message-id:date:from\n\t:in-reply-to:references:mime-version:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature:dkim-signature\n\t:arc-authentication-results;\n\tbh=Ph3LApAZrJ+feffEUg2NSHYX8gAWdnsjBltVtVKkUtY=;\n\tb=GuaApRWwmUbcrinTPq60EO3dXkGpdsQZzcErvJjp+oY67KSKlsAJnRBk+SLVt4Ojoh\n\tr8ogtLuichnXEadjtJiBeaxwsLhZlW6o8L5AI/YfAQMZv10sSmGhW+F79tsNAy2PfB3b\n\tmQoZLLJZP/soFITCeH6ha/hUPqqBVam+na3WIyKmHTUqjRXbMibC3f+QrQq+vK8UmM1C\n\trNh/NxitehT0o4y81POAhHGPyiYGl1gIWVp8E40h37yNXdiMDm2O/KrFa+6+oGhyaOYN\n\tP+X+OUklBtuEic0vzagz90n1D2PH2vWkKVrFzJYi8jynS/kSugbGgLoHbhUIGxmG3qpJ\n\ttEpA==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:dkim-signature:arc-authentication-results;\n\tbh=nmsq3mGiCoZSQh7hlPN0aLSRyOvigjH+/Z2wcVpBMg0=;\n\tb=dQyK+XjKHGWLCNR2VvFG0PMxAMVdcbwVMcipXiVyaWuxF3dMkjcx2BuKmGaCVgAQOT\n\tgbZSxAaC3Jkj+M92NFMyEbO3HsnRWTANzmH5iF8eotkqYCFwO8n6vinzmehaB1nosnjg\n\t94fgrPPK2AiRHRhErZWQb/HNJZwls75PAa/D9dNWT3uEhzBRDZuTqN3kat8FTv0/iq01\n\tZSeHxx5q1vlMTMkB9aulXmAZEYerrfQG1TZKLjffdCxW73YHXUK6WQNsPgTAuIKO1my5\n\t+h+QZMsw0F31TbQxm5RB0+42ZrpHE/1v/fFKRSTSrAKSqQWPnsiM+beNGVZRH2SrcZR6\n\tpB0w=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=ogh1q9TT;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::243 as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=ogh1q9TT;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::243 as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:references:in-reply-to:from:date:message-id\n\t:subject:to:cc:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=Ph3LApAZrJ+feffEUg2NSHYX8gAWdnsjBltVtVKkUtY=;\n\tb=gho9+gNwk7hqHXgYt9Cgo0dJeLAtpaFxAPrwqU8dzIpr4ctcxRY1HyvDHvG//zWFGG\n\te4AfUc6P+5k/YN7z4pmoJ+L7udJUPeAYwETQtHbz6FotvX3QyqUmb7lA4JVCCvdMhTIB\n\t80XF/G9wVWaJGYNFF42Yw50O2SWX/sjBu4Csdw0dpHpMjUR6I0Ce9LzM1ytT5iT5lmR+\n\tPwbpd8FHHxuvGgmfH1fBXK/29Nb4p4nCWlwvMQYY0Pq4fITrjw7NDkQxcOUrgD1he91K\n\tW0rWTPsp7AlwlmMqIbQp23ssLFY4NoVYuaPiGLQQdijx35MLWxbdINYk/Mz3oWmYKY8V\n\thPdA==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=mime-version:references:in-reply-to:from:date:message-id:subject:to\n\t:cc:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=Ph3LApAZrJ+feffEUg2NSHYX8gAWdnsjBltVtVKkUtY=;\n\tb=Gs8P6KAtrumyh5857ZCQ9DkpgZszWG95hz1cODIz1DNz8s66qHsmuc9ry8GpF6MqsF\n\tZNZ9m9jboMMJWEAIpBucGRTlYP5QXL4jBIOF4WE7mN1iYEWSf//7X7f6Of/My2aLEkbp\n\t7csA9v83edOnNg0Wddc8aSVHC+69ipbhk9P9zK7WKPiJOgh7NtdO/Udw5HlJrvrxmZ77\n\tbwjAHw98Upg8o5vo51GTs4reuxdXYTQWeDxoUsJCd+9b3fGXLG+J1tO2imyk54mK0T1F\n\tr8j4/qMsGosDqICsgzph3Sg+OOhaF/asyEP7VbVrg5zAUsvUMGBcxoFDtaqUXlpQ3P49\n\tvcDg=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:references:in-reply-to:from\n\t:date:message-id:subject:to:cc:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=Ph3LApAZrJ+feffEUg2NSHYX8gAWdnsjBltVtVKkUtY=;\n\tb=c6/Q+FTwdXw3e0oJ7Bbf6hsvaNEavAuLrS/Wb/Hc1DEvPPpM1dUdFcRpP+7hKVvQ8k\n\t0rnpsnQMNROzfYvSySKLoykslylccNGuf+lHxzkADtw6BLZhg2c7T3uuYq6R64DOGwRF\n\tBBTyvDGbfaEz/Sfd/RSSkCH4/wPDfrQHh21GWI736xKXH16MWhKiPF32OvGqunCpI8FI\n\tvGElq/jqSV2up1NBvnR3i6Gd47p1Ox6F39XKumElB+u4Yv1lLMfibUkBs396bR8DZMtj\n\t5RlRt47+sPQ14eY6ymK3em9ZB0lsqkCdzQOFG6NZ3NpV4iej2Hhzg8rJRr6xsZdSNwZ/\n\t+neg==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mLa4PGqkUX2XJWXFL30QaIP7rf0UEnRu/dFxGzpxddPTdHisY2w\n\tfPDf+CnEkpdn9No4dbvRkZ8=","X-Google-Smtp-Source":"ACJfBotRX4SkXHxLsBQIB/1DShjrVHKY9zwvdqfGZiYN0LoO6YPnDU6p09qDRy8LA/KXGuFAubD+1A==","X-Received":["by 10.28.209.143 with SMTP id i137mr305395wmg.4.1514560608263;\n\tFri, 29 Dec 2017 07:16:48 -0800 (PST)","by 10.80.230.25 with SMTP id y25mr9191264edm.9.1514560607731;\n\tFri, 29 Dec 2017 07:16:47 -0800 (PST)","by 10.223.160.230 with SMTP id n35mr33942732wrn.27.1514560607422;\n\tFri, 29 Dec 2017 07:16:47 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::243 as permitted sender)\n\tclient-ip=2a00:1450:400c:c0c::243; ","MIME-Version":"1.0","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>\n\t<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>\n\t<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>\n\t<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>\n\t<7c814461-e0da-4447-96b6-83ae5a0781e2@googlegroups.com>\n\t<cd946243-836d-4bca-adaf-aec7307350d6@googlegroups.com>","In-Reply-To":"<cd946243-836d-4bca-adaf-aec7307350d6@googlegroups.com>","From":"Roman Kalashnikov <lunix0x@gmail.com>","Date":"Fri, 29 Dec 2017 15:16:36 +0000","Message-ID":"<CAJcrxCiKs85PJ8_CAbJLw4BumUQuivyLP=N8jXHwPZN0HE8zuw@mail.gmail.com>","Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"rlabdeveloper@gmail.com","Cc":"swupdate <swupdate@googlegroups.com>","Content-Type":"multipart/alternative; boundary=\"94eb2c075610ff13fb05617c1e28\"","X-Original-Sender":"lunix0x@gmail.com","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n\theader.i=@gmail.com header.s=20161025 header.b=ogh1q9TT; spf=pass\n\t(google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::243\n\tas permitted sender) smtp.mailfrom=lunix0x@gmail.com; dmarc=pass\n\t(p=NONE sp=NONE dis=NONE) header.from=gmail.com","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}},{"id":1830493,"web_url":"http://patchwork.ozlabs.org/comment/1830493/","msgid":"<57d8dc22-4441-74b0-1541-a745f9ca7558@denx.de>","list_archive_url":null,"date":"2018-01-02T15:23:27","subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","submitter":{"id":5771,"url":"http://patchwork.ozlabs.org/api/people/5771/","name":"Stefano Babic","email":"sbabic@denx.de"},"content":"On 29/12/2017 16:16, Roman Kalashnikov wrote:\n> Why use an extra level when embeddedable Intel SoC works with EFI? For\n> example Apollo Lake can be used in embedded solutions and it uses EFI.\n\nOne reason is to ensure atomicity. I am afraid that efibootmgr is not\natomic and environment could be corrupted in case of power-loss when the\ntool is running.\n\nThe bootloader handler in SWUpßdate together with bootloader guarantees\nthat setting the variables is power-cut safe.\n\nBest regards,\nStefano Babic\n\n\n> On Fri, 29 Dec 2017 at 15:43, <rlabdeveloper@gmail.com\n> <mailto:rlabdeveloper@gmail.com>> wrote:\n> \n>     On Friday, December 29, 2017 at 6:02:08 PM UTC+5:30,\n>     rlabde...@gmail.com <mailto:rlabde...@gmail.com> wrote:\n>     > On Friday, December 29, 2017 at 5:18:49 PM UTC+5:30, Otavio\n>     Salvador wrote:\n>     > > On Fri, Dec 29, 2017 at 9:06 AM, wrote:\n>     > > ...\n>     > > > Need a piece of advice, Can we add these append file to\n>     meta-swupdate layer\n>     > > > so others can easily start working with GRUB bootloader in the\n>     yocto build?\n>     > > > Or keep them as information in doc?\n>     > >\n>     > > In fact, it is not need. In updatehub we did that on the target\n>     > > script. We added a check for the empty environment and then set\n>     it[1]\n>     > >\n>     > > 1.\n>     https://github.com/updatehub/meta-updatehub/blob/master/recipes-bsp/grub/updatehub-grub-script/grub.cfg\n>     > >\n>     > > If it is indeed desired to copy the environment, I'd work on OE-Core\n>     > > to make it generic.\n>     > >\n>     > > --\n>     > > Otavio Salvador                             O.S. Systems\n>     > > http://www.ossystems.com.br        http://code.ossystems.com.br\n>     > > Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750\n>     >\n>     > Thanks,\n>     >\n>     > 1. loadenv module is enabled on openembedded-oe grub2.02\n>     >\n>     > And ur grub.cfg will do rest of the thing.\n>     > Thanks :)\n> \n>     You are right. The logic you used is good. and straightforward for\n>     application without updating generic build. :thumbsup:\n> \n>     --\n>     You received this message because you are subscribed to a topic in\n>     the Google Groups \"swupdate\" group.\n>     To unsubscribe from this topic, visit\n>     https://groups.google.com/d/topic/swupdate/TC16K9DW-m0/unsubscribe.\n>     To unsubscribe from this group and all its topics, send an email to\n>     swupdate+unsubscribe@googlegroups.com\n>     <mailto:swupdate%2Bunsubscribe@googlegroups.com>.\n>     To post to this group, send email to swupdate@googlegroups.com\n>     <mailto:swupdate@googlegroups.com>.\n>     For more options, visit https://groups.google.com/d/optout.\n> \n> -- \n> You received this message because you are subscribed to the Google\n> Groups \"swupdate\" group.\n> To unsubscribe from this group and stop receiving emails from it, send\n> an email to swupdate+unsubscribe@googlegroups.com\n> <mailto:swupdate+unsubscribe@googlegroups.com>.\n> To post to this group, send email to swupdate@googlegroups.com\n> <mailto:swupdate@googlegroups.com>.\n> For more options, visit https://groups.google.com/d/optout.","headers":{"Return-Path":"<swupdate+bncBCXPLOXJ6IKRB5OHV3JAKGQEJ6P4KNY@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:400c:c09::239;\n\thelo=mail-wm0-x239.google.com;\n\tenvelope-from=swupdate+bncbcxploxj6ikrb5ohv3jakgqej6p4kny@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"nJPp2ySE\"; dkim-atps=neutral"],"Received":["from mail-wm0-x239.google.com (mail-wm0-x239.google.com\n\t[IPv6:2a00:1450:400c:c09::239])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3z9yWY0Rgfz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  3 Jan 2018 02:23:36 +1100 (AEDT)","by mail-wm0-x239.google.com with SMTP id 194sf14553957wmv.9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 02 Jan 2018 07:23:36 -0800 (PST)","by 10.223.151.196 with SMTP id t4ls5248165wrb.0.gmail; Tue, 02 Jan\n\t2018 07:23:33 -0800 (PST)","from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9])\n\tby gmr-mx.google.com with ESMTPS id\n\tx5si2466591wrb.0.2018.01.02.07.23.32\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 02 Jan 2018 07:23:33 -0800 (PST)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3z9yWS6FKfz1qrjd;\n\tTue,  2 Jan 2018 16:23:32 +0100 (CET)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3z9yWS5yj0z26T2B;\n\tTue,  2 Jan 2018 16:23:32 +0100 (CET)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id ziencpKJ2qzx; Tue,  2 Jan 2018 16:23:31 +0100 (CET)","from babic.homelinux.org\n\t(host-88-217-136-221.customer.m-online.net [88.217.136.221])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPS;\n\tTue,  2 Jan 2018 16:23:31 +0100 (CET)","from localhost (mail.babic.homelinux.org [127.0.0.1])\n\tby babic.homelinux.org (Postfix) with ESMTP id E80D845403CF;\n\tTue,  2 Jan 2018 16:23:30 +0100 (CET)","from babic.homelinux.org ([127.0.0.1])\n\tby localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id okKW9RcwBf13; Tue,  2 Jan 2018 16:23:28 +0100 (CET)","from [192.168.178.132] (papero.fritz.box [192.168.178.132])\n\tby babic.homelinux.org (Postfix) with ESMTP id EF411454027F;\n\tTue,  2 Jan 2018 16:23:27 +0100 (CET)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1514906613; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=vhXmfQIf5lDyQEgSYONjd2Dw+fOhfvDPcpsfEzj2hsgEyWEY5f83tEwfl3WBWtatie\n\txmbAbY+nE6zC5vChMANe/L3k6PHDq0rhhdkqN7+pMtkUJkf5TdsOeTPB8Nk0L9eOSBzw\n\tTwZimsR1d5U85XIJeflTOKWZHzAnAg950w220fSKmkvWT/B6zklq5XmLrp92SRu/v0lp\n\tKulzUIwYXmoXFn6rrT67d53VTUUFw7+5UqIbhrZMyQhA2s/gQW0qeAwLapIrO22/rIUk\n\t6wZLbfek0gk9MDqtQk/lty3pZVCUNCIfDJosylMwXqPim/MGZtrfJ8kuoj8fM3f7FhWH\n\tjpEQ==","i=1; a=rsa-sha256; t=1514906613; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=MwxG3cVHBPjURPdGpGGC6XXkoSsfCU0eHph3OsQODp2da035HrQMvRrR1UhyIQfQlq\n\txMj2ILXqLWNYdFJDwr3rM62+Zj7CggdEVOV5BMiwwsIMMulqTfyEeO2SxYAyT/7Lmzva\n\tC0DrcLOOmO3X/4zC05i9icX8ksMBgMRemVgrCfSIjjz+SeBI7phxd2Mm600Oj5njSjIZ\n\txI3iRH3wz10L5mNqLPQtJ52H33CaiIOzDAdf2Sg6CAEGgbMCNCBABh+FJjIN4VTHNehf\n\tiseYSvnxcE7H5SPXVVdzJYX5/8Al3qJJix0EZbFuylEh5g/hEaK+Ve2Z9d564AwnEJ/H\n\tX08A=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:content-transfer-encoding\n\t:content-language:in-reply-to:mime-version:user-agent:date\n\t:message-id:from:references:cc:to:subject:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature\n\t:arc-authentication-results;\n\tbh=Qo/6lDVEvij5NaP2B2PcysGZlaJt/O3ZERbPCvv0SIo=;\n\tb=Hft7Z/cen82r9ukuslNW8iAeglZXgS91cBdnF9RTIRauSYe3Jzi09QscNbqS/iPXdd\n\tb6EvSCh6d3d2AI7Y+xO8TLENgvTFVmNg7tNwXi9i0K10FegfZ/Y477zH9/Z5KAyML2kM\n\t8un4dQeoWmgiB5f0tqgCH2N/vNRpQw9PppzvophOGtUElUwzar8l7DuQS9FdNvaDJPE/\n\t7eleJe0+/qKzBQAvCg9n6Q7w6Q99Lkbn3cqbouk4tdOrVF72RCqPs4MgzAVA1fqbtwKc\n\t8ZKJRXz3GN9fO1o4FQcH1dhE/0RQPpm38UpcwF57elh9/tuaXTVeHK1ixhNw7T1jkpzk\n\t8B1w==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=content-transfer-encoding:content-language:in-reply-to:mime-version\n\t:user-agent:date:message-id:from:references:cc:to:subject\n\t:arc-authentication-results;\n\tbh=aE28nJq++WeKM6t4HW/qnx8mOoIv6Hs6jjMnkoFNUMc=;\n\tb=ZE5yi/0Cu3WyZsipUCLZu/BFSkaIMSeFLb8cBO/kNAO2dnIBvnBwrWp6xNKr7eFqAG\n\tMZ58ibaTaO/XBRIAhxjLVVVGUkAmXpPqSZSkGzkhxckVRAE1L79fy75kZ2W47kN3ak30\n\tIpI+4UXPJbS8M5Dh0Q0DtXZhMHCwzKIawvLnzjEq/9+KfOH7leMDY7ecEWRns3A1vq6W\n\tWe9VZlKNWwkaSTHpcC9+SGiSISq8epo79Y6YAhHHzjqCJnp9AdTz/ubNzFaUTZ4gxG3Z\n\t7OZ3nvuHYlGK3i+7t1oAc/C37VCgBzPPsfjtQhblPsnY+YfEt8Cj9+VyuhFTPcxNLxVV\n\tM/Gw=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=Qo/6lDVEvij5NaP2B2PcysGZlaJt/O3ZERbPCvv0SIo=;\n\tb=nJPp2ySEiChD5QReA36+GzHGNFeqQP0Gu9bsXtLXmoniKUFy2e2nTlUKb6W0abtpKQ\n\tlKYgItdXvSsNMfkN3/YUNLEFmDABfYTcIAhhXf6xzx5dEogpleWn+JPDQBxZzdgGrDvm\n\tglthbdoftO3nTZCnfxs20jp7CkR+jxIoXB0xfWggTu2UqVPyNr4+yUhLGyh667EuOXQs\n\tqbzcYbR3Ff+CA/xKbo+sd/KG5Q/v+jzYX6v8fCc9o65HIzTuUe+tyO1GZekUOddY9eeJ\n\tmMvc3QJiUoKuihM4UA94HAAi7aiOYBGXn0O6WT2MTi2+suLQx/7KpMzS0XxeXXxOR0Vh\n\tTJCA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:subject:to:cc:references:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:x-spam-checked-in-group:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=Qo/6lDVEvij5NaP2B2PcysGZlaJt/O3ZERbPCvv0SIo=;\n\tb=e+5HLbDWEfunkn961UndVCCVmuB3fyrrbgpyrslUyXA2HL2EtnevkfDkrFt39hDJ47\n\txLreotNADddqRNtiZhjwgWQcelGmjfH6eSvUEFH5EkmNGA/CI2bMMLWda39VwhHr8QKO\n\tkqSf49U55+Li07cwHga+dP4YdsUZDymGydY95ixzk/QEQwtj7euDjwUBeVaeG5KYrc08\n\tgyqmrYu3iXM1tiirH0HbwTBHDSKa5jIleFvtpLae4vvkqncZifxMuFcIOiUbAS/TikDm\n\tZgbKvpxs4JltQVzAsHhmdeq4ou0ZmIQ4Scx+rtJ9AZKhhZl2SCSEMQ5mSaenk/B8mHTf\n\tPPSQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AKGB3mJLYrU7ZpyPqdMKZ7peqJpUn3QndXCTJUg3X64h4/6xj53viZOQ\n\tg74zvVn1OGmeiqj3hdeIlP4=","X-Google-Smtp-Source":"ACJfBouEyhrilIWQDnU3lB81as3kl+tTdnBDn4TKm9dthlQ+6tJLrbM8zdzxIY0h2yLRIxrGnTr7LA==","X-Received":["by 10.28.0.2 with SMTP id 2mr403666wma.3.1514906613547;\n\tTue, 02 Jan 2018 07:23:33 -0800 (PST)","by 10.223.157.202 with SMTP id q10mr3140787wre.11.1514906613141; \n\tTue, 02 Jan 2018 07:23:33 -0800 (PST)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 212.18.0.9 is neither permitted nor\n\tdenied by best guess record for domain of sbabic@denx.de)\n\tclient-ip=212.18.0.9; ","X-Virus-Scanned":["amavisd-new at mnet-online.de","Debian amavisd-new at babic.homelinux.org"],"Subject":"Re: [swupdate] Re: [PATCH] bootloader GRUB doc","To":"Roman Kalashnikov <lunix0x@gmail.com>, rlabdeveloper@gmail.com","Cc":"swupdate <swupdate@googlegroups.com>","References":"<ca969106-c6a0-4fa1-9e6d-ffb26044a3de@googlegroups.com>\n\t<23d3a2d5-89f3-4169-9341-c06205c9e5b9@googlegroups.com>\n\t<CAJcrxCipVVYrLdipKXbiw3=5RO00voOMGpWgMeb99mQE72bbVQ@mail.gmail.com>\n\t<98a5ee5f-9de7-7dad-2aef-adf3b1179dc7@denx.de>\n\t<1e097dd2-8c8b-4bf3-9e12-a8905e004634@googlegroups.com>\n\t<CAP9ODKpzQyJnxPsSNRgiwrE2OMSJmQzy638VcU33ZtgOVrKkHQ@mail.gmail.com>\n\t<CAMUBnTtNjYhBYsZcC-dSCmAodC9=spTuRwn+hrE4D_1ti+TaxQ@mail.gmail.com>\n\t<CAP9ODKqSc=gcKvFKBMCEFH9r3Z7PdOgrRP6tE3Qk_1ODTN-DOA@mail.gmail.com>\n\t<7c814461-e0da-4447-96b6-83ae5a0781e2@googlegroups.com>\n\t<cd946243-836d-4bca-adaf-aec7307350d6@googlegroups.com>\n\t<CAJcrxCiKs85PJ8_CAbJLw4BumUQuivyLP=N8jXHwPZN0HE8zuw@mail.gmail.com>","From":"Stefano Babic <sbabic@denx.de>","Message-ID":"<57d8dc22-4441-74b0-1541-a745f9ca7558@denx.de>","Date":"Tue, 2 Jan 2018 16:23:27 +0100","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.5.0","MIME-Version":"1.0","In-Reply-To":"<CAJcrxCiKs85PJ8_CAbJLw4BumUQuivyLP=N8jXHwPZN0HE8zuw@mail.gmail.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Language":"de-DE","Content-Transfer-Encoding":"quoted-printable","X-Original-Sender":"sbabic@denx.de","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 212.18.0.9 is neither permitted nor denied by best guess\n\trecord\n\tfor domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact 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>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}}]