From 488ecda588e55d2fa1fb63a98c60ff24f5988161 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 13 Apr 2018 14:28:09 +0200 Subject: extra/gnome-desktop: remove /lib64 bind mount - we don't have that! --- extra/gnome-desktop/PKGBUILD | 15 ++++++++++++++- extra/gnome-desktop/lib64.diff | 13 +++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 extra/gnome-desktop/lib64.diff (limited to 'extra/gnome-desktop') diff --git a/extra/gnome-desktop/PKGBUILD b/extra/gnome-desktop/PKGBUILD index bca870d3..b6194988 100644 --- a/extra/gnome-desktop/PKGBUILD +++ b/extra/gnome-desktop/PKGBUILD @@ -1 +1,14 @@ -eval "$(declare -f build | sed 's|./configure|./configure --disable-Werror|')" +eval "$( + declare -f build | \ + sed ' + s|./configure|./configure --disable-Werror| + ' +)" +eval "$( + declare -f prepare | \ + sed ' + 3 a patch -Np1 -i ../lib64.diff + ' +)" +source+=('lib64.diff') +sha256sums+=('a1ba9b12d71afea5dd713cdbc0c3297ee3df38f5004f5ee02dd2d90adfcffc5b') diff --git a/extra/gnome-desktop/lib64.diff b/extra/gnome-desktop/lib64.diff new file mode 100644 index 00000000..c3f1e442 --- /dev/null +++ b/extra/gnome-desktop/lib64.diff @@ -0,0 +1,13 @@ +diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c +b/libgnome-desktop/gnome-desktop-thumbnail-script.c +index 14e2fed3..dac7b210 100644 +--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c ++++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c +@@ -517,7 +517,6 @@ add_bwrap (GPtrArray *array, + "bwrap", + "--ro-bind", "/usr", "/usr", + "--ro-bind", "/lib", "/lib", +- "--ro-bind", "/lib64", "/lib64", + "--proc", "/proc", + "--dev", "/dev", + "--symlink", "usr/bin", "/bin", -- cgit v1.2.3-70-g09d2