Re: Having issue with games being installed on 12.3

686f6c6d <[email protected]> Thu, 15 May 2014 14:03:08 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <CAMEHyeH7iZuEx0ZOyHeE46jn9TtGCCU9VFJq-Cf5DCQtHD4nnw@mail.gmail.com>
On Fri, May 9, 2014 at 1:30 PM, Vladislav Geller
<[email protected]> wrote:
> Hey All,
>
> I cant seem to trace what is installing games with my autoyast file.
> I'd rather not overload my network with bloat that is not required. I
> couldn't find any meaningful way in zypp to locate the pattern
> culprint that installs all the games on the unattended install.

Which games are you talking about? (I don't have a desktop machine to
reproduce right now.) Are you talking about single packages being
installed, or a /.*game.*/ pattern?

Just by looking at
https://build.opensuse.org/package/view_file/openSUSE:12.3/patterns-openSUSE/patterns-openSUSE.spec?expand=1,
I would expect the culprit to be patterns-openSUSE-xfce, as it
recommends gnome-games.

You can experiment and adjust with the packages and dependencies
during the installation by adding "y2confirm" to the AutoYAST boot
parameters, this way the confirmation screen of the manual install
will be displayed and you can edit the Software settings. If you
lock/blacklist ("!") a package, you will see what else breaks.
Unfortunately, this will probably only help you with hard Requires,
not with Recommends. (But I'm unsure whether the default zypper
setting of installRecommends applies to patterns.)


In the installed system, this might help finding the culprit:
    for pat in $(zypper se patterns | grep ^i | cut -d'|' -f2); do
echo ----- $pat ----- ; zypper if --requires --recommends $pat; echo
----- end $pat -----; done
Or:
    for pat in $(zypper se patterns | grep ^i | cut -d'|' -f2); do
echo ----- $pat ----- ; zypper if --requires --recommends $pat | grep
"game\|^Requires:\|^Recommends:"; echo ----- end $pat -----; done


In any case, try adding the game-rpms or patterns to your AutoYAST profile:
    <software>
        <remove-packages config:type="list">
            <package>$singlerpm</package>
            <package>patterns-openSUSE-$whatever</package>
        </remove-packages>
    </software>


-- 
Kind regards
    Christopher 'm4z' Holm / 686f6c6d

"We must respect the other fellow's religion, but only in the sense
and to the extent that we respect his theory that his wife is
beautiful and his children smart." --H. L. Mencken
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]