Created
July 10, 2019 02:39
-
-
Save loopyd/0a75021b0a0b95d486c65e432244a910 to your computer and use it in GitHub Desktop.
Helpful snippets for patching a kernel created for the Arch pkgbuild system.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# [ArchTricks] ezkernelpatches.sh - code snippets to help patch your kernel... | |
# For source=() section | |
for ln in $(find ./*.patch -type f -exec sha256sum {} \; | awk '{print $1}'); do echo " '$ln'"; done | |
# For sha256sum=() section | |
for ln in $(find *.patch -type f -exec echo {} \; | awk '{print $1}'); do echo " $ln"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment