This switch enabled Pakfire to bootstrap for a different architecture
than the host architecture.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# Add common arguments
self._add_common_arguments(parser)
+ parser.add_argument("--arch", "-a", nargs="?",
+ help=_("Run pakfire for the given architecture"))
parser.add_argument("--root", metavar="PATH", default="/",
help=_("The path where pakfire should operate in"))
def pakfire(self, ns):
p = base.Pakfire(
+ arch=ns.arch,
conf=ns.config,
path=ns.root if "root" in ns else self.default_path,
offline=ns.offline,