mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jan Weitzel <J.Weitzel@phytec.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] ptxdist checks wrong kernel md5
Date: Fri, 23 Aug 2013 11:51:24 +0200	[thread overview]
Message-ID: <1377251484.2921.4.camel@lws-weitzel> (raw)

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

             reply	other threads:[~2013-08-23  9:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23  9:51 Jan Weitzel [this message]
2013-09-06 13:04 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377251484.2921.4.camel@lws-weitzel \
    --to=j.weitzel@phytec.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox