diff --git a/pixel/README.md b/pixel/README.md index a43f31c..18776c3 100644 --- a/pixel/README.md +++ b/pixel/README.md @@ -10,8 +10,8 @@ Standard Variables: * `firmware_partitions` - A matrix of the partition names of proprietary firmware images relevant to this device * `device_repos` - A matrix of the file-paths of relevant AOSP repositories this device depends on. -* `{prev_,}build_id` - Previous/current device stock build ID tags -* `{prev_,}build_number` - Previous/current device stock build number strings +* `build_id` - Previous/current device stock build ID tags +* `build_number` - Previous/current device stock build number strings * `image_url` - Direct link to device's latest factory image * `image_sha256` - SHA256 sum of device's latest factory image * `flash_url` - Stores a formatted link to Google's web-based [Flash tool](https://flash.android.com/welcome) which brings up the device's latest available image, additionally is used to fetch the data used to create build fingerprint changes diff --git a/pixel/update-device-vars.sh b/pixel/update-device-vars.sh index 283979a..9024353 100755 --- a/pixel/update-device-vars.sh +++ b/pixel/update-device-vars.sh @@ -73,7 +73,6 @@ main() { sed -i "/ prev_aosp_tag=/c\readonly prev_aosp_tag=\"$aosp_tag\"" "${dv}" sed -i "/ aosp_tag=/c\readonly aosp_tag=\"$new_aosp_tag\"" "${dv}" fi - sed -i "/ prev_build_number=/c\readonly prev_build_number=\"$build_number\"" "${dv}" sed -i "/ build_number=/c\readonly build_number=\"$new_build_number\"" "${dv}" sed -i "/ image_url=/c\readonly image_url=\"$new_image_url\"" "${dv}" sed -i "/ image_sha256=/c\readonly image_sha256=\"$new_image_sha256\"" "${dv}"