Advertisement
Guest User

Untitled

a guest
Aug 26th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. Things I did?
  2. 1.Fix ramdisk
  3. a) change touch script
  4. b) add udev rules
  5. c) add binaries lvm and e2label
  6. ----------------------------------------------------
  7. Things to do to /system
  8. 1.add ts_srv
  9. 2.create /vendor/etc
  10. 3. powerd does not respawn and enable debugging
  11. 4. add ubuntu-touch-reload
  12. 5. edit init.tenderloin.rc to add ath6kl.ko to load
  13. ----------------------------------------------------
  14. Things to do to /data
  15. 1. add fstab to /etc
  16. 2. add udev rules
  17. 3. add 70-tenderloin.rules
  18. 4. comment update-fstab from lxc-android-boot.conf
  19. 5. add init.rc to overrides??? Doesn't seem necessary???
  20. 6. ubuntu-touch-session-setup.conf to get phablet to restart????
  21.  
  22. Stuff I have to do to kernel
  23. *Add stuff from the porting guide without proc patch
  24. *enable cgroups and use a patch to add /sys/block/cgroups at boot
  25. * CONFIG_TMPFS_POSIX=y
  26.  
  27. fstab in /etc/fstab
  28. # override the forced fsck from /lib/init/fstab, we use a bindmount which confuses mountall
  29. /dev/root / rootfs defaults 0 0
  30.  
  31. # swap file
  32. /SWAP.swap none swap sw 0 0
  33. # added by lxc-android-boot for /system
  34. /dev/dm-8 /system ext4 ro,noatime,nodiratime,errors=remount-ro 0 0
  35. # added by lxc-android-boot for /data
  36. /dev/dm-10 /data ext4 noatime,nodiratime,errors=remount-ro 0 0
  37. # added by lxc-android-boot for /vendor
  38. /system/vendor /vendor auto ro,bind 0 0
  39. /system /var/lib/lxc/android/rootfs/system auto ro,bind 0 0
  40.  
  41. Had to disable update-fstab
  42. What else
  43.  
  44.  
  45. *ubuntu-touch-session-setup.conf*
  46. author "Ricardo Mendoza <ricmm@ubuntu.com>"
  47.  
  48. start on (started udev
  49. and started dbus)
  50. stop on stopping dbus
  51.  
  52. env user=phablet
  53. export user
  54.  
  55. script
  56. sleep 60
  57. start ubuntu-touch-session USER=phablet
  58. end script
  59.  
  60. *RAMDISK STUFF*
  61. Touch Script
  62. mountroot()
  63. {
  64. # list of possible userdata partition names
  65. partlist="userdata UDA DATAFS USERDATA"
  66.  
  67. /bin/lvm vgscan
  68. /bin/lvm vgchange -ay
  69. /bin/e2label /dev/store/cm-data DATAFS
  70. /bin/e2label /dev/store/cm-system system
  71. /bin/e2label /dev/store/cm-cache cache
  72. udevadm trigger
  73. udevadm settle
  74.  
  75. UDEV Rules for Ramdisk and Touch
  76. 56-lvm.rules
  77. 60-persistent-storage.rules (dm-* is removed)
  78. 60-persistent-storage-lvm.rules
  79. 85-lvm2.rules
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement