From owner-freebsd-embedded@FreeBSD.ORG Tue Nov 27 10:28:40 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5427740D for ; Tue, 27 Nov 2012 10:28:40 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm29-vm0.bullet.mail.bf1.yahoo.com (nm29-vm0.bullet.mail.bf1.yahoo.com [98.139.213.166]) by mx1.freebsd.org (Postfix) with ESMTP id E4FF28FC15 for ; Tue, 27 Nov 2012 10:28:39 +0000 (UTC) Received: from [98.139.214.32] by nm29.bullet.mail.bf1.yahoo.com with NNFMP; 27 Nov 2012 10:28:39 -0000 Received: from [98.139.212.210] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 27 Nov 2012 10:28:39 -0000 Received: from [127.0.0.1] by omp1019.mail.bf1.yahoo.com with NNFMP; 27 Nov 2012 10:28:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 163574.54985.bm@omp1019.mail.bf1.yahoo.com Received: (qmail 20326 invoked by uid 60001); 27 Nov 2012 10:28:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1354012119; bh=NmK4ShZflFdJ0ShFkTeH6+MioiTR4rxvbyX2sGyHPd4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Ooq2RGEWPdAYYWiZtRVmOwRHEyWmtC0fK38TCVS6omgEgh91ZeQg1drOb9NATS0RSfhg3RKkkXRpotfXrhvzmlQXrNON3PYul7jXV0IiZPSz4ogOG1QQSHn+HESO9JlH6Sa+MoKoFwd4jisot85tR5nGcjj64KWUTwnD5GGU90k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=smt6F1U+Q3TuzIGCuLzVGV9zlmnrk4+fMS0/unNa4hsSNffTiZEF5On9s75WQGaEn7PSLiPEjf8EluPv9KO9SONOyvby2/oS/AWb5JeLM39USHlS910c8Yv3zD/RwmH/HS9KugDzZeeP7Jq5np9LJuGujTdpzaciJgJZORKkE0k=; X-YMail-OSG: _B3vCHcVM1muwS7YzvhLoDmQRlM8zA.57HMALT.T4KY0PAG u_SrVfjV9UyYwhPKEup8WKr._SCKVtlodB7WCb53Io37CUclwstN4epA65xD vXRraxoPBAlPdxXS_7Ty5K9zSW_EI6a0tNY_FzLMX_YrKOTNLa4JR0Mx.ugZ agk5g91cP1.wXFQKsMp5HA7UoOXq8Fu9f1VpPm5l1KzlGZXPG55PekoCmrKi LgFveacWUI0Vt4HqXT0qAoU2Gje6HnHQaGUzY5enH5mkUW5oTVOYpvkS4iJS ySwRDSWR9KVO81.IFO49KUUUw92umAKmhvvJFCaqGdrPY5zoq6.vUW8Jl.Mj uf4Vg8bsAs2lLkv2mJZ4MdmNZ5v_Fp25WQAlqvEqtPt_8SNbOygpwUo6yDBW lBa7gcjKZDk6ddAIAE63eWj2bUW8qVe4aK9lbCHjWXfIW7HVCipTAYH96ZUw - Received: from [89.165.120.140] by web160104.mail.bf1.yahoo.com via HTTP; Tue, 27 Nov 2012 02:28:39 PST X-Rocket-MIMEInfo: 001.001, SGkgYWxsCgpJIGhhdmUgY29waWVkIHNvbWUgcGFja2FnZXMgaW4gL3Vzci9zcmMvdG9vbHMvdG9vbHMvbmFub2JzZC9Qa2cgaW4gb3JkZXIgdG8gYnVpbGQgdGhlbSBvbiBteSBpbWFnZSAsIGJ1dCBpdCBzZWVtcyB0aGF0IHRoZSBvcmRlciBvZiBidWlsZGluZyBwYWNrYWdlcyBpcyBpbXBvcnRhbnQgLCBhbmQgdGhlIHByaW9yaXRpZXMgb2YgYSBwYWNrYWdlIG11c3QgYmUgaW5zdGFsbGVkIGJlZm9yZSB0aGUgcGFja2FnZSBpdHNlbGYuIEhvdyBjYW4gaSBzZXQgdGhlc2Ugb3JkZXJzID8KClRoYW5rcwEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.127.475 Message-ID: <1354012119.9287.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Tue, 27 Nov 2012 02:28:39 -0800 (PST) From: Jack Mc Lauren Subject: adding packages to nanobsd image To: "freebsd-embedded@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 10:28:40 -0000 Hi all I have copied some packages in /usr/src/tools/tools/nanobsd/Pkg in order to build them on my image , but it seems that the order of building packages is important , and the priorities of a package must be installed before the package itself. How can i set these orders ? Thanks From owner-freebsd-embedded@FreeBSD.ORG Tue Nov 27 16:22:43 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 452D8721 for ; Tue, 27 Nov 2012 16:22:43 +0000 (UTC) (envelope-from espartano.mail@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 04D4D8FC12 for ; Tue, 27 Nov 2012 16:22:42 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so15211523iec.13 for ; Tue, 27 Nov 2012 08:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bX/QWiwXfsT8x//lKVOUlIHstfULAE/YrUHz/+f+/pU=; b=JDXB9QzfqAvSMB6t9K61VIqZYKeSoHpGLorO7wThnwwO1fWl/RCSs9ahHWrRi71flV tIcQjRmU+NqcEFTtlf55XCYZLwAB7lBLbfp+8CSn/F2gybSHVE9QwXOdkFSuwHdZS/iu u1uEFyO7U9b5MwdM6Ld45r3nVL7LxbahOrdkR4oP08VVn81v1IARrtmKBYijV8L3SiHA lyuzhfBoNt2+SiRtWzfBq8jDl5L6ptqqrpTbFuAzFOuZ7xUe/c00zfLiZxL54ubm99XI /UTIm3EpSmxnYV9WYz7Bmqx/U/NFCLsWLRG+L7eUezBoI322J/kBKxQiAB4M3mg+A3fK xLFg== MIME-Version: 1.0 Received: by 10.50.150.144 with SMTP id ui16mr16322328igb.68.1354033362248; Tue, 27 Nov 2012 08:22:42 -0800 (PST) Received: by 10.64.37.41 with HTTP; Tue, 27 Nov 2012 08:22:42 -0800 (PST) In-Reply-To: <1354012119.9287.YahooMailNeo@web160104.mail.bf1.yahoo.com> References: <1354012119.9287.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Tue, 27 Nov 2012 10:22:42 -0600 Message-ID: Subject: Re: adding packages to nanobsd image From: Espartano To: Jack Mc Lauren Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 16:22:43 -0000 On Tue, Nov 27, 2012 at 4:28 AM, Jack Mc Lauren w= rote: > Hi all > > I have copied some packages in /usr/src/tools/tools/nanobsd/Pkg in order = to build them on my image , but it seems that the order of building package= s is important , and the priorities of a package must be installed before t= he package itself. How can i set these orders ? > > Thanks I think it is not possible howeber you could install ports after have been created nanobsd image, here possible steeps that you have to follow: 1.- mount nanobsd image into a directory using mdconfig: mdconfig -a -t vnode -u 1 -f /path_to_nanobsd_image mount /dev/md1(nanobsd root partition) /mnt/ 2.- create ports directory into nanobsd usr directory: mkdir /mnt/usr/ports 3.- mount dev filesystem into nanobsd dev directory: mount -t devfs devfs /mnt/dev/ 4.- mount ports directory into nanobsd ports directory: mount_nullfs /usr/ports /mnt/usr/ports 5.- change / directory: chroot /mnt/ 6.- be happy (install your ports) Note: Nanobsd in boot time mount directory /var from another directory, that directory is /conf/base/var .... and remember that port installation process write info about installation into /var/db/packages/ then you have to copy the content of that directory into /conf/base/var ..... in order to have disponible ports package info when you use commands like pkg_info or so. Sorry for my bad english. Regards.