From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Hash checking infrastructure
Date: Sat, 4 Jul 2015 23:47:34 +0200 [thread overview]
Message-ID: <20150704214734.GC3634@free.fr> (raw)
In-Reply-To: <20150704140142.3aa5c982@core2quad.morethan.org>
Mike, All,
On 2015-07-04 14:01 -0500, Mike spake thusly:
> A small nit about how the hash checking is
> working (or in special cases, not working):
>
> Use case:
>
> When using a package source directory override,
> the usual version number field is replaced with
> the string 'custom'.
>
> If the package being over-ridden has a hash file
> in its Buildroot configuration directory,
> the hash checker attempts to check the:
> <package name>-custom-<archive type> in the
> download directory.
I'm a bit surprised of this result. I just tried here with an override
srcdir or busybox, and I don't see anything related to checking a hash,
with this defconfig:
BR2_x86_i686=y
BR2_TOOLCHAIN_EXTERNAL=y
and this local.mk:
BUSYBOX_OVERRIDE_SRCDIR=/home/ymorin/dev/buildroot/foo/busybox
and here's the output of 'make busybox':
>>> busybox custom Syncing from source dir /home/ymorin/dev/buildroot/foo/busybox
rsync -au --exclude .svn --exclude .git --exclude .hg --exclude .bzr
--exclude CVS /home/ymorin/dev/buildroot/foo/busybox/
/home/ymorin/dev/buildroot/O/build/busybox-custom
So, no, there's no message about checking any hash...
In fact, I can't even see how we could check a hash in such a case, as
checking the hash is directly done by our download wrapper, in
support/download/dl-wrapper, which does not get called for packages that
are overriden.
Can you provide a .config and a local.mk that exhibit this behaviour?
> Reference section 8.11.6:
> "... will no longer attempt to download, extract
> and patch the package."
>
> I think the behavior should also include skipping
> the hash check.
As far as I can see, that's already the case. Maybe we can add that in
the manual if that's what you're worried about. Care to send a patch?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-07-04 21:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-04 19:01 [Buildroot] Hash checking infrastructure Mike
2015-07-04 21:47 ` Yann E. MORIN [this message]
2015-07-05 2:36 ` Mike
2015-07-05 5:00 ` Mike
2015-07-05 9:10 ` Thomas Petazzoni
2015-07-05 9:42 ` Yann E. MORIN
2015-07-05 13:32 ` Mike
2015-07-05 14:27 ` Yann E. MORIN
[not found] ` <20150705095425.174bde89@core2quad.morethan.org>
2015-07-05 15:03 ` Yann E. MORIN
2015-07-05 16:56 ` [Buildroot] host-luarocks include path does not match installation of host-luajit Mike
2015-07-05 17:09 ` Yann E. MORIN
2015-07-05 9:44 ` [Buildroot] Hash checking infrastructure Yann E. MORIN
2015-07-05 12:15 ` Mike
2015-07-05 12:27 ` Mike
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=20150704214734.GC3634@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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