Project

General

Profile

« Previous | Next » 

Revision 1ec6f217

Added by Luiz Souza over 7 years ago

Fix the kern-debug package. The debug modules are now in /usr/lib/debug/boot/kernel.

Include /boot/modules in the kernel package.

View differences:

tools/builder_common.sh
163 163
		ensure_kernel_exists $KERNEL_DESTDIR
164 164

  
165 165
		echo ">>> Creating pkg of $KERNEL_NAME-debug kernel to staging area..."  | tee -a ${LOGFILE}
166
		core_pkg_create kernel-debug ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR} ./boot/kernel \*.ko.debug
166
		core_pkg_create kernel-debug ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR} \
167
		    "/usr/lib/debug/boot/kernel" \*.ko.debug
167 168
		rm -rf ${KERNEL_DESTDIR}/usr
168 169

  
169 170
		echo ">>> Creating pkg of $KERNEL_NAME kernel to staging area..."  | tee -a ${LOGFILE}
170
		core_pkg_create kernel ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR}
171
		core_pkg_create kernel ${KERNEL_NAME} ${CORE_PKG_VERSION} ${KERNEL_DESTDIR} "./boot/kernel ./boot/modules"
171 172

  
172 173
		rm -rf $KERNEL_DESTDIR 2>&1 1>/dev/null
173 174
	done

Also available in: Unified diff