[Git][reproducible-builds/diffoscope][master] arsc: better document how to produce that binary blob that is copied here

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Fri May 19 15:23:05 UTC 2023



Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope


Commits:
8d61a7b4 by Mattia Rizzolo at 2023-05-19T17:17:18+02:00
arsc: better document how to produce that binary blob that is copied here

See https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/340

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- diffoscope/comparators/arsc.py


Changes:

=====================================
diffoscope/comparators/arsc.py
=====================================
@@ -33,6 +33,13 @@ from .utils.file import File
 # <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1" android:compileSdkVersion="29" android:compileSdkVersionCodename="10.0.0" package="com.example" platformBuildVersionCode="29" platformBuildVersionName="10.0.0">
 #   <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
 # </manifest>
+#
+# This is created by running:
+#   $ aapt2 link -o output.apk -I /usr/share/android-framework-res/framework-res.apk --manifest AndroidManifest-in.xml
+#   $ unzip output.apk AndroidManifest.xml
+# The framework-res.apk needed by aapt2 here is provided by the Debian package
+# `android-framework-res`.
+# See https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/340
 AXML = (
     b"\x03\x00\x08\x00\xf0\x03\x00\x00\x01\x00\x1c\x00l\x02\x00\x00"
     b"\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\\\x00\x00\x00"



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8d61a7b4e8ee299e77271bf895b139a53e0f1464

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8d61a7b4e8ee299e77271bf895b139a53e0f1464
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20230519/5f6113f4/attachment.htm>


More information about the rb-commits mailing list