aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2012-10-13 02:44:00 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2012-10-13 02:44:00 +0000
commit1e49d720b70c27a14a61b961d1225f18e9291a27 (patch)
tree36370be0b452c56074ebaf15c93600c58b994dec
parentThe emerge option is newuse and not new. (diff)
downloadcatalyst-1e49d720b70c27a14a61b961d1225f18e9291a27.tar.gz
catalyst-1e49d720b70c27a14a61b961d1225f18e9291a27.tar.bz2
catalyst-1e49d720b70c27a14a61b961d1225f18e9291a27.zip
Fix the breakage of /lib on amd64 caused by tar replacing the symlink with a dir.
-rw-r--r--targets/support/functions.sh2
1 files changed, 1 insertions, 1 deletions
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