Template:COMMON DEBIAN VARS: Difference between revisions
From Variscite Wiki
(Initial, based on template:COMMON_YOCTO_VARS) |
(UNZIP_EXT: add logic to get UNZIP_EXT from RECOVERY_SD_NAME) |
||
Line 24: | Line 24: | ||
--> {{#vardefine:DEFAULT_DTS|{{#replace:{{#var:DEFAULT_DTB}}|.dtb|.dts}}}} <!-- | --> {{#vardefine:DEFAULT_DTS|{{#replace:{{#var:DEFAULT_DTB}}|.dtb|.dts}}}} <!-- | ||
--> {{#vardefine:UNZIP|{{GET_UNZIP|{{#var:RECOVERY_SD_NAME}}}}}} <!-- | --> {{#vardefine:UNZIP|{{GET_UNZIP|{{#var:RECOVERY_SD_NAME}}}}}} <!-- | ||
--> {{#vardefine:UNZIP_EXT|{{#var: | --> {{#vardefine:UNZIP_EXT|{{#explode:{{#var:RECOVERY_SD_NAME}}|.|-1}}.{{#explode:{{#var:RECOVERY_SD_NAME}}|.|-2}}}} <!-- Ugly, but considering a format like <release name>.<version>.<image format>.<zip format> | ||
--> {{#vardefine:TMPDIR|{{#var:TMPDIR|tmp}}}} <!-- | --> {{#vardefine:TMPDIR|{{#var:TMPDIR|tmp}}}} <!-- | ||
--> | --> | ||
</includeonly> | </includeonly> |