Fix kernel source code copying directory.
This commit is contained in:
parent
2c604a00cf
commit
7ab97ab425
@ -16,6 +16,7 @@ SRC_URI="https://git.inferencium.net/Inferencium/inf-kernel/archive/${P}.tar.gz"
|
|||||||
S="${WORKDIR}/${PN}"
|
S="${WORKDIR}/${PN}"
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
@ -25,7 +26,7 @@ install_sources() {
|
|||||||
|
|
||||||
cd "${S}" || die
|
cd "${S}" || die
|
||||||
dodir /usr/src
|
dodir /usr/src
|
||||||
einfo ">>> Copying sources ..."
|
einfo ">>> Copying source code ..."
|
||||||
|
|
||||||
file="$(find ${WORKDIR} -iname "docs" -type d)"
|
file="$(find ${WORKDIR} -iname "docs" -type d)"
|
||||||
if [[ -n ${file} ]]; then
|
if [[ -n ${file} ]]; then
|
||||||
@ -38,7 +39,7 @@ install_sources() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv "${WORKDIR}"/inf-kernel* "${ED}"/src || die
|
mv "${WORKDIR}"/inf-kernel* "${ED}"/src/${PN} || die
|
||||||
|
|
||||||
if [[ -n ${UNIPATCH_DOCS} ]]; then
|
if [[ -n ${UNIPATCH_DOCS} ]]; then
|
||||||
for i in ${UNIPATCH_DOCS}; do
|
for i in ${UNIPATCH_DOCS}; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user