delaya73

Build instruction for a native vibrator

Jan 29th, 2018
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Build instruction for a native vibrator
  2.  
  3. 1. Replace in file jolla-hw-adaptation-oneplus3.yaml
  4.  
  5. - ngfd-plugin-droid-vibrator
  6. - qt5-feedback-haptics-droid-vibrator
  7.  
  8. on
  9.  
  10. - ngfd-plugin-native-vibrator
  11. - qt5-feedback-haptics-native-vibrator
  12.  
  13. commit: https://github.com/delaya73/droid-config-oneplus3/commit/009a8b9b04b63d99552775c34f3ce6fb504c7d5a#diff-6e2adce638f4896fd5106a4566d65c2d
  14.  
  15. 2. Replace in file build_packages.sh
  16.  
  17. buildmw ngfd-plugin-droid-vibrator || die
  18. uildmw qt5-feedback-haptics-droid-vibrator || die
  19.  
  20. on
  21.  
  22. buildmw ngfd-plugin-droid-vibrator rpm/ngfd-plugin-droid-vibrator.spec || die
  23. buildmw qt5-feedback-haptics-droid-vibrator rpm/qt5-feedback-haptics-droid-vibrator.spec || die
  24.  
  25. commit: https://github.com/mlehtima/droid-hal-device/commit/4d7870b3e5e7059a8dd6c7fc8b6910118f16642e
  26.  
  27. 3. Delete packages native vibrator
  28.  
  29. $ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm ngfd-plugin-native-vibrator
  30. rm -rf <path to localrepo>/ngfd-plugin-droid-vibrator
  31. rm -rf ~/hadk/hybris/mw/ngfd-plugin-droid-vibrator*
  32.  
  33. $ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm qt5-feedback-haptics-native-vibrator
  34. rm -rf <path to localrepo>/qt5-feedback-haptics-droid-vibrator
  35. rm -rf ~/hadk/hybris/mw/qt5-feedback-haptics-droid-vibrator*
  36.  
  37. 4. Build packages
  38.  
  39. rpm/dhd/helpers/build_packages.sh
  40.  
  41. 5. Delete packages droid vibrator middleware for build rootfs with mic
  42.  
  43. Native vibrator need a mic (see paragraph №1), when building a conflict with droid vibrator middleware.
  44. Cleanup the vibrator packages from droid-local-repo and uninstall droid vibrator middleware and build native vibrator packages.
  45.  
  46. $ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm ngfd-plugin-droid-vibrator
  47. rm -rf <path to localrepo>/ngfd-plugin-droid-vibrator
  48. rm -rf ~/hadk/hybris/mw/ngfd-plugin-droid-vibrator*
  49.  
  50. $ rpm/dhd/helpers/build_packages.sh --mw=https://github.com/mer-hybris/ngfd-plugin-droid-vibrator.git --spec=rpm/ngfd-plugin-native-vibrator.spec
  51.  
  52. $ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm qt5-feedback-haptics-droid-vibrator
  53. rm -rf <path to localrepo>/qt5-feedback-haptics-droid-vibrator
  54. rm -rf ~/hadk/hybris/mw/qt5-feedback-haptics-droid-vibrator*
  55.  
  56. $ rpm/dhd/helpers/build_packages.sh --mw=https://github.com/mer-hybris/qt5- feedback-haptics-droid-vibrator.git --spec=rpm/qt5-feedback-haptics-native-vibrator.spec
  57.  
  58. 6. hybris/droid-configs/droid-configs-device/helpers/process_patterns.sh
  59.  
  60. 7. Build rootfs with mic
  61. ~
RAW Paste Data