gentree: fix bug in version file writing
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 4 Apr 2013 16:00:05 +0000 (18:00 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Thu, 4 Apr 2013 16:21:19 +0000 (18:21 +0200)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
gentree.py

index 30222973d633a3d75919b98c575e904fb9b3eeb7..81516fe51bca779dc49bf87ec44ac55398a29f4f 100755 (executable)
@@ -381,8 +381,8 @@ def process(kerneldir, outdir, copy_list_file, git_revision=None,
     kernel_version = git.describe(tree=args.kerneldir)
     f = open(os.path.join(args.outdir, 'versions'), 'w')
     f.write('BACKPORTS_VERSION="%s"\n' % backports_version)
-    f.write('KERNEL_VERSION="%s"\n' % kernel_version)
-    f.write('KERNEL_NAME="%s"\n' % args.base_name)
+    f.write('BACKPORTED_KERNEL_VERSION="%s"\n' % kernel_version)
+    f.write('BACKPORTED_KERNEL_NAME="%s"\n' % args.base_name)
     f.close()
 
     symbols = configtree.symbols()