Re: [gentoo-user] Using 'world' file to clone another machine
On Wed, 25 Jan 2006 17:38:14 -0500 Michael A. Smith [EMAIL PROTECTED] wrote: | Weird, huh? Not weird at all. emerge reads target names from the commandline, but not from stdin. Chris should know this... -- Ciaran McCreesh : Gentoo Developer (King of all Londinium) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm signature.asc Description: PGP signature
Re: [gentoo-user] Using 'world' file to clone another machine
Jeff wrote: I'm sure this one's been asked a million times too... Machine A, runs Gentoo/KDE and a handful of other apps I've collected over the year. I would like Machine B to have the same exact packages. How would I use Machine A's /var/lib/portage/world file to make my 'clone'? Thanks all. Hypothetically (I haven't tried it.) 1) scp a:/etc/make.conf b:/etc/make.conf 2) modify the CFLAGS in b:/etc/make.conf to suit, but leave the USE unchanged. 3) do a basic install on b, you'll want to make sure it can boot into a kernel before you do the next step. 4) scp a:/var/lib/portage/world b:/tmp/welcome_to_my_world.lst 5) emerge `cat /tmp/welcome_to_my_world.lst` Have a nice day. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using 'world' file to clone another machine
Michael A. Smith wrote: Jeff wrote: I'm sure this one's been asked a million times too... Machine A, runs Gentoo/KDE and a handful of other apps I've collected over the year. I would like Machine B to have the same exact packages. How would I use Machine A's /var/lib/portage/world file to make my 'clone'? Thanks all. Hypothetically (I haven't tried it.) 1) scp a:/etc/make.conf b:/etc/make.conf 2) modify the CFLAGS in b:/etc/make.conf to suit, but leave the USE unchanged. 3) do a basic install on b, you'll want to make sure it can boot into a kernel before you do the next step. 4) scp a:/var/lib/portage/world b:/tmp/welcome_to_my_world.lst 5) emerge `cat /tmp/welcome_to_my_world.lst` Have a nice day. Correction. emerge --ask `cat /tmp/welcome_to_my_world.lst` ;-D -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using 'world' file to clone another machine
On Thursday 26 January 2006 06:03, Michael A. Smith wrote: Correction. emerge --ask `cat /tmp/welcome_to_my_world.lst` Correction, Correction: `emerge --ask $( /tmp/welcome_to_my_world.lst)` or heck: `emerge --ask /tmp/welcome_to_my_world.lst` might even work ;-D Chris White pgpB1vYuDNXoO.pgp Description: PGP signature
Re: [gentoo-user] Using 'world' file to clone another machine
Chris White wrote: On Thursday 26 January 2006 06:03, Michael A. Smith wrote: Correction. emerge --ask `cat /tmp/welcome_to_my_world.lst` Correction, Correction: `emerge --ask $( /tmp/welcome_to_my_world.lst)` Way to decrease entropy, Chris. Why don't you email the whole list and tell them how to implement a minute reduction in CPU cycles. ;-D (I'm just kidding, this is a better way.) or heck: `emerge --ask /tmp/welcome_to_my_world.lst` This doesn't work, nor does cat welcome_to_my_world.lst | emerge --ask cat welcome_to_my_world.lst | emerge --pretend cat welcome_to_my_world.lst | xargs emerge --ask However, cat welcome_to_my_world.lst | xargs emerge --pretend does work. I didn't try it without pretend, but I betcha it'd work. Weird, huh? -Mike Smith -- gentoo-user@gentoo.org mailing list