Lines 339-349
Link Here
|
339 |
DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" |
339 |
DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" |
340 |
DEBLOB_A="deblob-${DEBLOB_PV}" |
340 |
DEBLOB_A="deblob-${DEBLOB_PV}" |
341 |
DEBLOB_HOMEPAGE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" |
341 |
DEBLOB_HOMEPAGE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" |
|
|
342 |
if [[ $EAPI -ge 2 ]] ; then |
343 |
DEBLOB_CURI="${DEBLOB_HOMEPAGE}/download/releases/LATEST-${DEBLOB_PV}.N/deblob-check -> deblob-check-${DEBLOB_PV}" |
344 |
else |
345 |
DEBLOB_CURI="mirror://gentoo/deblob-check-${DEBLOB_PV}" |
346 |
fi |
342 |
HOMEPAGE="${HOMEPAGE} ${DEBLOB_HOMEPAGE}" |
347 |
HOMEPAGE="${HOMEPAGE} ${DEBLOB_HOMEPAGE}" |
343 |
|
348 |
|
344 |
KERNEL_URI="${KERNEL_URI} |
349 |
KERNEL_URI="${KERNEL_URI} |
345 |
deblob? ( |
350 |
deblob? ( |
346 |
${DEBLOB_HOMEPAGE}/download/releases/LATEST-${DEBLOB_PV}.N/${DEBLOB_A} |
351 |
${DEBLOB_HOMEPAGE}/download/releases/LATEST-${DEBLOB_PV}.N/${DEBLOB_A} |
|
|
352 |
${DEBLOB_CURI} |
347 |
)" |
353 |
)" |
348 |
else |
354 |
else |
349 |
# We have no way to deblob older kernels, so just mark them as |
355 |
# We have no way to deblob older kernels, so just mark them as |
Lines 1125-1132
Link Here
|
1125 |
fi |
1131 |
fi |
1126 |
|
1132 |
|
1127 |
if [[ $K_DEBLOB_AVAILABLE == 1 ]] && use deblob ; then |
1133 |
if [[ $K_DEBLOB_AVAILABLE == 1 ]] && use deblob ; then |
1128 |
cp "${DISTDIR}/${DEBLOB_A}" "${T}" |
1134 |
cp "${DISTDIR}/${DEBLOB_A}" "${T}" || die "cp ${DEBLOB_A} failed" |
1129 |
chmod +x "${T}/${DEBLOB_A}" |
1135 |
cp "${DISTDIR}/deblob-check-${DEBLOB_PV}" "${T}/deblob-check" || die "cp deblob-check-${DEBLOB_PV} failed" |
|
|
1136 |
chmod +x "${T}/${DEBLOB_A}" "${T}/deblob-check" || die "chmod deblob scripts failed" |
1130 |
fi |
1137 |
fi |
1131 |
} |
1138 |
} |
1132 |
|
1139 |
|