]> sigrok.org Git - sigrok-util.git/commit
sigrok-native-appimage: Add bugfix patch for AppImageKit.
authorUwe Hermann <redacted>
Thu, 11 Oct 2018 19:28:40 +0000 (21:28 +0200)
committerUwe Hermann <redacted>
Thu, 11 Oct 2018 20:08:58 +0000 (22:08 +0200)
commitc5aaf3346f1470bef34abfe85bc440c02e627414
tree49a163a2705e47a5cc97045bd279b2db68ae5740
parentc8f1a10ff73a8429fd67b51086af377415316e56
sigrok-native-appimage: Add bugfix patch for AppImageKit.

The problem was that relative paths would not work, since AppRun
(part of the AppImage) would chdir() into the AppImage mount point
(/tmp/.mount_xxxxx/usr), which would make glib's g_get_current_dir() return
that path, so all glib functions calling that would do the wrong thing.

For now, we fix this by patching away the chdir() in AppRun.

Details:
https://github.com/AppImage/AppImageKit/issues/172#issuecomment-229993161

This fixes bug #1300.
cross-compile/appimage/README
cross-compile/appimage/chdir.patch [new file with mode: 0644]