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:
30
sources/poky/scripts/nativesdk-intercept/chgrp
Executable file
30
sources/poky/scripts/nativesdk-intercept/chgrp
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Wrapper around 'chgrp' that redirects to root in all cases
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
# calculate path to the real 'chgrp'
|
||||
path = os.environ['PATH']
|
||||
path = path.replace(os.path.dirname(sys.argv[0]), '')
|
||||
real_chgrp = shutil.which('chgrp', path=path)
|
||||
|
||||
args = list()
|
||||
|
||||
found = False
|
||||
|
||||
args.append(real_chgrp)
|
||||
|
||||
for i in sys.argv[1:]:
|
||||
if i.startswith("-"):
|
||||
args.append(i)
|
||||
continue
|
||||
if not found:
|
||||
args.append("root")
|
||||
found = True
|
||||
else:
|
||||
args.append(i)
|
||||
|
||||
os.execv(real_chgrp, args)
|
||||
30
sources/poky/scripts/nativesdk-intercept/chown
Executable file
30
sources/poky/scripts/nativesdk-intercept/chown
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Wrapper around 'chown' that redirects to root in all cases
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
# calculate path to the real 'chown'
|
||||
path = os.environ['PATH']
|
||||
path = path.replace(os.path.dirname(sys.argv[0]), '')
|
||||
real_chown = shutil.which('chown', path=path)
|
||||
|
||||
args = list()
|
||||
|
||||
found = False
|
||||
|
||||
args.append(real_chown)
|
||||
|
||||
for i in sys.argv[1:]:
|
||||
if i.startswith("-"):
|
||||
args.append(i)
|
||||
continue
|
||||
if not found:
|
||||
args.append("root:root")
|
||||
found = True
|
||||
else:
|
||||
args.append(i)
|
||||
|
||||
os.execv(real_chown, args)
|
||||
Reference in New Issue
Block a user