JeffyCN / meta-rockchip

Yocto BSP layer for the Rockchip SOC boards
Other
114 stars 86 forks source link

scarthgap not building because of missing xserver version #116

Closed ursfassler closed 1 week ago

ursfassler commented 2 weeks ago

Poky updated xserver to 21.1.12 due to security vulnerabilities. This version is missing on https://github.com/JeffyCN/xorg-xserver. This means, Yocto can not be built with the latest scarthgap versions.

Would be great when this is fixed. Maybe a solution is to use patches for xserver within this repo, that may be more stable against version changes in the future.

chrisiberg commented 2 weeks ago

temporary you can change this line. SRCURI:append = " git://github.com/JeffyCN/xorg-xserver;protocol=https;nobranch=1;branch=21.1.11;" in /meta-rockchip/recipes-graphics/xorg-xserver/xserver-xorg%.bbappend

JeffyCN commented 1 week ago

the newest is 21.1.13(i've uploaded that)

and there're too many patches, they might conflict with newer versions.

ursfassler commented 1 week ago

Thanks for the fast fix @JeffyCN ! :slightly_smiling_face:

and there're too many patches, they might conflict with newer versions.

I tested to just apply the patches to the new version, it didn't work out of the box.

JeffyCN commented 1 week ago

the 21.1.12 and 21.1.13 should be supported, https://github.com/JeffyCN/xorg-xserver/tree/21.1.12_2024_06_24

https://github.com/JeffyCN/meta-rockchip/commit/93f38cb00969b9827ca80d32c713c8f50e4b3256

ursfassler commented 1 week ago

Yes, it looks good (not yet finished building it).

My comment was about applying the patches to the new version.