deviceinfo: replace implementation with mvdan/sh (MR 52)

This library has a convenient "source file" method designed for sourcing
shell envs and returning values set in them. deviceinfo's syntax every
where else seems to be "whatever sh can 'source'", so using this library
seems a lot nicer than trying to implement a parser/interpreter here
(and almost certainly missing corner cases, functionality, etc)

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft
2024-03-18 16:41:23 -07:00
parent 56db822b88
commit 1334fdfa26
7 changed files with 81 additions and 80 deletions

View File

@@ -1,2 +1,3 @@
deviceinfo_format_version="0"
deviceinfo_initfs_compression="gz -9"
deviceinfo_mesa_driver="panfrost"