Skip to content

Commit

Permalink
phase2: signpack: fix sha256sums signatures of apk packages.adb index
Browse files Browse the repository at this point in the history
Currently the sha256sum verification of apk's packages.adb index
fails as the file is modified with `apk adbsign`, but we currently don't
send the sha256sums file to the master, thus it can't be fixed during
signing.

So lets pack sha256sums files and ship them to master for proper
signing.

Fixes: a94d4e1 ("add APK signing logic")
Signed-off-by: Petr Štetiar <[email protected]>
  • Loading branch information
ynezz committed Oct 12, 2024
1 parent 80ffe93 commit e6ee788
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phase2/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ for arch in arches:
name = "signpack",
description = "Packing files to sign",
workdir = "build/sdk",
command = "find bin/packages/%s/ -mindepth 2 -maxdepth 2 -type f "
command = "find bin/packages/%s/ -mindepth 1 -maxdepth 2 -type f "
+ "-name sha256sums -print0 -or "
+ "-name Packages -print0 -or "
+ "-name packages.adb -print0 | "
+ "xargs -0 tar -czf sign.tar.gz" %(arch[0]),
Expand Down

0 comments on commit e6ee788

Please sign in to comment.