astro / nix-openwrt-imagebuilder

Build OpenWRT images in Nix derivations
MIT License
129 stars 16 forks source link

Update hashes #3

Closed ehmry closed 2 years ago

ehmry commented 2 years ago
libreswan_4.2> trying https://downloads.openwrt.org/releases/21.02.3/packages/mipsel_74kc/packages/libreswan_4.2-1_mipsel_74kc.ipk
error: hash mismatch in fixed-output derivation '/nix/store/z0v4clwlvnl2fs6y0d7rafbjpwa22a5w-libreswan_4.2-1_mipsel_74kc.ipk.drv':
         specified: sha256-QTcT23hovLyHAjx0ByRfyZ/66Eo8ogH0HNmmQKzrQV0=
            got:    sha256-H6Mwg28M/JrosWyVojkFPWQbZYMDHRyWslXJfOLcBzc=

I have similiar problems with storing hashes in Sigil…

astro commented 2 years ago

I am not sure I understand this fix.

My first idea was to sort the lines of the sha256sums after download so there's a lower chance of them changing.

ehmry commented 2 years ago

There is no fix, just a hash update, logging errors. and hydra-build-products is just for createing nice download links at hydra https://hydra.hq.c3d2.de/build/31325.