From 9c47876b84e5ec1701478afc90f48326d71aa803 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 13 Sep 2016 12:33:12 +0300 Subject: [PATCH] steam: don't write runtime tag file --- pkgs/games/steam/build-runtime.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/games/steam/build-runtime.py b/pkgs/games/steam/build-runtime.py index 3f23d53b9846..e0ff5cebd933 100644 --- a/pkgs/games/steam/build-runtime.py +++ b/pkgs/games/steam/build-runtime.py @@ -20,19 +20,11 @@ def parse_args(): return parser.parse_args() -def install_deb (basename, deb, md5, dest_dir): +def install_deb (basename, deb, dest_dir): installtag_dir=os.path.join(dest_dir, "installed") if not os.access(installtag_dir, os.W_OK): os.makedirs(installtag_dir) - # - # Write the tag file and checksum to the 'installed' subdirectory - # - with open(os.path.join(installtag_dir,basename),"w") as f: - subprocess.check_call(['dpkg-deb', '-c', deb], stdout=f) - with open(os.path.join(installtag_dir,basename+".md5"),"w") as f: - f.write("%s %s.deb\n" % (md5, basename)) - # # Unpack the package into the dest_dir # @@ -98,7 +90,7 @@ print ("Creating Steam Runtime in %s" % args.runtime) with open(args.input) as pkgfile: pkgs = json.load(pkgfile) for pkg in pkgs: - install_deb(pkg["name"], pkg["source"], pkg["md5"], args.runtime) + install_deb(pkg["name"], pkg["source"], args.runtime) fix_debuglinks() fix_symlinks()