~krathalan/miscellaneous-scripts

fd9274467c73afacced3824f6ccc7bbd1cfa9c96 — Hunter Peavey 2 years ago edd6399
Add support for new tkg-znver2 kernel
1 files changed, 4 insertions(+), 1 deletions(-)

M gen-initrds
M gen-initrds => gen-initrds +4 -1
@@ 89,6 89,9 @@ extension()
    *next*)
      toPrint+="-next"
      ;;
    *tkg*)
      toPrint+="-tkg"
      ;;
    *zen*)
      toPrint+="-zen"
      ;;


@@ 216,7 219,7 @@ while read -r line; do

  # Remove personal sections in pkgbase
  # I use these for building various linux-next-${section}-git packages
  sectionsToRemove=("generic" "krathalan" "ryzen2" "skylake")
  sectionsToRemove=("generic" "krathalan" "ryzen2" "znver2" "skylake")
  for section in "${sectionsToRemove[@]}"; do
    pkgbase="${pkgbase//-${section}}"
  done