ca7a6ef8aa
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
15 lines
305 B
Bash
Executable File
15 lines
305 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "${0%/*}"
|
|
|
|
git clone https://git.savannah.gnu.org/git/config.git
|
|
sha="$(cd config; git log -1 --pretty=tformat:%H)"
|
|
sed -r -i -e "\$s/.*/${sha}/" README.buildroot
|
|
cp config/config.* .
|
|
for p in $(ls patches/*.patch 2>/dev/null); do
|
|
patch -p1 < "${p}"
|
|
done
|
|
rm -rf config
|