boot with xenial ubuntu-touch-generic-initrd failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
New
|
Undecided
|
Unassigned | ||
ubuntu-touch-generic-initrd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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-
1.2. build system doesn't support fetching initrd packages from ppa and ubuntu-
2. missing symlink /lib/ld-
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/
libacl.so.1
libkmod.so.2
# ./sbin/adbd
libandroid-
libsystemd.so.0
libresolv.so.2
# ./sbin/
libudev.so.1
# ./bin/udevadm
libacl.so.1
libkmod.so.2
Full list of symlinks/files to be installed:
- lib/aarch64-
- lib/aarch64-
- lib/aarch64-
- lib/aarch64-
- lib/aarch64-
- lib/aarch64-
- lib/aarch64-
- lib/aarch64-
- lib/ld-
Attach bootable xenial boot.img with all problems fixed.