Commit 3523b06
committed
libbootimg_architecture: Use uname instead of /proc/cpuinfo
* A new situation on the Sony X Performance has shown
that the "Processor" field from cpuinfo can be missing,
therefore breaking the 32 / 64bits detection
* Instead, use the native uname handling to get the name of
the host machine, allowing to detect aarch64/armv8 properly
Change-Id: Ib7f1aa6303390b4cc64e402e7ee242a272ddf722
Signed-off-by: Adrian DC <radian.dc@gmail.com>1 parent 056a34a commit 3523b06
1 file changed
Lines changed: 4 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
1261 | | - | |
1262 | | - | |
| 1261 | + | |
| 1262 | + | |
1263 | 1263 | | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
| 1264 | + | |
| 1265 | + | |
1280 | 1266 | | |
1281 | 1267 | | |
1282 | 1268 | | |
| |||
0 commit comments