From 2430cf2a5df480bac29ad7dc827863144cb6683b Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sun, 5 Jun 2016 19:32:28 +0200 Subject: ptxd_make_world_install_post: create hard links to save space Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_make_world_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh index b7d69a644..1dd1dd62a 100644 --- a/scripts/lib/ptxd_make_world_install.sh +++ b/scripts/lib/ptxd_make_world_install.sh @@ -222,7 +222,7 @@ ptxd_make_world_install_post() { # create directories first to avoid race contitions with -jeX find "${pkg_pkg_dir}" -type d -printf "%P\0" | \ xargs -0 -I{} mkdir -p "${pkg_sysroot_dir}/{}" && - cp -dpr --remove-destination -- "${pkg_pkg_dir}"/* "${pkg_sysroot_dir}" && + cp -dpr --link --remove-destination -- "${pkg_pkg_dir}"/* "${pkg_sysroot_dir}" && # host and cross packages if [ "${pkg_type}" != "target" ]; then -- cgit v1.2.3