From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aPD0w-00075F-HU for mharc-grub-devel@gnu.org; Fri, 29 Jan 2016 12:39:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPD0l-0006gM-8u for grub-devel@gnu.org; Fri, 29 Jan 2016 12:39:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPD0i-00077w-H6 for grub-devel@gnu.org; Fri, 29 Jan 2016 12:39:07 -0500 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:34889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPD0i-000770-9i for grub-devel@gnu.org; Fri, 29 Jan 2016 12:39:04 -0500 Received: by mail-lf0-x22f.google.com with SMTP id c192so51569882lfe.2 for ; Fri, 29 Jan 2016 09:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=4Bn5fTOe0w1n2B5p30vb/gOYe5VKAaAJQZgCpVZx8JM=; b=w8lpl6mb/JTnqt5hCnFqkUpdRN4IH7u6m5ffxXmbuk4/a3V3gi9DVpC+w+e2IiRVPD vpIq6PWSMuD8/6JPwyESFAxituDHXJlgFnfyad7RDW7exnCAGk7p/OgT9IopcVQr8rNO fBYdN1i20WCv6FzjSGzqf30Bo8f6CaacLvGTq2l+g4u5XpI2DFcd4alO3bLAoMgZirvw Tu/zZGbGI13xDu/EkLQvHmROE2IO5JJHSK/TvEqPlhh1j9VnZr72dpqQlDGlFfygKnXC 4tP9shjVG/hxhakBeNmJDLylzSh/6jPyvV/NNMFoKwAygo+kgTqmhBjDmuYMPkpuDJhT 1dtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=4Bn5fTOe0w1n2B5p30vb/gOYe5VKAaAJQZgCpVZx8JM=; b=c55cvZ+hFPL/+shTaS7A0o8ygbYtaAkQw9S6oEBUkrbiZ0oucVRCcqjvXzo9FxAcfO JBrkGeXv1TcC0UKLLR83V6WAjA/ovmmLTcBKlhqLQ4yt9mkojHtH55d5rPT2t+i3WtNp A9kINk7AMQ3a51grgPs64wZvBlkECIaNC7bAMmP5RT0PNx/OSr9iomWwdC/+Jio7YwTQ qSOfhuiA5myW+xqwP+VxX2POYxTzxW35cshIBd2keT3/SRLHQFSX5FbDwyE6p9tHcwe2 i4wa1SA8aOd45+rdql/8zSrzRVAGWRM7X44c6AR+aBFSTlis9ttduspgZZlYH/et7BPY hw9Q== X-Gm-Message-State: AG10YOSm/2yj+c0gTP9Brb+e5K8NypEja8z3ih9/P3NJ1g4v/e2oGqruFgwu24EHt4HciQ== X-Received: by 10.25.90.83 with SMTP id o80mr3837940lfb.23.1454089143539; Fri, 29 Jan 2016 09:39:03 -0800 (PST) Received: from [192.168.1.41] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id zk9sm2248655lbb.3.2016.01.29.09.39.02 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 09:39:02 -0800 (PST) Subject: Re: "newc additions on runtime" feature? To: grub-devel@gnu.org References: From: Andrei Borzenkov Message-ID: <56ABA3B1.5030406@gmail.com> Date: Fri, 29 Jan 2016 20:38:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22f X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Fri, 29 Jan 2016 17:39:08 -0000 29.01.2016 18:18, Shea Levy пишет: > Hi all, > > Commit 92750e4c ("Add ability to generate newc additions on runtime.") > introduced special handling of initrd names starting with "newc:". I > can't find any documentation for this feature nor any example of it > actually in use; what are its semantics? Is there any chance this > functionality can be removed? > > I ask because I am writing a new loader for android bootimgs and have to > bypass the normal 'initrd' command. > Just ignore it. It is used to build cpio archive from directory on the fly, but you have single initrd with known size. Just allocate and initialize initrd_ctx directly and pass it to common code.