Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r9bQnC
+ umask 022
+ cd /home/ben/hadk
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ echo _target_cpu is armv7hl
_target_cpu is armv7hl
+ grep -q '^TARGET_ARCH := arm64' ./device/lge/mako/BoardConfig.mk
+ rm -rf tmp
+ mkdir tmp
+ echo Verifying kernel config
Verifying kernel config
+ hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/mako/obj/KERNEL_OBJ/.config
WARNING: CONFIG_BT_HCIUART_H4 is invalid
It is unset
Allowed values : y, !
Comment says: Bluez (optional): Needed if bluez used as bluetooth stack
WARNING: CONFIG_NETFILTER_NETLINK_ACCT is invalid
It is unset
Allowed values : y, m, !
Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6
WARNING: CONFIG_MEMCG_SWAP is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional, but recommended): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version < 3.10
WARNING: CONFIG_MEMCG_KMEM is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional, but recommended): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version < 3.10
WARNING: CONFIG_AUDIT is invalid
Value is: y
Allowed values : n, !
Comment says: This will disable SELinux! That's ok, because hybris adaptations must not have SELinux, but if your device needs its support in kernel, set AUDIT=y and SELINUX_BOOTPARAM=y. Then disable them via kernel cmdline: audit=0 selinux=0. You can also leave audit enabled, if you don't plan to use systemd's containers: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=77b6e19458f37cfde127ec6aa9494c0ac45ad890
WARNING: CONFIG_SCHEDSTATS is invalid
It is unset
Allowed values : y, !
Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid
It is unset
Allowed values : y, !
Comment says: Required by hybris, SELinux needs to be disabled. Leave as not set, if you have unset AUDIT (read more about the CONFIG_AUDIT flag)
WARNING: CONFIG_SCHED_DEBUG is invalid
It is unset
Allowed values : y, !
Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
It is unset
Allowed values : y, !
Comment says: If device uses watchdogs with dsme (https://github.com/nemomobile/dsme), this option should be enabled or watchdog does not protect the device in case dsme crashes.
WARNING: CONFIG_CGROUP_DEVICE is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
WARNING: CONFIG_PID_NS is invalid
It is unset
Allowed values : y, !
Comment says: optional, enables kernel namespaces for systemd-nspawn containers
WARNING: CONFIG_CGROUP_MEM_RES_CTLR is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version >= 3.10
WARNING: CONFIG_BRIDGE is invalid
It is unset
Allowed values : y, m, !
Comment says: connman (optional): support tethering, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=19fe7cad485afa6a7a5cc4aa75615ce8b7b8d376
WARNING: CONFIG_CGROUP_PERF is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
WARNING: CONFIG_CHECKPOINT_RESTORE is invalid
It is unset
Allowed values : y, !
Comment says: rich-core-dumper (https://github.com/mer-tools/sp-rich-core/) needs this to collect all data for environment recreation.
WARNING: CONFIG_FANOTIFY is invalid
It is unset
Allowed values : y, !
Comment says: optional, required for systemd readahead.
WARNING: CONFIG_RTC_DRV_CMOS is invalid
It is unset
Allowed values : y, !
Comment says: optional, but highly recommended
WARNING: CONFIG_NETPRIO_CGROUP is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version >= 3.10
WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version >= 3.10
WARNING: CONFIG_MEMCG is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional, but recommended): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version < 3.10
WARNING: CONFIG_AUTOFS4_FS is invalid
It is unset
Allowed values : y, m, !
Comment says: systemd (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2
WARNING: CONFIG_UTS_NS is invalid
It is unset
Allowed values : y, !
Comment says: optional, enables kernel namespaces for systemd-nspawn containers
WARNING: CONFIG_NETFILTER_XT_MATCH_NFACCT is invalid
It is unset
Allowed values : y, m, !
Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6
WARNING: CONFIG_BLK_CGROUP is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
WARNING: CONFIG_FW_LOADER_USER_HELPER is invalid
Value is: y
Allowed values : n, !
Comment says: it's actually needed by some Lollipop based devices; systemd(optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2
++ awk '/PLATFORM_VERSION[A-Z0-9.]* := ([0-9.]+)/ { print $3; }'
++ awk -F. '{print $1}'
+ ANDROID_VERSION_MAJOR=8
+ test -f rpm/helpers/mkbootimg.mk
+ '[' 8 -lt 7 ']'
+ test -f rpm/helpers/simg2img.mk
+ test -f rpm/helpers/img2simg.mk
+ echo Building local tools
Building local tools
++ readlink -e .
+ ANDROID_ROOT=/home/ben/hadk
+ '[' 8 -ge 8 ']'
+ /home/ben/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/ben/hadk/system/core/libcutils/include/private/android_filesystem_config.h
+ '[' 8 -ge 8 ']'
+ echo '#include <cstring>'
+ echo '#include "sparse_read.cpp"'
+ IMG2SIMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../base/stringprintf.cpp'
+ SIMG2IMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../base/stringprintf.cpp'
+ pushd rpm/dhd/helpers
~/hadk/rpm/dhd/helpers ~/hadk
+ make ANDROID_ROOT=/home/ben/hadk 'IMG2SIMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../base/stringprintf.cpp' 'SIMG2IMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../base/stringprintf.cpp'
make -f /home/ben/hadk/rpm/dhd/helpers/img2simg.mk -C /home/ben/hadk/system/core/libsparse/
make[1]: Entering directory `/home/ben/hadk/system/core/libsparse'
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=c++0x -Iinclude -I../base/include -c -o sparse_read_fix.o sparse_read_fix.cpp
g++ -o img2simg -Iinclude -I../base/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=c++0x backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o img2simg.o ../base/stringprintf.o -lz
make[1]: Leaving directory `/home/ben/hadk/system/core/libsparse'
make -f /home/ben/hadk/rpm/dhd/helpers/simg2img.mk -C /home/ben/hadk/system/core/libsparse/
make[1]: Entering directory `/home/ben/hadk/system/core/libsparse'
g++ -o simg2img -Iinclude -I../base/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=c++0x backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o simg2img.o ../base/stringprintf.o -lz
make[1]: Leaving directory `/home/ben/hadk/system/core/libsparse'
+ popd
~/hadk
+ echo Building uid scripts
Building uid scripts
+ rpm/dhd/helpers/usergroupgen add
+ rpm/dhd/helpers/usergroupgen remove
+ echo Building udev rules
Building udev rules
+ mkdir tmp/udev.rules
++ grep -v .goldfish.rc
++ ls ./out/target/product/mako/root/ueventd.mako.rc
+ rpm/dhd/helpers/makeudev ./out/target/product/mako/root/ueventd.rc ./out/target/product/mako/root/ueventd.mako.rc ./out/target/product/mako/vendor/ueventd.rc
WARNING Rule not converted: subsystem adf
WARNING Rule not converted: devname uevent_devname
WARNING Rule not converted: subsystem graphics
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/graphics
WARNING Rule not converted: subsystem drm
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/dri
WARNING Rule not converted: subsystem oncrpc
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/oncrpc
WARNING Rule not converted: subsystem adsp
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/adsp
WARNING Rule not converted: subsystem msm_camera
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/msm_camera
WARNING Rule not converted: subsystem input
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/input
WARNING Rule not converted: subsystem mtd
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/mtd
WARNING Rule not converted: subsystem sound
WARNING Rule not converted: devname uevent_devpath
WARNING Rule not converted: dirname /dev/snd
Can't open ./out/target/product/mako/vendor/ueventd.rc: No such file or directory at rpm/dhd/helpers/makeudev line 35, <> line 181.
+ echo Building mount units
Building mount units
+ mkdir tmp/units
+ shopt -s nullglob
++ echo ./out/target/product/mako/root/fstab.mako ./out/target/product/mako/root/init.environ.rc ./out/target/product/mako/root/init.extraenv.armeabi-v7a.rc ./out/target/product/mako/root/init.mako.power.rc ./out/target/product/mako/root/init.mako.rc ./out/target/product/mako/root/init.mako.usb.rc ./out/target/product/mako/root/init.rc ./out/target/product/mako/root/init.usb.configfs.rc ./out/target/product/mako/root/init.usb.rc ./out/target/product/mako/root/init.zygote32.rc ./out/target/product/mako/root/ueventd.mako.rc ./out/target/product/mako/root/ueventd.rc
+ FSTAB_FILES='./out/target/product/mako/root/fstab.mako ./out/target/product/mako/root/init.environ.rc ./out/target/product/mako/root/init.extraenv.armeabi-v7a.rc ./out/target/product/mako/root/init.mako.power.rc ./out/target/product/mako/root/init.mako.rc ./out/target/product/mako/root/init.mako.usb.rc ./out/target/product/mako/root/init.rc ./out/target/product/mako/root/init.usb.configfs.rc ./out/target/product/mako/root/init.usb.rc ./out/target/product/mako/root/init.zygote32.rc ./out/target/product/mako/root/ueventd.mako.rc ./out/target/product/mako/root/ueventd.rc'
+ shopt -u nullglob
+ rpm/dhd/helpers/makefstab --files ./out/target/product/mako/root/fstab.mako ./out/target/product/mako/root/init.environ.rc ./out/target/product/mako/root/init.extraenv.armeabi-v7a.rc ./out/target/product/mako/root/init.mako.power.rc ./out/target/product/mako/root/init.mako.rc ./out/target/product/mako/root/init.mako.usb.rc ./out/target/product/mako/root/init.rc ./out/target/product/mako/root/init.usb.configfs.rc ./out/target/product/mako/root/init.usb.rc ./out/target/product/mako/root/init.zygote32.rc ./out/target/product/mako/root/ueventd.mako.rc ./out/target/product/mako/root/ueventd.rc --skip auto none /acct /boot /cache /data /misc /recovery /staging /storage/sdcard1 /storage/usbdisk /storage/usbotg /sys/fs/cgroup /sys/fs/cgroup/memory /sys/kernel/debug /sys/kernel/config /dev/usb-ffs/adb /tmp --outputdir tmp/units
Wrote system.unit
Wrote persist.unit
Wrote firmware.unit
Wrote dev-stune.unit
Wrote mnt.unit
Wrote config.unit
Wrote dev-cpuctl.unit
Wrote dev-cpuset.unit
Wrote sys-fs-pstore.unit
+ echo Fixing up mount points
Fixing up mount points
+ hybris/hybris-boot/fixup-mountpoints mako tmp/units/config.mount tmp/units/dev-cpuctl.mount tmp/units/dev-cpuset.mount tmp/units/dev-stune.mount tmp/units/firmware.mount tmp/units/mnt.mount tmp/units/persist.mount tmp/units/sys-fs-pstore.mount tmp/units/system.mount
Fixing mount-points for device mako
+ echo Creating hw-release
Creating hw-release
+ cat
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tvLhkV
+ umask 022
+ cd /home/ben/hadk
+ '[' /home/ben/hadk/installroot '!=' / ']'
+ rm -rf /home/ben/hadk/installroot
++ dirname /home/ben/hadk/installroot
+ mkdir -p /home/ben/hadk
+ mkdir /home/ben/hadk/installroot
+ LANG=C
+ export LANG
+ unset DISPLAY
++ awk '/PLATFORM_VERSION[A-Z0-9.]* := ([0-9.]+)/ { print $3; }'
++ awk -F. '{print $1}'
+ ANDROID_VERSION_MAJOR=8
++ cat tmp/units/all-units.txt
cat: tmp/units/all-units.txt: No such file or directory
+ echo install
install
+ rm -rf /home/ben/hadk/installroot
+ mkdir -p /home/ben/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/
+ mkdir -p /home/ben/hadk/installroot/usr/libexec/droid-hybris/system
+ mkdir -p /home/ben/hadk/installroot/usr/lib/droid
+ mkdir -p /home/ben/hadk/installroot/usr/lib/droid-devel/
+ mkdir -p /home/ben/hadk/installroot/lib/systemd/system
+ mkdir -p /home/ben/hadk/installroot/lib/udev/rules.d
+ mkdir -p /home/ben/hadk/installroot/etc/udev/rules.d
+ mkdir -p /home/ben/hadk/installroot//etc/os-release.d
+ mkdir -p /home/ben/hadk/installroot/usr/lib/modules/
+ mkdir -p /home/ben/hadk/installroot/usr/lib/droid
+ mkdir -p /home/ben/hadk/installroot//usr/bin/droid
+ mkdir -p /home/ben/hadk/installroot/img
+ mkdir -p /home/ben/hadk/installroot/boot
+ mkdir -p /home/ben/hadk/installroot/lib/modules
+ install -m 755 -D ./system/core/mkbootimg/mkbootimg /home/ben/hadk/installroot//usr/bin/
+ install -m 755 -D ./system/core/libsparse/simg2img /home/ben/hadk/installroot//usr/bin/
+ install -m 755 -D ./system/core/libsparse/img2simg /home/ben/hadk/installroot//usr/bin/
+ cp -a ./out/target/product/mako/system/bin/updater /home/ben/hadk/installroot/boot/update-binary
+ cp -a ./out/target/product/mako/hybris-updater-script /home/ben/hadk/installroot/boot
+ cp -a ./out/target/product/mako/hybris-updater-unpack.sh /home/ben/hadk/installroot/boot
+ rsync -av ./out/target/product/mako/root/. /home/ben/hadk/installroot --exclude etc --exclude 'init.zygote*'
sending incremental file list
./
bugreports -> /data/user_de/0/com.android.shell/files/bugreports
charger -> /sbin/charger
d -> /sys/kernel/debug
default.prop
fstab.mako
init
init.environ.rc
init.extraenv.armeabi-v7a.rc
init.mako.power.rc
init.mako.rc
init.mako.usb.rc
init.rc
init.usb.configfs.rc
init.usb.rc
nonplat_file_contexts
nonplat_hwservice_contexts
nonplat_property_contexts
nonplat_seapp_contexts
nonplat_service_contexts
plat_file_contexts
plat_hwservice_contexts
plat_property_contexts
plat_seapp_contexts
plat_service_contexts
sdcard -> /storage/self/primary
sepolicy
ueventd.mako.rc
ueventd.rc
vendor -> /system/vendor
vndservice_contexts
acct/
cache/
config/
data/
dev/
mnt/
oem/
proc/
res/
res/images/
res/images/charger/
res/images/charger/battery_fail.png
res/images/charger/battery_scale.png
root/
sbin/
sbin/charger
sbin/ueventd -> ../init
sbin/watchdogd -> ../init
storage/
sys/
system/
sent 2,010,880 bytes received 644 bytes 4,023,048.00 bytes/sec
total size is 2,007,945 speedup is 1.00
+ rm -f /home/ben/hadk/installroot/sbin/modprobe
+ sed -i -e '/^[[:space:]]*mount[[:space:]]/s/^/# Removed during droid-hal-device build : /' /home/ben/hadk/installroot/init.environ.rc /home/ben/hadk/installroot/init.extraenv.armeabi-v7a.rc /home/ben/hadk/installroot/init.mako.power.rc /home/ben/hadk/installroot/init.mako.rc /home/ben/hadk/installroot/init.mako.usb.rc /home/ben/hadk/installroot/init.rc /home/ben/hadk/installroot/init.usb.configfs.rc /home/ben/hadk/installroot/init.usb.rc /home/ben/hadk/installroot/ueventd.mako.rc /home/ben/hadk/installroot/ueventd.rc
+ sed -i -e '/^[[:space:]]*mkdir[[:space:]]\/tmp[[:space:]]*/s/^/# Removed during droid-hal-device build : /' /home/ben/hadk/installroot/init.environ.rc /home/ben/hadk/installroot/init.extraenv.armeabi-v7a.rc /home/ben/hadk/installroot/init.mako.power.rc /home/ben/hadk/installroot/init.mako.rc /home/ben/hadk/installroot/init.mako.usb.rc /home/ben/hadk/installroot/init.rc /home/ben/hadk/installroot/init.usb.configfs.rc /home/ben/hadk/installroot/init.usb.rc /home/ben/hadk/installroot/ueventd.mako.rc /home/ben/hadk/installroot/ueventd.rc
+ '[' 8 -ge 7 ']'
+ mkdir -p /home/ben/hadk/installroot/usr/libexec/droid-hybris/system/etc/init
+ cp -a ./out/target/product/mako/system/etc/init/servicemanager.rc /home/ben/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/
+ echo /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc
+ cp -a ./out/target/product/mako/system/bin ./out/target/product/mako/system/lib /home/ben/hadk/installroot/usr/libexec/droid-hybris/system/.
+ rm -rf /home/ben/hadk/installroot/usr/libexec/droid-hybris/system/lib/modules
+ cp -a ./out/target/product/mako/obj/include /home/ben/hadk/installroot/usr/lib/droid-devel/
+ rm -rf '/home/ben/hadk/installroot/usr/lib/droid-devel/lib/*.so.toc'
+ HDRS=/home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers
+ mkdir -p /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers
+ echo 'Extracting headers for hybris'
Extracting headers for hybris
+ rpm/dhd/helpers/extract-headers.sh -p /usr/lib/droid-devel/droid-headers . /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/
cp: omitting directory `./system/media/audio/include/system/audio_effects'
+ test -d ./rpm/header_patches
+ echo Making new /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
Making new /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ sed '/CONFIG GOES HERE/,$d' /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ cat
+ grep -q '^TARGET_USES_QCOM_BSP := true' './device/%{vendor}/*/BoardConfig*.mk'
grep: ./device/%{vendor}/*/BoardConfig*.mk: No such file or directory
+ '[' 8 -ge 5 ']'
+ grep -q '^BOARD_USES_QCOM_HARDWARE := true' './device/%{vendor}/*/BoardConfig*.mk'
grep: ./device/%{vendor}/*/BoardConfig*.mk: No such file or directory
+ sed '0,/CONFIG GOES HERE/d' /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ mv /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h.new /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ mkdir -p /home/ben/hadk/installroot/usr/lib/pkgconfig/
+ mv /home/ben/hadk/installroot/usr/lib/droid-devel/droid-headers/android-headers.pc /home/ben/hadk/installroot/usr/lib/pkgconfig/
+ ln -s ../system/lib/liblog.so ../system/lib/libcutils.so /home/ben/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/.
+ cp -a tmp/units/config.mount tmp/units/dev-cpuctl.mount tmp/units/dev-cpuset.mount tmp/units/dev-stune.mount tmp/units/firmware.mount tmp/units/mnt.mount tmp/units/persist.mount tmp/units/sys-fs-pstore.mount tmp/units/system.mount /home/ben/hadk/installroot//lib/systemd/system
+ cp -a tmp/udev.rules/999-android-system.rules /home/ben/hadk/installroot/lib/udev/rules.d/
+ ln -s /dev/null /home/ben/hadk/installroot/etc/udev/rules.d/60-persistent-v4l.rules
+ INIT_SCRIPT=./hybris/hybris-boot/init-script
+ test -f ./hybris/hybris-boot/init-script
+ cp -a ./hybris/hybris-boot/init-script /home/ben/hadk/installroot/init-debug
+ install -D rpm/dhd/helpers/droid-user-add.sh /home/ben/hadk/installroot/usr/lib/droid/droid-user-add.sh
+ install -D rpm/dhd/helpers/droid-user-remove.sh /home/ben/hadk/installroot/usr/lib/droid/droid-user-remove.sh
+ rm -f /home/ben/hadk/installroot/fstab.mako
+ rm -f '/home/ben/hadk/installroot/*goldfish*'
+ rm -rf /home/ben/hadk/installroot/proc /home/ben/hadk/installroot/sys /home/ben/hadk/installroot/dev /home/ben/hadk/installroot/sepolicy /home/ben/hadk/installroot/file_contexts /home/ben/hadk/installroot/seapp_contexts
+ '[' 8 -lt 7 ']'
+ rm -rf /home/ben/hadk/installroot/charger /home/ben/hadk/installroot/res /home/ben/hadk/installroot/data
+ mkdir -p /home/ben/hadk/installroot/sbin
+ mv /home/ben/hadk/installroot/init /home/ben/hadk/installroot/sbin/droid-hal-init
+ find /home/ben/hadk/installroot/sbin/ -lname ../init -execdir rm '{}' ';' -execdir ln -s ./droid-hal-init '{}' ';'
+ cp tmp/hw-release /home/ben/hadk/installroot//usr/lib/droid-devel/hw-release.vars
+ touch /home/ben/hadk/installroot//usr/lib/droid/droid-user-remove.sh.installed
+ echo '#!/bin/sh'
+ '[' 8 -ge 5 ']'
+ grep -q '^CONFIG_ANDROID_PARANOID_NETWORK=y' ./out/target/product/mako/obj/KERNEL_OBJ/.config
+ cat
++ cat out/target/product/mako/obj/KERNEL_OBJ/include/config/kernel.release
+ KERNEL_RELEASE=3.4.113-lineageos-g4e58b32e234-dirty
+ cp out/target/product/mako/kernel /home/ben/hadk/installroot/boot/kernel-3.4.113-lineageos-g4e58b32e234-dirty
+ cp out/target/product/mako/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz /home/ben/hadk/installroot/boot/
+ echo /boot/kernel-3.4.113-lineageos-g4e58b32e234-dirty
+ echo /boot/boot-initramfs.gz
+ cp out/target/product/mako/dt.img /home/ben/hadk/installroot/boot/
+ MOD_DIR=/home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty
+ mkdir -p /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty
+ cp -a out/target/product/mako/system/lib/modules/. /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty/.
cp: cannot stat `out/target/product/mako/system/lib/modules/.': No such file or directory
+ true
+ cp -a out/target/product/mako/vendor/lib/modules/. /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty/.
cp: cannot stat `out/target/product/mako/vendor/lib/modules/.': No such file or directory
+ true
+ cp -a 'out/target/product/mako/obj/*/modules.builtin' /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty/.
cp: cannot stat `out/target/product/mako/obj/*/modules.builtin': No such file or directory
+ true
+ cp -a 'out/target/product/mako/obj/*/modules.order' /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty/.
cp: cannot stat `out/target/product/mako/obj/*/modules.order': No such file or directory
+ true
+ mv /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty /home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty
mv: cannot move `/home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty' to a subdirectory of itself, `/home/ben/hadk/installroot/lib/modules/3.4.113-lineageos-g4e58b32e234-dirty/3.4.113-lineageos-g4e58b32e234-dirty'
+ true
+ cp out/target/product/mako/hybris-boot.img /home/ben/hadk/installroot/boot/
+ cp out/target/product/mako/hybris-recovery.img /home/ben/hadk/installroot/boot/
++ cd /home/ben/hadk/installroot/lib/systemd/system
++ echo config.mount dev-cpuctl.mount dev-cpuset.mount dev-stune.mount firmware.mount mnt.mount persist.mount sys-fs-pstore.mount system.mount
+ echo 'config.mount dev-cpuctl.mount dev-cpuset.mount dev-stune.mount firmware.mount mnt.mount persist.mount sys-fs-pstore.mount system.mount'
+ install -D tmp/units/all-units.txt /home/ben/hadk/installroot/usr/lib/droid/all-units.txt
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/meego/brp-compress
+ /usr/lib/rpm/meego/brp-strip /bin/true
+ /usr/lib/rpm/meego/brp-strip-static-archive /bin/true
+ /usr/lib/rpm/meego/brp-strip-comment-note /bin/true /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python
+ /usr/lib/rpm/meego/brp-python-hardlink
+ /usr/lib/rpm/meego/find-docs.sh /home/ben/hadk/installroot
+ /usr/lib/rpm/meego/brp-java-repack-jars
Processing files: droid-hal-mako-0.0.6-201901071727.armv7hl
Provides: droid-hal droid-hal-mako = 0.0.6-201901071727 droid-hal-mako(armv7hl-32) = 0.0.6-201901071727
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/grep /bin/ln /bin/sed /bin/sh /bin/touch /etc/login.defs /usr/bin/add-oneshot /usr/bin/getent systemd
Requires(preun): /bin/sh systemd
Requires(postun): systemd
Processing files: droid-hal-mako-devel-0.0.6-201901071727.armv7hl
Provides: droid-hal-devel droid-hal-mako-devel = 0.0.6-201901071727 droid-hal-mako-devel(armv7hl-32) = 0.0.6-201901071727 pkgconfig(android-headers) = 8.1.0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-mako-tools-0.0.6-201901071727.armv7hl
Provides: droid-hal-mako-tools = 0.0.6-201901071727 droid-hal-mako-tools(armv7hl-32) = 0.0.6-201901071727 droid-hal-tools
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Obsoletes: droid-hal-tools <= 0.0.2
Processing files: droid-hal-mako-kernel-0.0.6-201901071727.armv7hl
Provides: droid-hal-kernel droid-hal-mako-kernel = 0.0.6-201901071727 droid-hal-mako-kernel(armv7hl-32) = 0.0.6-201901071727
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-mako-kernel-modules-0.0.6-201901071727.armv7hl
Provides: droid-hal-kernel-modules droid-hal-mako-kernel-modules = 0.0.6-201901071727 droid-hal-mako-kernel-modules(armv7hl-32) = 0.0.6-201901071727
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Processing files: droid-hal-mako-img-boot-0.0.6-201901071727.armv7hl
Provides: droid-hal-img-boot droid-hal-mako-img-boot = 0.0.6-201901071727 droid-hal-mako-img-boot(armv7hl-32) = 0.0.6-201901071727
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/grep /bin/ln /bin/sed /bin/touch /etc/login.defs /usr/bin/add-oneshot /usr/bin/getent
Processing files: droid-hal-mako-img-recovery-0.0.6-201901071727.armv7hl
Provides: droid-hal-img-recovery droid-hal-mako-img-recovery = 0.0.6-201901071727 droid-hal-mako-img-recovery(armv7hl-32) = 0.0.6-201901071727
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/ben/hadk/installroot
error: Installed (but unpackaged) file(s) found:
/bugreports
/d
/nonplat_file_contexts
/nonplat_hwservice_contexts
/nonplat_property_contexts
/nonplat_seapp_contexts
/nonplat_service_contexts
/plat_file_contexts
/plat_hwservice_contexts
/plat_property_contexts
/plat_seapp_contexts
/plat_service_contexts
/sdcard
/vendor
/vndservice_contexts
RPM build errors:
Installed (but unpackaged) file(s) found:
/bugreports
/d
/nonplat_file_contexts
/nonplat_hwservice_contexts
/nonplat_property_contexts
/nonplat_seapp_contexts
/nonplat_service_contexts
/plat_file_contexts
/plat_hwservice_contexts
/plat_property_contexts
/plat_seapp_contexts
/plat_service_contexts
/sdcard
/vendor
/vndservice_contexts
# These and other macros are documented in dhd/droid-hal-device.inc
# Feel free to cleanup this file by removing comments, once you have memorised them ;)
%define device mako
%define venodr lge
%define vendor_pretty LG
%define device_pretty Nexus 4
%define installable_zip 1
%include rpm/dhd/droid-hal-device.inc
# IMPORTANT if you want to comment out any macros in your .spec, delete the %
# sign, otherwise they will remain defined! E.g.:
#define some_macro "I'll not be defined because I don't have % in front"
%define straggler_files \
/bugreports\
/d\
/nonplat_file_contexts\
/nonplat_hwservice_contexts\
/nonplat_property_contexts\
/nonplat_seapp_contexts\
/nonplat_service_contexts\
/plat_file_contexts\
/plat_hwservice_contexts\
/plat_property_contexts\
/plat_seapp_contexts\
/plat_service_contexts\
/sdcard\
/vendor\
/vndservice_contexts\
%{nil}
RPM build errors:
Installed (but unpackaged) file(s) found:
/bugreports
/d
/nonplat_file_contexts
/nonplat_hwservice_contexts
/nonplat_property_contexts
/nonplat_seapp_contexts
/nonplat_service_contexts
/plat_file_contexts
/plat_hwservice_contexts
/plat_property_contexts
/plat_seapp_contexts
/plat_service_contexts
/sdcard
/vendor
/vndservice_contexts
# Feel free to disable non-critical HA parts during devel by commenting lines out
# Generated in hadk by executing: rpm/dhd/helpers/add_new_device.sh
Description: Pattern with packages for mako HW Adaptation
Name: jolla-hw-adaptation-mako
Requires:
- droid-hal-mako
- droid-hal-mako-img-boot
- droid-hal-mako-kernel-modules
- droid-config-mako-sailfish
- droid-config-mako-pulseaudio-settings
- droid-config-mako-policy-settings
- droid-config-mako-preinit-plugin
- droid-config-mako-flashing
- droid-config-mako-bluez5
- droid-hal-version-mako
# Hybris packages
- libhybris-libEGL
- libhybris-libGLESv2
- libhybris-libwayland-egl
# Sensors
- hybris-libsensorfw-qt5
# Vibra
- ngfd-plugin-native-vibrator
- qt5-feedback-haptics-native-vibrator
# Needed for /dev/touchscreen symlink
- qt5-plugin-generic-evdev
- pulseaudio-modules-droid
# for audio recording to work:
- qt5-qtmultimedia-plugin-mediaservice-gstmediacapture
# These need to be per-device due to differing backends (fbdev, eglfs, hwc, ..?)
- qt5-qtwayland-wayland_egl
- qt5-qpa-hwcomposer-plugin
- qtscenegraph-adaptation
# Add GStreamer v1.0 as standard
- gstreamer1.0
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-bad
- nemo-gstreamer1.0-interfaces
# For devices with droidmedia and gst-droid built, see HADK pdf for more information
#- gstreamer1.0-droid
# This is needed for notification LEDs
- mce-plugin-libhybris
## USB mode controller
# Enables mode selector upon plugging USB cable:
- usb-moded
- usb-moded-defaults-android
- usb-moded-developer-mode-android
# Extra useful modes not officially supported:
# might need some configuration to get working
#- usb-moded-mass-storage-android-config
# working but careful with roaming!
- usb-moded-connection-sharing-android-config
# android diag mode only usable for certain android tools
#- usb-moded-diag-mode-android
# hammerhead, grouper, and maguro use this in scripts, so include for all
- rfkill
# enable device lock and allow to select untrusted software
- jolla-devicelock-daemon-encsfa
# For GPS
- geoclue-provider-hybris
# For FM radio on some QCOM devices
#- qt5-qtmultimedia-plugin-mediaservice-irisradio
#- jolla-mediaplayer-radio
# For devices with SD Card
#- sd-utils
- droid-hal-mako-detritus
Summary: Jolla HW Adaptation mako
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.