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

Calibre - split RPi from others to use raspbain's testing repo, split off unstable

This commit is contained in:
Jerry Vonau 2018-04-06 18:03:38 -05:00
parent 45ca0da8e6
commit fd2daca9c0
5 changed files with 55 additions and 20 deletions

View file

@ -12,5 +12,7 @@ calibre_sample_book: "Metamorphosis-jackson.epub"
calibre_src_url: "https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py"
calibre_debs_on_debian: true
# USE TO TEST debs.yml (RASPBIAN APPROACH!) ON DEBIAN 9.X
calibre_debs_on_debian: True
# enable calibre unstable
calibre_unstable: False

View file

@ -5,13 +5,16 @@
# April 5 2018 raspbian is now tracking the latest Calibre with a small delay.
# Should you really want the latest just run the below script standalone, it is
# strongly suggested that waiting for the lastest deb from Rasbian is the best.
# strongly suggested that waiting for the lastest deb from Raspbian is the best.
- name: Upgrade latest Calibre
- name: Upgrade to testing Calibre - RPi
command: scripts/calibre-install-latest-rpi.sh
when: is_rpi
- name: Upgrade to tesing Calibre - non-RPi
command: scripts/calibre-install-latest.sh
#when: not is_rpi
when: not is_rpi
# Oops "when: not is_rpi" causes Calibre playbook to fail on Raspbian Lite (possibly
# other OS's too). Error msg is: "Unable to start service calibre-serve: Job for
# calibre-serve.service failed because the control process exited with error code."
# Running "calibre --version" then responds with "calibre (calibre 2.75.1)".
- name: Upgrade to unstable Calibre - all
command: scripts/calibre-install-unstable.sh
when: calibre_unstable