mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:47:14 +08:00
23 lines
394 B
Plaintext
23 lines
394 B
Plaintext
|
#!/bin/bash
|
||
|
source PATCHCFG
|
||
|
|
||
|
if [ -d stable-queue ] ;
|
||
|
then
|
||
|
cd stable-queue
|
||
|
git pull
|
||
|
cd ..
|
||
|
else
|
||
|
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
|
||
|
fi
|
||
|
|
||
|
if [ -d stable-queue/queue-$_queue ] ;
|
||
|
then
|
||
|
cd stable-queue/queue-$_queue
|
||
|
|
||
|
for i in $(cat ./series);
|
||
|
do
|
||
|
cat $i >> ../../$_prepatch.patch;
|
||
|
done
|
||
|
else
|
||
|
echo "There is no patch-set this time"
|
||
|
fi
|