armbian-build/patch/kernel/archive/spacemit-6.6
Rolf Leggewie 63986242b6 pad double digits in kernel patch names with a leading zero (#8520)
Affected kernels:
- odroidxu4-6.6
- spacemit-6.6

the following script gets it mostly (!) right

for patch in patch-6.6.*; do
    # Extract the numbers using parameter expansion
    num1=${patch:10:2}  # Get the first number (2 digits)
    num2=${patch:13:2}  # Get the second number (2 digits)

    # Pad the numbers with leading zeros
    padded_num1=$(printf "%03d" "$num1")
    padded_num2=$(printf "%03d" "$num2")

    # Construct the new patch name
    new_patch="patch-6.6.${padded_num1}-${padded_num2}.patch"

    # Rename the file using git mv
    git mv -v "$patch" "$new_patch"
done
2025-08-19 14:10:26 +02:00
..
001-Add-board-BananaPi-BPI-F3.patch BananaPi BPI-F3: Alphabetize DTS 2025-02-23 19:22:53 +01:00
002-rtl8852bs-Turn-off-DEBUG-and-remove-RTW_WARN_LM.patch spacemit/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
003-Do-not-build-Focaltech-touch.patch spacemit/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
004-Max-freq-limitation-1.8GHz.patch BananaPi BPI-F3: Update to linux-6.6.70 & overclock to 1.8GHz 2025-01-09 13:39:40 -05:00
005-spacemit-k1x-spi-support.patch BananaPi BPI-F3: Add spacemit k1x-spi support 2025-02-16 13:04:47 -05:00
006-general-add-overlay-compilation-support.patch BananaPi BPI-F3: Update overlay patch and add overlays 2025-02-16 13:04:47 -05:00
007-Add-k1-bananapi-f3-overlays.patch BananaPi BPI-F3: Update overlay patch and add overlays 2025-02-16 13:04:47 -05:00
patch-6.6.087-088.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.088-089.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.089-090.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.090-091.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.091-092.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.092-093.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.093-094.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.094-095.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.095-096.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.096-097.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.097-098.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00
patch-6.6.098-099.patch pad double digits in kernel patch names with a leading zero (#8520) 2025-08-19 14:10:26 +02:00