http://bugzilla.opensuse.org/show_bug.cgi?id=1013206
http://bugzilla.opensuse.org/show_bug.cgi?id=1013206#c24
--- Comment #24 from Fabian Vogt
(In reply to Fabian Vogt from comment #22)
I guess using this as /usr/sbin/extend:
#!/bin/bash rpm -q ${1%%.rpm} >/dev/null >&1 || zypper --non-interactive in ${1%%.rpm}
would work as a workaround. Maybe it's even a proper fix, I'm not sure how this behaves in certain situations. I'll try to give this a try in live-net-installer.
I tried it - it works if the package is already installed. Otherwise zypper aborts because YaST currently holds the lock. Any idea?
To be honest, I was expecting the fake extend to simply return 0 if the package is already there and another exit code otherwise (basically the first half of your script). That should be enough as a workaround for the live installer case. I don't think is worth it (or even realistic) to actually install the package if it's missing.
If you think that it's not that important to implement that, I can submit the first part for now. Packages can be installed as usual on live media (with or without persistence), so there's no technical reason not to enable this. -- You are receiving this mail because: You are on the CC list for the bug.