diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index c78a68be5b..86014d2557 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
| @@ -2040,7 +2040,9 @@ class DevtoolUpgradeTests(DevtoolBase): | |||
| 2040 | 2040 | ||
| 2041 | #Modify the kernel source | 2041 | #Modify the kernel source |
| 2042 | modfile = os.path.join(tempdir, 'init/version.c') | 2042 | modfile = os.path.join(tempdir, 'init/version.c') |
| 2043 | runCmd("sed -i 's/Linux/LiNuX/g' %s" % (modfile)) | 2043 | # Moved to uts.h in 6.1 onwards |
| 2044 | modfile2 = os.path.join(tempdir, 'include/linux/uts.h') | ||
| 2045 | runCmd("sed -i 's/Linux/LiNuX/g' %s %s" % (modfile, modfile2)) | ||
| 2044 | 2046 | ||
| 2045 | #Modify the configuration | 2047 | #Modify the configuration |
| 2046 | codeconfigfile = os.path.join(tempdir, '.config.new') | 2048 | codeconfigfile = os.path.join(tempdir, '.config.new') |
