summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-05-16 15:04:09 -0300
committerRenato Botelho <renato@netgate.com>2017-05-16 15:04:45 -0300
commit72e2fb750f123a44e5b3a65c65f01c79d6ecbd78 (patch)
tree0634c87aa3759fa941b0e0bf8fef3b95b0aeeb67 /tools/builder_common.sh
parent0b62713fa77475e36552121f7a9b7d99eb4ace86 (diff)
downloadpfsense-72e2fb750f123a44e5b3a65c65f01c79d6ecbd78.zip
pfsense-72e2fb750f123a44e5b3a65c65f01c79d6ecbd78.tar.gz
Fix kernel and kernel-debug packages on 11
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 6c89cd1..ee8ae25 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -161,8 +161,8 @@ build_all_kernels() {
ensure_kernel_exists $KERNEL_DESTDIR
echo ">>> Creating pkg of $KERNEL_NAME-debug kernel to staging area..." | tee -a ${LOGFILE}
- core_pkg_create kernel-debug ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR} \*.symbols
- find ${KERNEL_DESTDIR} -name '*.symbols' -type f -delete
+ core_pkg_create kernel-debug ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR} \*.ko.debug
+ rm -rf ${KERNEL_DESTDIR}/usr
echo ">>> Creating pkg of $KERNEL_NAME kernel to staging area..." | tee -a ${LOGFILE}
core_pkg_create kernel ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR}
OpenPOWER on IntegriCloud