- 01 Aug, 2018 1 commit
-
-
rgaudin authored
-
- 31 Jul, 2018 2 commits
-
-
rgaudin authored
On Linux, loop-device setup, mount, unmount and removal is done in userspace thanks to udisks2. Now that we format the third partition on the host (before copying large files into it), we need to have the permission to mkfs on the loop device. At this step, the following now applies: check wether we can write on loop device (Sys requirements advises user to be member of the `disk` group) change mode if we can't (requesting elevation) restore mode after we've formatted (requesting elevation – usually before previous elevation expiration) Additionaly, to prevent unexpected request for elevation at the format step (usually 30-90mn into the process), on startup: attempt to guess loop device path on start. This might fail or be wrong (another app uses the guessed loop before the format step) but that should be rare. change mode of guessed loop device (along with SD card, so a single request right on startup) restore mode at end of process (along with SD card) if we could not properly guess, elevation will be requested at format step. Also enforcing usage of logger everywhere (subprocess calls for mount) as missing logger leads to painful diagnostics
-
rgaudin authored
-
- 26 Jul, 2018 11 commits
- 25 Jul, 2018 8 commits
- 24 Jul, 2018 9 commits
-
-
rgaudin authored
-
rgaudin authored
-
rgaudin authored
-
rgaudin authored
-
rgaudin authored
-
rgaudin authored
To prevent inconsistency in data partition mounting on host: 1. backup /data on /home/data_part.tar after reconfigure (very small) 2. mkfs data partition on host 3. copy large content onto data partition 4. restore data_part.tar in qemu
-
rgaudin authored
-
rgaudin authored
-
- 23 Jul, 2018 1 commit
-
-
rgaudin authored
Updated travis and appveyor to send all non-release builds to tmp.kiwix.org and cron builds to nightly folder
-
- 20 Jul, 2018 2 commits
- 14 Jul, 2018 1 commit
-
-
rgaudin authored
-
- 13 Jul, 2018 5 commits
-
-
rgaudin authored
-
rgaudin authored
-
rgaudin authored
In ansible through edupi_has_resources variable (bool) In backend via a fake-content shortcut In process stage, by extracting the supplied file into the mount point In move-content, by calling import-from-folder supports both a URL and a File path. supports CLI via --edupi-resources supports GUI via 2 inputs (URL or FileChooser). URL superseeds local file. supports config saving/loading
-
rgaudin authored
-
rgaudin authored
Based on https://github.com/openzim/wikifundi docker images Single properly installed mediawiki setup Single parsoid install LocalSettings.custom.XX.php for each language CGI variable passed by nginx so the correct LocalSettings is used Mediawiki and parsoid entirely on root partition /data/wikifundi contains: mw_wikifundi_XX.sqlite (per lang) images_XX (per lang)
-