Patchwork <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option.

login
register
mail settings
Submitter Naumann Andreas
Date March 22, 2013, 7:53 a.m.
Message ID <EE4E4767751A8B40949306E403F4DDD802D6D365@sv03ultra002.ultratronik.de>
Download mbox | patch
Permalink /patch/229905/
State Superseded
Headers show

Comments

Naumann Andreas - March 22, 2013, 7:53 a.m.
The --cvs-exclude option also excludes 'core', which when rsyncing e.g.
a linux tree is less than optimal..

---
 package/pkg-generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 # Handle the SOURCE_CHECK and SHOW_EXTERNAL_DEPS cases for rsynced
Thomas De Schampheleire - March 22, 2013, 8:24 a.m.
On Fri, Mar 22, 2013 at 8:53 AM, Naumann Andreas <ANaumann@ultratronik.de>wrote:

> The --cvs-exclude option also excludes 'core', which when rsyncing e.g.
> a linux tree is less than optimal..
>
>

You'll need to put a Signed-off-by line here.

You can also immediately add:
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>



---
>  package/pkg-generic.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
> index 8d964a1..595ad1b 100644
> --- a/package/pkg-generic.mk
> +++ b/package/pkg-generic.mk
> @@ -62,7 +62,7 @@ $(BUILD_DIR)/%/.stamp_extracted:
>  $(BUILD_DIR)/%/.stamp_rsynced:
>         @$(call MESSAGE,"Syncing from source dir $(SRCDIR)")
>         @test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ;
> exit 1)
> -       rsync -au --cvs-exclude $(SRCDIR)/ $(@D)
> +       rsync -au --cvs-exclude --include core $(SRCDIR)/ $(@D)
>         $(Q)touch $@
>
>  # Handle the SOURCE_CHECK and SHOW_EXTERNAL_DEPS cases for rsynced
> --
> 1.8.1.1
>
>
> end
>
>
> ------------------------------------------------------------------------------
> Dipl.-Ing. (FH)
> Andreas Naumann
> Embedded Software
> T +49 8105 77839-363
> F +49 8105 77839-850
> ANaumann@ultratronik.de
> www.ultratronik.de
> Dornierstraße 9
> 82205 Gilching
> ULTRATRONIK
> LÖSUNGEN FÜR IHREN ERFOLG - SOLUTIONS FOR YOUR SUCCESS
>
>
> ------------------------------------------------------------------------------
> Geschäftsführer: Dipl.-Ing. Wolfgang Sorg, Dipl.-Kfm. Alexander Sorg
> Sitz der Gesellschaft: Gilching
> Registergericht München HRB 49567 (Ultratronik Vertriebs GmbH)
> Registergericht München HRB 55584 (Ultratronik GmbH)
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>

Patch

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 8d964a1..595ad1b 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -62,7 +62,7 @@  $(BUILD_DIR)/%/.stamp_extracted:
 $(BUILD_DIR)/%/.stamp_rsynced:
 	@$(call MESSAGE,"Syncing from source dir $(SRCDIR)")
 	@test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ;
exit 1)
-	rsync -au --cvs-exclude $(SRCDIR)/ $(@D)
+	rsync -au --cvs-exclude --include core $(SRCDIR)/ $(@D)
 	$(Q)touch $@