From: Jorge Manuel B. S. Vicetto (jmbsvicetto) Date: Sat, 13 Oct 2012 02:44:00 +0000 (+0000) Subject: Fix the breakage of /lib on amd64 caused by tar replacing the symlink with a dir. X-Git-Tag: catalyst-2.0.12~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e49d720b70c27a14a61b961d1225f18e9291a27;p=catalyst.git Fix the breakage of /lib on amd64 caused by tar replacing the symlink with a dir. --- 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