This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:oowow:dev:online-external-images-usage:start [2023/05/26 02:41] hyphop [Screenshots] |
software:oowow:dev:online-external-images-usage:start [2023/11/23 22:04] (current) hyphop |
||
---|---|---|---|
Line 2: | Line 2: | ||
<WRAP important > | <WRAP important > | ||
- | * WIP: Fri 26 May 2023 01:47:31 PM CST | + | * updated: Fri 26 May 2023 01:47:31 PM CST WIP: |
- | * at this moment testing | + | * At this moment testing |
- | * need improve | + | * Need to try to improve |
- | * test repack image with xze | + | * Need to share this information with images developers for making better results |
- | * test redirect usage to dl again with xze | + | * Test repack image with '' |
+ | * Test redirect usage to dl again with '' | ||
</ | </ | ||
+ | ===== Original Armbian images ===== | ||
- | ===== Testing | + | ==== Testing |
https:// | https:// | ||
Line 36: | Line 38: | ||
``` | ``` | ||
+ | |||
+ | === Create redirection to external link === | ||
```shell create external image link | ```shell create external image link | ||
Line 63: | Line 67: | ||
``` | ``` | ||
+ | === External link showing on web browser === | ||
+ | /* | ||
+ | {{./ | ||
+ | */ | ||
+ | {{./ | ||
+ | |||
+ | ==== Images testing ==== | ||
+ | |||
+ | |||
+ | ```shell decompression original files | ||
+ | master@universe: | ||
+ | |||
+ | real 0m31.879s | ||
+ | user 0m30.135s | ||
+ | sys 0m1.418s | ||
+ | master@universe: | ||
+ | |||
+ | real 0m3.181s | ||
+ | user 0m39.479s | ||
+ | sys 0m1.180s | ||
+ | |||
+ | ~$ ls -l1 Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | ||
+ | -rw-rw-r-- 1 master master 582247696 May 26 10:11 Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | ||
+ | |||
+ | |||
+ | ``` | ||
+ | |||
+ | ==== Screenshots problematic installation process ==== | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | |||
+ | ===== Repack testing ===== | ||
+ | |||
+ | ```sh repack original armbian image example | ||
+ | cd ~ && mkdir -p armbian-test && cd armbian-test # prepare space | ||
+ | # download xze script | ||
+ | wget https:// | ||
+ | chmod 0777 xze | ||
+ | # download original armbian image | ||
+ | wget --content-disposition http:// | ||
+ | # decompress to raw | ||
+ | pixz -dc Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | ||
+ | # setup output filename | ||
+ | export OUT=Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | ||
+ | # compress image | ||
+ | ./xze " | ||
+ | --meta \ | ||
+ | label=Armbian \ | ||
+ | builder=Armbian \ | ||
+ | date=" | ||
+ | match=BOARD=Edge2 \ | ||
+ | link=https:// | ||
+ | duration=60 \ | ||
+ | desc=" | ||
+ | |||
+ | ``` | ||
+ | |||
+ | |||
+ | ```shell check repacked image | ||
+ | ~$ ./xze Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | ||
+ | Strms Blocks | ||
+ | 2 26 472.9 MiB 2,244.0 MiB 0.211 CRC64 | ||
+ | [i] blocks: 26 // 472.9*MiB // 2,244.0*MiB | ||
+ | ## | ||
+ | FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | ||
+ | UNPACKED_SIZE: | ||
+ | PACKED_SIZE: | ||
+ | FILE_SIZE: 495837184 | ||
+ | ## | ||
+ | |||
+ | ## | ||
+ | type:xz | ||
+ | label: Armbian | ||
+ | builder: Armbian | ||
+ | date: Fri 26 May 2023 07:26:58 AM UTC | ||
+ | match: BOARD=Edge2 | ||
+ | link: https:// | ||
+ | duration: 60 | ||
+ | desc: Armbian Jammy legacy testing ... | ||
+ | image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img | ||
+ | ## | ||
+ | ## | ||
+ | |||
+ | |||
+ | ``` | ||
+ | |||
+ | ```shell put redirect links to oowow collection | ||
+ | |||
+ | storage@web:/ | ||
+ | http:// | ||
+ | storage@web:/ | ||
+ | http:// | ||
+ | |||
+ | ``` | ||
+ | |||
+ | ==== check meta by online ==== | ||
+ | |||
+ | |||
+ | ```shell check meta by online | ||
+ | ~$ curl -s -jkLf -r-4096 http:// | ||
+ | ## | ||
+ | FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | ||
+ | UNPACKED_SIZE: | ||
+ | PACKED_SIZE: | ||
+ | FILE_SIZE: 495837184 | ||
+ | ## | ||
+ | |||
+ | ## | ||
+ | type:xz | ||
+ | label: Armbian | ||
+ | builder: Armbian | ||
+ | date: Fri 26 May 2023 07:26:58 AM UTC | ||
+ | match: BOARD=Edge2 | ||
+ | link: https:// | ||
+ | duration: 60 | ||
+ | desc: Armbian Jammy legacy testing ... | ||
+ | image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img | ||
+ | ## | ||
+ | ## | ||
+ | ``` | ||
+ | |||
+ | ```shell check redirect from images collection | ||
+ | ~$ curl http:// | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 100 | ||
+ | HTTP/1.1 302 Moved Temporarily | ||
+ | Server: nginx | ||
+ | Date: Fri, 26 May 2023 07:41:18 GMT | ||
+ | Content-Type: | ||
+ | Content-Length: | ||
+ | Connection: keep-alive | ||
+ | Location: http:// | ||
+ | |||
+ | ``` | ||
+ | |||
+ | ```shell final check image meta | ||
+ | ~$ curl -s -jkLf -r-4096 http:// | ||
+ | ## | ||
+ | FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | ||
+ | UNPACKED_SIZE: | ||
+ | PACKED_SIZE: | ||
+ | FILE_SIZE: 495837184 | ||
+ | ## | ||
+ | |||
+ | ## | ||
+ | type:xz | ||
+ | label: Armbian | ||
+ | builder: Armbian | ||
+ | date: Fri 26 May 2023 07:26:58 AM UTC | ||
+ | match: BOARD=Edge2 | ||
+ | link: https:// | ||
+ | duration: 60 | ||
+ | desc: Armbian Jammy legacy testing ... | ||
+ | image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img | ||
+ | ## | ||
+ | ## | ||
+ | ``` | ||
+ | ==== Screenshots normal installation process ==== | ||
+ | |||
+ | |||
+ | {{gallery> | ||
===== Image oowow compatible requirements ===== | ===== Image oowow compatible requirements ===== | ||
- | We recommend | + | We recommend |
* Provide additional information about images | * Provide additional information about images | ||
- | * Its fully compatible with common xz format, and same possible to use anywhere | + | * Its fully compatible with the common xz format, and same possible to use anywhere |
- | * Fast checking image integrity before | + | * Fast-checking image integrity before |
* Make warranty its image will be suitable for current board installation | * Make warranty its image will be suitable for current board installation | ||
* Fast optimal compression for fastest decompression on SBC | * Fast optimal compression for fastest decompression on SBC | ||
* Image signup | * Image signup | ||
- | * etc .. | + | * etc... |
+ | |||
+ | <WRAP important > | ||
+ | Sure all requirements are **optional**, | ||
+ | </ | ||
WIP: | WIP: | ||
Line 101: | Line 272: | ||
## | ## | ||
## | ## | ||
- | |||
- | |||
``` | ``` | ||
+ | ```shell show image meta online example for armbian | ||
- | ===== Images testing ===== | + | ~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.test/edge2/ |
- | + | ||
- | + | ||
- | ```shell decompression original files | + | |
- | master@universe: | + | |
- | + | ||
- | real 0m31.879s | + | |
- | user 0m30.135s | + | |
- | sys 0m1.418s | + | |
- | master@universe: | + | |
- | + | ||
- | real 0m3.181s | + | |
- | user 0m39.479s | + | |
- | sys 0m1.180s | + | |
- | + | ||
- | ~$ ls -l1 Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | + | |
- | -rw-rw-r-- 1 master master 582247696 May 26 10:11 Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | + | |
- | + | ||
- | + | ||
- | ``` | + | |
- | + | ||
- | ```shell check repacked image | + | |
- | + | ||
- | master@universe: | + | |
- | -rw-rw-r-- 1 master master 495837184 May 26 14:05 edge2-armbian-jammy-legacy-original-repack.img.xz | + | |
- | + | ||
- | master@universe: | + | |
- | + | ||
- | real 0m4.270s | + | |
- | user 0m34.601s | + | |
- | sys 0m2.627s | + | |
- | + | ||
- | master@universe: | + | |
- | Strms Blocks | + | |
- | 2 26 472.9 MiB 2,244.0 MiB 0.211 CRC64 edge2-armbian-jammy-legacy-original-repack.img.xz | + | |
- | [i] blocks: 26 // 472.9*MiB // 2,244.0*MiB | + | |
## | ## | ||
FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img.xz | ||
Line 161: | Line 296: | ||
## | ## | ||
## | ## | ||
- | |||
``` | ``` | ||
- | |||
- | |||
- | ===== Screenshots ===== | ||
- | |||
- | {{gallery>? | ||
- | |||