From owner-freebsd-arm@FreeBSD.ORG Fri Dec 27 04:54:08 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 093AF2C4 for ; Fri, 27 Dec 2013 04:54:08 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFD021FA4 for ; Fri, 27 Dec 2013 04:54:07 +0000 (UTC) Received: by mail-ig0-f180.google.com with SMTP id uq1so21109718igb.1 for ; Thu, 26 Dec 2013 20:54:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=H4YgzyAhvy0n0o4cv08GElqH7qkXC4iTPKLMLE4VIkc=; b=PYpaETfaY+TnDCMSNTn56qaJx8THCRdtTpB04htd5Dtl733KjzWs2poFGAR0Dl8Z14 BIezUX5TNONMKzAk8cZx4ZMljtPL4n0pqh69lu857Dx75/k16FrPffqv78O0/KVDf7Ww IEx3OrGVPhqA5vtEjZkU+wG26Mz8FxPHFl8EYHI/1VLTN00Dakd+IqMV4V1QbF05BFhz 8qcjZsrwdfIkR4bVice4/XdIyDl1Rx2Th99i7MrjJmaHAdGSpN4foJ+7h2P4ufzefjYi X+IP+RisKaGqnvPx3XBhNiib+NFea/HuArVjWz98jU+la1zmBw7RB9jsmstr19sGBFSZ Ls6A== X-Gm-Message-State: ALoCoQkwovWP6wb3BWDhO0KA4Nyz81F/34ZLwj1YkqV+hLkRN6y6hDO2HW8V48c1V3t6pIFfX6T9 X-Received: by 10.50.176.201 with SMTP id ck9mr37700025igc.46.1388119739908; Thu, 26 Dec 2013 20:48:59 -0800 (PST) Received: from fusion-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id ml2sm37710607igb.10.2013.12.26.20.48.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 20:48:59 -0800 (PST) Sender: Warner Losh Subject: Re: FreeBSD 10.0-RC3 Now Available Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 From: Warner Losh In-Reply-To: <20131227042055.GS13109@glenbarber.us> Date: Thu, 26 Dec 2013 21:48:58 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <30F75F2D-A42B-410F-8FB0-C930729AF1D5@bsdimp.com> References: <20131226162521.GK2009@glenbarber.us> <2B79BF2A-1798-40F5-AD6E-D560E9C6C1E7@freebsd.org> <20131226194830.4f6e5b13@bender.Home> <7684A21C-4451-44ED-A11A-C03EF7850F01@freebsd.org> <20131227025814.GQ13109@glenbarber.us> <22576EF1-B4AB-4174-81E7-CF2A77594FAC@freebsd.org> <20131227032555.GR13109@glenbarber.us> <8A587B4F-40C8-43A2-A5FF-64214CC1F268@freebsd.org> <20131227042055.GS13109@glenbarber.us> To: Glen Barber X-Mailer: Apple Mail (2.1085) Cc: freebsd-arm ml , FreeBSD Release Engineering Team X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 04:54:08 -0000 On Dec 26, 2013, at 9:20 PM, Glen Barber wrote: > On Thu, Dec 26, 2013 at 08:08:32PM -0800, Tim Kientzle wrote: >> On Dec 26, 2013, at 7:25 PM, Glen Barber wrote: >>=20 >>> Well, no. :( The time-consuming part is the dependency chain for = the >>> build. Such as, RPI-B needs python, gsed, and world+dog. = BeagleBone >>> needs cross-gcc, and I'm sure other stuff. >>>=20 >>> It would be pretty cool if crochet could have a '-D' flag to 'show >>> missing dependencies for board specified=92. >>=20 >> I=92ve not yet come up with a particularly clean way to >> do that within Crochet, but there are a few ideas >> I=92ve not yet tried. >>=20 >> It does occur to me that at some point crochet >> is trying to do package management and maybe >> that=92s a bad thing. >>=20 >> But here=92s an idea that might get exactly that: >> I=92ve considered literally building board images as >> ports/packages. >>=20 >> E.g., >>=20 >> $ cd /usr/ports/freebsd/raspberry-pi >> $ make >> ... builds/installs python, gsed, boot bits, etc as necessary via = port dependencies >> ... builds world/kernel (using non-root path=85) >> $ sudo make install >> ... creates disk image and installs world/kernel/boot bits >>=20 >=20 > Hmm. I think you're on to something here. I'd include '-build' in the name, so we can still have port that's to = install on the rpi... >> I don=92t think this actually requires much effort >> to get this working, and it would have some >> interesting side-effects (like having RPi images >> spit out regularly by the package cluster). >>=20 >=20 > Maybe we don't need to go that far. But building a port that includes > the dependencies needed to do the actual image build would be a *huge* > bonus from the releng side. Meaning, if there was a port that I could > install that would give me all the necessary bits to create an image = for > a specific board, that's a big step forward. >=20 > Plus, the package builders don't actually 'buildkernel', so offloading > releng tasks to portmgr is not really scalable (meaning, if head/ > arm/armv6 is broken, etc...). I'm not sure I understand what you are saying here... Warner=