** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev 51. - 2. Install systemd-sysv rather than upstart-sysv (Bug 1625023) - 2.1. rebuild latest ubuntu-touch package from source [2] with patch [3] applied. - 2.2. download latest systemd-sysv package [4]. - 2.3. dpkg -i ubuntu-touch_*.deb systemd-sysv_*.deb + 2. Reboot into recovery mode and manually change upstart-local-bridge service type to simple. + host$ adb shell + device# mkdir ubuntu + device# mount /dev/block/platform/mtk-msdc.0/by-name/system ubuntu + device# exit + host$ adb pull /ubuntu/lib/systemd/system/upstart-local-bridge.service . + (edit the file as mp[2] does ...) + host$ adb push upstart-local-bridge.service \ + /ubuntu/lib/systemd/system/upstart-local-bridge.service + host$ adb shell + device# sync; sync; sync + device# umount /ubuntu + device# exit + host$ adb reboot - 3. Install android-tools-adbd for systemd (Bug 1627613) - 3.1. Install prebuilt package [5] or recompile it from source [6] with patch [7] applied. - 3.2. Install the package from Terminal app because it will break adb connection and interrupt the installation process leaving a very bad state of the package. - - 4. Recompile upstart with merge proposal [8] include and install at - least the built binary /sbin/upstart-local-bridge. - - 5. Reboot. + 3. Go to Settings::About page to enable developer mode. [1]: https://code.launchpad.net/~avila-private-team/avila-private/+git/platform_manifest/+ref/xenial - [2]: http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/u/ubuntu-touch-meta/ - [3]: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744047/+files/0001-depends-on-systemd-sysv-instead.patch - [4]: http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/s/systemd/ - [5]: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+attachment/4751442/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb - [6]: http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/a/android-tools/ - [7]: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750792/+files/0001-install-systemd-service-files.patch - [8]: https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140 + [2]: https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097 [All Pending MPs] - 1. ubuntu-touch-meta: - * https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744047/+files/0001-depends-on-systemd-sysv-instead.patch - 2. android-tools: - https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750792/+files/0001-install-systemd-service-files.patch - 3. upstart: - * https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140 + 1. lxc-android-config: + * https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097 [Prebuilt rootfs tarball] https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161005/rootfs-systemd_rev-51.tar.bz2 md5sum: 3cf478a654509c67a3d8c097bd0de9ec build_number: 51 version_detail: ubuntu=20161005,device=20160919.0,custom=20161005,version=51
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625023 Title: switch to systemd on ubuntu phone xenial To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs