Date: Sun, 26 Jun 2011 21:17:27 +0200 From: Matthias Apitz <guru@unixarea.de> To: wayne mitchell <wayne.mitchell.iz@gmail.com> Cc: questions@FreeBSD.org Subject: Re: cvs vs. DVD Message-ID: <20110626191726.GA1142@tiny> In-Reply-To: <BANLkTinZTRE7fErzxugTvsyfWxOJFcFv_g@mail.gmail.com> References: <BANLkTinZTRE7fErzxugTvsyfWxOJFcFv_g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, June 26, 2011 a las 07:02:57PM +0100, wayne mitchell escribió: > hey, > be warned, you are dealing with a 'newbie' > i have one machine that has internet access and another that does not > both machines were installed with FreeBSD_RELEASE_8_1 with a DVD > i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree > > my second machine does not have working ethernet > > how do i transfer the updated ports tree to the other machine using > only storage media (DVD, USB) > > my guess (hack) is to find all relavent files/data trees and simply > copy over, then run necessary updates (portsdb, make world...) > > if that is correct then can you tell where those files are ? > > if not then how should i do this ? Hey, this is easy (because it is FreeBSD). # cd /var/db/pkg # ls > /tmp/pkgs # cd .... (you need some Gbyte of space there) # mkdir PKGDIR # cd PKGDIR # sh # while read pkgname; do pkg_create -Rnb $pkgname; done < /tmp/pkgs this will create a binary packages ready for installation of all your ports and other packages you have installed; move the result over with DVD/USB and install them with pkg_add(1M); HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <guru@unixarea.de> - w http://www.unixarea.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110626191726.GA1142>