Use xz compression for upstream and Debian tarballs
svn path=/dists/sid/linux/; revision=19099
This commit is contained in:
parent
59bbce5f61
commit
5007f191ed
|
@ -33,7 +33,7 @@ class Main(object):
|
|||
self.log('Using source name %s, version %s, dfsg %s\n' % (source, version.upstream, self.version_dfsg))
|
||||
|
||||
self.orig = '%s-%s' % (source, version.upstream)
|
||||
self.orig_tar = '%s_%s.orig.tar.gz' % (source, version.upstream)
|
||||
self.orig_tar = '%s_%s.orig.tar.xz' % (source, version.upstream)
|
||||
self.tag = 'v' + version.linux_upstream_full
|
||||
|
||||
def __call__(self):
|
||||
|
@ -117,7 +117,7 @@ class Main(object):
|
|||
except OSError:
|
||||
pass
|
||||
self.log("Generate tarball %s\n" % out)
|
||||
cmdline = ['tar -czf', out, '-C', self.dir, self.orig]
|
||||
cmdline = ['tar -caf', out, '-C', self.dir, self.orig]
|
||||
try:
|
||||
if os.spawnv(os.P_WAIT, '/bin/sh', ['sh', '-c', ' '.join(cmdline)]):
|
||||
raise RuntimeError("Can't patch source")
|
||||
|
|
|
@ -6,6 +6,7 @@ linux (3.2.19-2) UNRELEASED; urgency=low
|
|||
* Rename source package to 'linux' (Closes: #636010)
|
||||
* Convert source package format to 3.0 (quilt)
|
||||
- Convert patch system to quilt, except for the 'orig' patch series
|
||||
- Use xz compression for upstream and Debian tarballs
|
||||
* linux-image: Change package name for bugs to 'src:linux' (Closes: #644198)
|
||||
* DFSG: video: Remove nvidiafb and rivafb, which include apparently
|
||||
obfuscated code (Closes: #383481). The nouveau driver supports all
|
||||
|
|
|
@ -39,7 +39,7 @@ $(STAMPS_DIR)/build-base: $(STAMPS_DIR)/setup-base
|
|||
@$(stamp)
|
||||
|
||||
DIR_ORIG = ../orig/$(SOURCE)-$(VERSION_UPSTREAM)
|
||||
TAR_ORIG_NAME = $(SOURCE)_$(VERSION_UPSTREAM).orig.tar.gz
|
||||
TAR_ORIG_NAME = $(SOURCE)_$(VERSION_UPSTREAM).orig.tar.xz
|
||||
TAR_ORIG = $(firstword $(wildcard ../$(TAR_ORIG_NAME)) $(wildcard ../orig/$(TAR_ORIG_NAME)))
|
||||
|
||||
orig: $(DIR_ORIG)
|
||||
|
@ -51,7 +51,7 @@ ifeq ($(TAR_ORIG),)
|
|||
$(error Cannot find orig tarball $(TAR_ORIG_NAME))
|
||||
else
|
||||
mkdir -p ../orig
|
||||
tar -C ../orig -xzf $(TAR_ORIG)
|
||||
tar -C ../orig -xaf $(TAR_ORIG)
|
||||
endif
|
||||
|
||||
maintainerclean:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
compression = "xz"
|
Loading…
Reference in New Issue