[Bug 1644787] Re: boot with xenial ubuntu-touch-generic-initrd failed

2016-11-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu-touch-generic-initrd (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644787

Title:
  boot with xenial ubuntu-touch-generic-initrd failed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1644787] Re: boot with xenial ubuntu-touch-generic-initrd failed

2016-11-25 Thread Vicamo Yang
** Description changed:

  Multiple places to fix:
  
  1. device build system on xenial branch still uses vivid initrd:
  
  1.1. no prebuilt initrd git repository available as we have for ssh
  ://code-review.phablet.ubuntu.com/ubuntu/initrd/ubuntu_prebuilt_initrd
  and ssh://code-
  review.phablet.ubuntu.com/ubuntu/initrd/ubuntu_prebuilt_initrd_debs .
  Dropped a mail to phab...@hesperidium.canonical.com who seems to be
  author(bot?) of the two repositories.
  
  1.2. build system doesn't support fetching initrd packages from ppa and
  ubuntu-touch-generic-initrd for xenial is not available from
  ports.ubuntu.com.
  
  2. missing symlink /lib/ld-linux-aarch64.so.1 -> /lib/aarch64-linux-
  gnu/ld-2.23.so. Instead, an obsoleted one in /lib64 is found.
  
  3. many shared libraries missed:
  initrd/$ for f in $(find . -type f); do \
-   shlibs=$(readelf -d -W $f 2>/dev/null | grep Shared | cut -d\[ -f2 | cut 
-d\] -f1); \
-   [ -z "$shlibs" ] && continue; \
-   echo "# $f"; \
-   for lib in $shlibs; do \
- [ -n "$(find . -name $lib)" ] || echo "  $lib"; \
-   done; \
+   shlibs=$(readelf -d -W $f 2>/dev/null | grep Shared | cut -d\[ -f2 | cut 
-d\] -f1); \
+   [ -z "$shlibs" ] && continue; \
+   echo "# $f"; \
+   for lib in $shlibs; do \
+ [ -n "$(find . -name $lib)" ] || echo "  $lib"; \
+   done; \
  done
  # ./lib/systemd/systemd-udevd
    libacl.so.1
    libkmod.so.2
  # ./sbin/adbd
    libandroid-properties.so.1
    libsystemd.so.0
    libresolv.so.2
  # ./sbin/wait-for-root
    libudev.so.1
  # ./bin/udevadm
    libacl.so.1
    libkmod.so.2
+ 
+ Full list of symlinks/files to be installed:
+ - lib/aarch64-linux-gnu/libacl.so.1 -> libacl.so.1.1.0
+ - lib/aarch64-linux-gnu/libandroid-properties.so.1 -> 
libandroid-properties.so.1.0.0
+ - lib/aarch64-linux-gnu/libattr.so.1 -> libattr.so.1.1.0
+ - lib/aarch64-linux-gnu/libkmod.so.2 -> libkmod.so.2.3.0
+ - lib/aarch64-linux-gnu/libresolv.so.2 -> libresolv-2.23.so
+ - lib/aarch64-linux-gnu/librt.so.1 -> librt-2.23.so
+ - lib/aarch64-linux-gnu/libsystemd.so.0 -> libsystemd.so.0.14.0
+ - lib/aarch64-linux-gnu/libudev.so.1 -> libudev.so.1.6.4
+ - lib/ld-linux-aarch64.so.1 -> aarch64-linux-gnu/ld-2.23.so

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644787

Title:
  boot with xenial ubuntu-touch-generic-initrd failed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1644787] Re: boot with xenial ubuntu-touch-generic-initrd failed

2016-11-25 Thread Vicamo Yang
Don't know where to land a fix for ubuntu-touch-generic-initrd.
https://launchpad.net/ubuntu/+source/initramfs-tools-ubuntu-touch ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644787

Title:
  boot with xenial ubuntu-touch-generic-initrd failed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1644787] Re: boot with xenial ubuntu-touch-generic-initrd failed

2016-11-25 Thread Vicamo Yang
Attach bootable xenial boot.img with all problems fixed.

** Attachment added: "boot.img"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-generic-initrd/+bug/1644787/+attachment/4782908/+files/boot.img

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644787

Title:
  boot with xenial ubuntu-touch-generic-initrd failed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1644787] Re: boot with xenial ubuntu-touch-generic-initrd failed

2016-11-25 Thread Vicamo Yang
** Description changed:

  Multiple places to fix:
  
  1. device build system on xenial branch still uses vivid initrd:
  
  1.1. no prebuilt initrd git repository available as we have for ssh
  ://code-review.phablet.ubuntu.com/ubuntu/initrd/ubuntu_prebuilt_initrd
  and ssh://code-
  review.phablet.ubuntu.com/ubuntu/initrd/ubuntu_prebuilt_initrd_debs .
  Dropped a mail to phab...@hesperidium.canonical.com who seems to be
  author(bot?) of the two repositories.
  
  1.2. build system doesn't support fetching initrd packages from ppa and
  ubuntu-touch-generic-initrd for xenial is not available from
  ports.ubuntu.com.
  
  2. missing symlink /lib/ld-linux-aarch64.so.1 -> /lib/aarch64-linux-
  gnu/ld-2.23.so. Instead, an obsoleted one in /lib64 is found.
  
  3. many shared libraries missed:
+ initrd/$ for f in $(find . -type f); do \
+   shlibs=$(readelf -d -W $f 2>/dev/null | grep Shared | cut -d\[ -f2 | cut 
-d\] -f1); \
+   [ -z "$shlibs" ] && continue; \
+   echo "# $f"; \
+   for lib in $shlibs; do \
+ [ -n "$(find . -name $lib)" ] || echo "  $lib"; \
+   done; \
+ done
  # ./lib/systemd/systemd-udevd
-   libacl.so.1
-   libkmod.so.2
+   libacl.so.1
+   libkmod.so.2
  # ./sbin/adbd
-   libandroid-properties.so.1
-   libsystemd.so.0
-   libresolv.so.2
+   libandroid-properties.so.1
+   libsystemd.so.0
+   libresolv.so.2
  # ./sbin/wait-for-root
-   libudev.so.1
+   libudev.so.1
  # ./bin/udevadm
-   libacl.so.1
-   libkmod.so.2
+   libacl.so.1
+   libkmod.so.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644787

Title:
  boot with xenial ubuntu-touch-generic-initrd failed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs