summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-05-16 14:22:30 -0300
committerRenato Botelho <renato@netgate.com>2017-05-16 14:22:30 -0300
commit46fff8a576813fa1dfa9a5289f8ca9e05583af3c (patch)
treeb4fdb0c5fc6a24fe74fd5414f008da2a71d0efe3 /tools
parent90429354f80344576619f3f2ed35968c02dbbe4b (diff)
downloadpfsense-46fff8a576813fa1dfa9a5289f8ca9e05583af3c.zip
pfsense-46fff8a576813fa1dfa9a5289f8ca9e05583af3c.tar.gz
Fix kernel and kernel-debug packages on 11
Diffstat (limited to 'tools')
-rw-r--r--tools/builder_common.sh3
-rw-r--r--tools/templates/core_pkg/kernel-debug/exclude_files1
-rw-r--r--tools/templates/core_pkg/kernel/exclude_files1
3 files changed, 3 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 6c89cd1..d2f6188 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -161,8 +161,7 @@ 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}
echo ">>> Creating pkg of $KERNEL_NAME kernel to staging area..." | tee -a ${LOGFILE}
core_pkg_create kernel ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR}
diff --git a/tools/templates/core_pkg/kernel-debug/exclude_files b/tools/templates/core_pkg/kernel-debug/exclude_files
new file mode 100644
index 0000000..ba408ed
--- /dev/null
+++ b/tools/templates/core_pkg/kernel-debug/exclude_files
@@ -0,0 +1 @@
+./boot/kernel
diff --git a/tools/templates/core_pkg/kernel/exclude_files b/tools/templates/core_pkg/kernel/exclude_files
new file mode 100644
index 0000000..dceffa4
--- /dev/null
+++ b/tools/templates/core_pkg/kernel/exclude_files
@@ -0,0 +1 @@
+./usr/lib/debug
OpenPOWER on IntegriCloud