diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-09-13 12:33:12 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-09-13 12:33:22 +0300 |
commit | 9c47876b84e5ec1701478afc90f48326d71aa803 (patch) | |
tree | 2f9ceb85876ec484ef3b962816af43b962439e6e /pkgs/games/steam | |
parent | cac553e8e098022a444661c35526562737675bb3 (diff) | |
download | nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.tar nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.tar.gz nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.tar.bz2 nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.tar.lz nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.tar.xz nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.tar.zst nixpkgs-9c47876b84e5ec1701478afc90f48326d71aa803.zip |
steam: don't write runtime tag file
Diffstat (limited to 'pkgs/games/steam')
-rw-r--r-- | pkgs/games/steam/build-runtime.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/pkgs/games/steam/build-runtime.py b/pkgs/games/steam/build-runtime.py index 3f23d53b984..e0ff5cebd93 100644 --- a/pkgs/games/steam/build-runtime.py +++ b/pkgs/games/steam/build-runtime.py @@ -20,20 +20,12 @@ 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 # os.chdir(top) @@ -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() |