1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Free up disk (~1.6 GB) after Transmission compile

This commit is contained in:
A Holt 2023-06-12 12:56:36 -04:00 committed by GitHub
parent 2c84233946
commit 251694f2f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@
force: yes
# https://github.com/transmission/transmission/blob/main/docs/Building-Transmission.md#building-transmission-from-git-first-time
- name: Compile & Install (CAN TAKE 10+ MINUTES, OR MUCH MORE ON A RASPBERRY PI!)
- name: Compile, install & remove detritus (CAN TAKE 50 MINUTES OR MORE ON A RASPBERRY PI 4!)
shell: |
cd /opt/iiab/transmission
git submodule update --init --recursive
@ -46,6 +46,8 @@
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make
make install
cd
rm -rf /opt/iiab/transmission # 2023-06-12: Frees up 1.1 GB on 32-bit RasPiOS. Frees up 1.6 GB on 64-bit RasPiOS.
- name: Attempt surgery on /lib/systemd/system/transmission-daemon.service (1) changing --log-error to --log-level=error (2) changing /usr/bin/transmission* to /usr/local/bin/transmission*
shell: |