Skip to contentSkip to conversation

Wrong condition and wrong variable substitution in libgl1-amdgpu-mesa-dri in postinst script

Bug 110963 [email protected] 1 participant 6 messages Jun 22, 2019 – Oct 2, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110963

Bug ID: 110963
Summary: Wrong condition and wrong variable substitution in
libgl1-amdgpu-mesa-dri in postinst script
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu-pro
Assignee: [email protected]
Reporter: [email protected]

19.20-812932 release for Ubuntu

In libgl1-amdgpu-mesa-dri in postinst script there is such condition:
# Support I+A hybrid graphics
if [ -f ... ] && [ "str1" != "str2" ]; then
You just compare two different strings? I guess you wanted to compare folder contents. But now that second condition will always be true.

Further there is:

    if [ "${f%%/*}" = ... ]; then

there is extra percent symbol, you should remove it. Btw, in rpm release variant in scriptlet there is no such mistake.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110963

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |110956

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=110956
[Bug 110956] List of 19.20-812932 release mistakes

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110963

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Eric Engestrom <[email protected]> --- Ubuntu packaging issue; this needs to be reported to Ubuntu instead.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110963

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|INVALID                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Eric Engestrom <[email protected]> --- TIL AMD does its support via our bugzilla...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110963

Jeremy Newton <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED

--- Comment #3 from Jeremy Newton <[email protected]> --- This should be fixed. I back ported it internally, but I'm not sure what build it'll be in.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110963

Jeremy Newton <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected]
                   |.org                        |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel