manage.py cannot handle raspberry pi kernels properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hardware Certification Tools |
Fix Released
|
High
|
Po-Hsu Lin |
Bug Description
The manage.py script cannot handle raspberry pi kernels properly, it will put 4.2 and 4.4 kernel into the same kernel cache file (linux-
4.2.0-1028.36
4.2.0-1029.37
4.4.0-1010.11
4.2.0-1030.39
4.4.0-1011.14
4.2.0-1030.39
This is because in the code, we use codenames as part of the file name, like for a bug title with:
"linux: 4.4.0-23.41 -proposed tracker"
It will be parsed as "xenial", because it matches the "linux" (for non-lts) and 4.4 in the string.
But for rapsi2 kernel testing task, the title looks like this:
"linux-raspi2: 4.2.0-1030.39 -proposed tracker"
"linux-raspi2: 4.4.0-1011.14 -proposed tracker"
They all have the same "linux-raspi2" header, we should parse and deal with the following kernel number to get the correct name.
Changed in hwcert-tools: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
MR available here: https:/ /code.launchpad .net/~cypressye w/hwcert- tools/+ git/hwcert- tools/+ merge/296425