Skip to content

Commit

Permalink
re-add security
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <[email protected]>
  • Loading branch information
dims committed Oct 20, 2020
1 parent 590dcc4 commit bf75c7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ load(
"liblzma5",
] + (["libunwind8"] if arch in BASE_ARCHITECTURES else []),
sources = [
"@" + arch + "_debian10_security//file:Packages.json",
"@" + arch + "_debian10_updates//file:Packages.json",
"@" + arch + "_debian10//file:Packages.json",
],
Expand Down
1 change: 1 addition & 0 deletions checksums.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ SHA256s = {
"debian10": {
"main": "6a60359ca6e3421c2b1ea1a9003f2127cb9e4c8e702a87c0c1074ea212cf171e",
"updates": "ebb59cadbf9ea75cdb90a3026bfcfaadc441602bd2f85e75ea393fa5e713dafe",
"security": "f114505bb208f38c9bb64d0485ebe67d1283e50f748ea23e08d05df9cad1709a",
},
},
}
2 changes: 2 additions & 0 deletions package_manager/dpkg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def main():
args = parser.parse_args()
if args.arch == "ppc64le":
args.arch = "ppc64el"
if args.packages_gz_url and 'ppc64le' in args.packages_gz_url:
args.packages_gz_url = args.packages_gz_url.replace("ppc64le", "ppc64el")
if args.download_and_extract_only:
download_package_list(args.mirror_url,args.distro, args.arch, args.snapshot, args.sha256,
args.packages_gz_url, args.package_prefix)
Expand Down
1 change: 1 addition & 0 deletions updateWorkspaceSnapshots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ SHA256s = {
"debian10": {
"main": "`curl -s https://snapshot.debian.org/archive/debian/$DEBIAN_SNAPSHOT/dists/buster/main/binary-ppc64el/Packages.gz 2>&1 | sha256sum | cut -d " " -f 1`",
"updates": "`curl -s https://snapshot.debian.org/archive/debian/$DEBIAN_SNAPSHOT/dists/buster-updates/main/binary-ppc64el/Packages.gz 2>&1 | sha256sum | cut -d " " -f 1`",
"security": "`curl -s https://snapshot.debian.org/archive/debian-security/$DEBIAN_SECURITY_SNAPSHOT/dists/buster/updates/main/binary-ppc64el/Packages.gz 2>&1 | sha256sum | cut -d " " -f 1`",
},
},
}
Expand Down

0 comments on commit bf75c7f

Please sign in to comment.