Received: from list by lists.gnu.org with archive (Exim 4.71) id 1d9y1C-0006B2-Tp for mharc-grub-devel@gnu.org; Sun, 14 May 2017 14:13:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9y17-00067I-2V for grub-devel@gnu.org; Sun, 14 May 2017 14:13:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9y13-0006DW-25 for grub-devel@gnu.org; Sun, 14 May 2017 14:13:17 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:34159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9y12-0006B6-Sc for grub-devel@gnu.org; Sun, 14 May 2017 14:13:13 -0400 Received: by mail-wr0-x22d.google.com with SMTP id l9so67584732wre.1 for ; Sun, 14 May 2017 11:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=kgkyy6gvU4jNGkqFYQYmztID6aMtkaZ4UdUp4oIJZwg=; b=X1u2sI3ti7RKZVsuMGNZ9I0y5OQrh521z/3lSnyy7+Rzm+foW7fB8nmcN7u3AmlXgL JKrs1GV822m0xp0Y5L1A2K2B45fiRZOfOMU7Zeas1FWnVoY92hjclsxEqaY8lrnQ50g+ tRjjedxDMJeG++BQTwMJ5H+sHhsrVm8CxsXUAf8FbF9IBSkphdlsp7E/X+vSJzJQp39z rVA5ZIj+6yqlJVHfzWfMprV1T0pdmfgZ9WYIDqdmYzdvFyI3k3IdYdYY821BkqZkV2xY QGrVdrcoGxLkYNeOMAAafqqCV/dYUHo1UnfVbnpBZk/+SLbLulpsgQWEpN38AjIMwRad QTgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=kgkyy6gvU4jNGkqFYQYmztID6aMtkaZ4UdUp4oIJZwg=; b=uCyBlT3L+7klYmGg2F/APbYdC0wdR1EsQSCn0Hu2BqKriFFpBZhjclQvh6Sz+nIOvU Q3FmVaTPxzW8QRyGluVvmqcaE/NBLGe8xCzZ+vBH0atB0sSllfg83TpENdnnW9g2G0+C XZKRhD8PZglpXb/L9jCBfvxs4P3giQaXNXV5D8u949AawVFoCOC4ZiS/1g4Qzn2XAfmF NrZZngV0/TsqOQfSuuAN1MsBwdce+V+VGME9rCqZTe15jabZ6T8U7wEt/gR2siz8P4UQ m4jlsi93N8SgUKM5uH+8Pe4p02okcsVGDQ6+AuYKoa3j+2xmGpoY5rVf7HbAXjHhUBXL 0+fg== X-Gm-Message-State: AODbwcBnD2RIS4mq0lyRQbJNDwCoJlFeMl5LhCbfEjfzUeYbTxbqk8bk +uDIO/cNHgHO0t0D X-Received: by 10.46.7.17 with SMTP id 17mr1040462ljh.25.1494785591543; Sun, 14 May 2017 11:13:11 -0700 (PDT) Received: from [192.168.1.4] (ppp109-252-90-242.pppoe.spdop.ru. [109.252.90.242]) by smtp.gmail.com with ESMTPSA id s18sm1723948ljd.3.2017.05.14.11.13.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 May 2017 11:13:11 -0700 (PDT) Subject: Re: configure options when building from source To: The development of GNU GRUB References: <20170514205447.1cde2dde@rsbsd> From: Andrei Borzenkov Message-ID: <93c428c2-8e90-903d-1d52-79dac218e0b2@gmail.com> Date: Sun, 14 May 2017 21:13:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170514205447.1cde2dde@rsbsd> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2017 18:13:21 -0000 14.05.2017 20:54, Beeblebrox пишет: > Hello, building Grub from source on FreeBSD with > ./autogen.sh --disable-efiemu --disable-nls > ./configure --disable-efiemu --disable-nls > > The resulting config is below > GRUB2 will be compiled with following components: > Platform: i386-pc > With devmapper support: No (need libdevmapper header) > With memory debugging: No > With disk cache statistics: No > With boot time statistics: No > efiemu runtime: No > grub-mkfont: Yes > grub-mount: No (need FUSE library) > starfield theme: No (No DejaVu found) > With libzfs support: Yes > Build-time grub-mkfont: No (no fonts) > Without unifont (no build-time grub-mkfont) > With liblzma from -llzma (support for XZ-compressed mips images) > > I was unable to find documentation regarding config, so How can I: > > * Enable grub-mount, grub-mkfont, unifont ? grub-mount requires fuse development (as is quite clearly written in summary). Build time grub-mkfont is disabled because dejavu font was not found (could be more clear here what is missing). > All requirements (fuse, dejavu, fonts) are on the system. Is there a flag I must use? Most probably the path searched by Grub is different than on Linux. Where should I correct those? > in configure.ac > * For starfield do I need to download a sepaarate repo? > What was not clear in "no DejaVu found"? > * I install Grub as "gmake install DESTDIR=/usr/local/opt" > But trying for example "# grub-kbdcomp" I get: > -> cannot open /usr/local/share/grub/grub-mkconfig_lib: No such file or directory > Paths are hardcoded during build. Installing in different directory does not change them. This is more intended for packaging use. > * I need to generate mknetdir for pxe with UEFI option as well. Above config does not seem to have UEFI capability enabled - am I wrong? > You need to build grub for corresponding platform. You have built it for i386-pc only.