From 422a6574ef73225290dbe218f02d0120809830b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 15 Oct 2019 14:32:21 +0000 Subject: vars/invariants_minipix.vars: copy ${PREFIX}/minipix_dist/{lib/python2.7,share/gdb}/. vars/invariants_minipix.vars: don't copy non-existent libz.so.1. --- vars/invariants_minipix.vars | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vars/invariants_minipix.vars') diff --git a/vars/invariants_minipix.vars b/vars/invariants_minipix.vars index 89e66488..f05e367d 100644 --- a/vars/invariants_minipix.vars +++ b/vars/invariants_minipix.vars @@ -37,12 +37,15 @@ pkg_invariants_minipix_all() { libncurses.so.6 libncursesw.so.6 libpcre.so.1 libperk.so.0 \ libpsxscl.so libpython2.7.so.1 libreadline.so.7 libssl.so.47 \ libu16ports.so.0 libtinfo.so.6 libtinfow.so.6 libunistring.so.2 \ - libuuid.so.1 libz.so.1; do + libuuid.so.1; do if pkgp_invariants_minipix_is_newer "${PREFIX_NATIVE}/lib/${_fname}" "${PREFIX_MINIPIX}/bin"; then ex_rtl_fileop cp_follow \ "${PREFIX_NATIVE}/lib/${_fname}" "${PREFIX_MINIPIX}/bin"; fi; done; + for _dname in lib/python2.7 share/gdb; do + tar -C "${PREFIX}/minipix_dist" -cpf - "${_dname}" | tar -C "${PREFIX_MINIPIX}" -xpf -; + done; for _fname in nano vim; do if pkgp_invariants_minipix_is_newer "${PREFIX}/minipix_dist/share/${_fname}" "${PREFIX_MINIPIX}/share"; then ex_rtl_fileop cp_follow "${PREFIX}/minipix_dist/share/${_fname}" "${PREFIX_MINIPIX}/share"; -- cgit v1.2.3