[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux features for wheezy



On Mon, Jun 04, 2012 at 04:58:42AM +0100, Ben Hutchings wrote:
> Index: debian/bin/genorig.py
> ===================================================================
> --- debian/bin/genorig.py	(revision 19075)
> +++ debian/bin/genorig.py	(working copy)

This is independant from the 3.0 switch.

> -        cmdline = ['tar -czf', out, '-C', self.dir, self.orig]
> +        cmdline = ['tar -cJf', out, '-C', self.dir, self.orig]

-a does autodetection.

> Index: debian/rules.real
> ===================================================================
> --- debian/rules.real	(revision 19077)
> +++ debian/rules.real	(working copy)
> @@ -60,37 +60,31 @@
>  $(BUILD_DIR)/config.$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(KCONFIG)
>  	python debian/bin/kconfig.py '$@' $(KCONFIG) $(KCONFIG_OPTIONS)
>  
> -$(BUILD_DIR)/linux-source-$(UPSTREAMVERSION).tar.bz2: SOURCE_DIR=$(BUILD_DIR)/source
> +define copy_source
> +rsync --delete --exclude debian --exclude .pc --exclude .svk --exclude .svn --link-dest=. -a . '$(1)'
> +endef

Why rsync?

>  orig: $(DIR_ORIG)
> +	rm -rf .pc

Redundant.

Bastian

-- 
Another dream that failed.  There's nothing sadder.
		-- Kirk, "This side of Paradise", stardate 3417.3


Reply to: