oec-hardware/oec-hardware-1.0.0-system.patch
2020-07-18 09:58:53 +08:00

7 lines
419 B
Diff

diff tests/system_new.py tests/system.py > oec-hardware-1.0.0-system.patch
155,156c155
< except_list = ["/modules.dep$", "/modules.symbols$", "/modules.dep.bin$", "/modules.symbols.bin$"]
< if os.system("rpm -V --nomtime --nomode --nocontexts %s | grep -Ev '%s'" % (kernel_rpm, "|".join(except_list))) is 0:
---
> if not os.system("rpm -V --nomtime --nomode --nocontexts %s" % kernel_rpm) is 0: