Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install pattern #8

Merged
merged 2 commits into from Aug 19, 2013
Merged

Install pattern #8

merged 2 commits into from Aug 19, 2013

Conversation

thp
Copy link
Contributor

@thp thp commented Aug 19, 2013

Allow installation of patterns based on the "distroId" parameters when the upgrade type is "complete". If the pattern is not found, ignore and do a normal dist-upgrade.

To test, use:

pkcon upgrade-system name-of-some-pattern complete

Watch debugging output:

tail -f /var/log/pk_backend_zypp | grep '\[packagekit\]'

Thomas Perl added 2 commits August 19, 2013 12:09
When doing a dist-upgrade, the distroId can be the name of a pattern
(without the "pattern:" prefix) to be marked for installation. If a
pattern with that name is not found, the distroId is ignored and the
dist-upgrade will be carried out as normal.

For the pattern installation to take place, the type of dist-upgrade
must be "complete". If the type of dist-upgrade is "minimal", and the
pattern exists, the pattern's dependencies will be downloaded, but
not installed (as "minimal" signifies "download only" in our case).

[backends] zypp: Install all patterns matching distroId on upgrade
bwachter added a commit that referenced this pull request Aug 19, 2013
@bwachter bwachter merged commit e14ec4f into nemomobile-packages:master Aug 19, 2013
@thp thp deleted the install-pattern branch November 11, 2013 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants