derrenardl

Untitled

Sep 26th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. PlatformSDK renard@sfosBUILD:~/hadk$ ls droid-local-repo/mi439/
  2. community-adaptation-localbuild-0.0.4-1.noarch.rpm droid-hal-Mi439-kernel-dtbo-0.0.6-202509262301.aarch64.rpm
  3. droid-hal-Mi439-0.0.6-202509262231.aarch64.rpm droid-hal-Mi439-kernel-modules-0.0.6-202509262231.aarch64.rpm
  4. droid-hal-Mi439-0.0.6-202509262252.aarch64.rpm droid-hal-Mi439-kernel-modules-0.0.6-202509262252.aarch64.rpm
  5. droid-hal-Mi439-0.0.6-202509262301.aarch64.rpm droid-hal-Mi439-kernel-modules-0.0.6-202509262301.aarch64.rpm
  6. droid-hal-Mi439-detritus-0.0.6-202509262231.aarch64.rpm droid-hal-Mi439-tools-0.0.6-202509262231.aarch64.rpm
  7. droid-hal-Mi439-detritus-0.0.6-202509262252.aarch64.rpm droid-hal-Mi439-tools-0.0.6-202509262252.aarch64.rpm
  8. droid-hal-Mi439-detritus-0.0.6-202509262301.aarch64.rpm droid-hal-Mi439-tools-0.0.6-202509262301.aarch64.rpm
  9. droid-hal-Mi439-devel-0.0.6-202509262231.aarch64.rpm droid-hal-Mi439-users-0.0.6-202509262231.aarch64.rpm
  10. droid-hal-Mi439-devel-0.0.6-202509262252.aarch64.rpm droid-hal-Mi439-users-0.0.6-202509262252.aarch64.rpm
  11. droid-hal-Mi439-devel-0.0.6-202509262301.aarch64.rpm droid-hal-Mi439-users-0.0.6-202509262301.aarch64.rpm
  12. droid-hal-Mi439-img-boot-0.0.6-202509262231.aarch64.rpm droid-hal-mi439-0.0.6-202509262308.aarch64.rpm
  13. droid-hal-Mi439-img-boot-0.0.6-202509262252.aarch64.rpm droid-hal-mi439-detritus-0.0.6-202509262308.aarch64.rpm
  14. droid-hal-Mi439-img-boot-0.0.6-202509262301.aarch64.rpm droid-hal-mi439-devel-0.0.6-202509262308.aarch64.rpm
  15. droid-hal-Mi439-img-recovery-0.0.6-202509262231.aarch64.rpm droid-hal-mi439-img-boot-0.0.6-202509262308.aarch64.rpm
  16. droid-hal-Mi439-img-recovery-0.0.6-202509262252.aarch64.rpm droid-hal-mi439-img-recovery-0.0.6-202509262308.aarch64.rpm
  17. droid-hal-Mi439-img-recovery-0.0.6-202509262301.aarch64.rpm droid-hal-mi439-kernel-0.0.6-202509262308.aarch64.rpm
  18. droid-hal-Mi439-kernel-0.0.6-202509262231.aarch64.rpm droid-hal-mi439-kernel-dtbo-0.0.6-202509262308.aarch64.rpm
  19. droid-hal-Mi439-kernel-0.0.6-202509262252.aarch64.rpm droid-hal-mi439-kernel-modules-0.0.6-202509262308.aarch64.rpm
  20. droid-hal-Mi439-kernel-0.0.6-202509262301.aarch64.rpm droid-hal-mi439-tools-0.0.6-202509262308.aarch64.rpm
  21. droid-hal-Mi439-kernel-dtbo-0.0.6-202509262231.aarch64.rpm droid-hal-mi439-users-0.0.6-202509262308.aarch64.rpm
  22. droid-hal-Mi439-kernel-dtbo-0.0.6-202509262252.aarch64.rpm
  23. PlatformSDK renard@sfosBUILD:~/hadk$ cat /home/renard/hadk/hybris/droid-configs.log
  24. error: line 26: Unknown tag: /sdcard\
  25. error: query of specfile /home/renard/hadk/hybris/droid-configs/.mb2/spec failed, can't parse
  26. error: line 26: Unknown tag: /sdcard\
  27. error: query of specfile /home/renard/hadk/hybris/droid-configs/.mb2/spec failed, can't parse
  28. Directory walk started
  29. Directory walk done - 41 packages
  30. Temporary output repo path: /home/renard/hadk/hybris/droid-configs/.mb2/filtered-output-dir/.repodata/
  31. Preparing sqlite DBs
  32. Pool started (with 5 workers)
  33. Pool finished
  34. Entering 'no-gpg-checks' mode.
  35. Entering non-interactive mode.
  36. Verbosity: 2
  37. Initializing Target
  38. Checking whether to refresh metadata for dir:/home/renard/hadk/hybris/droid-configs/.mb2/filtered-output-dir
  39. Retrieving repository 'dir:/home/renard/hadk/hybris/droid-configs/.mb2/filtered-output-dir' metadata [.
  40. Warning: Accepting an unsigned file 'repomd.xml' from repository 'dir:/home/renard/hadk/hybris/droid-configs/.mb2/filtered-output-dir'.
  41. done]
  42. Building repository 'dir:/home/renard/hadk/hybris/droid-configs/.mb2/filtered-output-dir' cache [...done]
  43. Loading repository data...
  44. Reading installed packages...
  45. Computing distribution upgrade...
  46. Force resolution: No
  47.  
  48. The following package is going to be reinstalled:
  49. community-adaptation-localbuild
  50. 0.0.4-1
  51.  
  52. 1 package to reinstall.
  53. Overall download size: 6.9 KiB. Already cached: 0 B. No additional space will be used or freed after the operation.
  54. Continue? [y/n/v/...? shows all options] (y): y
  55. committing
  56. Retrieving: community-adaptation-localbuild-0.0.4-1.noarch (dir:/home/renard/hadk/hybris/droid-configs/.mb2/filtered-output-dir) (1/1), 6.9 KiB
  57. Header SHA256 digest: OK
  58. Header SHA1 digest: OK
  59. Payload SHA256 digest: OK
  60. MD5 digest: OK
  61. Package header is not signed!
  62.  
  63.  
  64. Checking for file conflicts: [..done]
  65. (1/1) Installing: community-adaptation-localbuild-0.0.4-1.noarch [..
  66. Removing ssu feature cache
  67. .
  68. DBus unavailable, falling back to libssu
  69. add-oneshot: /usr/lib/oneshot.d/ssu-update-repos - run OK
  70. DBus unavailable, falling back to libssu
  71. add-oneshot: /usr/lib/oneshot.d/ssu-update-repos - run OK
  72. done]
  73. CommitResult (total 1, done 1, error 0, skipped 0, updateMessages 0)
  74. error: line 26: Unknown tag: /sdcard\
  75. error: query of specfile /home/renard/hadk/hybris/droid-configs/.mb2/spec failed, can't parse
  76. error: line 26: Unknown tag: /sdcard\
  77. Building target platforms: aarch64-meego-linux-gnu
  78. Building for target aarch64-meego-linux-gnu
  79.  
  80. PlatformSDK renard@sfosBUILD:~/hadk$ cat rpm/droid-hal-mi439.spec
  81. # These and other macros are documented in dhd/droid-hal-device.inc
  82. # Feel free to cleanup this file by removing comments, once you have memorised them ;)
  83.  
  84. %define device Mi439
  85. %define rpm_device mi439
  86.  
  87. %define vendor xiaomi
  88.  
  89. %define vendor_pretty Xiaomi
  90. %define device_pretty Redmi 7a
  91.  
  92. %define installable_zip 1
  93.  
  94. %define droid_target_aarch64 1
  95.  
  96. %define straggler_files \
  97. /bugreports\
  98. /d\
  99. /dsp\
  100. /firmware\
  101. /persist\
  102. /sdcard\
  103. %{nil}
  104.  
  105. %include rpm/dhd/droid-hal-device.inc
  106.  
  107.  
  108. # IMPORTANT if you want to comment out any macros in your .spec, delete the %
  109. # sign, otherwise they will remain defined! E.g.:
  110. #define some_macro "I'll not be defined because I don't have % in front"
  111.  
  112. PlatformSDK renard@sfosBUILD:~/hadk$ cat hybris/droid-configs/rpm/droid-config-mi439.spec
  113. # These and other macros are documented in ../droid-configs-device/droid-configs.inc
  114. # Feel free to cleanup this file by removing comments, once you have memorised them ;)
  115.  
  116. %define device Mi439
  117. %define rpm_device mi439
  118.  
  119. %define vendor xiaomi
  120.  
  121. %define installable_zip 1
  122.  
  123. %define vendor_pretty Xiaomi
  124. %define device_pretty Redmi 7a
  125.  
  126. # Community HW adaptations need this
  127. %define community_adaptation 1
  128.  
  129. %define android_version_major 14
  130.  
  131. %define straggler_files \
  132. /bugreports\
  133. /d\
  134. /dsp\
  135. /firmware\
  136. /persist\
  137. /sdcard\
  138. %{nil}
  139.  
  140. Provides: ofono-configs
  141. Obsoletes: ofono-configs-mer
  142. Obsoletes: ofono-configs-binder
  143.  
  144. # Pixel ratio 1.0 was originally jolla phone with 245ppi, and the devices
  145. # should roughly have their ppi compared to that. Large displays can use
  146. # bigger ratio if seen fit. Values are with 0.25 increments.
  147. %define pixel_ratio 1.0
  148.  
  149. %include droid-configs-device/droid-configs.inc
  150. %include patterns/patterns-sailfish-device-adaptation-Mi439.inc
  151. %include patterns/patterns-sailfish-device-configuration-Mi439.inc
  152.  
  153. # IMPORTANT if you want to comment out any macros in your .spec, delete the %
  154. # sign, otherwise they will remain defined! E.g.:
  155. #define some_macro "I'll not be defined because I don't have % in front"
  156.  
  157.  
Advertisement
Add Comment
Please, Sign In to add comment