mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-24 10:02:47 +00:00
upd.sh: download missing sources
This commit is contained in:
parent
be875ba259
commit
262a0c3b87
1 changed files with 4 additions and 2 deletions
6
upd.sh
6
upd.sh
|
@ -42,14 +42,16 @@ patches_ok=0
|
||||||
tmp="$(mktemp --tmpdir=/var/tmp -d)"
|
tmp="$(mktemp --tmpdir=/var/tmp -d)"
|
||||||
#sudo mount -t tmpfs -o size=30G tmpfs "$tmp"
|
#sudo mount -t tmpfs -o size=30G tmpfs "$tmp"
|
||||||
trap 'if [ "$patches_ok" = 1 ]; then rm -fr "$tmp"; fi' EXIT
|
trap 'if [ "$patches_ok" = 1 ]; then rm -fr "$tmp"; fi' EXIT
|
||||||
rpmbuild --define "_sourcedir $PWD" --define "_builddir $tmp" -bp "$spec" && patches_ok=1
|
|
||||||
|
|
||||||
sed -i'' .abf.yml -e '/^ chromium-/d' -e '/^ msspi-/d'
|
sed -i'' .abf.yml -e '/^ chromium-/d' -e '/^ msspi-/d'
|
||||||
abf put -n
|
abf put -n
|
||||||
# abf put erronously uploads *.json
|
# abf put erronously uploads *.json
|
||||||
git checkout master_preferences.json
|
git checkout master_preferences.json
|
||||||
sed -i'' .abf.yml -e '/^ master_preferences.json/d'
|
sed -i'' .abf.yml -e '/^ master_preferences.json/d'
|
||||||
|
|
||||||
|
# download additional sources
|
||||||
|
abf fetch
|
||||||
|
rpmbuild --define "_sourcedir $PWD" --define "_builddir $tmp" -bp "$spec" && patches_ok=1
|
||||||
|
|
||||||
PAGER='' git diff
|
PAGER='' git diff
|
||||||
# can be copypasted for a commit message
|
# can be copypasted for a commit message
|
||||||
echo "upd: $old_version -> $latest_version"
|
echo "upd: $old_version -> $latest_version"
|
||||||
|
|
Loading…
Add table
Reference in a new issue