diff --git a/WORKSPACE b/WORKSPACE index 22fe70f9d0..37d42db171 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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", ], diff --git a/checksums.bzl b/checksums.bzl index 6b4fe7fd05..3e30c43935 100644 --- a/checksums.bzl +++ b/checksums.bzl @@ -62,6 +62,7 @@ SHA256s = { "debian10": { "main": "6a60359ca6e3421c2b1ea1a9003f2127cb9e4c8e702a87c0c1074ea212cf171e", "updates": "ebb59cadbf9ea75cdb90a3026bfcfaadc441602bd2f85e75ea393fa5e713dafe", + "security": "f114505bb208f38c9bb64d0485ebe67d1283e50f748ea23e08d05df9cad1709a", }, }, } diff --git a/package_manager/dpkg_parser.py b/package_manager/dpkg_parser.py index eacfd4c282..e3567617cc 100644 --- a/package_manager/dpkg_parser.py +++ b/package_manager/dpkg_parser.py @@ -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) diff --git a/updateWorkspaceSnapshots.sh b/updateWorkspaceSnapshots.sh index 23040266be..eb0a11c526 100755 --- a/updateWorkspaceSnapshots.sh +++ b/updateWorkspaceSnapshots.sh @@ -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`", }, }, }