summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-05-16 15:03:01 -0300
committerRenato Botelho <renato@netgate.com>2017-05-16 15:04:45 -0300
commit0b62713fa77475e36552121f7a9b7d99eb4ace86 (patch)
treeaa20939da68735a7ecfdf6b43e670daaa7ddd892 /tools
parentb880cf8c5376a44bea37d09792dc4b6f4e679648 (diff)
downloadpfsense-0b62713fa77475e36552121f7a9b7d99eb4ace86.zip
pfsense-0b62713fa77475e36552121f7a9b7d99eb4ace86.tar.gz
Revert "Fix kernel and kernel-debug packages on 11"
This reverts commit 46fff8a576813fa1dfa9a5289f8ca9e05583af3c.
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, 2 insertions, 3 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index d2f6188..6c89cd1 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -161,7 +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}
+ core_pkg_create kernel-debug ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR} \*.symbols
+ find ${KERNEL_DESTDIR} -name '*.symbols' -type f -delete
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
deleted file mode 100644
index ba408ed..0000000
--- a/tools/templates/core_pkg/kernel-debug/exclude_files
+++ /dev/null
@@ -1 +0,0 @@
-./boot/kernel
diff --git a/tools/templates/core_pkg/kernel/exclude_files b/tools/templates/core_pkg/kernel/exclude_files
deleted file mode 100644
index dceffa4..0000000
--- a/tools/templates/core_pkg/kernel/exclude_files
+++ /dev/null
@@ -1 +0,0 @@
-./usr/lib/debug
OpenPOWER on IntegriCloud