luci-app-attendedsysupgrade: Send target to server
authorPaul Spooren <mail@aparcar.org>
Wed, 27 May 2020 23:14:50 +0000 (13:14 -1000)
committerPaul Spooren <mail@aparcar.org>
Wed, 27 May 2020 23:14:50 +0000 (13:14 -1000)
commita32e0f443c78847cfadf4f80561187c8f6614e2f
tree5304c251c12dfdf522e1c49c350603235a8490df
parent0de42b056b4f35d43df7b942531727a0322645a8
luci-app-attendedsysupgrade: Send target to server

Currently the running devices `board_name` is mapped to it's building
`profile` name. In case of inconsistent `board_names` like the x86/64
target, it is hard to create a mapping that translates
`lenovo-20q1s02m00` to x86/64 and the generic profile.

To handle such cases, send the `target` per default.

Also `model` is no longer needed as no heuristics are applied anymore to
find the relation between model and profile.

Signed-off-by: Paul Spooren <mail@aparcar.org>
applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js