* [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name
@ 2015-02-18 21:14 Fabio Porcedda
2015-02-18 21:14 ` [Buildroot] [PATCH for buildroot-test 2/2] br-reproduce-build: do a fetch instead of a pull Fabio Porcedda
2015-02-22 11:53 ` [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Porcedda @ 2015-02-18 21:14 UTC (permalink / raw)
To: buildroot
Use "buildroot" as the name of the cloned repositoy so even if the
existing repository name isn't "buildroot" the script will works fine.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
utils/br-reproduce-build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/br-reproduce-build b/utils/br-reproduce-build
index c0dc530..10a2d13 100755
--- a/utils/br-reproduce-build
+++ b/utils/br-reproduce-build
@@ -36,7 +36,7 @@ fi
wget -O ${BUILD_DIR}/gitid http://autobuild.buildroot.org/results/${BUILD_ID}/gitid
cd ${BUILD_DIR}
-git clone ${BASE_GIT}
+git clone ${BASE_GIT} buildroot
if [ $? -ne 0 ] ; then
echo "Cannot clone Buildroot Git repository"
rm -rf ${BUILD_DIR}
--
2.3.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH for buildroot-test 2/2] br-reproduce-build: do a fetch instead of a pull
2015-02-18 21:14 [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name Fabio Porcedda
@ 2015-02-18 21:14 ` Fabio Porcedda
2015-02-22 11:53 ` [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Porcedda @ 2015-02-18 21:14 UTC (permalink / raw)
To: buildroot
The pull is not needed so use a cheaper fetch, also it will work even if
the existing repository doesn't point to branches of the official
repository.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
utils/br-reproduce-build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/br-reproduce-build b/utils/br-reproduce-build
index 10a2d13..01d1b7a 100755
--- a/utils/br-reproduce-build
+++ b/utils/br-reproduce-build
@@ -47,9 +47,9 @@ cd buildroot
git remote set-url origin git://git.busybox.net/buildroot
-git pull
+git fetch
if [ $? -ne 0 ] ; then
- echo "Cannot pull Buildroot Git repository"
+ echo "Cannot fetch Buildroot official Git repository"
rm -rf ${BUILD_DIR}
exit 1
fi
--
2.3.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name
2015-02-18 21:14 [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name Fabio Porcedda
2015-02-18 21:14 ` [Buildroot] [PATCH for buildroot-test 2/2] br-reproduce-build: do a fetch instead of a pull Fabio Porcedda
@ 2015-02-22 11:53 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-02-22 11:53 UTC (permalink / raw)
To: buildroot
Dear Fabio Porcedda,
On Wed, 18 Feb 2015 22:14:29 +0100, Fabio Porcedda wrote:
> Use "buildroot" as the name of the cloned repositoy so even if the
> existing repository name isn't "buildroot" the script will works fine.
>
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> ---
> utils/br-reproduce-build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Both patches applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-22 11:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-18 21:14 [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name Fabio Porcedda
2015-02-18 21:14 ` [Buildroot] [PATCH for buildroot-test 2/2] br-reproduce-build: do a fetch instead of a pull Fabio Porcedda
2015-02-22 11:53 ` [Buildroot] [PATCH for buildroot-test 1/2] br-reproduce-build: support repository with non standard name Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox