mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Revert to kiwix-tools 3.4.0 if armhf 3.5.0 downloads
This commit is contained in:
parent
e227fdc29e
commit
b1a219bcae
2 changed files with 13 additions and 3 deletions
|
@ -25,12 +25,12 @@ kiwix_base_url: https://download.kiwix.org/release/kiwix-tools/
|
|||
#kiwix_base_url: https://download.kiwix.org/nightly/2022-10-04/
|
||||
#kiwix_base_url: "{{ iiab_download_url }}/" # e.g. https://download.iiab.io/packages/
|
||||
|
||||
kiwix_arch_dict: # 'dpkg --print-architecture' key would be:
|
||||
kiwix_arch_dict: # 'dpkg --print-architecture' key would be: (to mitigate #3516 in future, if truly nec?)
|
||||
#i386: # ?
|
||||
i686: i586 # ?
|
||||
x86_64: x86_64 # amd64
|
||||
armv6l: armhf # arm6l
|
||||
armv7l: armhf # arm7l BEWARE: armhf version of kiwix-tools suddenly FAILS on 64-bit RasPiOS, since 3.5.0 released 2023-04-28 -- #3574
|
||||
armv6l: armhf # armhf
|
||||
armv7l: armhf # armhf BEWARE: armhf version of kiwix-tools suddenly FAILS on 64-bit RasPiOS, since 3.5.0 released 2023-04-28 -- #3574, PR #3576
|
||||
aarch64: aarch64 # arm64 BEWARE: "32-bit" RasPiOS suddenly boots 64-bit kernel since March 2023 -- #3516, explained at https://github.com/iiab/iiab/pull/3422#issuecomment-1533441463
|
||||
|
||||
# ansible_architecture might also work, if not quite as well:
|
||||
|
|
|
@ -19,6 +19,14 @@
|
|||
timeout: "{{ download_timeout }}"
|
||||
register: kiwix_dl # PATH /opt/iiab/downloads + ACTUAL filename put in kiwix_dl.dest, for unarchive ~28 lines below
|
||||
|
||||
- name: "2023-05-14: TEMPORARY PATCH REVERTING TO KIWIX-TOOLS 3.4.0 IF BUGGY 32-BIT (armhf) VERSION 3.5.0 IS DETECTED -- #3574"
|
||||
get_url:
|
||||
url: https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf-3.4.0.tar.gz
|
||||
dest: "{{ downloads_dir }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
register: kiwix_dl
|
||||
when: kiwix_dl.dest == "/opt/iiab/downloads/kiwix-tools_linux-armhf-3.5.0.tar.gz"
|
||||
|
||||
- name: Does {{ kiwix_path }}/bin already exist? (as a directory, symlink or file)
|
||||
stat:
|
||||
path: "{{ kiwix_path }}/bin" # /opt/iiab/kiwix
|
||||
|
@ -58,6 +66,8 @@
|
|||
src: "{{ kiwix_dl.dest }}" # See ~28 lines above, e.g. /opt/iiab/downloads/kiwix-tools_linux-x86_64-3.3.0-1.tar.gz
|
||||
dest: "{{ kiwix_path }}/bin"
|
||||
extra_opts: --strip-components=1
|
||||
owner: root # 2023-05-14: When unpacking let's avoid bogus owner/group,
|
||||
group: root # arising from UID/GID on Kiwix's build machine.
|
||||
|
||||
|
||||
# 3. ENABLE MODS FOR APACHE PROXY IF DEBUNTU
|
||||
|
|
Loading…
Reference in a new issue