Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# https://stackoverflow.com/questions/22102999/get-total-physical-memory-in-python/28161352
|
||||
import sys
|
||||
meminfo = dict((i.split()[0].rstrip(':'),int(i.split()[1])) for i in open('/proc/meminfo').readlines())
|
||||
mem_free = meminfo['MemTotal']/1024./1024.
|
||||
if mem_free < 2.:
|
||||
print("Insufficient free memory({:.3f}): requires > 2 GB".format(mem_free))
|
||||
sys.exit(1)
|
||||
else:
|
||||
print("Free memory: {:.3f} GB".format(mem_free))
|
||||
Reference in New Issue
Block a user