Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Things I did?
- 1.Fix ramdisk
- a) change touch script
- b) add udev rules
- c) add binaries lvm and e2label
- ----------------------------------------------------
- Things to do to /system
- 1.add ts_srv
- 2.create /vendor/etc
- 3. powerd does not respawn and enable debugging
- 4. add ubuntu-touch-reload
- 5. edit init.tenderloin.rc to add ath6kl.ko to load
- ----------------------------------------------------
- Things to do to /data
- 1. add fstab to /etc
- 2. add udev rules
- 3. add 70-tenderloin.rules
- 4. comment update-fstab from lxc-android-boot.conf
- 5. add init.rc to overrides??? Doesn't seem necessary???
- 6. ubuntu-touch-session-setup.conf to get phablet to restart????
- Stuff I have to do to kernel
- *Add stuff from the porting guide without proc patch
- *enable cgroups and use a patch to add /sys/block/cgroups at boot
- * CONFIG_TMPFS_POSIX=y
- fstab in /etc/fstab
- # override the forced fsck from /lib/init/fstab, we use a bindmount which confuses mountall
- /dev/root / rootfs defaults 0 0
- # swap file
- /SWAP.swap none swap sw 0 0
- # added by lxc-android-boot for /system
- /dev/dm-8 /system ext4 ro,noatime,nodiratime,errors=remount-ro 0 0
- # added by lxc-android-boot for /data
- /dev/dm-10 /data ext4 noatime,nodiratime,errors=remount-ro 0 0
- # added by lxc-android-boot for /vendor
- /system/vendor /vendor auto ro,bind 0 0
- /system /var/lib/lxc/android/rootfs/system auto ro,bind 0 0
- Had to disable update-fstab
- What else
- *ubuntu-touch-session-setup.conf*
- author "Ricardo Mendoza <ricmm@ubuntu.com>"
- start on (started udev
- and started dbus)
- stop on stopping dbus
- env user=phablet
- export user
- script
- sleep 60
- start ubuntu-touch-session USER=phablet
- end script
- *RAMDISK STUFF*
- Touch Script
- mountroot()
- {
- # list of possible userdata partition names
- partlist="userdata UDA DATAFS USERDATA"
- /bin/lvm vgscan
- /bin/lvm vgchange -ay
- /bin/e2label /dev/store/cm-data DATAFS
- /bin/e2label /dev/store/cm-system system
- /bin/e2label /dev/store/cm-cache cache
- udevadm trigger
- udevadm settle
- UDEV Rules for Ramdisk and Touch
- 56-lvm.rules
- 60-persistent-storage.rules (dm-* is removed)
- 60-persistent-storage-lvm.rules
- 85-lvm2.rules
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement