Revision b5b1ada8
Added by Luiz Souza almost 8 years ago
build/scripts/create_core_pkg.sh | ||
---|---|---|
112 | 112 |
[ -n "${scratchdir}" -a -d ${scratchdir} ] \ |
113 | 113 |
|| err "error creating temporary directory" |
114 | 114 |
|
115 |
trap "force_rm ${scratchdir}" 1 2 15 EXIT |
|
115 |
#trap "force_rm ${scratchdir}" 1 2 15 EXIT
|
|
116 | 116 |
|
117 | 117 |
metadir=${scratchdir}/${template_name}_metadir |
118 | 118 |
|
... | ... | |
129 | 129 |
if [ -n "${filter}" ]; then |
130 | 130 |
filter="-name ${filter}" |
131 | 131 |
fi |
132 |
echo ${root} |
|
132 | 133 |
: ${findroot="."} |
134 |
echo ${findroot} |
|
133 | 135 |
for froot in ${findroot}; do |
136 |
echo froot ${froot} |
|
134 | 137 |
(cd ${root} \ |
135 | 138 |
&& find ${froot} ${filter} -type f -or -type l \ |
136 | 139 |
| sed 's,^.,,' \ |
137 | 140 |
| sort -u \ |
138 | 141 |
) >> ${plist} |
139 | 142 |
done |
143 |
if [ ${template} == "kernel" ]; then |
|
144 |
exit |
|
145 |
fi |
|
140 | 146 |
fi |
141 | 147 |
|
142 | 148 |
if [ -f "${template_path}/exclude_plist" ]; then |
Also available in: Unified diff
Add some debug output.
(cherry picked from commit 5d376f2d315490861a30dd41da50165d2f7e6a2d)