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

scripts: create kernel configuration upgrade script #14907

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on May 8, 2024

  1. scripts/kernel_upgrade: create kernel configuration upgrade script

    Create a script for automating kernel version changes.  This
    generates a pair of commits which cause history to remain attached to
    all versioned configuration files.
    
    Crucially this makes `git blame` work without needing
    --find-copies-harder, which is too slow for routine use.  This also
    updates *everything*, which greatly simplifies rebasing patches
    which effect multiple devices.
    
    Credit to Christian Marangi who knew of the technique:
    <https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041672.html>
    
    Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
    ehem committed May 8, 2024
    Configuration menu
    Copy the full SHA
    2c63ed1 View commit details
    Browse the repository at this point in the history
  2. scripts/kernel_upgrade: add partial update functionality to script

    This matches the way this has been handled in the past.  This could
    also help devices which were skipped due to abandoned plans to drop.
    
    Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
    ehem committed May 8, 2024
    Configuration menu
    Copy the full SHA
    f0b7a62 View commit details
    Browse the repository at this point in the history