From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 09:21:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6023C7EB for ; Mon, 19 Jan 2015 09:21:59 +0000 (UTC) Received: from skeleton.phys.spbu.ru (skeleton.phys.spbu.ru [195.19.241.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1C481DC7 for ; Mon, 19 Jan 2015 09:21:58 +0000 (UTC) Received: from skeleton.phys.spbu.ru (localhost [127.0.0.1]) by skeleton.phys.spbu.ru (Postfix) with ESMTP id 96CE8B68EC for ; Mon, 19 Jan 2015 13:14:47 +0400 (MSK) Received: from laura.ws.pu.ru (laura [172.27.209.137]) by skeleton.phys.spbu.ru (Postfix) with ESMTP id 31004B68E1 for ; Mon, 19 Jan 2015 13:14:47 +0400 (MSK) Date: Mon, 19 Jan 2015 12:14:47 +0300 From: Dima Veselov To: freebsd-questions@freebsd.org Subject: Cross-compile and distribute updates Message-ID: <20150119091446.GA3857@laura.ws.pu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 09:21:59 -0000 Hello! I will try once more to ask this question here, because last time I wasn't clear enough. FreeBSD documentation and wiki have two different topics: 1. Cross-compiling world. 2. Distributing built world to other hosts. Both work well, but they can't be combined: 1. cross-compiling want to install directly onto target through NFS 2. distributing sync /usr/src and /usr/obj and rely on same arch on buildhost and target, because installation use /usr/obj tools. For now I have successfully built sparc64 world on amd64 platform. Also, my two sparc64 platforms are in other network. In NetBSD I can build distribution sets, unpack them into target and use etcupdate on etc.tgz, but I can't find same technologies in FreeBSD. What is most nice, reliable and cheap way to cross-compile world and install it on remote machine? -- Sincerely yours