summaryrefslogtreecommitdiffstats
path: root/build/scripts
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-09-15 14:39:07 -0500
committerLuiz Souza <luiz@netgate.com>2017-09-15 14:39:07 -0500
commit5d376f2d315490861a30dd41da50165d2f7e6a2d (patch)
treedd0d7245197c03886c6ff7d4114027742e7280c9 /build/scripts
parent5e58e8bdedb48f605df96b4a7f942a2fd979d5d4 (diff)
downloadpfsense-5d376f2d315490861a30dd41da50165d2f7e6a2d.zip
pfsense-5d376f2d315490861a30dd41da50165d2f7e6a2d.tar.gz
Add some debug output.
Diffstat (limited to 'build/scripts')
-rwxr-xr-xbuild/scripts/create_core_pkg.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/scripts/create_core_pkg.sh b/build/scripts/create_core_pkg.sh
index 9159bda..13c2687 100755
--- a/build/scripts/create_core_pkg.sh
+++ b/build/scripts/create_core_pkg.sh
@@ -112,7 +112,7 @@ scratchdir=$(mktemp -d -q ${TMPDIR}/${template_name}.XXXXXXX)
[ -n "${scratchdir}" -a -d ${scratchdir} ] \
|| err "error creating temporary directory"
-trap "force_rm ${scratchdir}" 1 2 15 EXIT
+#trap "force_rm ${scratchdir}" 1 2 15 EXIT
metadir=${scratchdir}/${template_name}_metadir
@@ -129,14 +129,20 @@ else
if [ -n "${filter}" ]; then
filter="-name ${filter}"
fi
+echo ${root}
: ${findroot="."}
+echo ${findroot}
for froot in ${findroot}; do
+echo froot ${froot}
(cd ${root} \
&& find ${froot} ${filter} -type f -or -type l \
| sed 's,^.,,' \
| sort -u \
) >> ${plist}
done
+if [ ${template} == "kernel" ]; then
+ exit
+fi
fi
if [ -f "${template_path}/exclude_plist" ]; then
OpenPOWER on IntegriCloud