nerves-project / nerves_initramfs

An initramfs for early boot handling of Nerves devices (Work in progress!)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support comparing different types

fhunleth opened this issue · comments

It would be friendly to be able to compare different types. Handling U-Boot environment variables (always strings) are an important use case. For example, the following and their variations should work:

  • "false" == false
  • "5" > 4
  • true == 1
  • false == 0

If there's not a conversion between types, then string > number.