{"id":801972,"url":"http://patchwork.ozlabs.org/api/1.2/patches/801972/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/patch/19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com/","project":{"id":58,"url":"http://patchwork.ozlabs.org/api/1.2/projects/58/?format=json","name":"swupdate development","link_name":"swupdate","list_id":"swupdate.googlegroups.com","list_email":"swupdate@googlegroups.com","web_url":"https://github.com/sbabic/swupdate","scm_url":"git://github.com/sbabic/swupdate","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>","list_archive_url":null,"date":"2017-08-16T09:49:44","name":"Can not understand bootloader (grub) option","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"8fd03adfc0d577d0b4ca3481373af5244af102be","submitter":{"id":72171,"url":"http://patchwork.ozlabs.org/api/1.2/people/72171/?format=json","name":"Roman Kalashnikov","email":"lunix0x@gmail.com"},"delegate":{"id":1693,"url":"http://patchwork.ozlabs.org/api/1.2/users/1693/?format=json","username":"sbabic","first_name":"Stefano","last_name":"Babic","email":"sbabic@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/swupdate/patch/19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/801972/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/801972/checks/","tags":{},"related":[],"headers":{"Return-Path":"<swupdate+bncBD7IVPND34MBBONK2DGAKGQERNK272Y@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:400e:c00::240;\n\thelo=mail-pf0-x240.google.com;\n\tenvelope-from=swupdate+bncbd7ivpnd34mbbonk2dgakgqernk272y@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=\"mXVXhTqW\"; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"AJRMktsd\"; dkim-atps=neutral"],"Received":["from mail-pf0-x240.google.com (mail-pf0-x240.google.com\n\t[IPv6:2607:f8b0:400e:c00::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 3xXPhX29Flz9t4Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Aug 2017 19:49:47 +1000 (AEST)","by mail-pf0-x240.google.com with SMTP id y19sf511276pfi.1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Aug 2017 02:49:47 -0700 (PDT)","by 10.107.8.136 with SMTP id h8ls809591ioi.20.gmail; Wed, 16 Aug\n\t2017 02:49:45 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:date:from:to:cc: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=S9zCe1ynOu5BBy3cm47gu8aUEGpMLhL45GGzHQCjRkM=;\n\tb=mXVXhTqWWZT3X3W1bYHFokROqZXBVgsbGbB76/HNR6XQCzscNWqKWVRl0eosxHYaLR\n\t9N+22vGZmh9fXImwmNltu2H7gD2zBV0RQf1eIm8O0A/HqIX+Qqk4jx9ADQKyBJgE2klW\n\ti0TzTg6z+NC3J/LVklDe1UZvCj5N9dMU0BdKzBceVipjs3+UPy8+7n9Gp1DRet40wYFa\n\tf2VR2QT66H3qv9CR0wkwh+tYwpTfDu41UYIDwKHom9FtC5aiyIsawOCcol38NfxhI38X\n\t2DuEYZsnbFG11TzflB5VA4UEfnc+SbOTfUivOP0TygGPn1UFISF50unMx9luJ7KYU91s\n\twSrQ==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=date:from:to:cc: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=S9zCe1ynOu5BBy3cm47gu8aUEGpMLhL45GGzHQCjRkM=;\n\tb=AJRMktsdj//gsrVDhe/1zqAg5W8XUB1CW1JfDoLP7vNKXCMaoX3gdyqnej0nDsdLQU\n\tqsvmNOaIOLY1KoTR/E+lkwUJwrlAcRa5XYZv+2i7zalIok5qOkhi7y8mg8OZi082Bf0M\n\tsRtXW83LGiGGyrhlBHMo//W/CfxUCjNJFczuhqIHqbUmqIKzZyN/C9PQSYShVDOD2t48\n\tg7w5+FfJbWNjoqgK7JRxp8uB60KuWn+SpeDPEJh/aEL7gGQppsd+9PH3vPCHmHHbcXn5\n\tbT4b8lg0bWwAnlRTqRi5sAt9KTFsGPENaH+mrhM/uWi2feGFI5m0FS/HNkroG6p5Zz18\n\tkJoQ=="],"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:cc: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=S9zCe1ynOu5BBy3cm47gu8aUEGpMLhL45GGzHQCjRkM=;\n\tb=PH3yGyrM28Gg9lzd+Bo+fRRSH9swq5Is/8robEJHmfHXc05zUFfqlfWFHJbOR/VLOg\n\tGz0e39/O4QJCgMzjCylDK6QTw+YnpnxvEj7OOBdhvXMS62AxXpVCM2frTS2bag927Qeu\n\t2tNddzZb3wzrQPExaoPfhLm0UWhmUqiieFUjvbWNkasL7ro84ouYFG840S7bzY0lmT8h\n\tcDyPr40pIV7Y3XjkVeQOtS/Qs2PgAHRUgJbW4OOuIqUhS07GHqWyXGu52ZyBLpTKyHcZ\n\tZq6IgMpMAtgAz1MWkhuwRJfrBU+4NxPxoNtkBVjAiewVNfBjQ/ZPxNFSwLING4nws+b3\n\tfSDQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AHYfb5i0Mz0hrv0NWoOulu78qi/Fq5H3G5jGdLpYccOPS8jMnl7LmupJ\n\tXB1z95ayIitLdg==","X-Received":["by 10.36.82.208 with SMTP id d199mr67782itb.7.1502876985246;\n\tWed, 16 Aug 2017 02:49:45 -0700 (PDT)","by 10.31.99.198 with SMTP id x189mr9150vkb.24.1502876984948;\n\tWed, 16 Aug 2017 02:49:44 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Date":"Wed, 16 Aug 2017 02:49:44 -0700 (PDT)","From":"Roman Kalashnikov <lunix0x@gmail.com>","To":"swupdate <swupdate@googlegroups.com>","Cc":"sbabic@denx.de","Message-Id":"<19ca798c-96d0-478b-a205-8b7d543e3ff9@googlegroups.com>","In-Reply-To":"<CAJcrxChHLTMGshK57DqkJQbrPsHZcuCokwpC+BA0t6kwGJ5pjw@mail.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>","Subject":"Re: [swupdate] Can not understand bootloader (grub) option","MIME-Version":"1.0","Content-Type":"multipart/mixed; \n\tboundary=\"----=_Part_7268_103327129.1502876984468\"","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>"},"content":"Hi!\n\nI'm not sure for correct way to upload patches by using *github* pull-request, \nso i just post git-diff here:\n\n```\n```\nMy sw-description posted here https://pastebin.com/9YyTsDDB.\n\nFor \"*GRUB* supporting\" i had to reconfigure it while zero-provision stage \n(before using *swupdate*):\n1. grub-install --boot-directory=/boot --bootloader-id=ubuntu \n--target=x86_64-efi --efi-directory=/boot/efi --recheck --debug /dev/sda\n2. grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg\n3. grub-editenv /boot/efi/EFI/ubuntu/grubenv create\nIt creates *grub.cfg* by the \"right way\". It is resason i don't post \ngrub.cfg here - it creates automactiacally.\n\nThen i build swupdate with *GRUB* params in *.config*:\nCONFIG_GRUBENV_PATH=\"/boot/efi/EFI/ubuntu/grubenv\"\nCONFIG_BOOTLOADER_GRUB=y\n\nNow i can use swupdate traditionaly.\n\nBest regards, Roman.","diff":"diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst\nindex 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","prefixes":[]}