Skip to content

Instantly share code, notes, and snippets.

@flyser
Created July 18, 2014 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyser/1b43bf2fae7710a4377c to your computer and use it in GitHub Desktop.
Save flyser/1b43bf2fae7710a4377c to your computer and use it in GitHub Desktop.
MerSDK bash-3.2$ mb2 -t $VENDOR-$DEVICE-armv7hl -s rpm/droid-hal-$DEVICE.spec build
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HWCIkc
+ umask 022
+ cd /home/flyser/hadk/android/droid
+ 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=vfpv3-d16 -mno-thumb -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=vfpv3-d16 -mno-thumb -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=vfpv3-d16 -mno-thumb -Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ rm -rf tmp
+ mkdir tmp
+ echo Verifying kernel config
Verifying kernel config
+ mer_verify_kernel_config ./out/target/product/xt897/obj/KERNEL_OBJ/.config
+ echo Building local tools
Building local tools
+ mkdir tmp/rpmsrc
+ cp /home/flyser/hadk/android/droid/rpm/usergroupgen.c /home/flyser/hadk/android/droid/rpm/apply-permissions.c tmp/rpmsrc/
++ readlink -e .
+ ANDROID_ROOT=/home/flyser/hadk/android/droid
+ cd tmp/rpmsrc
+ make ANDROID_ROOT=/home/flyser/hadk/android/droid -f /home/flyser/hadk/android/droid/rpm/makefile
cc -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=vfpv3-d16 -mno-thumb -Wno-psabi -I/home/flyser/hadk/android/droid/system/core/include/private/ -std=c99 apply-permissions.c -o apply-permissions
cc -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=vfpv3-d16 -mno-thumb -Wno-psabi -I/home/flyser/hadk/android/droid/system/core/include/private/ -std=c99 usergroupgen.c -o usergroupgen
+ echo Building uid scripts
Building uid scripts
+ tmp/rpmsrc/usergroupgen add
+ tmp/rpmsrc/usergroupgen remove
+ echo Building udev rules
Building udev rules
+ mkdir tmp/udev.rules
++ grep -v .goldfish.rc
++ ls ./out/target/product/xt897/root/ueventd.goldfish.rc ./out/target/product/xt897/root/ueventd.qcom.rc
+ /home/flyser/hadk/android/droid/rpm/makeudev ./out/target/product/xt897/root/ueventd.rc ./out/target/product/xt897/root/ueventd.qcom.rc
^CExit reason and status: signal 2
MerSDK bash-3.2$ rm RPMS/
rm: cannot remove `RPMS/': Is a directory
MerSDK bash-3.2$ rm RPMS/*
MerSDK bash-3.2$ mb2 -t $VENDOR-$DEVICE-armv7hl -s rpm/droid-hal-$DEVICE.spec build
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oT0NUG
+ umask 022
+ cd /home/flyser/hadk/android/droid
+ 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=vfpv3-d16 -mno-thumb -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=vfpv3-d16 -mno-thumb -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=vfpv3-d16 -mno-thumb -Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ rm -rf tmp
+ mkdir tmp
+ echo Verifying kernel config
Verifying kernel config
+ mer_verify_kernel_config ./out/target/product/xt897/obj/KERNEL_OBJ/.config
+ echo Building local tools
Building local tools
+ mkdir tmp/rpmsrc
+ cp /home/flyser/hadk/android/droid/rpm/usergroupgen.c /home/flyser/hadk/android/droid/rpm/apply-permissions.c tmp/rpmsrc/
++ readlink -e .
+ ANDROID_ROOT=/home/flyser/hadk/android/droid
+ cd tmp/rpmsrc
+ make ANDROID_ROOT=/home/flyser/hadk/android/droid -f /home/flyser/hadk/android/droid/rpm/makefile
cc -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=vfpv3-d16 -mno-thumb -Wno-psabi -I/home/flyser/hadk/android/droid/system/core/include/private/ -std=c99 apply-permissions.c -o apply-permissions
cc -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=vfpv3-d16 -mno-thumb -Wno-psabi -I/home/flyser/hadk/android/droid/system/core/include/private/ -std=c99 usergroupgen.c -o usergroupgen
+ echo Building uid scripts
Building uid scripts
+ tmp/rpmsrc/usergroupgen add
+ tmp/rpmsrc/usergroupgen remove
+ echo Building udev rules
Building udev rules
+ mkdir tmp/udev.rules
++ grep -v .goldfish.rc
++ ls ./out/target/product/xt897/root/ueventd.goldfish.rc ./out/target/product/xt897/root/ueventd.qcom.rc
+ /home/flyser/hadk/android/droid/rpm/makeudev ./out/target/product/xt897/root/ueventd.rc ./out/target/product/xt897/root/ueventd.qcom.rc
+ echo Building mount units
Building mount units
+ mkdir tmp/units
+ shopt -s nullglob
++ echo ./out/target/product/xt897/root/fstab.qcom ./out/target/product/xt897/root/init.cm.rc ./out/target/product/xt897/root/init.goldfish.rc ./out/target/product/xt897/root/init.qcom.rc ./out/target/product/xt897/root/init.qcom.usb.rc ./out/target/product/xt897/root/init.rc ./out/target/product/xt897/root/init.target.rc ./out/target/product/xt897/root/init.trace.rc ./out/target/product/xt897/root/init.usb.rc ./out/target/product/xt897/root/ueventd.goldfish.rc ./out/target/product/xt897/root/ueventd.qcom.rc ./out/target/product/xt897/root/ueventd.rc
+ FSTAB_FILES='./out/target/product/xt897/root/fstab.qcom ./out/target/product/xt897/root/init.cm.rc ./out/target/product/xt897/root/init.goldfish.rc ./out/target/product/xt897/root/init.qcom.rc ./out/target/product/xt897/root/init.qcom.usb.rc ./out/target/product/xt897/root/init.rc ./out/target/product/xt897/root/init.target.rc ./out/target/product/xt897/root/init.trace.rc ./out/target/product/xt897/root/init.usb.rc ./out/target/product/xt897/root/ueventd.goldfish.rc ./out/target/product/xt897/root/ueventd.qcom.rc ./out/target/product/xt897/root/ueventd.rc'
+ shopt -u nullglob
+ /home/flyser/hadk/android/droid/rpm/makefstab --files ./out/target/product/xt897/root/fstab.qcom ./out/target/product/xt897/root/init.cm.rc ./out/target/product/xt897/root/init.goldfish.rc ./out/target/product/xt897/root/init.qcom.rc ./out/target/product/xt897/root/init.qcom.usb.rc ./out/target/product/xt897/root/init.rc ./out/target/product/xt897/root/init.target.rc ./out/target/product/xt897/root/init.trace.rc ./out/target/product/xt897/root/init.usb.rc ./out/target/product/xt897/root/ueventd.goldfish.rc ./out/target/product/xt897/root/ueventd.qcom.rc ./out/target/product/xt897/root/ueventd.rc --skip /boot /cache /data /misc /recovery /staging /storage/usbdisk /sys/kernel/debug /sys/kernel/config --outputdir tmp/units
Wrote system.unit
Wrote firmware.unit
Wrote persist.unit
Wrote storage.unit
Wrote acct.unit
Wrote mnt-secure.unit
Wrote mnt-asec.unit
Wrote mnt-obb.unit
Wrote mnt-fuse.unit
Wrote mnt-secure.unit
Wrote system.unit
+ echo Fixing up mount points
Fixing up mount points
+ hybris/hybris-boot/fixup-mountpoints xt897 tmp/units/acct.mount tmp/units/firmware.mount tmp/units/mnt-asec.mount tmp/units/mnt-fuse.mount tmp/units/mnt-obb.mount tmp/units/mnt-secure.mount tmp/units/persist.mount tmp/units/storage.mount tmp/units/system.mount
Fixing mount-points for device xt897
+ echo Creating hw-release
Creating hw-release
+ cat
+ ./.repo/repo/repo manifest -r -o tmp/manifest.xml
Saved manifest to tmp/manifest.xml
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kC3Hq2
+ umask 022
+ cd /home/flyser/hadk/android/droid
+ '[' /home/flyser/hadk/android/droid/installroot '!=' / ']'
+ rm -rf /home/flyser/hadk/android/droid/installroot
++ dirname /home/flyser/hadk/android/droid/installroot
+ mkdir -p /home/flyser/hadk/android/droid
+ mkdir /home/flyser/hadk/android/droid/installroot
+ LANG=C
+ export LANG
+ unset DISPLAY
++ cat tmp/units/all-units.txt
cat: tmp/units/all-units.txt: No such file or directory
+ echo install
install
+ rm -rf /home/flyser/hadk/android/droid/installroot
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/libexec/droid-hybris/lib-dev-alog/
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/libexec/droid-hybris/system
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/droid
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/
+ mkdir -p /home/flyser/hadk/android/droid/installroot/lib/systemd/system
+ mkdir -p /home/flyser/hadk/android/droid/installroot/lib/udev/rules.d
+ mkdir -p /home/flyser/hadk/android/droid/installroot/etc/udev/rules.d
+ mkdir -p /home/flyser/hadk/android/droid/installroot//var/lib/environment/compositor
+ mkdir -p /home/flyser/hadk/android/droid/installroot//var/lib/environment/nemo
+ mkdir -p /home/flyser/hadk/android/droid/installroot//usr/lib/oneshot.d
+ mkdir -p /home/flyser/hadk/android/droid/installroot//etc/os-release.d
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/modules/
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/droid
+ mkdir -p /home/flyser/hadk/android/droid/installroot//usr/bin/droid
+ mkdir -p /home/flyser/hadk/android/droid/installroot/img
+ mkdir -p /home/flyser/hadk/android/droid/installroot/boot
+ mkdir -p /home/flyser/hadk/android/droid/installroot/lib/modules
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/startup/preinit
+ cp -a ./out/target/product/xt897/system/bin/updater /home/flyser/hadk/android/droid/installroot/boot/update-binary
+ cp -a ./out/target/product/xt897/hybris-updater-script /home/flyser/hadk/android/droid/installroot/boot
+ cp -a ./out/target/product/xt897/hybris-updater-unpack.sh /home/flyser/hadk/android/droid/installroot/boot
+ cp -a ./out/target/product/xt897/root/. /home/flyser/hadk/android/droid/installroot/
+ sed -i -e '/^[[:space:]]*mount[[:space:]]/s/^/# Removed during droid-hal-device build : /' /home/flyser/hadk/android/droid/installroot/init.cm.rc /home/flyser/hadk/android/droid/installroot/init.goldfish.rc /home/flyser/hadk/android/droid/installroot/init.qcom.rc /home/flyser/hadk/android/droid/installroot/init.qcom.usb.rc /home/flyser/hadk/android/droid/installroot/init.rc /home/flyser/hadk/android/droid/installroot/init.target.rc /home/flyser/hadk/android/droid/installroot/init.trace.rc /home/flyser/hadk/android/droid/installroot/init.usb.rc /home/flyser/hadk/android/droid/installroot/ueventd.goldfish.rc /home/flyser/hadk/android/droid/installroot/ueventd.qcom.rc /home/flyser/hadk/android/droid/installroot/ueventd.rc
+ cp -a ./out/target/product/xt897/system/bin ./out/target/product/xt897/system/lib /home/flyser/hadk/android/droid/installroot/usr/libexec/droid-hybris/system/.
+ cp -a ./out/target/product/xt897/obj/lib ./out/target/product/xt897/obj/include /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/
+ cp -a ./out/target/product/xt897/symbols /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/
+ HDRS=/home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers
+ cp tmp/manifest.xml /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/repo-manifest.xml
+ echo 'Extracting headers for hybris'
Extracting headers for hybris
+ /home/flyser/hadk/android/droid/rpm/extract-headers.sh -p /usr/lib/droid-devel/droid-headers . /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/
cp: cannot stat `./system/core/include/log': No such file or directory
+ echo Making new /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-config.h
Making new /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ sed '/CONFIG GOES HERE/,$d' /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ cat
+ sed '0,/CONFIG GOES HERE/d' /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ mv /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-config.h.new /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ mkdir -p /home/flyser/hadk/android/droid/installroot/usr/lib/pkgconfig/
+ mv /home/flyser/hadk/android/droid/installroot/usr/lib/droid-devel/droid-headers/android-headers.pc /home/flyser/hadk/android/droid/installroot/usr/lib/pkgconfig/
+ ln -s ../system/lib/liblog.so ../system/lib/libcutils.so /home/flyser/hadk/android/droid/installroot/usr/libexec/droid-hybris/lib-dev-alog/.
+ cp -a tmp/units/acct.mount tmp/units/firmware.mount tmp/units/mnt-asec.mount tmp/units/mnt-fuse.mount tmp/units/mnt-obb.mount tmp/units/mnt-secure.mount tmp/units/persist.mount tmp/units/storage.mount tmp/units/system.mount /home/flyser/hadk/android/droid/installroot//lib/systemd/system
+ cp -a rpm/dsp/systemd/adbd.service rpm/dsp/systemd/droid-battery-monitor.service rpm/dsp/systemd/droid-hal-init.service rpm/dsp/systemd/droid-late-start.service /home/flyser/hadk/android/droid/installroot//lib/systemd/system
+ cp -a tmp/udev.rules/999-android-system.rules /home/flyser/hadk/android/droid/installroot/lib/udev/rules.d/
+ ln -s /dev/null /home/flyser/hadk/android/droid/installroot/etc/udev/rules.d/60-persistent-v4l.rules
+ cp -a /home/flyser/hadk/android/droid/rpm/init-debug /home/flyser/hadk/android/droid/installroot/
+ install -D tmp/rpmsrc/droid-user-add.sh /home/flyser/hadk/android/droid/installroot/usr/lib/droid/droid-user-add.sh
+ install -D tmp/rpmsrc/droid-user-remove.sh /home/flyser/hadk/android/droid/installroot/usr/lib/droid/droid-user-remove.sh
+ cp rpm/dsp/bin/droid-hal-startup.sh rpm/dsp/bin/droid-init-done.sh rpm/dsp/bin/kill-cgroup.sh /home/flyser/hadk/android/droid/installroot//usr/bin/droid
+ install -m 0744 rpm/dsp/preinit/get_bootstate rpm/dsp/preinit/is_erase_needed /home/flyser/hadk/android/droid/installroot/usr/lib/startup/preinit/
+ ln -s /bin/false /home/flyser/hadk/android/droid/installroot/usr/lib/startup/preinit/is_total_erase_supported
+ install -D tmp/rpmsrc/apply-permissions /home/flyser/hadk/android/droid/installroot/usr/lib/droid/apply-permissions
+ rm -f /home/flyser/hadk/android/droid/installroot/fstab.qcom
+ rm -f /home/flyser/hadk/android/droid/installroot/init.goldfish.rc /home/flyser/hadk/android/droid/installroot/ueventd.goldfish.rc
+ rm -rf /home/flyser/hadk/android/droid/installroot/proc /home/flyser/hadk/android/droid/installroot/sys /home/flyser/hadk/android/droid/installroot/dev /home/flyser/hadk/android/droid/installroot/sepolicy /home/flyser/hadk/android/droid/installroot/file_contexts /home/flyser/hadk/android/droid/installroot/property_contexts /home/flyser/hadk/android/droid/installroot/seapp_contexts
+ rm -rf /home/flyser/hadk/android/droid/installroot/charger /home/flyser/hadk/android/droid/installroot/res /home/flyser/hadk/android/droid/installroot/data
+ mkdir -p /home/flyser/hadk/android/droid/installroot/sbin
+ mv /home/flyser/hadk/android/droid/installroot/init /home/flyser/hadk/android/droid/installroot/sbin/droid-hal-init
+ find /home/flyser/hadk/android/droid/installroot/sbin/ -lname ../init -execdir echo rm '{}' ';' -execdir echo 'ln -s' ./droid-hal-init '{}' ';'
rm ./ueventd
ln -s ./droid-hal-init ./ueventd
rm ./watchdogd
ln -s ./droid-hal-init ./watchdogd
+ echo -n ''
+ for config_dir in /home/flyser/hadk/android/droid/rpm/device-configs-all /home/flyser/hadk/android/droid/rpm/device-motorola-xt897-configs
+ '[' -d /home/flyser/hadk/android/droid/rpm/device-configs-all ']'
+ sed 's/^.//'
+ cd /home/flyser/hadk/android/droid/rpm/device-configs-all
+ find . '(' -type f -or -type l ')' -print
+ cp -R /home/flyser/hadk/android/droid/rpm/device-configs-all/etc /home/flyser/hadk/android/droid/rpm/device-configs-all/lib /home/flyser/hadk/android/droid/rpm/device-configs-all/var /home/flyser/hadk/android/droid/installroot/
+ for config_dir in /home/flyser/hadk/android/droid/rpm/device-configs-all /home/flyser/hadk/android/droid/rpm/device-motorola-xt897-configs
+ '[' -d /home/flyser/hadk/android/droid/rpm/device-motorola-xt897-configs ']'
+ sed 's/^.//'
+ cd /home/flyser/hadk/android/droid/rpm/device-motorola-xt897-configs
+ find . '(' -type f -or -type l ')' -print
+ cp -R /home/flyser/hadk/android/droid/rpm/device-motorola-xt897-configs/var /home/flyser/hadk/android/droid/installroot/
+ cp /home/flyser/hadk/android/droid/rpm/hybris.conf /home/flyser/hadk/android/droid/installroot//var/lib/environment/nemo/99-hybris.conf
+ mkdir -p /home/flyser/hadk/android/droid/installroot//usr/share/ssu/board-mappings.d
+ sed -e 's|%DEVICE%|xt897|g' -e 's|%VENDOR%|motorola|g' -e 's|%DEVICE_PRETTY%|Photon Q|g' -e 's|%VENDOR_PRETTY%|Motorola|g' -e 's|%ARCH%|armv7hl|g' rpm/ssu/board-mappings.d/05-sfe.ini.in
+ mkdir -p /home/flyser/hadk/android/droid/installroot//usr/share/ssu/kickstart/pack/xt897
+ sed -e 's|@DEVICE@|xt897|g' rpm/kickstart/pack/package-droid-updater
+ mkdir -p /home/flyser/hadk/android/droid/installroot//usr/share/ssu/kickstart/attachment
+ cp rpm/kickstart/attachment/hybris /home/flyser/hadk/android/droid/installroot//usr/share/ssu/kickstart/attachment/xt897
+ /usr/lib/qt5/bin/kmap2qmap /home/flyser/hadk/android/droid/rpm/droid.kmap tmp/droid.qmap
+ mkdir -p /home/flyser/hadk/android/droid/installroot//usr/share/qt5/keymaps
+ cp tmp/droid.qmap /home/flyser/hadk/android/droid/installroot//usr/share/qt5/keymaps/droid.qmap
+ cp tmp/hw-release /home/flyser/hadk/android/droid/installroot//etc/hw-release
+ cp tmp/hw-release /home/flyser/hadk/android/droid/installroot//usr/lib/droid-devel/hw-release.vars
+ mkdir -p /home/flyser/hadk/android/droid/installroot//etc/dconf/db/vendor.d/locks
+ cp rpm/dconf/screen-rotation.txt /home/flyser/hadk/android/droid/installroot//etc/dconf/db/vendor.d/screen-rotation.txt
+ cp rpm/dconf/locks-screen-rotation.txt /home/flyser/hadk/android/droid/installroot//etc/dconf/db/vendor.d/locks/screen-rotation.txt
+ touch /home/flyser/hadk/android/droid/installroot//usr/lib/droid/droid-user-remove.sh.installed
++ cat out/target/product/xt897/obj/KERNEL_OBJ/include/config/kernel.release
+ KERNEL_RELEASE=3.0.93-ga2d9d45-dirty
+ cp out/target/product/xt897/kernel /home/flyser/hadk/android/droid/installroot/boot/kernel-3.0.93-ga2d9d45-dirty
+ MOD_DIR=/home/flyser/hadk/android/droid/installroot/lib/modules/3.0.93-ga2d9d45-dirty
+ mkdir -p /home/flyser/hadk/android/droid/installroot/lib/modules/3.0.93-ga2d9d45-dirty
+ cp -a out/target/product/xt897/system/lib/modules/. /home/flyser/hadk/android/droid/installroot/lib/modules/3.0.93-ga2d9d45-dirty/.
+ cp -a out/target/product/xt897/system/lib/modules/. /home/flyser/hadk/android/droid/installroot/lib/modules/3.0.93-ga2d9d45-dirty/.
+ cp -a out/target/product/xt897/obj/KERNEL_OBJ/modules.builtin /home/flyser/hadk/android/droid/installroot/lib/modules/3.0.93-ga2d9d45-dirty/.
+ cp -a out/target/product/xt897/obj/KERNEL_OBJ/modules.order /home/flyser/hadk/android/droid/installroot/lib/modules/3.0.93-ga2d9d45-dirty/.
+ cp out/target/product/xt897/hybris-boot.img /home/flyser/hadk/android/droid/installroot/boot/
+ cp out/target/product/xt897/hybris-recovery.img /home/flyser/hadk/android/droid/installroot/boot/
++ cd /home/flyser/hadk/android/droid/installroot/lib/systemd/system
++ echo acct.mount adbd.service droid-battery-monitor.service droid-hal-init.service droid-late-start.service firmware.mount mnt-asec.mount mnt-fuse.mount mnt-obb.mount mnt-secure.mount persist.mount storage.mount system.mount
+ echo 'acct.mount adbd.service droid-battery-monitor.service droid-hal-init.service droid-late-start.service firmware.mount mnt-asec.mount mnt-fuse.mount mnt-obb.mount mnt-secure.mount persist.mount storage.mount system.mount'
+ install -D tmp/units/all-units.txt /home/flyser/hadk/android/droid/installroot/usr/lib/droid/all-units.txt
+ /usr/bin/repomd-pattern-builder.py --patternxml -p ./rpm/patterns/xt897 -o /home/flyser/hadk/android/droid/installroot/usr/share/package-groups/ --version=0.0.6 --release=201407182148
Working on /home/flyser/hadk/android/droid/installroot/usr/share/package-groups//jolla-configuration-sfe.xml
Working on /home/flyser/hadk/android/droid/installroot/usr/share/package-groups//jolla-configuration-xt897.xml
Working on /home/flyser/hadk/android/droid/installroot/usr/share/package-groups//jolla-hw-adaptation-hybris-droid-vibrator.xml
Working on /home/flyser/hadk/android/droid/installroot/usr/share/package-groups//jolla-hw-adaptation-hybris.xml
Working on /home/flyser/hadk/android/droid/installroot/usr/share/package-groups//jolla-hw-adaptation-xt897.xml
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/meego/brp-compress
+ /usr/lib/rpm/meego/brp-strip /usr/bin/strip
+ /usr/lib/rpm/meego/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/meego/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/meego/brp-python-hardlink
+ /usr/lib/rpm/meego/find-docs.sh /home/flyser/hadk/android/droid/installroot
+ /usr/lib/rpm/meego/brp-java-repack-jars
Processing files: droid-hal-xt897-0.0.6-201407182148.armv7hl
warning: File listed twice: /lib/udev/platform-device
warning: File listed twice: /lib/udev/rules.d/998-droid-system.rules
warning: File listed twice: /var/lib/environment/compositor/droid-hal-device.conf
Provides: config(droid-hal-xt897) = 0.0.6-201407182148 droid-hal libEGL.so libGLES_trace.so libGLESv2.so libc.so libcorkscrew.so libcrypto.so libcutils.so libdl.so libdsyscalls.so libgccdemangle.so liblog.so libm.so libstdc++.so libstlport.so libutils.so libz.so linker
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
Requires: /bin/sh /system/bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libEGL.so libGLES_trace.so libc.so libc.so.6 libc.so.6(GLIBC_2.4) libcorkscrew.so libcrypto.so libcutils.so libdl.so libdsyscalls.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libgccdemangle.so liblog.so libm.so libstdc++.so libstlport.so libutils.so libz.so rtld(GNU_HASH)
Processing files: droid-hal-xt897-devel-0.0.6-201407182148.armv7hl
Provides: droid-hal-devel libEGL.so libGLES_trace.so libGLESv2.so libc.so libcorkscrew.so libcrypto.so libcutils.so libdl.so libdsyscalls.so libgccdemangle.so liblog.so libm.so libstdc++.so libstlport.so libutils.so libz.so linker pkgconfig(android-headers) = 4.2.2
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libEGL.so libGLES_trace.so libc.so libcorkscrew.so libcrypto.so libcutils.so libdl.so libdsyscalls.so libgccdemangle.so liblog.so libm.so libstdc++.so libstlport.so libutils.so libz.so
Processing files: droid-hal-xt897-sailfish-config-0.0.6-201407182148.noarch
Provides: droid-hal-sailfish-config
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-xt897-kernel-0.0.6-201407182148.armv7hl
Provides: droid-hal-kernel
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-xt897-kernel-modules-0.0.6-201407182148.armv7hl
Provides: droid-hal-kernel-modules
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-xt897-img-boot-0.0.6-201407182148.armv7hl
Provides: droid-hal-img-boot
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-xt897-img-recovery-0.0.6-201407182148.noarch
Provides: droid-hal-img-recovery
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-xt897-pulseaudio-settings-0.0.6-201407182148.armv7hl
Processing files: droid-hal-xt897-policy-settings-0.0.6-201407182148.armv7hl
Processing files: droid-hal-xt897-kickstart-configuration-0.0.6-201407182148.armv7hl
Provides: droid-hal-kickstart-configuration
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-xt897-preinit-plugin-0.0.6-201407182148.armv7hl
Provides: preinit-plugins
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh
Processing files: droid-hal-xt897-patterns-0.0.6-201407182148.armv7hl
Provides: package-groups
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/flyser/hadk/android/droid/installroot
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-devel-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-sailfish-config-0.0.6-201407182148.noarch.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-kernel-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-kernel-modules-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-img-boot-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-img-recovery-0.0.6-201407182148.noarch.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-pulseaudio-settings-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-policy-settings-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-kickstart-configuration-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-preinit-plugin-0.0.6-201407182148.armv7hl.rpm
Wrote: /home/flyser/hadk/android/droid/RPMS/droid-hal-xt897-patterns-0.0.6-201407182148.armv7hl.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment