base-files: quote values when evaluating uevent
authorDaniel Golle <[email protected]>
Fri, 2 Feb 2018 00:57:46 +0000 (01:57 +0100)
committerJohn Crispin <[email protected]>
Sun, 11 Feb 2018 15:42:01 +0000 (16:42 +0100)
commitda52dd0c833d2ccf0be06838fc94d6f0865692c1
treeb4494a54e4dc560462bd1f90362c6dc34aa92bb7
parent25a72f5a01f80116d4cd0aafd99c0fd091be3fbd
base-files: quote values when evaluating uevent

When sourcing /sys/class/block/*/uevent values have to be quoted as
they may contain spaces (e.g. in PARTNAME).
Fix this by pre-processing with sed before sourcing.

Signed-off-by: Daniel Golle <[email protected]>
package/base-files/files/lib/upgrade/common.sh