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

many: pass device/model info to configcore via sysconfig.Device interface #10446

Merged
merged 9 commits into from Jun 25, 2021

Commits on Jun 23, 2021

  1. many: start configcore taking model/device information

    introduce sysconfig.Device (similar to boot.Device)
    
    have sysconfig.ApplyFilesystemOnlyDefaults and
    sysconfig.ConfigureTargetSystem take the model and pass down a
    sysconfig.Device
    
    for these two we assume that mode is not run
    pedronis committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    5df525a View commit details
    Browse the repository at this point in the history
  2. many: have configcore.Run/Early take a sysconfig.Device

    adjust the affected code
    pedronis committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    aa7446b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e23f8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08544cb View commit details
    Browse the repository at this point in the history
  5. o/configstate/configcore: stop mocking release.OnClassic

    the information is passed via sysconfig.Device now
    pedronis committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    afa2c1f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bb2f61f View commit details
    Browse the repository at this point in the history
  7. o/conficore/configstate: use sysconfig.Device handling pi options

    this gives us more information more cleanly than the current approach
    reading the kernel command line directly
    pedronis committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    0ab30e4 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. sysconfig: clarify s/devinceInfo/configedDevice/ and its RunMode

    the functions using configedDevice are not used from run mode
    
    (thanks @mvo)
    pedronis committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    3cb049a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf7bb42 View commit details
    Browse the repository at this point in the history