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

asserts: add (optional) kernel-track to model assertion #5401

Merged
merged 2 commits into from
Jul 16, 2018

Commits on Jun 26, 2018

  1. [RFC] asserts: add (optional) kernel-track to model assertion

    This allows specifying the kernel track in the model assertion
    so that e.g. core18 can pull in a 4.15 kernel when building a
    core18 system.
    
    If this gets accepted we need to add code to `snap prepare-image`
    to pull the kernel from the right track and also code to snapstate
    to ensure the track of the kernel cannot be changed.
    
    This is also discussed in https://forum.snapcraft.io/t/5947
    mvo5 committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    ba6217b View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2018

  1. asserts: add validation for kernel-track

    This ensures that kernel-track is, if present, a string and that it is
    not defined for classic models.
    
    Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
    zyga committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    13f39ca View commit details
    Browse the repository at this point in the history