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 03:06] hyphop [Online external images usage] |
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 images not visible | + | * At this moment testing images not visible |
| - | * 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 '' | ||
| </ | </ | ||
| Line 37: | Line 38: | ||
| ``` | ``` | ||
| + | |||
| + | === Create redirection to external link === | ||
| ```shell create external image link | ```shell create external image link | ||
| Line 64: | Line 67: | ||
| ``` | ``` | ||
| + | === External link showing on web browser === | ||
| + | /* | ||
| + | {{./ | ||
| + | */ | ||
| + | {{./ | ||
| ==== Images testing ==== | ==== Images testing ==== | ||
| Line 86: | Line 94: | ||
| ``` | ``` | ||
| - | ==== Screenshots ==== | + | ==== Screenshots |
| - | {{gallery>? | + | {{gallery> |
| ===== Repack testing ===== | ===== Repack testing ===== | ||
| - | ```sh repack original armbian image | + | ```sh repack original armbian image example |
| - | cd ~ | + | cd ~ && |
| - | mkdir -p armbian-test | + | # download xze script |
| - | cd armbian-test | + | |
| wget https:// | wget https:// | ||
| chmod 0777 xze | 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 | ```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 | ||
| + | ## | ||
| - | master@universe:~/khadas/img/edge2$ ls -l1 edge2-armbian-jammy-legacy-original-repack.img.xz | + | ## |
| - | -rw-rw-r-- 1 master master 495837184 May 26 14:05 edge2-armbian-jammy-legacy-original-repack.img.xz | + | type:xz |
| + | label: Armbian | ||
| + | builder: Armbian | ||
| + | date: Fri 26 May 2023 07:26:58 AM UTC | ||
| + | match: BOARD=Edge2 | ||
| + | link: https://www.armbian.com/khadas-edge-2/ | ||
| + | duration: 60 | ||
| + | desc: Armbian Jammy legacy | ||
| + | image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img | ||
| + | ## | ||
| + | ## | ||
| - | master@universe: | ||
| - | real 0m4.270s | + | ``` |
| - | user 0m34.601s | + | |
| - | sys 0m2.627s | + | |
| - | master@universe:~/khadas/img/ | + | ```shell put redirect links to oowow collection |
| - | Strms Blocks | + | |
| - | 2 26 472.9 MiB 2,244.0 MiB 0.211 CRC64 edge2-armbian-jammy-legacy-original-repack.img.xz | + | storage@web:/storage/.images/ |
| - | [i] blocks: 26 // 472.9*MiB // 2,244.0*MiB | + | http:// |
| + | storage@web:/ | ||
| + | http://dl.khadas.com/.test/edge2/armbian/ | ||
| + | |||
| + | ``` | ||
| + | |||
| + | ==== check meta by online ==== | ||
| + | |||
| + | |||
| + | ```shell check meta by online | ||
| + | ~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.test/edge2/ | ||
| ## | ## | ||
| - | 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-repack.img.xz |
| UNPACKED_SIZE: | UNPACKED_SIZE: | ||
| PACKED_SIZE: | PACKED_SIZE: | ||
| Line 129: | Line 179: | ||
| label: Armbian | label: Armbian | ||
| builder: Armbian | builder: Armbian | ||
| - | date: Fri 26 May 2023 06:03:01 AM UTC | + | date: Fri 26 May 2023 07:26:58 AM UTC |
| match: BOARD=Edge2 | match: BOARD=Edge2 | ||
| link: https:// | link: https:// | ||
| duration: 60 | duration: 60 | ||
| desc: Armbian Jammy legacy testing ... | desc: Armbian Jammy legacy testing ... | ||
| - | image: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160.img | + | 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: | ||