Package com.rm5248.debianpbuilder
Class PbuilderInterface
java.lang.Object
com.rm5248.debianpbuilder.PbuilderInterface
- Direct Known Subclasses:
PbuilderHelper
An interface to allow us to easily switch between using pbuilder or cowbuilder.
Notes on architectures:
https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html:
"build is the machine you’re building on (no change there), host is the machine you’re building for"
Pbuilder option "--architecture" is the same as "build architecture"
Pbuilder option "--host-arch" is the machine we are building for
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final class
protected static final class
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
m_hostArch
-
m_distribution
-
m_launcher
-
m_buildArch
-
m_hookdir
-
m_logger
-
m_pbuilderrc
-
m_workspace
-
-
Constructor Details
-
PbuilderInterface
public PbuilderInterface()
-
-
Method Details
-
getDebootstrap
-
setBuildArch
- Throws:
IOException
InterruptedException
-
getArch
Returns the system architecture if 'architecture' is set to 'all', otherwise get the architecture to build for.- Returns:
-
getPID
We *could* resort to JNA here... but what's the fun in that? ;)- Returns:
- Throws:
IOException
-