|
Bugzilla – Full Text Bug Listing |
| Summary: | set "arch" option in $HOME/.zypper.conf or via --config /path/zypper.conf - don't work | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | Alex Savin <alexo.veto> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | openSUSE 11.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Alex Savin
2010-07-29 22:12:02 UTC
(In reply to comment #0) > set "arch" option in $HOME/.zypper.conf or via --config /path/zypper.conf - > don't work AFAIK zypper has no support for such an "arch" option. If you really want to fake the systems architecture, you need to do this in the zypp.conf (zypp! not zypper). > but if change it in /etc/zypp/zypp.conf - it works Yes, and you can use the ZYPP_CONF environment variable to change the location of the zypp.conf libztypp considers. I don't know what you want to accomplish, but if you want to have a chroot using a different than your systems architecture (as far as this is possible): $ mkdir -p /myroot/etc/zypp $ cat <<EOF >/myroot/etc/zypp/zypp.conf [main] arch = s390 EOF $ ZYPP_CONF=/myroot/etc/zypp/zypp.conf zypper --root /myroot --no-gpg-checks ... big thanks for answer |