~xdavidwu/linux-xdavidwu-xps

ref: 3efac9c8047bdd068b0d0d379843751b26b9a4c2 linux-xdavidwu-xps/pull-clr-patches.sh -rwxr-xr-x 488 bytes
3efac9c8Pinghao Wu 6.14 12 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

set -e

rm -f 01*.patch

# CLR patches starts with 01
curl -L https://github.com/clearlinux-pkgs/linux/archive/main.zip | busybox unzip - 'linux-main/01*' 'linux-main/00*'

cd linux-main

# remove unwanted patches

## misc prints
rm *-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch
rm *-print-fsync-count-for-bootchart.patch

## wtf?
rm *-add-boot-option-to-allow-unsigned-modules.patch

for i in *;do
	printf "\t%s\n" "$i"
done

cp * ../

cd ..

rm -rf linux-main