IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of GentooImageUpdate


Ignore:
Timestamp:
Jun 30, 2009, 1:50:52 PM (17 years ago)
Author:
jhoblitt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GentooImageUpdate

    v1 v1  
     1Start by making a static snapshot of the current state of the portage tree.
     2
     3On gentoo.ifa.hawaii.edu,
     4
     5
     6{{{
     7rsync -avp /usr/portage/ /usr/portage-$DATE
     8}}}
     9
     10
     11then point the portage-ipp synlink to the new directory
     12
     13
     14{{{
     15
     16gentoo usr # ls -lad portage*
     17drwxr-xr-x 162 root root 4096 Jun 30 07:38 portage
     18drwxr-xr-x 159 root root 4096 Aug 27  2008 portage-2008-08-27
     19drwxr-xr-x   3 root root 4096 Apr 22 12:26 portage-2009-04-22
     20drwxr-xr-x 162 root root 4096 Jun 23 13:46 portage-2009-06-23
     21lrwxrwxrwx   1 root root   18 Jun 23 13:44 portage-ipp -> portage-2009-06-23
     22}}}
     23
     24
     25
     26On the binpkg build master (currently master.ipp), update the portage tree
     27
     28
     29{{{
     30emerge --sync -q
     31}}}
     32
     33
     34Then make sure you have the latest version of portage installed
     35
     36
     37{{{
     38emerge -1 portage
     39}}}
     40
     41
     42Check to see if your using the latest Gentoo profile and switch to the latest if necessary
     43
     44
     45{{{
     46master ~ # profile-config list
     47Available profile symlink targets:
     48  [1]   default/linux/amd64/2008.0 *
     49  [2]   default/linux/amd64/2008.0/desktop
     50  [3]   default/linux/amd64/2008.0/developer
     51  [4]   default/linux/amd64/2008.0/no-multilib
     52  [5]   default/linux/amd64/2008.0/server
     53  [6]   hardened/amd64
     54  [7]   hardened/amd64/multilib
     55  [8]   selinux/2007.0/amd64
     56  [9]   selinux/2007.0/amd64/hardened
     57  [10]  hardened/linux/amd64
     58}}}
     59
     60
     61Update packages (particular Perl packages) under /usr/src/portage_overlay as needed and check with the equery tool to see if you can remove entries from /etc/portage.*
     62
     63Then update the 'system' target to so the build tool chain is up to date.
     64
     65
     66{{{
     67emerge -e system
     68}}}
     69
     70
     71Make sure the current stable version of gcc is being used.
     72
     73{{{
     74
     75master ~ # gcc-config -l
     76 [1] x86_64-pc-linux-gnu-4.3.2 *
     77}}}
     78
     79
     80Start the world package rebuild.
     81
     82
     83{{{
     84emerge -e world
     85}}}
     86
     87
     88You will have to deal with varius package build problems and failures during the build.  It's highly recommended that you run this under `screen` as it may take over a day to do the complete build.  When the build is finished, removed all orphaned packages
     89
     90
     91{{{
     92emerge -p --prune
     93}}}
     94
     95
     96Then re-run the world build to make sure there are any phantom dependencies
     97
     98
     99{{{
     100emerge -e world
     101}}}
     102
     103