[Ubuntu-phonedations-bugs] [Bug 1641505] Re: support adbd emergency shell under systemd

2016-11-13 Thread Vicamo Yang
With the two patches, one may test adbd emergency shell manually by
replacing ExecStart command with `/bin/false` in either lxc-android-
config or lightdm systemd service.

** Branch linked: lp:~vicamo/lxc-android-config/adbd-emergency-shell

** Changed in: android-tools (Ubuntu)
   Status: New => In Progress

** Changed in: lxc-android-config (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1641505

Title:
  support adbd emergency shell under systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  In Progress
Status in lxc-android-config package in Ubuntu:
  In Progress

Bug description:
  Currently adbd emergency shell is only available under upstart, so
  some work is needed to bring it up under systemd as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1641505] Re: support adbd emergency shell under systemd

2016-11-13 Thread Vicamo Yang
Patch for source package android-tools to add a systemd ExecStopPost
hook /usr/lib/android-tools-adbd/start-emergency-shell for other
packages.

** Patch added: "0001-Add-adbd-emergency-shell-systemd-support.patch"
   
https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1641505/+attachment/4777092/+files/0001-Add-adbd-emergency-shell-systemd-support.patch

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1641505

Title:
  support adbd emergency shell under systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New

Bug description:
  Currently adbd emergency shell is only available under upstart, so
  some work is needed to bring it up under systemd as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1641505] [NEW] support adbd emergency shell under systemd

2016-11-13 Thread Vicamo Yang
Public bug reported:

Currently adbd emergency shell is only available under upstart, so some
work is needed to bring it up under systemd as well.

** Affects: canonical-devices-system-image
 Importance: Undecided
 Status: New

** Affects: android-tools (Ubuntu)
 Importance: Undecided
 Assignee: Vicamo Yang (vicamo)
 Status: New

** Affects: lxc-android-config (Ubuntu)
 Importance: Undecided
 Assignee: Vicamo Yang (vicamo)
 Status: New


** Tags: systemd

** Tags added: systemd

** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: android-tools (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: android-tools (Ubuntu)
 Assignee: (unassigned) => Vicamo Yang (vicamo)

** Changed in: lxc-android-config (Ubuntu)
 Assignee: (unassigned) => Vicamo Yang (vicamo)

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1641505

Title:
  support adbd emergency shell under systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New

Bug description:
  Currently adbd emergency shell is only available under upstart, so
  some work is needed to bring it up under systemd as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-14 Thread Vicamo Yang
** 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
- 56.
+ 59.
  
- 1.1. If your system is a user build, e.g. flashed from u-d-f, you need to 
create an additional symbolic link to automatically enable adb access (bug 
1632602). You can do this under recovery mode:
- device# cd /ubuntu/etc/systemd/system
- device# mkdir android-contai...@ro.build.type\\x3duser.target.wants
- device# cd android-contai...@ro.build.type\\x3duser.target.wants
- device# ln -s /lib/systemd/system/android-tools-adbd.service
+ 2. Go to Settings::About page to enable developer mode.
  
- 2. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
- 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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097
- 
- [All Pending MPs]
- 
- 1. lxc-android-config:
- * 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097
+ [1]: https://code.launchpad.net/~avila-private-team/avila-
+ private/+git/platform_manifest/+ref/xenial
  
  [Prebuilt rootfs tarball]
  
  
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  New

Bug description:
  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
  59.

  2. Go to Settings::About page to enable developer mode.

  [1]: https://code.launchpad.net/~avila-private-team/avila-
  private/+git/platform_manifest/+ref/xenial

  [Prebuilt rootfs tarball]

  
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-14 Thread Vicamo Yang
There is no more work to do for systemd bring up.

For snappy bring up, bug 1632272 and bug 1633367 are still open/waiting
for review.

** Changed in: upstart (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  Fix Released

Bug description:
  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
  59.

  2. Go to Settings::About page to enable developer mode.

  [1]: https://code.launchpad.net/~avila-private-team/avila-
  private/+git/platform_manifest/+ref/xenial

  [Prebuilt rootfs tarball]

  
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-14 Thread Vicamo Yang
All necessary changes merged.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1632602

Title:
  no adb access under xenial+systemd user build

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed

Bug description:
  adb service under user build involves several other parties and is
  currently not implemented.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1632602/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-13 Thread Vicamo Yang
Temp work-arounds have been proposed. Please keep this bug open even if
they're merged later.

** Changed in: android-tools (Ubuntu)
   Status: New => In Progress

** Changed in: android-tools (Ubuntu)
   Status: In Progress => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1632602

Title:
  no adb access under xenial+systemd user build

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed

Bug description:
  adb service under user build involves several other parties and is
  currently not implemented.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1632602/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-13 Thread Vicamo Yang
After some discussion, we can also enable "ro.debuggable=1" in user
builds temporarily and revert it when all is ready.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1632602

Title:
  no adb access under xenial+systemd user build

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New

Bug description:
  adb service under user build involves several other parties and is
  currently not implemented.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1632602/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-12 Thread Vicamo Yang
** 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
  56.
  
- 1.1. If your system is a user build, e.g. flashed from u-d-f, you need to 
create an additional symbolic link to automatically enable adb access. You can 
do this under recovery mode:
+ 1.1. If your system is a user build, e.g. flashed from u-d-f, you need to 
create an additional symbolic link to automatically enable adb access (bug 
1632602). You can do this under recovery mode:
  device# cd /ubuntu/etc/systemd/system
  device# mkdir android-contai...@ro.build.type\\x3duser.target.wants
  device# cd android-contai...@ro.build.type\\x3duser.target.wants
  device# ln -s /lib/systemd/system/android-tools-adbd.service
  
  2. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097
  
  [All Pending MPs]
  
  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/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  New

Bug description:
  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
  56.

  1.1. If your system is a user build, e.g. flashed from u-d-f, you need to 
create an additional symbolic link to automatically enable adb access (bug 
1632602). You can do this under recovery mode:
  device# cd /ubuntu/etc/systemd/system
  device# mkdir android-contai...@ro.build.type\\x3duser.target.wants
  device# cd android-contai...@ro.build.type\\x3duser.target.wants
  device# ln -s /lib/systemd/system/android-tools-adbd.service

  2. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097

  [All Pending MPs]

  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/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Uns

[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-12 Thread Vicamo Yang
However, like what we've have for eng build, one may simply hook
android-tools-adbd service to another valid property under user build,
e.g. "ro.build.type=user".

device# cd /ubuntu/etc/systemd/system
device# mkdir android-contai...@ro.build.type\\x3duser.target.wants
device# cd android-contai...@ro.build.type\\x3duser.target.wants
device# ln -s /lib/systemd/system/android-tools-adbd.service

Here, the folder name is "android-
container@\x3d.target.wants". That backslash character is
required.

** Also affects: android-tools (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1632602

Title:
  no adb access under xenial+systemd user build

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New

Bug description:
  adb service under user build involves several other parties and is
  currently not implemented.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1632602/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-12 Thread Vicamo Yang
** 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.
+ 56.
+ 
+ 1.1. If your system is a user build, e.g. flashed from u-d-f, you need to 
create an additional symbolic link to automatically enable adb access. You can 
do this under recovery mode:
+ device# cd /ubuntu/etc/systemd/system
+ device# mkdir android-contai...@ro.build.type\\x3duser.target.wants
+ device# cd android-contai...@ro.build.type\\x3duser.target.wants
+ device# ln -s /lib/systemd/system/android-tools-adbd.service
  
  2. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097
  
  [All Pending MPs]
  
  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/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  New

Bug description:
  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
  56.

  1.1. If your system is a user build, e.g. flashed from u-d-f, you need to 
create an additional symbolic link to automatically enable adb access (bug 
1632602). You can do this under recovery mode:
  device# cd /ubuntu/etc/systemd/system
  device# mkdir android-contai...@ro.build.type\\x3duser.target.wants
  device# cd android-contai...@ro.build.type\\x3duser.target.wants
  device# ln -s /lib/systemd/system/android-tools-adbd.service

  2. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097

  [All Pending MPs]

  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/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-11 Thread Vicamo Yang
** 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. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097
  
  [All Pending MPs]
  
  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
+ 
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161011/rootfs-systemd_rev-56.tar.bz2
+ md5sum: 4fc880e60fcf66857fbbeff6ce58e025
+ build_number: 56
+ version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  New

Bug description:
  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. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097

  [All Pending MPs]

  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/20161011/rootfs-systemd_rev-56.tar.bz2
  md5sum: 4fc880e60fcf66857fbbeff6ce58e025
  build_number: 56
  version_detail: ubuntu=20161011,device=20160919.0,custom=20161011,version=56

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-11 Thread Vicamo Yang
** 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. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple.
+ 2. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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
+   /ubuntu/lib/systemd/system/upstart-local-bridge.service
  host$ adb shell
  device# sync; sync; sync
  device# umount /ubuntu
  device# exit
  host$ adb 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097
  
  [All Pending MPs]
  
  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
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  New

Bug description:
  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. Reboot into recovery mode and manually change upstart-local-bridge service 
type to simple. (bug 1632260)
  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. 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]: 
https://code.launchpad.net/~vicamo/lxc-android-config/foreground-upstart-local-bridge/+merge/308097

  [All Pending MPs]

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-11 Thread Vicamo Yang
** 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
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  In Progress
Status in android-tools package in Ubuntu:
  Fix Released
Status in lxc-android-config package in Ubuntu:
  Fix Released
Status in ubuntu-touch-meta package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  New

Bug description:
  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. 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. Go to Settings::About page to enable develope

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-05 Thread Vicamo Yang
** 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
  
  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.
  
  [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
  
  [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
  
  [Prebuilt rootfs tarball]
  
- 
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161004/rootfs-systemd.tar.bz2
 (updated 15:55 +0800)
- md5sum: 220c811b8ad7cb978d6b695679ad21fc
- build_number: 49
- version_detail: ubuntu=20161001,device=20160919.0,custom=20161001,version=49
+ 
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
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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

  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.

  [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/canoni

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-05 Thread Vicamo Yang
** 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
  
  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.
  
  [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
  
  [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. upstart:
+ 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
  
  [Prebuilt rootfs tarball]
  
  
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161004/rootfs-systemd.tar.bz2
 (updated 15:55 +0800)
  md5sum: 220c811b8ad7cb978d6b695679ad21fc
  build_number: 49
  version_detail: ubuntu=20161001,device=20160919.0,custom=20161001,version=49

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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

  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.

  [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/
 

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-04 Thread Vicamo Yang
** 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.
+ 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
  
  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. Modify lxc-android-config package systemd service file by hand as the
- merge proposal [8][9][10][11] does. (Bug 1625445, bug 1625916, bug
- 1626012, bug 1627613).
- 
- 5. Recompile upstart with merge proposal [12] include and install at
+ 4. Recompile upstart with merge proposal [8] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
- 6. Reboot.
+ 5. Reboot.
  
  [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/ubuntu/+source/upstart/+bug/1627613/+attachment/4751442/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb
+ [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/lxc-android-config/fix-systemd-service-startup/+merge/306435
- [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
- [10]: 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
- [11]: 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
- [12]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
+ [8]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
  
  [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. lxc-android-config:
- * 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435
- * 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
- * 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
- * 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
- 3. upstart:
+ 2. upstart:
  * 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
  
  [Prebuilt rootfs tarball]
  
  
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161004/rootfs-systemd.tar.bz2
 (updated 15:55 +0800)
  md5sum: 220c811b8ad7cb978d6b695679ad21fc
  build_number: 49
  version_detail: ubuntu=20161001,device=20160919.0,custom=20161001,version=49

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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_*.de

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-04 Thread Vicamo Yang
** 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.
  
  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
  
  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. Modify lxc-android-config package systemd service file by hand as the
  merge proposal [8][9][10][11] does. (Bug 1625445, bug 1625916, bug
  1626012, bug 1627613).
  
  5. Recompile upstart with merge proposal [12] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
  6. Reboot.
  
  [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/ubuntu/+source/upstart/+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/lxc-android-config/fix-systemd-service-startup/+merge/306435
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
  [10]: 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
  [11]: 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
  [12]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
  
  [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. lxc-android-config:
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
  3. upstart:
  * 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
  
  [Prebuilt rootfs tarball]
  
- 
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161004/rootfs-systemd.tar.bz2
- md5sum: dd185cf1c7aada1623e57319ae139c72
+ 
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161004/rootfs-systemd.tar.bz2
 (updated 15:55 +0800)
+ md5sum: 220c811b8ad7cb978d6b695679ad21fc
  build_number: 49
  version_detail: ubuntu=20161001,device=20160919.0,custom=20161001,version=49

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  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.


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-03 Thread Vicamo Yang
** 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.
  
  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
  
  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. Modify lxc-android-config package systemd service file by hand as the
  merge proposal [8][9][10][11] does. (Bug 1625445, bug 1625916, bug
  1626012, bug 1627613).
  
  5. Recompile upstart with merge proposal [12] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
  6. Reboot.
  
  [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/ubuntu/+source/upstart/+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/lxc-android-config/fix-systemd-service-startup/+merge/306435
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
  [10]: 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
  [11]: 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
  [12]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
  
  [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. lxc-android-config:
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
  * 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
  3. upstart:
  * 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
+ 
+ [Prebuilt rootfs tarball]
+ 
+ 
https://private-fileshare.canonical.com/~vicamo/avila/images/systemd/ubuntu/20161004/rootfs-systemd.tar.bz2
+ build_number: 49
+ version_detail: ubuntu=20161001,device=20160919.0,custom=20161001,version=49

** 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.
  
  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
  
  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. Modify lxc-android-config package systemd service file by hand as the
  merge proposal [8][9][10][11] does. (Bug 1625445, bug 1625916, bug
  1626012, bug 1627613).
  
  5. Recompile upstart with merge proposal [12] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
  6. Reboot.
  
  [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-sy

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-30 Thread Vicamo Yang
** 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.
  
  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
  
  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. Modify lxc-android-config package systemd service file by hand as the
  merge proposal [8][9][10][11] does. (Bug 1625445, bug 1625916, bug
  1626012, bug 1627613).
  
  5. Recompile upstart with merge proposal [12] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
  6. Reboot.
  
  [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/ubuntu/+source/upstart/+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/lxc-android-config/fix-systemd-service-startup/+merge/306435
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
  [10]: 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
  [11]: 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
  [12]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140
+ 
+ [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. lxc-android-config:
+ * 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435
+ * 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge/+merge/307144
+ * 
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184
+ * 
https://code.launchpad.net/~vicamo/lxc-android-config/disable-systemd-alsa-restore/+merge/306587
+ 3. upstart:
+ * 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  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. Modify lxc-android-config package systemd service file by hand as
  the merge proposal [8][9][10][11] does. (Bug 1625445, bug 1625916, bug
  1626012, bug 1627613).

  5. Recompile upstart with merge proposal [12] include and install at
  least the built binary /sbin/upstart-local-bridge.

  6. Reboot.

  [1]: 
https://code.launchpad.net/~avila-private-team/avila-private/+git/platform_manifest/+ref/xenial
  [2]: 
http://ppa.launchpad.net/ci-train-ppa-serv

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-30 Thread Vicamo Yang
** Attachment removed: 
"android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744111/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb

** 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.
  
  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
  
  3. Install android-tools-adbd for systemd (Bug 1627613)
- 3.1. Recompile it from source [6] with patch [7] applied.
+ 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. Modify lxc-android-config package systemd service file by hand as the
  merge proposal [8][9] does. (Bug 1625445, bug 1625916 and bug 1626012).
  
  5. Recompile upstart with merge proposal [10] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
  6. Reboot.
  
  [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/1625023/+attachment/4744111/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb
+ [5]: 
https://bugs.launchpad.net/ubuntu/+source/upstart/+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/lxc-android-config/fix-systemd-service-startup/+merge/306435
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge
  [10]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140

** 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.
  
  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
  
  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. Modify lxc-android-config package systemd service file by hand as the
- merge proposal [8][9] does. (Bug 1625445, bug 1625916 and bug 1626012).
+ merge proposal [8][9] does. (Bug 1625445, bug 1625916, bug 1626012, bug
+ 1627613).
  
  5. Recompile upstart with merge proposal [10] include and install at
  least the built binary /sbin/upstart-local-bridge.
  
  6. Reboot.
  
  [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/ubuntu/+source/upstart/+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/lxc-android-config/fix-systemd-service-startup/+m

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-30 Thread Vicamo Yang
** Attachment added: "ubuntu-touch_1.264xenial17+systemd_arm64.deb"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4751598/+files/ubuntu-touch_1.264xenial17+systemd_arm64.deb

** Attachment removed: "ubuntu-touch_1.264xenial13+systemd_arm64.deb"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4743481/+files/ubuntu-touch_1.264xenial13+systemd_arm64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  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. Modify lxc-android-config package systemd service file by hand as
  the merge proposal [8][9] does. (Bug 1625445, bug 1625916, bug
  1626012, bug 1627613).

  5. Recompile upstart with merge proposal [10] include and install at
  least the built binary /sbin/upstart-local-bridge.

  6. Reboot.

  [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/ubuntu/+source/upstart/+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/lxc-android-config/fix-systemd-service-startup/+merge/306435
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge
  [10]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Add prebuilt lxc-android-config package with mp
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-
bridge, https://code.launchpad.net/~vicamo/lxc-android-config/disable-
systemd-alsa-restore/+merge/306587, https://code.launchpad.net/~vicamo
/lxc-android-config/fix-systemd-service-startup/+merge/306435,
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-
paths/+merge/306184 applied.

** Attachment added: "lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4751443/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Add prebuilt package with
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750792/+files/0001
-install-systemd-service-files.patch applied.

** Attachment added: 
"android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4751442/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Prebuilt package with https://code.launchpad.net/~vicamo/upstart/xenial-
escape-systemd-strings applied.

** Attachment added: "upstart_1.13.2-0ubuntu21.1_arm64.deb"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4751437/+files/upstart_1.13.2-0ubuntu21.1_arm64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-29 Thread Vicamo Yang
** 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.
  
  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
  
  3. Install android-tools-adbd for systemd (Bug 1627613)
- 3.1. download prebuilt package [5] or recompile it from source [6] with patch 
[7] applied.
+ 3.1. 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. Modify lxc-android-config package [8] systemd service file by hand as
- the merge proposal [9] does. (Bug 1625445, bug 1625916 and bug 1626012).
+ 4. Modify lxc-android-config package systemd service file by hand as the
+ merge proposal [8][9] does. (Bug 1625445, bug 1625916 and bug 1626012).
  
- 5. Reboot.
+ 5. Recompile upstart with merge proposal [10] include and install at
+ least the built binary /sbin/upstart-local-bridge.
+ 
+ 6. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
- [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
- [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435
+ [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/lxc-android-config/fix-systemd-service-startup/+merge/306435
+ [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge
+ [10]: 
https://code.launchpad.net/~vicamo/upstart/xenial-escape-systemd-strings/+merge/307140

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  3. Install android-tools-adbd for systemd (Bug 1627613)
  3.1. 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. Modify lxc-android-config package systemd service file by hand as
  the merge proposal [8][9] does. (Bug 1625445, bug 1625916 and bug
  1626012).

  5. Recompile upstart with merge proposal [10] include and install at
  least the built binary /sbin/upstart-local-bridge.

  6. Reboot.

  [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/1625023

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Prebuilt upstart-local-bridge binary from version 1.13.2-0ubuntu21.1

** Attachment added: "upstart-local-bridge"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750793/+files/upstart-local-bridge

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
** Patch added: "0001-install-systemd-service-files.patch"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750792/+files/0001-install-systemd-service-files.patch

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-29 Thread Vicamo Yang
** 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.
  
  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
  
  3. Install android-tools-adbd for systemd (Bug 1627613)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
- systemd service file by hand as the merge proposal [9] does. (Bug
- 1625445, bug 1625916 and bug 1626012).
+ 4. Modify lxc-android-config package [8] systemd service file by hand as
+ the merge proposal [9] does. (Bug 1625445, bug 1625916 and bug 1626012).
  
  5. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  3. Install android-tools-adbd for systemd (Bug 1627613)
  3.1. 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. Modify lxc-android-config package systemd service file by hand as
  the merge proposal [8][9] does. (Bug 1625445, bug 1625916 and bug
  1626012).

  5. Recompile upstart with merge proposal [10] include and install at
  least the built binary /sbin/upstart-local-bridge.

  6. Reboot.

  [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/1625023/+attachment/4744111/+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/lxc-android-config/fix-systemd-service-startup/+merge/306435
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local-bridge
  [10]: 
https://code.launchpad.net/~vicamo/upstart/xeni

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Patch for android-tools to enable adbd in eng build at boot.

** Branch linked: lp:~vicamo/lxc-android-config/add-upstart-local-bridge

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
** Branch linked: lp:~vicamo/upstart/xenial-escape-systemd-strings

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-28 Thread Vicamo Yang
** Also affects: upstart (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-26 Thread Vicamo Yang
** Description changed:

  Currently android adbd has no systemd service file and the mechanism for
  related parts like usb state and mtp is void.
+ 
+ TODO: document
+ 
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

  TODO: document
  
https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-26 Thread Vicamo Yang
Filed bug 1627613 to track adbd stuff separately.

** 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.
  
  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
  
- 3. Install android-tools-adbd for systemd (Bug 1625023)
+ 3. Install android-tools-adbd for systemd (Bug 1627613)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445, bug 1625916 and bug 1626012).
  
  5. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  Confirmed
Status in lxc-android-config package in Ubuntu:
  Confirmed
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  3. Install android-tools-adbd for systemd (Bug 1627613)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445, bug 1625916 and bug 1626012).

  5. Reboot.

  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-syste

[Ubuntu-phonedations-bugs] [Bug 1627613] [NEW] enable android adbd properly in systemd

2016-09-26 Thread Vicamo Yang
Public bug reported:

Currently android adbd has no systemd service file and the mechanism for
related parts like usb state and mtp is void.

** Affects: canonical-devices-system-image
 Importance: Undecided
 Status: New

** Affects: android-tools (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: lxc-android-config (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: systemd

** Tags added: systemd

** Also affects: android-tools (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-26 Thread Vicamo Yang
"upstart-local-bridge[930]: Unit name 
android-contai...@persist.sys.usb.config\x3d,adb.target is not valid."
So from systemd source, the allowed unit name is:

  #define VALID_CHARS DIGITS LETTERS ":-_.\\"

upstart-local-bridge translates the event (name,value) pair to a unit
name that doesn't conform to systemd's requirement.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1627613

Title:
  enable android adbd properly in systemd

Status in Canonical System Image:
  New
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New

Bug description:
  Currently android adbd has no systemd service file and the mechanism
  for related parts like usb state and mtp is void.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1627613/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-23 Thread Vicamo Yang
Prebuilt lxc-android-config that integrates
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-
paths/+merge/306184 for bug 1625445, https://code.launchpad.net/~vicamo
/lxc-android-config/fix-systemd-service-startup/+merge/306435 for bug
1625916, and https://code.launchpad.net/~vicamo/lxc-android-config
/disable-systemd-alsa-restore/+merge/306587 for bug 1626012.

** Attachment added: "lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb"
   
https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1625023/+attachment/4746826/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb

** 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.
  
  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
  
  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
- 1625445 and bug 1625916).
+ 1625445, bug 1625916 and bug 1626012).
  
- 5. Rename alsactl somewhere (Bug 1626012).
- # sudo mount -o remount,rw /
- # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
- # sudo ln -s /bin/true /usr/sbin/alsactl
- 
- 6. Reboot.
+ 5. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445, bug 1625916 and bug 1626012).

  5. Reboot.

  [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-de

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-23 Thread Vicamo Yang
** Attachment removed: 
"lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb"
   
https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445 and bug 1625916).

  5. Rename alsactl somewhere (Bug 1626012).
  # sudo mount -o remount,rw /
  # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
  # sudo ln -s /bin/true /usr/sbin/alsactl

  6. Reboot.

  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** 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] (need manually checkout
- xenial branch in kernel-3.10/ before https://code.launchpad.net/~vicamo
- /avila-private/+git/platform_manifest/+merge/306441 is merged). This
- should gives a working xenial+upstart avila.
+ 1. flash images built from xenial branch [1]. This should gives a
+ working xenial+upstart avila.
  
  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
  
  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445 and bug 1625916).
  
  5. Rename alsactl somewhere (Bug 1626012).
  # sudo mount -o remount,rw /
  # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
  # sudo ln -s /bin/true /usr/sbin/alsactl
  
  6. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  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

  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445 and bug 1625916).

  5. Rename alsactl somewhere (Bug 1626012).
  # sudo mount -o remount,rw /
  # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
  # sudo ln -s /bin/true /usr/sbin/alsactl

  6. Reboot.

  [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/1625023/+attachment/4744111/+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.la

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** 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] (need manually checkout
  xenial branch in kernel-3.10/ before https://code.launchpad.net/~vicamo
  /avila-private/+git/platform_manifest/+merge/306441 is merged). This
  should gives a working xenial+upstart avila.
  
- 2. Install systemd-sysv rather than upstart-sysv
+ 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
  
- 3. Install android-tools-adbd for systemd
+ 3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
- systemd service file by hand as the merge proposal [9] does.
+ systemd service file by hand as the merge proposal [9] does. (Bug
+ 1625445 and bug 1625916).
  
- 5. Rename alsactl somewhere to work-around bug 1626012.
+ 5. Rename alsactl somewhere (Bug 1626012).
  # sudo mount -o remount,rw /
  # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
  # sudo ln -s /bin/true /usr/sbin/alsactl
  
  6. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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] (need manually checkout
  xenial branch in kernel-3.10/ before
  https://code.launchpad.net/~vicamo/avila-
  private/+git/platform_manifest/+merge/306441 is merged). This should
  gives a working xenial+upstart avila.

  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

  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445 and bug 1625916).

  5. Rename alsactl somewhere (Bug 1626012).
  # sudo mount -o remount,rw /
  # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
  # sudo ln -s /bin/true /usr/sbin/alsactl

  6. Reboot.

  [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.launch

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in lxc-android-config package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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] (need manually checkout
  xenial branch in kernel-3.10/ before
  https://code.launchpad.net/~vicamo/avila-
  private/+git/platform_manifest/+merge/306441 is merged). This should
  gives a working xenial+upstart avila.

  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

  3. Install android-tools-adbd for systemd (Bug 1625023)
  3.1. download 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. Install prebuilt lxc-android-config package [8] or just correct its
  systemd service file by hand as the merge proposal [9] does. (Bug
  1625445 and bug 1625916).

  5. Rename alsactl somewhere (Bug 1626012).
  # sudo mount -o remount,rw /
  # sudo mv /usr/sbin/alsactl /usr/sbin/alsactl.orig
  # sudo ln -s /bin/true /usr/sbin/alsactl

  6. Reboot.

  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** 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.
+ 1. flash images built from xenial branch [1] (need manually checkout
+ xenial branch in kernel-3.10/ before https://code.launchpad.net/~vicamo
+ /avila-private/+git/platform_manifest/+merge/306441 is merged). This
+ should gives a working xenial+upstart avila.
  
  2. Install systemd-sysv rather than upstart-sysv
  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
  
  3. Install android-tools-adbd for systemd
  3.1. download 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. Fix android container
  4.1. Install prebuilt package [8] or just correct its systemd service file by 
hand as the merge proposal [9] does.
  4.2. fix /etc/mtab entry in /usr/lib/tmpfiles.d/debian.conf by replacing 'L+' 
with 'L'.
  
  5. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

** 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] (need manually checkout
  xenial branch in kernel-3.10/ before https://code.launchpad.net/~vicamo
  /avila-private/+git/platform_manifest/+merge/306441 is merged). This
  should gives a working xenial+upstart avila.
  
  2. Install systemd-sysv rather than upstart-sysv
  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
  
  3. Install android-tools-adbd for systemd
  3.1. download 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. Fix android container
  4.1. Install prebuilt package [8] or just correct its systemd service file by 
hand as the merge proposal [9] does.
- 4.2. fix /etc/mtab entry in /usr/lib/tmpfiles.d/debian.conf by replacing 'L+' 
with 'L'.
  
  5. Reboot.
  
  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

** Description changed:

  Snappy heavily rely on systemd system session and xenial has systemd by
  default.
  
  [steps to construct systemd-based avila]
  
  1. 

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** 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.
+ 
+ 2. Install systemd-sysv rather than upstart-sysv
+ 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
+ 
+ 3. Install android-tools-adbd for systemd
+ 3.1. download 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. Fix android container
+ 4.1. Install prebuilt package [8] or just correct its systemd service file by 
hand as the merge proposal [9] does.
+ 4.2. fix /etc/mtab entry in /usr/lib/tmpfiles.d/debian.conf by replacing 'L+' 
with 'L'.
+ 
+ 5. Reboot.
+ 
+ [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
+ [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
+ [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  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.

  2. Install systemd-sysv rather than upstart-sysv
  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

  3. Install android-tools-adbd for systemd
  3.1. download 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. Fix android container
  4.1. Install prebuilt package [8] or just correct its systemd service file by 
hand as the merge proposal [9] does.
  4.2. fix /etc/mtab entry in /usr/lib/tmpfiles.d/debian.conf by replacing 'L+' 
with 'L'.

  5. Reboot.

  [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/1625023/+attachment/4744111/+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/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch
  [8]: 
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb
  [9]: 
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-service-startup/+merge/306435

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-pho

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
Patch used to compile android-tools with systemd support. Note this is
currently a dirty hack to enable adbd unconditionally at boot.

** Patch added: "force-adbd.patch"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  Snappy heavily rely on systemd system session and xenial has systemd
  by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
Prebuilt lxc-android-config deb that contains
https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd-
service-startup/+merge/306435 for bug 1625916, and
https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-
paths/+merge/306184 for bug 1625445.

** Attachment added: "lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  Snappy heavily rely on systemd system session and xenial has systemd
  by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625916] Re: android init exits at executing /system/etc/partition_permission.sh

2016-09-22 Thread Vicamo Yang
** Also affects: android-tools (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: android-tools (Ubuntu)

** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625916

Title:
  android init exits at executing /system/etc/partition_permission.sh

Status in Canonical System Image:
  New
Status in lxc-android-config package in Ubuntu:
  New

Bug description:
  In init.mt8163.rc:

on fs
write /proc/bootprof "INIT:Mount_START"
mount_all /fstab.mt8163
setprop ro.crypto.state unencrypted
#change partition permission
exec /system/etc/partition_permission.sh
#change partition permissions
exec /system/bin/chmod 0640 /dev/block/platform/mtk-msdc.0/by-name/boot
...

  In dmesg:

  [7.570313] .(3)[:init]init: command 'setprop ro.crypto.state 
unencrypted' action=fs status=0 (/init.mt8163.rc:71)
  [7.570358] .(3)[:init]init: argv[0]= exec
  [7.570375] .(3)[:init]init: argv[1]= 
/system/etc/partition_permission.sh

  then no further message is printed.

  lxc log says:

  NOTICE   lxc_start - start.c:post_start:1447 - '/init' started with pid ''
  ...
  DEBUGlxc_start - start.c:signal_handler:342 - container init process 
exited
  DEBUGlxc_start - start.c:__lxc_start:1392 - unknown exit status for init: 
9
  DEBUGlxc_start - start.c:__lxc_start:1397 - Pushing physical nics back to 
host namespace
  DEBUGlxc_start - start.c:__lxc_start:1400 - Tearing down virtual network 
devices used by container
  INFO lxc_error - error.c:lxc_error_set_and_log:55 - child <> ended on 
signal (9)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625916/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-21 Thread Vicamo Yang
Kernel changes in
https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/306307
, maybe we need another branch for xenial+systemd?

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  Snappy heavily rely on systemd system session and xenial has systemd
  by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-19 Thread Vicamo Yang
Prebuilt adbd package that installs systemd service and starts up at
early boot stage.

** Attachment added: 
"android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744111/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  Snappy heavily rely on systemd system session and xenial has systemd
  by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-19 Thread Vicamo Yang
It seems there is no repository to land changes for ubuntu-touch-mate
package, so here is the patch for manual landing.

** Patch added: "ubuntu-touch-meta.patch"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744047/+files/0001-depends-on-systemd-sysv-instead.patch

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  Snappy heavily rely on systemd system session and xenial has systemd
  by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-19 Thread Vicamo Yang
** Also affects: android-tools (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1625023

Title:
  switch to systemd on ubuntu phone xenial

Status in Canonical System Image:
  Confirmed
Status in android-tools package in Ubuntu:
  New
Status in ubuntu-touch-meta package in Ubuntu:
  Confirmed

Bug description:
  Snappy heavily rely on systemd system session and xenial has systemd
  by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp