From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.eu ([217.6.246.34] helo=root.phytec.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VCo1e-0002Jo-O4 for ptxdist@pengutronix.de; Fri, 23 Aug 2013 11:51:27 +0200 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 50511BF0EC for ; Fri, 23 Aug 2013 11:43:02 +0200 (CEST) Message-ID: <1377251484.2921.4.camel@lws-weitzel> From: Jan Weitzel Date: Fri, 23 Aug 2013 11:51:24 +0200 Mime-Version: 1.0 Subject: [ptxdist] ptxdist checks wrong kernel md5 Reply-To: ptxdist@pengutronix.de, J.Weitzel@phytec.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello, I have a misconfigured BSP with the wrong PTXCONF_KERNEL_MD5. But ptxdist works fine with that: weitzel@numalfix:~/tmp/phyCORE-OMAP4-PD13.1.0 $ /home/weitzel/git/ptxdist/bin/ptxdist -f print KERNEL_MD5 146af0160fc7a60cf9acf44aec13482b weitzel@numalfix:~/tmp/phyCORE-OMAP4-PD13.1.0 $ /home/weitzel/git/ptxdist/bin/ptxdist -f print KERNEL_HEADER_MD5 967f72983655e2479f951195953e8480 weitzel@numalfix:~/tmp/phyCORE-OMAP4-PD13.1.0 $ /home/weitzel/git/ptxdist/bin/ptxdist -f print PTXCONF_KERNEL_MD5 146af0160fc7a60cf9acf44aec13482b weitzel@numalfix:~/tmp/phyCORE-OMAP4-PD13.1.0 $ /home/weitzel/git/ptxdist/bin/ptxdist -f print PTXCONF_KERNEL_HEADER_MD5 967f72983655e2479f951195953e8480 weitzel@numalfix:~/tmp/phyCORE-OMAP4-PD13.1.0$ md5sum /home/ptxdist_src/linux-3.4.tar.xz 967f72983655e2479f951195953e8480 /home/ptxdist_src/linux-3.4.tar.xz I add this for debug: diff --git a/scripts/lib/ptxd_make_world_check_src.sh b/scripts/lib/ptxd_make_world_check_src.sh index fa89ec5..e8821c9 100644 --- a/scripts/lib/ptxd_make_world_check_src.sh +++ b/scripts/lib/ptxd_make_world_check_src.sh @@ -92,6 +92,7 @@ ptxd_make_world_check_src() { if [ -z "${pkg_src}" ]; then return fi +echo ptxd_make_world_check_src "${pkg_pkg}" "${pkg_src}" "${pkg_md5}" ptxd_make_check_src_impl "${pkg_src}" "${pkg_md5}" && return if [ "${PTXCONF_SETUP_CHECK}" = "update" ]; then And get this: weitzel@numalfix:~/tmp/phyCORE-OMAP4-PD13.1.0 $ /home/weitzel/git/ptxdist/bin/ptxdist -f get kernel ------------------ target: kernel.get ------------------ ptxd_make_world_check_src linux-3.4 /home/ptxdist_src/linux-3.4.tar.xz 967f72983655e2479f951195953e8480 finished target kernel.get So it seams we use PTXCONF_KERNEL_HEADER_MD5 for the kernel rule. Jan -- ptxdist mailing list ptxdist@pengutronix.de