lxc-android-config
Differences between revisions 6 and 7
793
Comment:
|
679
|
Deletions are marked like this. | Additions are marked like this. |
Line 16: | Line 16: |
# mako version TARGET=/mnt adb shell mount -o loop /data/system.img $TARGET # krillin version TARGET=/system adb shell mount $TARGET |
adb shell mount /system |
Line 24: | Line 19: |
adb push lxc-android-config_*_all.deb $TARGET/tmp | adb push lxc-android-config_*_all.deb /system/tmp |
Line 27: | Line 22: |
adb shell chroot $TARGET /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_*_all.deb | adb shell chroot /system /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_*_all.deb |
Line 30: | Line 25: |
adb shell umount $TARGET | adb shell umount /system |
Testing new versions of lxc-android-config
Download the lxc-android-config package
Install the package
1 #clean flash of the latest image on mako
2 ubuntu-device-flash --channel=devel-proposed --bootstrap
3
4 # reboot into recovery
5 adb reboot recovery
6
7 # Remount the system image someplace it can be modified:
8 adb shell mount /system
9
10 # Put lxc-android-config in it:
11 adb push lxc-android-config_*_all.deb /system/tmp
12
13 # Install the package:
14 adb shell chroot /system /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_*_all.deb
15
16 # Unmount and reboot:
17 adb shell umount /system
18 adb reboot
Touch/Testing/lxc-android-config (last edited 2016-10-13 13:22:18 by sil2100)