robotnix icon indicating copy to clipboard operation
robotnix copied to clipboard

Bug: Applying wrong bootanimation-Reproducibility-fix for Lineage 21.0

Open clement-songis opened this issue 7 months ago • 0 comments

There is an error in the version selection for bootanimation-Reproducibility-fix in flavors/lineageos/default.nix :

      (pkgs.replaceVars (if lib.versionAtLeast config.flavorVersion "22.2"
        then ./0002-bootanimation-Reproducibility-fix-22_2.patch
---        else if lib.versionAtLeast config.flavorVersion "21.1"
+++        else if lib.versionAtLeast config.flavorVersion "21.0"
        then ./0002-bootanimation-Reproducibility-fix-21.patch else
        ./0002-bootanimation-Reproducibility-fix.patch) {
        inherit (pkgs) imagemagick;
      })

Wich throw an error on when building Lineage OS 21.0 :

error: builder for '/nix/store/h35qfhlfmqi8v8jirj6k5ci67c1kj0n7-vendor=lineage-patched.drv' failed with exit code 1;
       last 7 log lines:
       > Applying /nix/store/9y3wfxnya3s27s16x8vkcnf7z16vikb7-0001-Remove-LineageOS-keys-21.patch
       > patching file config/common.mk
       > Hunk #1 succeeded at 256 (offset 13 lines).
       > Applying /nix/store/r46ai5hxmfz9zw8pkp5y28z2vvrfsq41-0002-bootanimation-Reproducibility-fix.patch
       > patching file bootanimation/Android.mk
       > Hunk #1 FAILED at 47.
       > 1 out of 1 hunk FAILED -- saving rejects to file bootanimation/Android.mk.rej
       For full logs, run:
         nix log /nix/store/h35qfhlfmqi8v8jirj6k5ci67c1kj0n7-vendor=lineage-patched.drv

clement-songis avatar Sep 17 '25 04:09 clement-songis