version 1.1, 2012/01/06 21:43:46
|
version 1.3, 2012/08/26 11:05:55
|
Line 1
|
Line 1
|
## pbulk in chroot on non-NetBSD platform |
## pbulk in chroot on non-NetBSD platform |
|
|
This documentation describes how to run pkgsrc/pkgtools/pbulk in chroot on non-NetBSD platform. |
This documentation describes how to run pkgsrc/pkgtools/pbulk in chroot on non-NetBSD platform. |
This is based on [[Using pbulk to create a pkgsrc binary repository|pbulk]] and [[pbulk-HOWTO|http://wiki-static.aydogan.net/pbulk-HOWTO]]. |
This is based on [[Using pbulk to create a pkgsrc binary repository|tutorials/pkgsrc/pbulk]] and [[pbulk-HOWTO|http://wiki-static.aydogan.net/pbulk-HOWTO]]. |
|
|
### Bootstrap pkgsrc on non-chrooted environment for getting bmake |
### Bootstrap pkgsrc on non-chrooted environment for getting bmake |
|
|
Line 14 For making sandbox, bmake is needed.
|
Line 14 For making sandbox, bmake is needed.
|
Make sure you have pkgsrc tree for bulk buld as /usr/pkgsrc. |
Make sure you have pkgsrc tree for bulk buld as /usr/pkgsrc. |
If you have pkgsrc tree at another place, you can use --pkgsrc=/some/where/pkgsrc option. |
If you have pkgsrc tree at another place, you can use --pkgsrc=/some/where/pkgsrc option. |
|
|
And I will setup sandbox under /home/bulk. |
And I will setup sandbox under /home/bulk using mksandbox from the pkgtools/mksandbox package. |
|
|
# pkgsrc/mk/bulk/mksandbox --without-x /home/bulk |
# mksandbox --without-x /home/bulk |
|
|
If you get the following message, you can modify pkgsrc/mk/bulk/mksandbox script. |
If you get the following message, you can modify pkgsrc/pkgtools/files/mksandbox script. |
|
|
Unknown Operating System ($opsys) - good luck |
Unknown Operating System ($opsys) - good luck |
|
|
Line 109 If you get the following message, you ca
|
Line 109 If you get the following message, you ca
|
|
|
Or to restart |
Or to restart |
|
|
# /usr/pkg_bulk/libexec/pbulk/build |
|
|
|
|
# /usr/pkg_bulk/libexec/pbulk/build |