[kernel] r15236 - dists/trunk/linux-kbuild-2.6/debian/bin
Ben Hutchings
benh at alioth.debian.org
Sat Feb 20 04:31:30 UTC 2010
Author: benh
Date: Sat Feb 20 04:31:28 2010
New Revision: 15236
Log:
Include arch scripts in orig tarball
Modified:
dists/trunk/linux-kbuild-2.6/debian/bin/genorig.py
Modified: dists/trunk/linux-kbuild-2.6/debian/bin/genorig.py
==============================================================================
--- dists/trunk/linux-kbuild-2.6/debian/bin/genorig.py Sat Feb 20 03:49:48 2010 (r15235)
+++ dists/trunk/linux-kbuild-2.6/debian/bin/genorig.py Sat Feb 20 04:31:28 2010 (r15236)
@@ -102,6 +102,11 @@
for i in 'input.h', 'license.h', 'mod_devicetable.h':
shutil.copyfile(os.path.join(temp, 'include', 'linux', i), os.path.join(orig, 'include', 'linux', i))
shutil.copytree(os.path.join(temp, 'scripts'), os.path.join(orig, 'scripts'))
+ for arch in os.listdir(os.path.join(temp, 'arch')):
+ if os.path.exists(os.path.join(temp, 'arch', arch, 'scripts')):
+ os.makedirs(os.path.join(orig, 'arch', arch))
+ shutil.copytree(os.path.join(temp, 'arch', arch, 'scripts'),
+ os.path.join(orig, 'arch', arch, 'scripts'))
def tar(self):
out = os.path.join("../orig", self.orig_tar)
More information about the Kernel-svn-changes
mailing list