Date: Tue, 09 Dec 2014 12:59:46 +0100 From: Matthias Meyser <meyser@xenet.de> To: Garrett Cooper <yaneurabeya@gmail.com>, Alfred Perlstein <alfred@freebsd.org> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Re: cross installing freebsd? Message-ID: <5486E432.2030809@xenet.de> In-Reply-To: <26F569E9-3E70-4CE7-810F-5427FF1C7EA0@gmail.com> References: <5483AE21.8090306@freebsd.org> <D925B118-113F-42CB-8F1F-6B9087F0CF4D@gmail.com> <613884DA-F978-4D9F-9E37-D39581EFEA61@freebsd.org> <26F569E9-3E70-4CE7-810F-5427FF1C7EA0@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Am 08.12.2014 um 11:04 schrieb Garrett Cooper: > On Dec 7, 2014, at 21:48, Alfred Perlstein <alfred@freebsd.org> wrote: [..] >> To be honest I have a gist as to what you're saying but I think the build is suffering from shibboleth-itis. Meaning it's not serviceable unless you're intimately familiar with it… > > Right. I didn’t know about all of these magic things until I started reading the Makefiles :). > >> I *guess* that ITOOLS or maybe LOCAL_ITOOLS means programs needed to installworld/installkernel? > > Yes. Basically for things that can be replaced while make installworld is run, or as Makefile.inc1 says… > > "# Required install tools to be saved in a scratch dir for safety.” > > All the libraries for the tools are backed up so if the tools get replaced while make distributeworld/installworld is running, your system won’t be hosed (that’s why make installworld works for me the majority of the time, if cp gets replaced and ABI changes — not always, but oftentimes). > >> If so, then yes, makewhatis needs to be added to that. The problem is that those tools are build for the HOST arch during crossbuilding. I don`t know if a version for TARGET arch is build also. The "right way" would be to to build these tools also for the TARGET arch (if not done already) and to teach the normal "install" to use them. - Matthias -- Matthias Meyser | XeNET GmbH Tel.: +49-5323-9489050 | 38678 Clausthal-Zellerfeld, Marktstrasse 40 Fax: +49-5323-9489059 | Registergericht: Amtsgericht Braunschweig HRB 110823 Email: Meyser@xenet.de | Geschaeftsfuehrer: Matthias Meyser
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5486E432.2030809>