[{"id":1887185,"web_url":"http://patchwork.ozlabs.org/comment/1887185/","msgid":"<c4a6b8ef-0656-4cf5-94f4-02810292707b@googlegroups.com>","list_archive_url":null,"date":"2018-04-03T09:41:26","subject":"Re: [swupdate] Can not understand bootloader (grub) option","submitter":{"id":65393,"url":"http://patchwork.ozlabs.org/api/people/65393/","name":"Jamal Mohammad","email":"md.jamalmohiuddin@gmail.com"},"content":"Hi Roman,\n\nI was able to successfully build (ext4.gz), I want to implement single-copy approach.. How did you add a new partition in this. I mean what files did you modify..\n\n\nOn Wednesday, 16 August 2017 15:19:44 UTC+5:30, Roman Kalashnikov  wrote:\n> Hi!\n> \n> I'm not sure for correct way to upload patches by using github pull-request, so i just post git-diff here:\n> \n> ```\n> \n> diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst\n> index b4e8d75..4a798ee 100644\n> --- a/doc/source/sw-description.rst\n> +++ b/doc/source/sw-description.rst\n> @@ -548,26 +548,6 @@ 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> My sw-description posted here https://pastebin.com/9YyTsDDB.\n> \n> \n> For \"GRUB supporting\" i had to reconfigure it while zero-provision stage (before using swupdate):\n> 1. grub-install --boot-directory=/boot --bootloader-id=ubuntu --target=x86_64-efi --efi-directory=/boot/efi --recheck --debug /dev/sda\n> 2. grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg\n> 3. grub-editenv /boot/efi/EFI/ubuntu/grubenv create\n> It creates grub.cfg by the \"right way\". It is resason i don't post grub.cfg here - it creates automactiacally.\n> \n> \n> Then i build swupdate with GRUB params in .config:\n> CONFIG_GRUBENV_PATH=\"/boot/efi/EFI/ubuntu/grubenv\"\n> \n> CONFIG_BOOTLOADER_GRUB=y\n> \n> \n> Now i can use swupdate traditionaly.\n> \n> \n> Best regards, Roman.","headers":{"Return-Path":"<swupdate+bncBDNNTAMA2UORBR4YRXLAKGQE4YOH6BQ@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::23e;\n\thelo=mail-ua0-x23e.google.com;\n\tenvelope-from=swupdate+bncbdnntama2uorbr4yrxlakgqe4yoh6bq@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdmarc=pass (p=none dis=none) header.from=gmail.com","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"i33gn2Qp\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Oh3V0Lh3\"; dkim-atps=neutral"],"Received":["from mail-ua0-x23e.google.com (mail-ua0-x23e.google.com\n\t[IPv6:2607:f8b0:400c:c08::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 40Fkcr0PRkz9s35\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  3 Apr 2018 19:41:30 +1000 (AEST)","by mail-ua0-x23e.google.com with SMTP id d32sf6433710uaa.12\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 03 Apr 2018 02:41:29 -0700 (PDT)","by 10.31.67.2 with SMTP id q2ls9985574vka.0.gmail; Tue, 03 Apr 2018\n\t02:41:27 -0700 (PDT)"],"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=pccuLmmUXVlgWsQR/iX43vPyEnHMuH1tPOb9EaWOkAI=;\n\tb=i33gn2QpQLL+JR7ik6mOMbJ3tYWrr6OQaBF9r4z1E7+VNRvMb9/avTfb9Ozlm6uBSD\n\t4IlXYOkqKPoj5NZdYKGir1KXdBX5ynes1xAnBjgyO/7E+oB1WMtplRIN26nR+8VQ5aLl\n\tQGYC6ruRoDGusbxEr2sb561inDiD2/PXo8H0zQCgB466tLxLRBkxLxU/yHMdTl6lbzDX\n\tZizsypp2zRvD/iNQL0Fzc0+duz7xcZpyV46mk5gUJ6R6ZQEHvfpyrX95injpUc3FVw4e\n\tdKUStA+ilxuX2VhjMNX2DWaYzLvgnN0S9AbiwmoP700DpyZAQrSLkFvONEdx8GjuD2bw\n\tVWOQ==","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=pccuLmmUXVlgWsQR/iX43vPyEnHMuH1tPOb9EaWOkAI=;\n\tb=Oh3V0Lh3Wab9VLNDJAvr0zfjD8rBCzHp6KdE3eZfPYtHlbfLwXMEEk+4Nx9iNsp6b5\n\tiILIdNnGbditkzut8bOvfNpLRu68qT8tz35eVPcdtygyH0qNIjxkB8MbfwxdII597EWf\n\tpMmivVd+GJ3SC/5j4nmBtc1pXLvSGm5mRO4Guf2t5cNmoNqFWdH7u2L1WuqPm1asLsiH\n\tnuv0Nnpgn2gW8nojn4uDlygC4eYuyJBc31V1FZ92tZkIJMrL1tZBGjnGuNHr8K6YXLKX\n\tMXhB9wsFHyKSPm6+Ta1i6hp5QGtKrqgifbz3vibNYje238EwrxafK8gtx+kdhXGDtT7V\n\txRTA=="],"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=pccuLmmUXVlgWsQR/iX43vPyEnHMuH1tPOb9EaWOkAI=;\n\tb=UPCWLUN22lnoKW/Oidpj9Bt+6CvkS2eqvsGJ8BpcSR0s+maUiGMtTx2eYj+xCeTsl0\n\tsLeRQA828D+aAzj9He4xhO0NioXvz9maHu95t6HPu/v3aSjbKFzI5QI/rReY+/Pzq50D\n\toObylACuXqwC6XgV+Czho9Fbk66OwVhHNeElrZNDEqEFK1ES0K94ql8vWE1Q2bBnLnLW\n\tRWJonAeNDx4Fc87bWssE8G5U3xf4Zr4MlS5LFXH7hpNZ20ZrSR1j9sSC72zLsB4RR1R9\n\tnyIP6eUf2Bh5vrhWwdlf/eYx0y7+TrGMsTWPPzXui3U2bcWvCndcQ61kvp9V6UNtZqUU\n\tHgCg==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"ALQs6tBWp+meJjtF5NzjzlhHl83VH3IIhE8cubXtsLrl0Q7K+D1FqzHu\n\tt9I+ihBwBB5AXAMHJ68B7cE=","X-Google-Smtp-Source":"AIpwx4/7+ZCNy3LNTtUEsk3cE9HLctskN25hb+vVHa5gbByTRGBGNv6tV16KgakDfD7pNlhEiqocQA==","X-Received":["by 10.31.32.148 with SMTP id g142mr1610499vkg.1.1522748488142;\n\tTue, 03 Apr 2018 02:41:28 -0700 (PDT)","by 10.31.199.67 with SMTP id x64mr1607803vkf.7.1522748486930;\n\tTue, 03 Apr 2018 02:41:26 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Date":"Tue, 3 Apr 2018 02:41:26 -0700 (PDT)","From":"md.jamalmohiuddin@gmail.com","To":"swupdate <swupdate@googlegroups.com>","Message-Id":"<c4a6b8ef-0656-4cf5-94f4-02810292707b@googlegroups.com>","In-Reply-To":"<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>","References":"<2b909d5f-7a57-4d19-ab15-fab2792cdc69@googlegroups.com>\n\t<548d4778-95ae-ed0e-f49b-0bdf3f97fd35@denx.de>\n\t<CAJcrxCiR80hvKNc3VSZJsNn-W6SXxgSaHrQL4=ySP=ADbTcaJw@mail.gmail.com>\n\t<CAJcrxCjUWACY60SyLwS3Eg4zt906RAXtsUH0iEPCapJyqrYk=w@mail.gmail.com>\n\t<35dd9659-b9fb-b484-cae9-849c4b50335e@denx.de>\n\t<CAJcrxChHLTMGshK57DqkJQbrPsHZcuCokwpC+BA0t6kwGJ5pjw@mail.gmail.com>\n\t<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>","Subject":"Re: [swupdate] Can not understand bootloader (grub) option","MIME-Version":"1.0","Content-Type":"multipart/mixed; \n\tboundary=\"----=_Part_20634_1292097216.1522748486346\"","X-Original-Sender":"md.jamalmohiuddin@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":1887697,"web_url":"http://patchwork.ozlabs.org/comment/1887697/","msgid":"<D8333CAD-1B29-4FC2-85A6-986DEE8E75D3@gmail.com>","list_archive_url":null,"date":"2018-04-03T19:27:14","subject":"Re: [swupdate] Can not understand bootloader (grub) option","submitter":{"id":72171,"url":"http://patchwork.ozlabs.org/api/people/72171/","name":"Roman Kalashnikov","email":"lunix0x@gmail.com"},"content":"For now I do not use grub.\nI can help you if you will share at least partition scheme and more information about your environment.\n\nBest regards,\nKalashnikov Roman.\n\n> On 3 Apr 2018, at 12:41, md.jamalmohiuddin@gmail.com wrote:\n> \n> Hi Roman,\n> \n> I was able to successfully build (ext4.gz), I want to implement single-copy approach.. How did you add a new partition in this. I mean what files did you modify..\n> \n> \n>> On Wednesday, 16 August 2017 15:19:44 UTC+5:30, Roman Kalashnikov  wrote:\n>> Hi!\n>> \n>> I'm not sure for correct way to upload patches by using github pull-request, so i just post git-diff here:\n>> \n>> ```\n>> \n>> diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst\n>> index b4e8d75..4a798ee 100644\n>> --- a/doc/source/sw-description.rst\n>> +++ b/doc/source/sw-description.rst\n>> @@ -548,26 +548,6 @@ 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>> My sw-description posted here https://pastebin.com/9YyTsDDB.\n>> \n>> \n>> For \"GRUB supporting\" i had to reconfigure it while zero-provision stage (before using swupdate):\n>> 1. grub-install --boot-directory=/boot --bootloader-id=ubuntu --target=x86_64-efi --efi-directory=/boot/efi --recheck --debug /dev/sda\n>> 2. grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg\n>> 3. grub-editenv /boot/efi/EFI/ubuntu/grubenv create\n>> It creates grub.cfg by the \"right way\". It is resason i don't post grub.cfg here - it creates automactiacally.\n>> \n>> \n>> Then i build swupdate with GRUB params in .config:\n>> CONFIG_GRUBENV_PATH=\"/boot/efi/EFI/ubuntu/grubenv\"\n>> \n>> CONFIG_BOOTLOADER_GRUB=y\n>> \n>> \n>> Now i can use swupdate traditionaly.\n>> \n>> \n>> Best regards, Roman.\n> \n> -- \n> You received this message because you are subscribed to a topic in the Google Groups \"swupdate\" group.\n> To unsubscribe from this topic, visit https://groups.google.com/d/topic/swupdate/OhMBA7AcoTk/unsubscribe.\n> To unsubscribe from this group and all its topics, send an email to 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.","headers":{"Return-Path":"<swupdate+bncBD7IVPND34MBBFVLR7LAKGQEHMQIRFY@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+bncbd7ivpnd34mbbfvlr7lakgqehmqirfy@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdmarc=pass (p=none dis=none) header.from=gmail.com","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"aB2XDZsj\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"WOhVM2KF\"; 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 40Fzcn6YShz9s0n\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Apr 2018 05:27:20 +1000 (AEST)","by mail-wr0-x23d.google.com with SMTP id v11sf10055281wri.13\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 03 Apr 2018 12:27:20 -0700 (PDT)","by 10.80.247.141 with SMTP id h13ls546034edn.2.gmail; Tue, 03 Apr\n\t2018 12:27:17 -0700 (PDT)","from mail-lf0-x236.google.com (mail-lf0-x236.google.com.\n\t[2a00:1450:4010:c07::236]) by gmr-mx.google.com with ESMTPS id\n\tf51si74684edf.4.2018.04.03.12.27.17 for <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 03 Apr 2018 12:27:17 -0700 (PDT)","by mail-lf0-x236.google.com with SMTP id q9-v6so2321172lfk.9\n\tfor <swupdate@googlegroups.com>; Tue, 03 Apr 2018 12:27:17 -0700 (PDT)","from ?IPv6:2a02:2168:1a3c:5f00:45fb:5f39:6933:949c?\n\t([2a02:2168:1a3c:5f00:45fb:5f39:6933:949c])\n\tby smtp.gmail.com with ESMTPSA id\n\t63-v6sm663054lfq.31.2018.04.03.12.27.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 03 Apr 2018 12:27:16 -0700 (PDT)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1522783638; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=sm0PXicAs9r3jPyLWZgUQJEnmR3Knxu+7oOXOUMDOWj64xaIBCL6ZFiS9DZJQj2MxV\n\tzgwT/aA289y2u21Mrw/V9QdLR8Yin1MZrpenvomicSjrD96AoLD59Dr9Efvb5NwHGpql\n\t2ZyurZVlBTO81pQ1GAD4rZXgTtj3vKcJ04n9t4I3bqkkpdPxjxIqD9DP8lyHwtuzFnXV\n\t0QgjrN7jdLNoKrE166W4zo/UFPVmXnpKvC+G88f/5ljBSAJWI7KC570n9WwIwruZS6J3\n\tcnHWn2e7rd03I0yOP36ljEUilYl4nvQrzZBQrBjIXM+Az9mlI1rcqkxj4uMVyJII/OgH\n\tNL1A==","i=1; a=rsa-sha256; t=1522783637; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=WRDHyDfRjr3ioz1bXOYntuiZP3uW3BRaEgYNCryZQS6PIZP9oTLzHryt2Nped277B0\n\tMyGkxHiU+2+aM7daXp8Cbg0gSDF9sH+AY6QMGZIpp/2Tcm+GGgw5R0KzEFmXynFJeZy4\n\t2BHUsiouaQtmgTz5WMzSqqbxAcrD7ceepJRPTK9dWpBwMsHJ4xtzVSy4JjsZAMdUI488\n\t1KlwTwactAcAbnByCi8PGJuH5zungEhcPIWn9VnH8vBFSc/q2bjYQ7XnKERDjdvubJO9\n\t9GmnGFgi93Xu7XnZG3DmzBOeydhqa8ARegh/uS9a/Wt8wqU6SMJqCHYJNeOc4rjeLrNd\n\tc/1Q=="],"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:to:references:message-id:cc:date\n\t:in-reply-to:from:subject:mime-version:arc-authentication-results\n\t:arc-message-signature:sender:dkim-signature:dkim-signature\n\t:arc-authentication-results;\n\tbh=nhkVqBUFbbPP41j9VFi1fPJAdDdHvxEM/hHQ9tYA+yI=;\n\tb=SnHZM4QQOqTHJv1Z1lM/XpPmHAbEDR4OMo6FvJHM342BKaHdNzf9S4o/vIgVLwjqph\n\tqI/lMVwyP1qKJz2tYmcSn7IYrO+K/XxgqNCORFRg8NmcPOrU3xpDPX7ULqLkmmubfw01\n\t2gN7FPzsI69k2XwM9ZjNE67NdbdoMNMibHxvyn5071mHkxb+jq07/ls6shHrN4YjIgJX\n\tQ2iglRyeQwllpzOrTC+j51qo9ku4nNtOeNZ2SRJdUwtip8FTmjbLnX64GRjUdCzgYwYW\n\tgVrSaPXtKCwsmuakiIhtefLSAHrMEkJPVNyp/nkYZzond8yfT9EdkHZnGGCF1zdqlvBy\n\t+XsQ==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=to:references:message-id:content-transfer-encoding:cc:date\n\t:in-reply-to:from:subject:mime-version:dkim-signature\n\t:arc-authentication-results;\n\tbh=eHwVdTiBwNSOgghsnDNKS/uaBfOThKdhbxPZUrNrjMU=;\n\tb=t1Xl6OgYjgdcwFw3C1Xejf54fqBe06MXxEOUYoIPr/V9eGw+4S7BQHoSlUlRpvJf3c\n\tmVYTN/6dvbBBmhZkLRGE71M+Nax47Tcm54NrFCgiDJUdnG5i0hk6f7GaV/UhEwYF7Hd8\n\ttlw9XCR8+FU63H+/hoFutxieavPA/+kImSODVoq4oYOlANPT2sUKSXd4duGvZ+YsN4JR\n\tqhRaiaTiHIIE60SjXOdXJ3YoSYvQbR1LNZCcK0olABLkJuvG4l2MxuBOlcXHCmApFMuW\n\tQph+FkYqrMm7fluQxYCVhGOdMEK//LkTz58dFeNPedSaXhnkXwrAST8e9xaK8lG0/Jw8\n\tE/sg=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=tospqXNN;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:4010:c07::236 as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=tospqXNN;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:4010:c07::236 as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE 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:subject:from:in-reply-to:date:cc:message-id\n\t:references:to: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=nhkVqBUFbbPP41j9VFi1fPJAdDdHvxEM/hHQ9tYA+yI=;\n\tb=aB2XDZsjsZ5QdHDIEBstqczjfGG4TRf6ZpXeUSxQ2NN5nz0dJjYAHvVLdSSMgRX28Y\n\tnw2eSRbuZL/DXVOVoblhKowTYuLVD77o2bpHSxCDinDdMsEnEMZ0POIhHIhhVeX4r15t\n\t/uw/AJ7BTLIgLLRefvdal9I0ObvnNZf5p2MajVcCWXZw2hQnP968yy/QulBfLX5moD0I\n\tHzAZCFDlEd+LDFAdWxph78dxLy5r/mLgNkVx/r2h+U3hRn4TDbAFtDLSJ6qG4yblbzW+\n\tmWyG7vZRu85VteFV7xO/A0ht9qbilTMM4xx1a78/ghi0YKyoaGbQkmHzWNOoXIzGF96r\n\tAirA==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=mime-version:subject:from:in-reply-to:date:cc:message-id:references\n\t:to: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=nhkVqBUFbbPP41j9VFi1fPJAdDdHvxEM/hHQ9tYA+yI=;\n\tb=WOhVM2KF9wff1GJGJ5kFl01QDbAVgsyVIkgQJHy7elAadfIH+enDXn90ezQLn2HhoI\n\to+HU9WB3hLdftNhIu31EVZSDu8pxnHVotx6wfh/cXfIImW0aNO8EYktCb9kBnFjrzDqO\n\tZq1bCl818j2EAHjJBsGp3/XOyiWQVJjDjt2FuE1/lTTC7WbyaZyiohKj7vPDZq/ZjXx4\n\tGLYXaej3HIglM3krtx2fJncEmNXKHvXROQFdG/FHt+9LO4O04sHecnFtlrxxfnhZ8BI5\n\tfFuDw2Sdxgs1mxP9kBLeY2mirtxJp6IPDVp5xIsPK8dN/SOcE55MQUBCoFhm8Hk4lkLb\n\tzkCA=="],"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:subject:from:in-reply-to\n\t:date:cc:message-id:references:to: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=nhkVqBUFbbPP41j9VFi1fPJAdDdHvxEM/hHQ9tYA+yI=;\n\tb=TPHhvn9wb3S/ObMWsvzcbqiyjdir0GltdKGYIiyejpygBLcNGqJ1UAG+2/+qF8Q0E2\n\tTuiVTcz23xupD4IcjMOhrSpr0WPIz40XNA4c7XhJVdMAgSNRKmHYm7LZ6kRLIXkOVd4i\n\tZPNl8woxBlvZXUK9ZuJu7GZexSwi8AF3nPRStaeAq2OZR1uqAaO4jgqWB6JLG7tXzUFQ\n\tJSSj7LrTn9iPLANfUUw4pA/XAaBBTMKycfKjjN8qBbcbka3KBJgf1GUayyF5a8gmSKwc\n\tmLIMT43SF8PaXuUbRWBZqRas+BuZpgO83CmWhnEobQiPnT0XLJIGv1KdteqOCRll2EEc\n\tT5lg==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AElRT7HzKygMBBhHYJx/l12yjYFFEWCuk3zjxkRNzPZZ8SfTT79kzhDX\n\ts38Q18tQGPyH6J0/UdoG7WI=","X-Google-Smtp-Source":"AIpwx4/zV0OiuVHLTc1mjQd2Q63xK46vfOz1rbhrc0BluLY+5bEwekXlPNuAlhLM4vlNQxUkASRd4w==","X-Received":["by 10.28.212.200 with SMTP id l191mr73986wmg.4.1522783638363;\n\tTue, 03 Apr 2018 12:27:18 -0700 (PDT)","by 10.80.230.15 with SMTP id y15mr3411438edm.0.1522783637748;\n\tTue, 03 Apr 2018 12:27:17 -0700 (PDT)","by 10.46.131.86 with SMTP id l22mr6839468ljh.82.1522783636970;\n\tTue, 03 Apr 2018 12:27:16 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:4010:c07::236 as permitted sender)\n\tclient-ip=2a00:1450:4010:c07::236; ","Content-Type":"text/plain; charset=\"UTF-8\"","Mime-Version":"1.0 (1.0)","Subject":"Re: [swupdate] Can not understand bootloader (grub) option","From":"Roman Kalashnikov <lunix0x@gmail.com>","X-Mailer":"iPhone Mail (15E216)","In-Reply-To":"<c4a6b8ef-0656-4cf5-94f4-02810292707b@googlegroups.com>","Date":"Tue, 3 Apr 2018 22:27:14 +0300","Cc":"swupdate <swupdate@googlegroups.com>","Message-Id":"<D8333CAD-1B29-4FC2-85A6-986DEE8E75D3@gmail.com>","References":"<2b909d5f-7a57-4d19-ab15-fab2792cdc69@googlegroups.com>\n\t<548d4778-95ae-ed0e-f49b-0bdf3f97fd35@denx.de>\n\t<CAJcrxCiR80hvKNc3VSZJsNn-W6SXxgSaHrQL4=ySP=ADbTcaJw@mail.gmail.com>\n\t<CAJcrxCjUWACY60SyLwS3Eg4zt906RAXtsUH0iEPCapJyqrYk=w@mail.gmail.com>\n\t<35dd9659-b9fb-b484-cae9-849c4b50335e@denx.de>\n\t<CAJcrxChHLTMGshK57DqkJQbrPsHZcuCokwpC+BA0t6kwGJ5pjw@mail.gmail.com>\n\t<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>\n\t<c4a6b8ef-0656-4cf5-94f4-02810292707b@googlegroups.com>","To":"md.jamalmohiuddin@gmail.com","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=tospqXNN; spf=pass\n\t(google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:4010:c07::236\n\tas permitted sender) smtp.mailfrom=lunix0x@gmail.com; dmarc=pass\n\t(p=NONE sp=QUARANTINE 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":1887798,"web_url":"http://patchwork.ozlabs.org/comment/1887798/","msgid":"<CAP8vtKJ-Q_rVuFafceBhFvqwqBaKAOSgQSchrOa=mJc0a1z6+w@mail.gmail.com>","list_archive_url":null,"date":"2018-04-04T00:48:09","subject":"Re: [swupdate] Can not understand bootloader (grub) option","submitter":{"id":65393,"url":"http://patchwork.ozlabs.org/api/people/65393/","name":"Jamal Mohammad","email":"md.jamalmohiuddin@gmail.com"},"content":"Thanks for your reply.\nWe have Apollo lake motherboard (Intel 64 bit)\n\nWe are planning to use swupdate for OS updates in our project.\n\nThe partition scheme is 20 MB EFI partition, 5% of swap partition and\nremaining is used by rootfs . this is done by initinstallefi.sh script\n\nWe need to have a single copy rescue system. I am able to generate initrd\nimage by running bitbake swupdate-image\n\nThe place where I am struck is how to modify the script to copy the initrd\ninto a new partition and where to modify in GRUB for switching between them\n\nThanks for your time as there is almost no information on this online.\n  I can provide you more information if you need\n\nOn Wed, Apr 4, 2018, 12:57 AM Roman Kalashnikov <lunix0x@gmail.com> wrote:\n\n> For now I do not use grub.\n> I can help you if you will share at least partition scheme and more\n> information about your environment.\n>\n> Best regards,\n> Kalashnikov Roman.\n>\n> > On 3 Apr 2018, at 12:41, md.jamalmohiuddin@gmail.com wrote:\n> >\n> > Hi Roman,\n> >\n> > I was able to successfully build (ext4.gz), I want to implement\n> single-copy approach.. How did you add a new partition in this. I mean what\n> files did you modify..\n> >\n> >\n> >> On Wednesday, 16 August 2017 15:19:44 UTC+5:30, Roman Kalashnikov\n> wrote:\n> >> Hi!\n> >>\n> >> I'm not sure for correct way to upload patches by using github\n> pull-request, so i just post git-diff here:\n> >>\n> >> ```\n> >>\n> >> diff --git a/doc/source/sw-description.rst\n> b/doc/source/sw-description.rst\n> >> index b4e8d75..4a798ee 100644\n> >> --- a/doc/source/sw-description.rst\n> >> +++ b/doc/source/sw-description.rst\n> >> @@ -548,26 +548,6 @@ 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> >> My sw-description posted here https://pastebin.com/9YyTsDDB.\n> >>\n> >>\n> >> For \"GRUB supporting\" i had to reconfigure it while zero-provision\n> stage (before using swupdate):\n> >> 1. grub-install --boot-directory=/boot --bootloader-id=ubuntu\n> --target=x86_64-efi --efi-directory=/boot/efi --recheck --debug /dev/sda\n> >> 2. grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg\n> >> 3. grub-editenv /boot/efi/EFI/ubuntu/grubenv create\n> >> It creates grub.cfg by the \"right way\". It is resason i don't post\n> grub.cfg here - it creates automactiacally.\n> >>\n> >>\n> >> Then i build swupdate with GRUB params in .config:\n> >> CONFIG_GRUBENV_PATH=\"/boot/efi/EFI/ubuntu/grubenv\"\n> >>\n> >> CONFIG_BOOTLOADER_GRUB=y\n> >>\n> >>\n> >> Now i can use swupdate traditionaly.\n> >>\n> >>\n> >> Best regards, Roman.\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/OhMBA7AcoTk/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+bncBDNNTAMA2UORBVGBSDLAKGQEWFXSM2A@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:c0b::23e;\n\thelo=mail-it0-x23e.google.com;\n\tenvelope-from=swupdate+bncbdnntama2uorbvgbsdlakgqewfxsm2a@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdmarc=pass (p=none dis=none) header.from=gmail.com","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"WvshPb8c\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"sOp5t/S3\"; dkim-atps=neutral"],"Received":["from mail-it0-x23e.google.com (mail-it0-x23e.google.com\n\t[IPv6:2607:f8b0:4001:c0b::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 40G6lD24c4z9s0p\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Apr 2018 10:48:23 +1000 (AEST)","by mail-it0-x23e.google.com with SMTP id 137-v6sf17008917itj.2\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 03 Apr 2018 17:48:23 -0700 (PDT)","by 10.98.185.2 with SMTP id z2ls320644pfe.6.gmail; Tue, 03 Apr 2018\n\t17:48:20 -0700 (PDT)","from mail-pl0-x229.google.com (mail-pl0-x229.google.com.\n\t[2607:f8b0:400e:c01::229]) by gmr-mx.google.com with ESMTPS id\n\tm12-v6si142204pls.0.2018.04.03.17.48.20\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 03 Apr 2018 17:48:20 -0700 (PDT)","by mail-pl0-x229.google.com with SMTP id bj1-v6so9118885plb.8\n\tfor <swupdate@googlegroups.com>; Tue, 03 Apr 2018 17:48:20 -0700 (PDT)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1522802901; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=CWTbdFnia2QR2iXvKRFBJx7QTM2HJEAp5a0Kd3va3HFFBe9G8lQrsd/KGmr1cl5KPX\n\tsc/5Wj6hwbObH/LZZsYgzQf6vslaclplWycMrYHaeRA0ZX/9Bwg31GceAvDtWS38L+1h\n\t0wjfMx+JEp2CFLMyH82UmmtlLKALiIMEKMzwqw8CxbSP8eTFN0R+2nI3k8XhlRshEHYT\n\tZ3m+Pz5Hd1Wfs+0BGtztPeCcor+oagZy2WpKyLUJbBaQ4aW88CHep3Vh6d99wOZfGbn7\n\tyYuYr3e6q6vtwf0Z0HXvSUKOl8Sm5njnqBpOBqL3JpGJPOfdV2EtP42xknQARE/MxfsL\n\tTKSw==","i=1; a=rsa-sha256; t=1522802900; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=s/FxX/bAttcCIv5GvfmOjHdVHH6D+r4J4COlhjfwkN8IsR190bgnHt8jBvx+fd07zp\n\t/5TNEi17YxigmgmxjSZEHw6+zM2vAkgB/R/EIXSEEpZSkn/VW3jhAo0+dUVSZ3oySefx\n\tjjHWDxHUyyeunF7mwqwhBXzM3gq8WhHDYCots7VGwAjV0XYyC23cblTNkEdZLoT8JS9H\n\tqD9rdfr2EZbRRA12dB8t8T3jZHaBN3yPGqtv/jUTuPj89TfwTKQs7KjmuzUxvF7qOcRt\n\tK6kTXDBXIr77POEF2lySH6lS61R7WUZZrjK3BV+HbK3xhsv5+3kgr6gGNufiwbTbnsdb\n\tPhzg=="],"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=/pO6Ep1oxulcKMSd3Sds2dV8hX+T+Sws/pCLF11yyCU=;\n\tb=FHmmKXWOmCGXfGxFRFC7LEvW4cSMwPEENiI7GAXYYDPGSUd2R/QBlmsJ4Ou2PXce+o\n\t7kF4EiMYrNg6cuX+0z6v0uI8uNuRgVqX4B+JTjgvd8PCW6NPkKLgGFtwHlW1FY2HaEns\n\tPePGe7Nwhe1SGQVNdaDTUEuNQw4rJXXkUaTNR3fEumCpiBbWm7ExQmRA8jHQYq3e+p9E\n\t6GNlCvx+gldK6aI6C1S8AEiwKU0Nfo96iZFNEUw9/mCSrQz0N8TDgCrvoAixWktKAhwK\n\tiTnb2TqSLgVnJMKEW2V87zDNtWiPAYC8kb/2U4sbOcd1KhYQPltIgA926WeubACdClmm\n\t8cbA==","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=ZWnMBlt5SC3lSpmDLPsK3jbGnzd+4Tbsbsm65pcLQt8=;\n\tb=zaUBc7+6dp2FkzH47ispuqnMrRGxmMd/6/L6wj/XtBR+Jxyk6vP0BJ8OjrTgtLolaD\n\t4LjNdAfFxPh1qSejCVBxpa/NNKjGetrYqL0cVq9RKqYguFm7S6/Ba3dVUcIO3K/dO36C\n\tM5M0Q7FdiFLRuvNrF4Ah2YwXPnqIbehyCrHdGQQQ0jtaFmmJ99xLVrwr3GiNyz0pASyl\n\tnw3DCCFg7e6wvG+CMR65rSxzaJhyrcCzFYKuywZ3eoyCFqb8gRK49nXw16aoATEUhzUJ\n\tDqDgdUuxVlYjy6LjfMDMeWmwdbZMsWf9+J1hc4uQh+SfBviCeP07S1BENDprVjQPfLIt\n\tUFjA=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=RWkdSY3N;\n\tspf=pass (google.com: domain of md.jamalmohiuddin@gmail.com\n\tdesignates 2607:f8b0:400e:c01::229 as permitted sender)\n\tsmtp.mailfrom=md.jamalmohiuddin@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=RWkdSY3N;\n\tspf=pass (google.com: domain of md.jamalmohiuddin@gmail.com\n\tdesignates 2607:f8b0:400e:c01::229 as permitted sender)\n\tsmtp.mailfrom=md.jamalmohiuddin@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE 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=/pO6Ep1oxulcKMSd3Sds2dV8hX+T+Sws/pCLF11yyCU=;\n\tb=WvshPb8cSIjeiRHBIbgrQBsQPfPjRBHq/54DKw0ANj5AFqITNu24xhSpr3Y36/pGH3\n\tYUgUi1lfWZRuaYzydl1G2yVpwD+BUJRz3dsj0rHhWYqwk3/Zbj0kLZX6uP6VwnPDQBPb\n\tJB+xGMOGEXV/Of5qswMzW9Ok5SyItJHHQHUsSCwKMCbhsImBb8ufe5ql1zcJJqoLsl1q\n\t6qpylWQ6dikVoPSSbjTSXZU5d9Z7WOBbTnx9bO7k9KaDNHFaNHFxYHWdthqJQGhfKsPl\n\twcFoNn8M3YSMPt4X5QPY/S9wtCTRASpwe5TWepgyA3d1h2eQxpu/Kn6M1goRTFiHIJsZ\n\tvxCA==","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=/pO6Ep1oxulcKMSd3Sds2dV8hX+T+Sws/pCLF11yyCU=;\n\tb=sOp5t/S32qd57GT61jUTCvZzDFE7YckeUajMCgt/pMsbrnebmdipXZULPk07REOmmX\n\tRHiJ9pN4Ap6VZ+WvBqbu8QzcdSSRFK7ShYE4dU+H2B1/18JJxTKEeP5yMNUl8gl/sQI6\n\tmjQAaHhJ+QY+LTtYbVdcWf9mds028cz3qhpsAGAhZQtD0gW1JQX/R9fkxj1AMJoNffKt\n\tPhr0xLbk4gCRz6tvsxx1zG0gyOsJczwQgr+Uty9eiA5I71CE0Vtmf3rHPkz3tTpJbF50\n\tWkKE0Rtpbo4t+akUUPEezfMNRzdu87inkDaFWYJenYThDo0HngWW8EPL8R7T9dgZuLvI\n\tjImg=="],"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=/pO6Ep1oxulcKMSd3Sds2dV8hX+T+Sws/pCLF11yyCU=;\n\tb=IcMCuroJHPH97iY4zfRHTGiGJn9/582G6Qmrt2NaTVr51fl8PsjBHiv+IhdCwT7ce/\n\tA/DGZ/OoOcpz1GlzhmWtrTCRijmNmXvsRBdc8sQJ8to+MIWkgqnomdknc2Zr1jQcgYvj\n\t9joOxCi+g9dCzbP9qLj/jhGVdTi6vB9Yy8IcXtL+J5AtdO/QE94qUsbXRuOThyiinC3w\n\tGGeqCNNlw253fizVh5E1p2X62a3aUnAHKkY6nKe/ZQxkBPFUns4c9f2q0PqhiE4BBB5V\n\tqe4w9arfwrjK7r7bgUD7IJNbcditc++ohqzyUirU+HCAnJ2WFm4dTxreqlxvyklbq4dY\n\tqkNA==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AElRT7Ech3t+byLcEb5YjnOOJQCAHMRpvIrWKPa9ZFALvFY2x4fBOfVv\n\tVSiE5sQf9y5wl8Zut3Gkpfc=","X-Google-Smtp-Source":"AIpwx4/1W2U0cQRFhkZiyDxCec8OlRr4obs8nlORBxPg6vtYmB3mDpL4O9ilAZ/7QXM4HUZuWQpuFA==","X-Received":["by 2002:a24:5c11:: with SMTP id\n\tq17-v6mr113413itb.5.1522802901204; \n\tTue, 03 Apr 2018 17:48:21 -0700 (PDT)","by 10.99.124.80 with SMTP id l16mr3300645pgn.178.1522802900529; \n\tTue, 03 Apr 2018 17:48:20 -0700 (PDT)","by 10.98.234.6 with SMTP id t6mr11014971pfh.38.1522802900087;\n\tTue, 03 Apr 2018 17:48:20 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of md.jamalmohiuddin@gmail.com\n\tdesignates 2607:f8b0:400e:c01::229 as permitted sender)\n\tclient-ip=2607:f8b0:400e:c01::229; ","MIME-Version":"1.0","References":"<2b909d5f-7a57-4d19-ab15-fab2792cdc69@googlegroups.com>\n\t<548d4778-95ae-ed0e-f49b-0bdf3f97fd35@denx.de>\n\t<CAJcrxCiR80hvKNc3VSZJsNn-W6SXxgSaHrQL4=ySP=ADbTcaJw@mail.gmail.com>\n\t<CAJcrxCjUWACY60SyLwS3Eg4zt906RAXtsUH0iEPCapJyqrYk=w@mail.gmail.com>\n\t<35dd9659-b9fb-b484-cae9-849c4b50335e@denx.de>\n\t<CAJcrxChHLTMGshK57DqkJQbrPsHZcuCokwpC+BA0t6kwGJ5pjw@mail.gmail.com>\n\t<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>\n\t<c4a6b8ef-0656-4cf5-94f4-02810292707b@googlegroups.com>\n\t<D8333CAD-1B29-4FC2-85A6-986DEE8E75D3@gmail.com>","In-Reply-To":"<D8333CAD-1B29-4FC2-85A6-986DEE8E75D3@gmail.com>","From":"Jamal Mohammad <md.jamalmohiuddin@gmail.com>","Date":"Wed, 04 Apr 2018 00:48:09 +0000","Message-ID":"<CAP8vtKJ-Q_rVuFafceBhFvqwqBaKAOSgQSchrOa=mJc0a1z6+w@mail.gmail.com>","Subject":"Re: [swupdate] Can not understand bootloader (grub) option","To":"Roman Kalashnikov <lunix0x@gmail.com>","Cc":"swupdate <swupdate@googlegroups.com>","Content-Type":"multipart/alternative; boundary=\"f4030438a214ec39db0568fb2da4\"","X-Original-Sender":"md.jamalmohiuddin@gmail.com","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n\theader.i=@gmail.com header.s=20161025 header.b=RWkdSY3N; spf=pass\n\t(google.com: domain of md.jamalmohiuddin@gmail.com designates\n\t2607:f8b0:400e:c01::229 as permitted sender)\n\tsmtp.mailfrom=md.jamalmohiuddin@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE 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":1888378,"web_url":"http://patchwork.ozlabs.org/comment/1888378/","msgid":"<3225635D-7DCA-4F49-9CC1-703F50CB3536@gmail.com>","list_archive_url":null,"date":"2018-04-04T19:01:43","subject":"Re: [swupdate] Can not understand bootloader (grub) option","submitter":{"id":72171,"url":"http://patchwork.ozlabs.org/api/people/72171/","name":"Roman Kalashnikov","email":"lunix0x@gmail.com"},"content":"Unfortunately I did not used yocto project and did not used copy for updates (I use full partition update). But in common we have similar systems (also Apollo lake).\n\n1. You can copy any files using swupdate, just look at the doc https://sbabic.github.io/swupdate/sw-description.html#files. You should add similar block into your sw-update, but destination should be mounted before updating.\n2. Then you can do 2 different things:\n2.1 Prepare grub.cfg with boot options for each initrd. In simple way\n2.1.1 just keep initrd in different static directories/partitions\n2.1.2 update each time another using ‘files’ mechanism\n2.1.3 switch default in grub between initrd using grub env param ‘default’, you can see how to here https://sbabic.github.io/swupdate/sw-description.html#bootloader or in this thread\n2.2 Similar with 2.1, but update grub.cfg dynamically after each update.\n\nDo you use one kernel or/and rootfs (without it) and update just initrd?\nYou can keep kernel on EFI partition or in another special partition.\n\n> On 4 Apr 2018, at 03:48, Jamal Mohammad <md.jamalmohiuddin@gmail.com> wrote:\n> \n> Thanks for your reply.\n> We have Apollo lake motherboard (Intel 64 bit)\n> \n> We are planning to use swupdate for OS updates in our project.\n> \n> The partition scheme is 20 MB EFI partition, 5% of swap partition and remaining is used by rootfs . this is done by initinstallefi.sh script\n> \n> We need to have a single copy rescue system. I am able to generate initrd image by running bitbake swupdate-image\n> \n> The place where I am struck is how to modify the script to copy the initrd into a new partition and where to modify in GRUB for switching between them\n> \n> Thanks for your time as there is almost no information on this online.\n>   I can provide you more information if you need\n> \n>> On Wed, Apr 4, 2018, 12:57 AM Roman Kalashnikov <lunix0x@gmail.com> wrote:\n>> For now I do not use grub.\n>> I can help you if you will share at least partition scheme and more information about your environment.\n>> \n>> Best regards,\n>> Kalashnikov Roman.\n>> \n>> > On 3 Apr 2018, at 12:41, md.jamalmohiuddin@gmail.com wrote:\n>> >\n>> > Hi Roman,\n>> >\n>> > I was able to successfully build (ext4.gz), I want to implement single-copy approach.. How did you add a new partition in this. I mean what files did you modify..\n>> >\n>> >\n>> >> On Wednesday, 16 August 2017 15:19:44 UTC+5:30, Roman Kalashnikov  wrote:\n>> >> Hi!\n>> >>\n>> >> I'm not sure for correct way to upload patches by using github pull-request, so i just post git-diff here:\n>> >>\n>> >> ```\n>> >>\n>> >> diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst\n>> >> index b4e8d75..4a798ee 100644\n>> >> --- a/doc/source/sw-description.rst\n>> >> +++ b/doc/source/sw-description.rst\n>> >> @@ -548,26 +548,6 @@ 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>> >> My sw-description posted here https://pastebin.com/9YyTsDDB.\n>> >>\n>> >>\n>> >> For \"GRUB supporting\" i had to reconfigure it while zero-provision stage (before using swupdate):\n>> >> 1. grub-install --boot-directory=/boot --bootloader-id=ubuntu --target=x86_64-efi --efi-directory=/boot/efi --recheck --debug /dev/sda\n>> >> 2. grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg\n>> >> 3. grub-editenv /boot/efi/EFI/ubuntu/grubenv create\n>> >> It creates grub.cfg by the \"right way\". It is resason i don't post grub.cfg here - it creates automactiacally.\n>> >>\n>> >>\n>> >> Then i build swupdate with GRUB params in .config:\n>> >> CONFIG_GRUBENV_PATH=\"/boot/efi/EFI/ubuntu/grubenv\"\n>> >>\n>> >> CONFIG_BOOTLOADER_GRUB=y\n>> >>\n>> >>\n>> >> Now i can use swupdate traditionaly.\n>> >>\n>> >>\n>> >> Best regards, Roman.\n>> >\n>> > --\n>> > You received this message because you are subscribed to a topic in the Google Groups \"swupdate\" group.\n>> > To unsubscribe from this topic, visit https://groups.google.com/d/topic/swupdate/OhMBA7AcoTk/unsubscribe.\n>> > To unsubscribe from this group and all its topics, send an email to 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.","headers":{"Return-Path":"<swupdate+bncBD7IVPND34MBBGWCSTLAKGQEJCYM7LI@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::239;\n\thelo=mail-wr0-x239.google.com;\n\tenvelope-from=swupdate+bncbd7ivpnd34mbbgwcstlakgqejcym7li@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdmarc=pass (p=none dis=none) header.from=gmail.com","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"iXnhNf1M\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"HlSGU/TJ\"; dkim-atps=neutral"],"Received":["from mail-wr0-x239.google.com (mail-wr0-x239.google.com\n\t[IPv6:2a00:1450:400c:c0c::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 40Gb0v1l0dz9s0t\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  5 Apr 2018 05:01:49 +1000 (AEST)","by mail-wr0-x239.google.com with SMTP id c1sf11765391wri.22\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 04 Apr 2018 12:01:49 -0700 (PDT)","by 10.80.164.194 with SMTP id x2ls1784380edb.1.gmail; Wed, 04 Apr\n\t2018 12:01:46 -0700 (PDT)","from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com.\n\t[2a00:1450:400c:c0c::22b]) by gmr-mx.google.com with ESMTPS id\n\tt11si119376edc.1.2018.04.04.12.01.46\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 04 Apr 2018 12:01:46 -0700 (PDT)","by mail-wr0-x22b.google.com with SMTP id d17so9022617wre.1\n\tfor <swupdate@googlegroups.com>; Wed, 04 Apr 2018 12:01:46 -0700 (PDT)","from ?IPv6:2a02:2168:1a3c:5f00:85d4:3cd0:24c5:5c5a?\n\t([2a02:2168:1a3c:5f00:85d4:3cd0:24c5:5c5a])\n\tby smtp.gmail.com with ESMTPSA id\n\tx62-v6sm1123808lfd.82.2018.04.04.12.01.44\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 04 Apr 2018 12:01:44 -0700 (PDT)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1522868507; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=wCFBusife5I8znY2nB59IEtcAowqegOdwBKszJXhRYdpdUA+gCtO8Qtzf0Dog1BRaQ\n\t2kqQ1T52coh7y1DDnAjgD/yE2U4eDZlggUXY9yNEN8sR1SDksasKflfY7zhaqVi0NUgw\n\t4tffUnI6ezP+x8NWrExtD8b4ki351IkQ1QzpxhGvBT0nKXXhEndLpEdkC0hB/w7pL6px\n\ti1h2t4iAO88Ddzi+5xsmpn1AkHiKJaXCdf0hIJXtS2ShEPWPhBIqHqu/Yfj8If5/7RzR\n\t7rZEFppbF5Z57CtJA2vdmkz/5tSvrkjyzC+tT/NF3cB6rpyrzI/DqyXEaiIBNJDugo8H\n\tQUSw==","i=1; a=rsa-sha256; t=1522868506; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=q+W3GJiODpuTL2f3BJ5/qITWtV2HcIJ0kgpcQD16rgwqcUdcpISPyTIMioHa/y45EJ\n\tnTdqILcAZ20dW/xhdJ4NC0VKzbFpJXJXFwFwGW27T4pWKk9BqS51oKBsc8NObGCwNGEM\n\tBsrauI0/6XbKiQE0m39jPVwpCCiq7qxjttjlc3Kc1WBr+JTpDzU2nABeBpaatEXOchp5\n\t2e4Z1RAD4ljTE2mvPV9blSry0IbNP7nyj84GFsvmbibf+cg54AV2UgycvwMyjcOnlYjX\n\tAePPlQbgd6+JUSgr8AVUgN9AexRJnENvD2jz8+BrjweaeFSSaXu93y0yK11zof9rZx8H\n\twViQ=="],"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:to:references:message-id\n\t:content-transfer-encoding:cc:date:in-reply-to:from:subject\n\t:mime-version:arc-authentication-results:arc-message-signature\n\t:sender:dkim-signature:dkim-signature:arc-authentication-results;\n\tbh=zmDxAU4tkNfGjmna/32+PwE+A8+6C/Bdp8/vvNlTq5Y=;\n\tb=nE3as1kbmb27RHkADkt0zETHDDOENaCcVyFiQU4FYGb3dfagAVd8gG5gdbRxBAjIzb\n\tuOWDz9n8c+L3MBMKsFn/SQvWAIy6JKWaXNt5KKaMilixv37/wbxyA6dLYdFpWLQUsrdk\n\tFEyY5tFYsDKl+9MEWDay35IPqyfAoEBL64arNlSiVfyvuIqcY1mDYgOUPlP5Jn1JPEwF\n\tGC7BdAE4OhVkTNTHM4CMD+oRRleSVZtpWcqzq7TRGG5QTeKmKbBT/6lOGCOpN9gfzjjU\n\tGiK3YUQ/nbBh+szlfPuhHA4VArxLSbUs0aM41DjgF/b3DlNarVWqj+dmWlsCr0cveuFT\n\tpThw==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=to:references:message-id:content-transfer-encoding:cc:date\n\t:in-reply-to:from:subject:mime-version:dkim-signature\n\t:arc-authentication-results;\n\tbh=TWPQcI8TXgfuXv+MrZN2blnN3qv/xX76Zb63EQM16m4=;\n\tb=YZF/o9n8eiVC6rEkYR9fLSJF7+Ly9Nx+VKK/UTTcf7Y8IygzNbZooLjLCkWqTWKMbr\n\t2smFW6LlHXLaay069UfcPBrFcPcvSijKw2tE7W8nQyGf7TwrJqAmtQoo945mjbZu8u4c\n\t7ReReh3Lg7oyZwHGmWi/AVyWWVbStmhp3lfvuHRwfknFOR1rXlSLGx5bYPxqPe8jvRDT\n\tZUGJ0RmgYOdodbLCjaA1KhTPYkCTbvs1vXfeekOf30sq/RsGH7zIRIFLQDjpjusbXy/G\n\tKBbVLuHXhNVyHBsLWy2PLMIw621N3tF9PlbTJfoC4JUEFQCAXkkq6ijM31SJ6Ui5w0jj\n\tVeoA=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=ps6O3q4D;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::22b as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com","i=1; gmr-mx.google.com;\n\tdkim=pass header.i=@gmail.com header.s=20161025 header.b=ps6O3q4D;\n\tspf=pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::22b as permitted sender)\n\tsmtp.mailfrom=lunix0x@gmail.com; \n\tdmarc=pass (p=NONE sp=QUARANTINE 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:subject:from:in-reply-to:date:cc\n\t:content-transfer-encoding:message-id:references:to\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=zmDxAU4tkNfGjmna/32+PwE+A8+6C/Bdp8/vvNlTq5Y=;\n\tb=iXnhNf1McUH22BhdeG+7n0CQbXWHg5akgmku3pCF+DPgPdwuZ8TliLnCwKJ61UiAB+\n\td2tM4r8fiu04JVOUVgafpvn8qlRBA5X8mSVCKgBpbctxl8bkaLtQZHM5cqr5be7GCqA0\n\tSOcg2yeOk2sfBQrlZP9qo6mQfNNXwcezs/UhHLoGkhIoHTv2JWUF9t5PCLgI72traNX3\n\tlihpRUPd1EnIUNPc3TIt6KayYjjX4pgMvNk/hnJUiFocB1Wyx/AedeAK4BW8m7nOHbfx\n\tXBiQYc2rXYP0ZqQO44AL0w2or2Hf39fhAAHSxDq7G6lFK7SAIajdBOw6ty6df34bYUJ+\n\tufMg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=mime-version:subject:from:in-reply-to:date:cc\n\t:content-transfer-encoding:message-id:references:to\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=zmDxAU4tkNfGjmna/32+PwE+A8+6C/Bdp8/vvNlTq5Y=;\n\tb=HlSGU/TJsBO4FznmMR2MvAdQSpMIcVtmq3HJH49XQwZOxsR+GTay622W6+ZyPNfQWJ\n\t8+yBUQU2kaIjJwSkytRhIVtQhnB88CaDt3k3rTOW+7wswUxlWSM3t8gNoNOxF0CceKbK\n\tE0lt9JumQcsQ51lDxsbJp0Txb6j/BP5ICDbOmOZnhoCuy0aYl6jzQWIaxRYtpfX97naV\n\tMY4KIuj8WDdBthrzKfSOjxHK5PhSzJNZXbh4896OpLUvjZvFEM5E6mkfLsJtShQrsiKf\n\tKRbsVmD77YhQ3/xSoCOX4JfHSqOD3/YmTMw/37UwQOR6/O20u3XgNdjY3ggA5RLKa+7e\n\txhtQ=="],"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:subject:from:in-reply-to\n\t:date:cc:content-transfer-encoding:message-id:references:to\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=zmDxAU4tkNfGjmna/32+PwE+A8+6C/Bdp8/vvNlTq5Y=;\n\tb=cevGIx8Qc8BSfPJTSgcDz/TnP6T5JposZ7Tn+TEA/ObdlPVNdb4MK07Ta6F1Z0MoOi\n\tqQxQwSXUYLiFr7vv9hlsGC5KO0RZlQ2IKkFuMlwcKd51wJUDa9ErrQ0KV2VnJs90W37b\n\tNueI2Hr7eovyIxo1mEh7jL8RH2pq88NDjJnZqofhCkN8nsCX7cMmW4gNhJaPR1CoPsMq\n\tBR2n0IORzmBS/t55StJjdEcDoZgGXfADvBH/17ul0szaSdeIxoyFlasBCPRIJgJLpH0B\n\tHherh+a8CSkUaN8MymgJ/xHeeISeeYfqfNF1XyfkHKqI05jcr67jFOLc1UElpswYVmnM\n\txoig==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AElRT7GqtsptVm0RcXQOQw5YAGGZfsw8Ov9QM9dnC/hTA1wc3S5pF1A5\n\t67A0iyZsbol7mpW/U8RtTFc=","X-Google-Smtp-Source":"AIpwx4+uK6C4B2Le168d9E5jXsEgHUWUBHZGnhfwp/cvgx5GuYKrnvOy59mJjvKFELxA2HcbtTKnMg==","X-Received":["by 10.28.74.71 with SMTP id x68mr118201wma.0.1522868507129;\n\tWed, 04 Apr 2018 12:01:47 -0700 (PDT)","by 10.80.165.8 with SMTP id y8mr43877edb.11.1522868506404;\n\tWed, 04 Apr 2018 12:01:46 -0700 (PDT)","by 2002:a19:d085:: with SMTP id\n\th127-v6mr11538613lfg.29.1522868505136; \n\tWed, 04 Apr 2018 12:01:45 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"pass (google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::22b as permitted sender)\n\tclient-ip=2a00:1450:400c:c0c::22b; ","Content-Type":"multipart/alternative;\n\tboundary=Apple-Mail-AD54F46D-8D41-4FBB-86C4-84E9BBF87003","Mime-Version":"1.0 (1.0)","Subject":"Re: [swupdate] Can not understand bootloader (grub) option","From":"Roman Kalashnikov <lunix0x@gmail.com>","X-Mailer":"iPhone Mail (15E216)","In-Reply-To":"<CAP8vtKJ-Q_rVuFafceBhFvqwqBaKAOSgQSchrOa=mJc0a1z6+w@mail.gmail.com>","Date":"Wed, 4 Apr 2018 22:01:43 +0300","Cc":"swupdate <swupdate@googlegroups.com>","Content-Transfer-Encoding":"7bit","Message-Id":"<3225635D-7DCA-4F49-9CC1-703F50CB3536@gmail.com>","References":"<2b909d5f-7a57-4d19-ab15-fab2792cdc69@googlegroups.com>\n\t<548d4778-95ae-ed0e-f49b-0bdf3f97fd35@denx.de>\n\t<CAJcrxCiR80hvKNc3VSZJsNn-W6SXxgSaHrQL4=ySP=ADbTcaJw@mail.gmail.com>\n\t<CAJcrxCjUWACY60SyLwS3Eg4zt906RAXtsUH0iEPCapJyqrYk=w@mail.gmail.com>\n\t<35dd9659-b9fb-b484-cae9-849c4b50335e@denx.de>\n\t<CAJcrxChHLTMGshK57DqkJQbrPsHZcuCokwpC+BA0t6kwGJ5pjw@mail.gmail.com>\n\t<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>\n\t<c4a6b8ef-0656-4cf5-94f4-02810292707b@googlegroups.com>\n\t<D8333CAD-1B29-4FC2-85A6-986DEE8E75D3@gmail.com>\n\t<CAP8vtKJ-Q_rVuFafceBhFvqwqBaKAOSgQSchrOa=mJc0a1z6+w@mail.gmail.com>","To":"Jamal Mohammad <md.jamalmohiuddin@gmail.com>","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=ps6O3q4D; spf=pass\n\t(google.com: domain of lunix0x@gmail.com designates\n\t2a00:1450:400c:c0c::22b\n\tas permitted sender) smtp.mailfrom=lunix0x@gmail.com; dmarc=pass\n\t(p=NONE sp=QUARANTINE 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>"}}]