linux-pikaos-template/scripts/patch.sh

9 lines
265 B
Bash
Raw Normal View History

2024-07-24 04:09:14 +02:00
#!/bin/bash
echo "Pika Kernel - Applying patches"
if [ -f ../patches/series ]
then
for i in $(cat ../patches/series | grep -v '^#') ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
2024-07-24 13:00:23 +02:00
fi