From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NPWOQ-0002sr-VJ for mharc-grub-devel@gnu.org; Tue, 29 Dec 2009 02:21:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPWOM-0002sV-LM for grub-devel@gnu.org; Tue, 29 Dec 2009 02:21:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPWOH-0002rs-K5 for grub-devel@gnu.org; Tue, 29 Dec 2009 02:21:17 -0500 Received: from [199.232.76.173] (port=57536 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPWOH-0002re-CF for grub-devel@gnu.org; Tue, 29 Dec 2009 02:21:13 -0500 Received: from mga03.intel.com ([143.182.124.21]:43099) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NPWOG-0002a2-UT for grub-devel@gnu.org; Tue, 29 Dec 2009 02:21:13 -0500 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 28 Dec 2009 23:21:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.47,316,1257148800"; d="scan'208";a="227400084" Received: from debian.sh.intel.com (HELO [10.239.13.65]) ([10.239.13.65]) by azsmga001.ch.intel.com with ESMTP; 28 Dec 2009 23:21:09 -0800 From: Zhu Yi To: The development of GNU GRUB In-Reply-To: <2e59e6970912281959q38ea1876qedad4acd85ce3984@mail.gmail.com> References: <1260523561-19086-1-git-send-email-yi.zhu@intel.com> <20091224212119.GI12122@thorin> <1261983314.6037.84.camel@debian> <4B392B6E.2060807@isaac.cedarswampstudios.org> <1262056863.6037.106.camel@debian> <2e59e6970912281959q38ea1876qedad4acd85ce3984@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 29 Dec 2009 15:21:08 +0800 Message-ID: <1262071268.6037.111.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: "ml@isaac.cedarswampstudios.org" , "rmh@aybabtu.com" Subject: Re: [PATCH] Backup old boot sectors before installation X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 07:21:20 -0000 On Tue, 2009-12-29 at 11:59 +0800, richardvoigt@gmail.com wrote: > > If we decide so, we go back to option 1 (my original > implementation). > > Because the backup file format is not important any more as it is > > totally transparent to the restorers. Am I right? > > Another option would be to start the backup file with "#!/bin/sh" ... Create this shell script in grub-setup.c? I don't see how this is less invasive than changing grub-install script. But if everyone agree to add the sharutils package dependency (for uuencode/uudecode), I can implement this in V2. Thanks, -yi