From 1e49d720b70c27a14a61b961d1225f18e9291a27 Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Sat, 13 Oct 2012 02:44:00 +0000 Subject: [PATCH] Fix the breakage of /lib on amd64 caused by tar replacing the symlink with a dir. --- targets/support/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/support/functions.sh b/targets/support/functions.sh index 4018716d..d0737a65 100644 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -115,7 +115,7 @@ extract_modules() { if [ -f "${kmodules}" ] then mkdir -p ${1}/ - tar xjf ${kmodules} -C ${1} lib + tar xjf ${kmodules} --strip-components 1 -C ${1}/lib lib else echo "Can't find kernel modules tarball at ${kmodules}. Skipping...." fi -- 2.26.2