http://bugzilla.novell.com/show_bug.cgi?id=626858
http://bugzilla.novell.com/show_bug.cgi?id=626858#c1
Michael Andres
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 .. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.