This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
software:oowow:dev:online-external-images-usage:start [2023/05/26 02:53] hyphop [Repack testing] |
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: | ||
| ``` | ``` | ||
| - | ===== Image oowow compatible requirements ===== | + | === External link showing on web browser |
| + | /* | ||
| + | {{./ | ||
| + | */ | ||
| + | {{./ | ||
| - | We recommend use [[https:// | + | ==== Images testing ==== |
| - | * Provide additional information about images | ||
| - | * Its fully compatible with common xz format, and same possible to use anywhere | ||
| - | * Fast checking image integrity before write it | ||
| - | * Make warranty its image will be suitable for current board installation | ||
| - | * Fast optimal compression for fastest decompression on SBC | ||
| - | * Image signup | ||
| - | * etc .. | ||
| - | WIP: | + | ```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 | ||
| - | ```shell check oowow meta online example | + | ~$ 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 | ||
| - | ~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.images/edge2/edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.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 | ||
| + | # 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: edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.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: |
| - | FILE_SIZE: | + | FILE_SIZE: |
| ## | ## | ||
| ## | ## | ||
| type:xz | type:xz | ||
| - | label: | + | label: |
| + | builder: Armbian | ||
| + | date: Fri 26 May 2023 07:26:58 AM UTC | ||
| match: BOARD=Edge2 | match: BOARD=Edge2 | ||
| - | builder: fenix | + | link: https://www.armbian.com/khadas-edge-2/ |
| - | link: https://dl.khadas.com/Firmware/ | + | |
| - | desc: Ubuntu 1.5 server jammy - fenix generated images https:// | + | |
| duration: 60 | duration: 60 | ||
| - | date: Tue 25 Apr 2023 01:56:58 PM UTC | + | desc: Armbian Jammy legacy testing ... |
| - | image: | + | image: |
| ## | ## | ||
| ## | ## | ||
| Line 105: | Line 154: | ||
| ``` | ``` | ||
| + | ```shell put redirect links to oowow collection | ||
| - | ===== Images testing ===== | + | storage@web:/ |
| + | http:// | ||
| + | storage@web:/ | ||
| + | http:// | ||
| + | ``` | ||
| - | ```shell decompression original files | + | ==== check meta by online ==== |
| - | master@universe: | + | |
| - | real 0m31.879s | ||
| - | user 0m30.135s | ||
| - | sys 0m1.418s | ||
| - | master@universe: | ||
| - | real 0m3.181s | + | ```shell check meta by online |
| - | user 0m39.479s | + | ~$ curl -s -jkLf -r-4096 http://dl.khadas.com/ |
| - | sys 0m1.180s | + | ## |
| + | FILE: Armbian_23.2.9_Khadas-edge2_jammy_legacy_5.10.160-repack.img.xz | ||
| + | UNPACKED_SIZE: | ||
| + | PACKED_SIZE: | ||
| + | FILE_SIZE: 495837184 | ||
| + | ## | ||
| - | ~$ 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 | + | 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 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:// | ||
| ``` | ``` | ||
| - | ===== Screenshots ===== | + | ```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 | ||
| + | ## | ||
| - | {{gallery>? | + | ## |
| + | type:xz | ||
| + | label: Armbian | ||
| + | builder: Armbian | ||
| + | date: Fri 26 May 2023 07:26:58 AM UTC | ||
| + | match: BOARD=Edge2 | ||
| + | link: https://www.armbian.com/ | ||
| + | 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 ==== | ||
| - | ===== Repack testing | + | {{gallery> |
| + | ===== Image oowow compatible requirements | ||
| - | ```shell check repacked | + | We recommend using [[https:// |
| - | master@universe: | + | * Provide additional information about images |
| - | -rw-rw-r-- 1 master master 495837184 May 26 14:05 edge2-armbian-jammy-legacy-original-repack.img.xz | + | * Its fully compatible with the common |
| + | * 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... | ||
| - | master@universe: | + | <WRAP important > |
| + | Sure all requirements are **optional**, | ||
| + | </WRAP> | ||
| - | real 0m4.270s | + | WIP: |
| - | user 0m34.601s | + | |
| - | sys 0m2.627s | + | |
| - | master@universe: | + | |
| - | Strms Blocks | + | |
| - | | + | ```shell check oowow meta online example |
| - | [i] blocks: 26 // 472.9*MiB // 2,244.0*MiB | + | |
| + | ~$ curl -s -jkLf -r-4096 http://dl.khadas.com/.images/ | ||
| + | ## | ||
| + | FILE: edge2-ubuntu-22.04-server-linux-5.10-fenix-1.5-230425.img.xz | ||
| + | UNPACKED_SIZE: | ||
| + | PACKED_SIZE: | ||
| + | FILE_SIZE: 429817856 | ||
| + | ##META-FILE## | ||
| + | |||
| + | ## | ||
| + | type:xz | ||
| + | label: Ubuntu | ||
| + | match: BOARD=Edge2 | ||
| + | builder: fenix | ||
| + | link: https:// | ||
| + | desc: Ubuntu 1.5 server | ||
| + | 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://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.img.xz | ||
| Line 168: | Line 296: | ||
| ## | ## | ||
| ## | ## | ||
| - | |||
| ``` | ``` | ||
| - | |||