summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-06-18 09:41:13 +0100
committerNick White <git@njw.me.uk>2009-06-18 09:41:13 +0100
commit5898fe769d039856609162036af9444a3b6e00c0 (patch)
tree57cfb9a00f9c4da4eb92f5cfc4ac1eddab83d93d /eclass
parent9bb440691c035cba24c9fd7c2c8f5ded64a4cafd (diff)
downloadnjw-gentoo-local-5898fe769d039856609162036af9444a3b6e00c0.tar.bz2
njw-gentoo-local-5898fe769d039856609162036af9444a3b6e00c0.zip
Added librehardened, and allow for libre versions
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-libre.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kernel-libre.eclass b/eclass/kernel-libre.eclass
index 12f50cf..77845ac 100644
--- a/eclass/kernel-libre.eclass
+++ b/eclass/kernel-libre.eclass
@@ -7,13 +7,13 @@ inherit kernel-2
EXPORT_FUNCTIONS src_unpack
DEBLOB_CHECK="deblob-check"
-KERNEL_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre/linux-${PV}-libre.tar.bz2"
-DEBLOB_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre/${DEBLOB_CHECK}"
+KERNEL_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/linux-${PV}-libre${LIBRE_VER}.tar.bz2"
+DEBLOB_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/${DEBLOB_CHECK}"
-# override the kernel-2 function as tarball is named and laid out differently
+# override the kernel-2 function as tarball is named differently
universal_unpack() {
cd ${WORKDIR}
- unpack linux-${OKV}-libre.tar.bz2
+ unpack linux-${OKV}-libre${LIBRE_VER}.tar.bz2
mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV_FULL} \
|| die "Unable to move source tree to ${KV_FULL}."
cd ${S}