libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.73k stars 286 forks source link

retroarch: fix the cheats directory mounting #1971

Closed RobLoach closed 5 months ago

RobLoach commented 5 months ago

This updates the cheats directory to be referencing the installed directory from libretro-database.

Ntemis commented 5 months ago

thank you

ToKe79 commented 5 months ago

@RobLoach please can you then verify with next nightly build? I'm not sure if two overlays can share the same path. we mount /usr/share/libretro-database to /tmp/database. we set then content database to /tmp/database/rdb. therefore: https://github.com/libretro/Lakka-LibreELEC/blob/5786c060f3888dae27fc8499df037cd3acd8b5a6/packages/lakka/retroarch_base/retroarch/package.mk#L192 should be changed to /tmp/database/cht and the tmp-cheat.mount units should be dropped completely. same for /tmp/cheat - should be dropped from tmpfiles.d