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:54] hyphop [Image oowow compatible requirements] |
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 | + | ==== Images testing ==== |
Line 85: | Line 94: | ||
``` | ``` | ||
- | ===== Screenshots | + | ==== Screenshots |
- | {{gallery>? | + | {{gallery> |
===== Repack testing ===== | ===== Repack testing ===== | ||
- | ```shell check repacked | + | ```sh repack original armbian |
+ | 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=" | ||
- | 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 | + | ```shell check repacked image |
- | user 0m34.601s | + | ~$ ./xze Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz |
- | sys 0m2.627s | + | |
- | + | ||
- | master@universe: | + | |
Strms Blocks | Strms Blocks | ||
- | 2 26 472.9 MiB 2,244.0 MiB 0.211 CRC64 edge2-armbian-jammy-legacy-original-repack.img.xz | + | 2 26 472.9 MiB 2,244.0 MiB 0.211 CRC64 Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz |
[i] blocks: 26 // 472.9*MiB // 2,244.0*MiB | [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 ===== | ||
+ | |||
+ | We recommend using [[https:// | ||
+ | |||
+ | * Provide additional information about images | ||
+ | * Its fully compatible with the common xz format, and same possible to use anywhere | ||
+ | * Fast-checking image integrity before writing it | ||
+ | * Make warranty its image will be suitable for current board installation | ||
+ | * Fast optimal compression for fastest decompression on SBC | ||
+ | * Image signup | ||
+ | * etc... | ||
+ | |||
+ | <WRAP important > | ||
+ | Sure all requirements are **optional**, | ||
+ | </ | ||
+ | |||
+ | WIP: | ||
+ | |||
+ | |||
+ | |||
+ | ```shell check oowow meta online example | ||
+ | |||
+ | ~$ curl -s -jkLf -r-4096 http:// | ||
+ | ## | ||
+ | FILE: edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.img.xz | ||
+ | UNPACKED_SIZE: | ||
+ | PACKED_SIZE: | ||
+ | FILE_SIZE: 429817856 | ||
+ | ## | ||
+ | |||
+ | ## | ||
+ | type:xz | ||
+ | label: Ubuntu | ||
+ | match: BOARD=Edge2 | ||
+ | builder: fenix | ||
+ | link: https:// | ||
+ | desc: Ubuntu 1.5 server jammy - fenix generated images https:// | ||
+ | duration: 60 | ||
+ | date: Tue 25 Apr 2023 01:56:58 PM UTC | ||
+ | image: edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.img | ||
+ | ## | ||
+ | ## | ||
+ | ``` | ||
+ | |||
+ | ```shell show image meta online example for armbian | ||
+ | |||
+ | ~$ curl -s -jkLf -r-4096 http:// | ||
## | ## | ||
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 126: | Line 296: | ||
## | ## | ||
## | ## | ||
- | |||
``` | ``` | ||
- | |||