From 1dfb2f85aadd3d98147cc0d8da62f2593ad1a449 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 31 Oct 2019 17:29:51 -0400 Subject: [PATCH 1/6] Install package python-virtualenv for KA Lite and Calibre-Web --- roles/2-common/tasks/packages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/2-common/tasks/packages.yml b/roles/2-common/tasks/packages.yml index 89b3bad4e..2b65410ee 100644 --- a/roles/2-common/tasks/packages.yml +++ b/roles/2-common/tasks/packages.yml @@ -63,3 +63,8 @@ - usbutils - wget state: present + +- name: Install package python-virtualenv for KA Lite and Calibre-Web + package: + name: python-virtualenv + state: present From e40b476787ac238de180d233f7d44256da0ddff6 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 31 Oct 2019 17:31:34 -0400 Subject: [PATCH 2/6] Update packages.yml --- roles/2-common/tasks/packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/2-common/tasks/packages.yml b/roles/2-common/tasks/packages.yml index 2b65410ee..506a75ea5 100644 --- a/roles/2-common/tasks/packages.yml +++ b/roles/2-common/tasks/packages.yml @@ -66,5 +66,5 @@ - name: Install package python-virtualenv for KA Lite and Calibre-Web package: - name: python-virtualenv + name: python-virtualenv state: present From a5f2b8957980908be8e4d171f71eaa215a168ce2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 31 Oct 2019 17:33:43 -0400 Subject: [PATCH 3/6] Update iiab-install --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index 43851997c..438deabf8 100755 --- a/iiab-install +++ b/iiab-install @@ -10,7 +10,7 @@ CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} MIN_RPI_KERN=4.9.59-v7+ # UPDATE THIS SOON...when Raspbian's Oct 2019 kernels are finally fixed (https://github.com/iiab/iiab/issues/1993 etc) -MIN_ANSIBLE_VER=2.9.0 +MIN_ANSIBLE_VER=2.8.7 # Ansible 2.8.3 and 2.8.6 have serious bugs, preventing their use with IIAB. if [ ! -f /etc/iiab/local_vars.yml ]; then From c26f32ac63b8b7ffef40fa5dbad7fb2b8b26c205 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 31 Oct 2019 17:38:05 -0400 Subject: [PATCH 4/6] Update iiab-install --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index 438deabf8..56fba4684 100755 --- a/iiab-install +++ b/iiab-install @@ -9,7 +9,7 @@ ARGS="" CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} -MIN_RPI_KERN=4.9.59-v7+ # UPDATE THIS SOON...when Raspbian's Oct 2019 kernels are finally fixed (https://github.com/iiab/iiab/issues/1993 etc) +MIN_RPI_KERN=4.19.79 # Can be further updated if necessary, when Raspbian's Oct 2019 kernels are more offially fixed such that running 'rpi-update' will no longer be nec soon, see: https://github.com/iiab/iiab/issues/1993 MIN_ANSIBLE_VER=2.8.7 # Ansible 2.8.3 and 2.8.6 have serious bugs, preventing their use with IIAB. if [ ! -f /etc/iiab/local_vars.yml ]; then From 4a313a013e78c4b3f585aaddf5d0014f7e3d961d Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 31 Oct 2019 18:04:10 -0400 Subject: [PATCH 5/6] Document that roles/kalite (and prob also roles/calibre-web) need pkg python-virtualenv for now --- roles/2-common/tasks/packages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/2-common/tasks/packages.yml b/roles/2-common/tasks/packages.yml index 506a75ea5..7026ff2ff 100644 --- a/roles/2-common/tasks/packages.yml +++ b/roles/2-common/tasks/packages.yml @@ -64,6 +64,7 @@ - wget state: present +# 2019-10-31: roles/kalite crashed without the following python-virtualenv -- weirdly python3-virtualenv was installed on Raspbian (not sure why) but insufficient - name: Install package python-virtualenv for KA Lite and Calibre-Web package: name: python-virtualenv From 766d2b618ba8924f9a04139465f9d9675874b238 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 31 Oct 2019 18:04:58 -0400 Subject: [PATCH 6/6] Update iiab-install --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index 56fba4684..baa40c55c 100755 --- a/iiab-install +++ b/iiab-install @@ -9,7 +9,7 @@ ARGS="" CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} -MIN_RPI_KERN=4.19.79 # Can be further updated if necessary, when Raspbian's Oct 2019 kernels are more offially fixed such that running 'rpi-update' will no longer be nec soon, see: https://github.com/iiab/iiab/issues/1993 +MIN_RPI_KERN=4.19.79 # Can be further updated if necessary, when Raspbian's Oct 2019 kernels are more officially fixed such that running 'rpi-update' will no longer be nec soon, see: https://github.com/iiab/iiab/issues/1993 MIN_ANSIBLE_VER=2.8.7 # Ansible 2.8.3 and 2.8.6 have serious bugs, preventing their use with IIAB. if [ ! -f /etc/iiab/local_vars.yml ]; then