blob: 11b9fe7a40e97286b32c453ab38dc2dfbef2bbd0 (
plain) (
tree)
|
|
#!/bin/bash
set -e
ver=5.13
DIR="$(realpath $(dirname "$BASH_SOURCE"))"
cd "$DIR"
rm -rf "incoming-$ver"
mkdir "incoming-$ver"
(
cd "$HOME/sw/linux"
base="$(git merge-base "linux-stable/linux-$ver.y" "raspberrypi/rpi-$ver.y")"
git format-patch -o "$DIR/incoming-$ver" "$base".."raspberrypi/rpi-$ver.y"
git diff "$base".."linux-stable/linux-$ver.y" > "$DIR/stable-$ver.patch"
)
python3 import_series.py "rpi-$ver" "incoming-$ver"
python3 export_series.py "rpi-$ver" "stable-$ver.patch" "prb-$ver.patch" > "rpi-$ver.patch"
cp "rpi-$ver.patch" ~/sw/fedora/hvenev-kernel/patches/9000-rpi.patch
|