Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
                    
        
        
            
    
        
                            
        
                
        
            
                                
            
                
                                                | Setup
                        
                                                                                    
                                                                                            | Action | Genbox-0.9 | Genbox-1.x |  
                                                                                            | Install | sh ./install.sh
 sudo /opt/genbox/bin/genbox-ng --image --download
 sudo /opt/genbox/bin/genbox-ng --image --set-default gbx-0.9
 | sudo ./genbox-installer /opt/genbox
 |  
                                                                                            | Enter | sudo /opt/genbox/bin/genbox-ng
 | sudo /opt/genbox/sbin/genbox
 |  
                                                                                            | Enter as user | Not applicable | sudo /opt/genbox/sbin/genbox -u
 |  
                                                                                            | Uninstall | sudo rm -fr /opt/genbox/
 | sudo /opt/genbox/sbin/genbox-wipe
 |  Package management
                        
                                                                                    
                                                                                            | Action | Genbox-0.9 and Genbox-1.x |  
                                                                                            | Update packages repositories |  |  
                                                                                            | Update installed packages |  |  
                                                                                            |  |  |  
                                                                                            | Install package  <pkg>
  at version  N
 |  |  
                                                                                            |  |  |  
                                                                                            | List all installed packages |  |  
                                                                                            | List all files installed by package  <pkg>
 |  |  
                                                                                            | List with which USE flags package  <pkg>
  is installed |  |  
                                                                                            | Find to which package belongs  <file>
  file. |  |  
                                                                                            | Find which package(s) depends on package <pkg> |  |  
                                                                                            | Handle configuration file updates |  |  
                                                                                            | Find packages matching  <pattern>
 |  |  
                                                                                            | Display path to the ebuild used to install package  <pkg>
 |  |  The previous commands are valid for host packages. For target packages, use: - xmerge instead of emerge
 - xlist instead of list
 - xquery (Genbox-1.x) or xexec equery (Genbox-0.9) instead of equery
 - xtc-update instead of etc-update
 Overlay management
                        
                                                                                    
                                                                                            | Action | Genbox-0.9 | Genbox-1.x |  
                                                                                            | List available host* overlays | Not applicable |  |  
                                                                                            | List installed host* overlays |  |  |  
                                                                                            | Update all host* overlays | Not applicable |  |  
                                                                                            | Update host*  overlay  <ov>
 |  |  |  
                                                                                            | Add overlay <ov> | eov --add <ov> --uri=<uri> --proto=<proto> --branch=<branch>
 |  |  
                                                                                            | Remove overlay <ov> |  |  |  
                                                                                            | Display information about overlay <ov> | Not applicable |  |  * To do the same actions for the target, use xov instead of eov for Genbox-0.9 and xlayman instead of layman for Genbox-1.x. Target management
                        
                                                                                    
                                                                                            | Action | Genbox-0.9 and Genbox-1.x |  
                                                                                            | List available targets matching  <pattern>
 |  |  
                                                                                            | List installed targets |  |  
                                                                                            | Set  <foo>
  as current target |  |  
                                                                                            | Sync target description overlay |  |  
                                                                                            | Install target  <tgt>
  for arch  <arch>
 | xtarget -c -a <arch> <tgt>
 |  
                                                                                            | Install target  <tgt>
  at version  1.2.3
  for arch  <arch>
 | xtarget -c -a <arch> =<tgt>-1.2.3
 |  
                                                                                            | Update target repositories |  |  
                                                                                            | Update target packages |  |  
                                                                                            | Install package  <pkg>
  at version  N
 |  |  
                                                                                            | Install masked**  package  <pkg>
 | FEATURES="nopackages" xmerge <pkg>
 (Genbox2016 only)xmerge --ignore-profile-version <pkg>
 (Genbox2016 only)xmerge -I <pkg>
 |  * Currently, Genbox-1.x is unable to correctly sync a mercurial repository.** Only valid for packages masked by version. It won't work with packages masked by 'corruption', 'missing keyword', 'license', 'eapi'...
 Working with target
                        
                                                                                    
                                                                                            | Action | Genbox-0.9 | Genbox-1.x |  
                                                                                            | Setup a shell with target environment |  |  |  
                                                                                            | Test target ebuild  <eb>
  installation | xbuild <eb> clean fetch unpack compile install
 | xbuild <eb> clean install
 |  
                                                                                            | Add package  <pkg>
  at version  <ver>
  to target profile | echo "*<pkg>" >> packages echo "=<pkg>-<ver>" >> packages
 | echo "*<pkg>" >> packages echo "><pkg>-<ver>" >> package.mask
 |  
                                                                                            | Update package <pkg> at version  <ver+1>
  in target profile |  |  |  
                                                                                            | Bump package  <pkg>
  locally cloned in  <src>
  directory |  | Not ported yet |  
                                                                                            | Bump target  <tgt>
  based on template ebuild  <eb>
 |  | Not ported yet |  
                                                                                            | Create a prebuilt for target  <tgt>
  with architecture  <arch>
 | xbuilder -a <arch> =<tgt>
 | xbuilder -a <arch> =<tgt>
 |  Important files changes
                        
                                                                                    
                                                                                            | Utility | Genbox-0.9 | Genbox-1.x |  
                                                                                            | Custom settings for Portage |  | /etc/portage/make.conf
 |  
                                                                                            | Symlink to profile |  | /etc/portage/make.profile
 |  
                                                                                            | Host overlay base directory |  | (configurable)/var/lib/layman/
 |  
                                                                                            | Overlay manager configuration files |  | /etc/layman/layman.cfg
 |  
                                                                                            | xbuild
  destination directory | ${ROOT}/work/${CATEGORY}/${PF}
 | ${ROOT}/xbuild/portage/${CATEGORY}/${PF}
 |  | 
            
            
            
        
        
        
        
        
            
    
        
          
Created By
https://www.frogbywyplay.com
Metadata
Comments
No comments yet. Add yours below!
Add a Comment