From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] Is it possible to override a package from git?
Date: Wed, 09 Jul 2014 11:05:26 +0200 [thread overview]
Message-ID: <2308540.DVG8UuBffz@sagittea> (raw)
In-Reply-To: <53BCF033.8050006@lucaceresoli.net>
Hello Luca, Marco,
On Wednesday 09 July 2014 09:33:07 Luca Ceresoli wrote:
[...]
> However, when you build the next time, Buildroot will already find
> <mypkg>-master.tar.gz in the downloaded sourced directory and will not
> download it again. So before building you have to remove that archive
> (or the whole download directory).
>
> You'll also need to remove the output/build/<mypkg>-master/ directory,
> or Buildroot will think it already has the sources for the "master"
> version extracted and won't extract them again.
>
> In a nutshell, if you're building in-tree:
> rm -f <my_download_dir>/<mypkg>-master.tar.gz [*]
> make my_defconfig
> make <MYPKG>_VERSION=master <mypkg>-dirclean all
You may avoid ths complexity by retreiving commit id of HEAD (also work for
branches):
ID=$(git ls-remote <GIT_REPO> HEAD | cut -f 1)
make my_defconfig
make <MYPKG>_VERSION=$ID all
--
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
next prev parent reply other threads:[~2014-07-09 9:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 7:13 [Buildroot] Is it possible to override a package from git? Marco Pastorelli
2014-07-09 7:33 ` Luca Ceresoli
2014-07-09 9:05 ` Jérôme Pouiller [this message]
2014-07-09 14:55 ` Marco Pastorelli
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=2308540.DVG8UuBffz@sagittea \
--to=jezz@sysmic.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.