Diff for /wikisrc/tutorials/pkgsrc/pkg_comp_pkg_chk.mdwn between versions 1.3 and 1.4

version 1.3, 2011/03/27 14:12:08 version 1.4, 2013/10/25 17:36:02
Line 35  If you don't yet have NetBSD's binary se Line 35  If you don't yet have NetBSD's binary se
   
 We can now build the *chroot* using the following command:  We can now build the *chroot* using the following command:
   
         # pkg_comp -C test makeroot          # pkg_comp -C test.conf makeroot
   
 From now on, we can enter our *chroot* using the *chroot* target:  From now on, we can enter our *chroot* using the *chroot* target:
   
         # pkg_comp -C test chroot          # pkg_comp -C test.conf chroot
         PKG_COMP ==> Mounting sandboxed filesystems          PKG_COMP ==> Mounting sandboxed filesystems
         PKG_COMP ==> Entering sandbox `/home/pkg_comp/test'          PKG_COMP ==> Entering sandbox `/home/pkg_comp/test'
         pkg_comp:test.conf# exit          pkg_comp:test.conf# exit
         PKG_COMP ==> Unmounting sandboxed filesystems          PKG_COMP ==> Unmounting sandboxed filesystems
   
 A very simple method to build a package in the *chroot* is to use the *build* target:  A very simple method to build a package in the *chroot* is to use the *build* target:
         # pkg_comp -C test build pkgtools/pkgfind          # pkg_comp -C test.conf build pkgtools/pkgfind
   
 But as we want to keep a good control on our packages freshness and build method, we will use another tool: *pkg_chk*.  But as we want to keep a good control on our packages freshness and build method, we will use another tool: *pkg_chk*.
   
Line 79  Now, enter the *chroot* as we must confi Line 79  Now, enter the *chroot* as we must confi
         DEPENDS_TARGET=package-install          DEPENDS_TARGET=package-install
         UPDATE_TARGET=package-install          UPDATE_TARGET=package-install
   
 Everything is now ready. *pkg_chk* has many uptions, but we will keep its use very simple.  Everything is now ready. *pkg_chk* has many options, but we will keep its use very simple.
   
 To see what operations are going to take place without actually doing anything, use the following switches:  To see what operations are going to take place without actually doing anything, use the following switches:
   
Line 100  As *pkg_chk manpage* says: Line 100  As *pkg_chk manpage* says:
         -b      Use binary packages.  If -s is not set this allows pkg_chk to          -b      Use binary packages.  If -s is not set this allows pkg_chk to
                 run without PKGSRCDIR.                  run without PKGSRCDIR.
   
 Here we are ! massive upgrade, no harm, no pain.  Here we are! massive upgrade, no harm, no pain.
   
 ### Upgrading more than one machine with pkgin  ### Upgrading more than one machine with pkgin
   

Removed from v.1.3  
changed lines
  Added in v.1.4


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb