diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-21 23:22:58 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-04-21 23:22:58 +0000 |
commit | 90c645cf8eb6f90f8516088d255c46b955dda96e (patch) | |
tree | d3f6c01443c7724ec3948903ae1aee6a347e71fb /pkgs/os-specific/linux/chromium-os | |
parent | 2bd191e91f097ff2146099fae8b7c8bd90817808 (diff) | |
download | nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.tar nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.tar.gz nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.tar.bz2 nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.tar.lz nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.tar.xz nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.tar.zst nixpkgs-90c645cf8eb6f90f8516088d255c46b955dda96e.zip |
chromiumOSPackages.updateScript: drop libchrome
Just noticed this. I wasn't able to test the script when removing libchrome in f867986f602459d4c73e6e2247738ea3804ea05e because cros-updates-serving was down.
Diffstat (limited to 'pkgs/os-specific/linux/chromium-os')
-rwxr-xr-x | pkgs/os-specific/linux/chromium-os/update.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/os-specific/linux/chromium-os/update.py b/pkgs/os-specific/linux/chromium-os/update.py index ed1789cebee..1405c534d8b 100755 --- a/pkgs/os-specific/linux/chromium-os/update.py +++ b/pkgs/os-specific/linux/chromium-os/update.py @@ -99,15 +99,6 @@ for component in components: 'sha256': sha256, } -# Get the version number of libchrome. -chromiumos_overlay = paths['chromiumos/overlays/chromiumos-overlay'] -contents = scandir(f'{chromiumos_overlay}/chromeos-base/libchrome') -libchrome_version = lambda name: fullmatch(r'libchrome-(\d+)\.ebuild', name)[1] -ebuilds = [f for f in contents if f.is_file(follow_symlinks=False)] -versions = [libchrome_version(f.name) for f in ebuilds] -latest = sorted(versions, key=int)[-1] -data['components']['aosp/platform/external/libchrome']['version'] = latest - # Get the version number of the kernel. kernel = paths['chromiumos/third_party/kernel'] makefile = open(f'{kernel}/Makefile').read() |