mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-10-26 20:40:51 +03:00
checkpoint: into main from release/2.1.2 @ 949ed00e47
(#17014)
This commit is contained in:
commit
3f1147cf54
7
build_scripts/assets/rpm/before-install.sh
Normal file
7
build_scripts/assets/rpm/before-install.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# handling multiple cases where empty directories are left behind resulting
|
||||||
|
# in issues with the python identifying the blockchain version
|
||||||
|
find /opt/chia -type d -empty -delete || true
|
@ -74,6 +74,8 @@ fpm -s dir -t rpm \
|
|||||||
--rpm-tag 'Recommends: libxcrypt-compat' \
|
--rpm-tag 'Recommends: libxcrypt-compat' \
|
||||||
--rpm-tag '%define _build_id_links none' \
|
--rpm-tag '%define _build_id_links none' \
|
||||||
--rpm-tag '%undefine _missing_build_ids_terminate_build' \
|
--rpm-tag '%undefine _missing_build_ids_terminate_build' \
|
||||||
|
--before-install=assets/rpm/before-install.sh \
|
||||||
|
--rpm-tag 'Requires(pre): findutils' \
|
||||||
.
|
.
|
||||||
# CLI only rpm done
|
# CLI only rpm done
|
||||||
cp -r dist/daemon ../chia-blockchain-gui/packages/gui
|
cp -r dist/daemon ../chia-blockchain-gui/packages/gui
|
||||||
|
Loading…
Reference in New Issue
Block a user