mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +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)"
|
||||
#sudo mount -t tmpfs -o size=30G tmpfs "$tmp"
|
||||
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'
|
||||
abf put -n
|
||||
# abf put erronously uploads *.json
|
||||
git checkout master_preferences.json
|
||||
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
|
||||
# can be copypasted for a commit message
|
||||
echo "upd: $old_version -> $latest_version"
|
||||
|
|
Loading…
Add table
Reference in a new issue