Hello,
I'm trying to compile an image to development mobile TM1, but am failing :(.
I'm doing repo as:
$ repo init -u ssh://<Username>@review.tizen.org:29418/scm/manifest -b
tizen -m mobile.xml
I had to make changes to projects.xml in .repo/manifests/mobile.
They're attached. So I could download the whole repo.
Then, while trying to compile with gbs as (build.sh):
accel_pkgs="bash,bzip2-libs,c-ares,cmake,coreutils,diffutils,eglibc,elfutils-libelf,elfutils-libs,elfutils,fdupes,file,findutils,gawk,gmp,gzip,libacl,libattr,libcap,libcurl,libfile,libgcc,liblua,libstdc++,make,mpc,mpfr,ncurses-libs,nodejs,nspr,nss-softokn-freebl,nss,openssl,patch,popt,rpm-build,rpm-libs,rpm,sed,sqlite,tar,xz-libs,zlib,binutils,gcc,crosswalk,chromium-efl"
$ gbs --conf gbs.conf build -P "profile.tizen_mobile-tm1"
--exclude=$accel_pkgs,filesystem,aul,libmm-sound,libtool -A armv7l
--threads=8 --clean-once --fail-fast $@
With gbs.conf attached.
Then I had lots of errors while running gbs because the git diff
command to create squashed patches failed because the command line was
too big, then I made a patch (attached) to git-buildpackage so it
would choose what had a smaller command line, listing all included
files or listing all excluded files with ":!" prefixed (a new git
syntax to list excluded files to git diff).
This fixed for almost all patches, but still fails to systemd, and
various variations of the linux kernel.
Then in ${TMP}/local/repos/tizen_mobile/_armv7l/armv7l/ndex.html it
lists that all projects fail because nothing provides their
dependencies. For example:
For download-provider
It says:
nothing provides cmake
nothing provides glibc-devel needed by glib2-devel
nothing provides ld-linux.so.3 needed by glib2-devel
nothing provides ld-linux.so.3(GLIBC_2.4) needed by glib2-devel
nothing provides libgcc_s.so.1 needed by glib2-devel
nothing provides libgcc_s.so.1(GCC_3.5) needed by glib2-devel
nothing provides libpthread.so.0 needed by glib2-devel
nothing provides libpthread.so.0(GLIBC_2.4) needed by glib2-devel
nothing provides pkg-config needed by glib2-devel
nothing provides pkgconfig(libpcre) needed by glib2-devel
nothing provides python-xml needed by glib2-devel
nothing provides rtld(GNU_HASH) needed by glib2-devel
nothing provides libc.so.6(GLIBC_2.4) needed by glib2-devel
nothing provides pkgconfig(sqlite3)
nothing provides libidn-devel needed by libcurl-devel
nothing provides pkgconfig(libsmack)
nothing provides gettext-devel
nothing provides pkgconfig(sqlite3) needed by libresourced-devel
nothing provides pkgconfig(openssl) needed by pubkey-pinning-devel
nothing provides ld-linux.so.3 needed by libdevice-node
nothing provides ld-linux.so.3(GLIBC_2.4) needed by libdevice-node
nothing provides libdl.so.2 needed by libdevice-node
nothing provides libdl.so.2(GLIBC_2.4) needed by libdevice-node
nothing provides libgcc_s.so.1 needed by libdevice-node
nothing provides libgcc_s.so.1(GCC_3.5) needed by libdevice-node
nothing provides rtld(GNU_HASH) needed by libdevice-node
nothing provides libc.so.6(GLIBC_2.4) needed by libdevice-node
nothing provides sqlite
nothing provides ld-linux.so.3 needed by connman
nothing provides ld-linux.so.3(GLIBC_2.4) needed by connman
nothing provides libdl.so.2 needed by connman
nothing provides libdl.so.2(GLIBC_2.4) needed by connman
nothing provides libgcc_s.so.1 needed by connman
nothing provides libgcc_s.so.1(GCC_3.5) needed by connman
nothing provides libreadline.so.5 needed by connman
nothing provides libresolv.so.2 needed by connman
nothing provides libresolv.so.2(GLIBC_2.4) needed by connman
nothing provides libresolv.so.2(GLIBC_2.9) needed by connman
nothing provides librt.so.1 needed by connman
nothing provides librt.so.1(GLIBC_2.4) needed by connman
nothing provides rtld(GNU_HASH) needed by connman
nothing provides libc.so.6(GLIBC_2.17) needed by connman
nothing provides qemu-linux-user-cross
nothing provides qemu-accel-armv7l
nothing provides libmount
nothing provides libblkid
nothing provides libuuid
nothing provides setup
nothing provides filesystem
nothing provides bash
nothing provides bzip2
nothing provides coreutils
nothing provides diffutils
nothing provides grep
nothing provides rpm
nothing provides glibc
nothing provides libacl
nothing provides libattr
nothing provides libcap
nothing provides libgcc
nothing provides libpopt
nothing provides sed
nothing provides tar
nothing provides zlib
nothing provides libncurses
nothing provides libreadline
nothing provides libelf
nothing provides libbz2
nothing provides liblzma
nothing provides nss
nothing provides nspr
nothing provides libfreebl3
nothing provides libsoftokn3
nothing provides libmagic
nothing provides liblua
nothing provides smack
nothing provides libsmack
nothing provides libxml2
nothing provides libmagic-data
nothing provides libsqlite
nothing provides util-linux
nothing provides binutils
nothing provides gcc
nothing provides rpm-build
nothing provides libtool
nothing provides gcc-c++
nothing provides build
nothing provides build-compare
nothing provides build-mkbaselibs
nothing provides rpmlint-mini
nothing provides rpmlint-tizen
nothing provides glibc-locale
nothing provides perl
nothing provides hostname
nothing provides cpio
nothing provides findutils
nothing provides file
nothing provides gzip
nothing provides net-tools
nothing provides make
nothing provides patch
nothing provides gawk
nothing provides pkg-config
nothing provides m4
nothing provides tzdata
nothing provides less
nothing provides which
nothing provides elfutils
nothing provides update-alternatives
nothing provides libstdc++-devel
nothing provides cpp
nothing provides libatomic
nothing provides libgomp
nothing provides libitm
Any help would be appreciated,
--
Felipe Magno de Almeida
diff --git a/mobile/projects.xml b/mobile/projects.xml
index f016fc1..18a337f 100644
--- a/mobile/projects.xml
+++ b/mobile/projects.xml
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
- <project name="apps/core/preloaded/bt-syspopup"
path="apps/core/preloaded/bt-syspopup" groups="mobile"/>
+ <!-- project name="apps/core/preloaded/bt-syspopup"
path="apps/core/preloaded/bt-syspopup" groups="mobile"/ -->
+ <project name="platform/core/connectivity/bt-syspopup"
path="platform/core/connectivity/bt-syspopup" groups="mobile"/>
<project name="apps/core/preloaded/calculator"
path="apps/core/preloaded/calculator" groups="mobile"/>
<project name="apps/core/preloaded/libslp-memo"
path="apps/core/preloaded/libslp-memo" groups="mobile"/>
<project name="apps/core/preloaded/menu-screen"
path="apps/core/preloaded/menu-screen" groups="mobile"/>
- <project name="apps/core/preloaded/minicontrol"
path="apps/core/preloaded/minicontrol" groups="mobile"/>
- <project name="apps/core/preloaded/net-popup"
path="apps/core/preloaded/net-popup" groups="mobile"/>
+ <project name="platform/core/appfw/minicontrol"
path="platform/core/appfw/minicontrol" groups="mobile"/>
+ <!-- project name="apps/core/preloaded/net-popup"
path="apps/core/preloaded/net-popup" groups="mobile"/ -->
+ <project name="platform/core/connectivity/net-popup"
path="platform/core/connectivity/net-popup" groups="mobile"/>
<project name="apps/core/preloaded/print-service"
path="apps/core/preloaded/print-service" groups="mobile"/>
<project name="apps/core/preloaded/starter"
path="apps/core/preloaded/starter" groups="mobile"/>
<project name="apps/core/preloaded/udisks-automount-agent"
path="apps/core/preloaded/udisks-automount-agent" groups="mobile"/>
@@ -26,7 +28,7 @@
<project name="platform/adaptation/xf86-input-evdevmultitouch"
path="platform/adaptation/xf86-input-evdevmultitouch" groups="mobile"/>
<project name="platform/adaptation/xf86-input-gesture"
path="platform/adaptation/xf86-input-gesture" groups="mobile"/>
<project name="platform/adaptation/xf86-module-xdbg"
path="platform/adaptation/xf86-module-xdbg" groups="mobile"/>
- <project name="platform/appfw/app-installers"
path="platform/appfw/app-installers" groups="mobile"/>
+ <project name="platform/core/appfw/app-installers"
path="platform/core/appfw/app-installers" groups="mobile"/>
<project name="platform/core/account/account-manager"
path="platform/core/account/account-manager" groups="mobile"/>
<project name="platform/core/account/account-parser"
path="platform/core/account/account-parser" groups="mobile"/>
<project name="platform/core/api/app-manager"
path="platform/core/api/app-manager" groups="mobile"/>
@@ -144,7 +146,7 @@
<project name="platform/core/multimedia/libmm-log"
path="platform/core/multimedia/libmm-log" groups="mobile"/>
<project name="platform/core/multimedia/libmm-player"
path="platform/core/multimedia/libmm-player" groups="mobile"/>
<project name="platform/core/multimedia/libmm-radio"
path="platform/core/multimedia/libmm-radio" groups="mobile"/>
- <project name="platform/core/multimedia/libmm-scmirroring-common"
path="platform/core/multimedia/libmm-scmirroring-common" groups="mobile"/>
+ <!-- project name="platform/core/multimedia/libmm-scmirroring-common"
path="platform/core/multimedia/libmm-scmirroring-common" groups="mobile"/ -->
<project name="platform/core/multimedia/libmm-session"
path="platform/core/multimedia/libmm-session" groups="mobile"/>
<project name="platform/core/multimedia/libmm-sound"
path="platform/core/multimedia/libmm-sound" groups="mobile"/>
<project name="platform/core/multimedia/libmm-ta"
path="platform/core/multimedia/libmm-ta" groups="mobile"/>
@@ -161,7 +163,7 @@
<project name="platform/core/security/askuser"
path="platform/core/security/askuser" groups="mobile"/>
<project name="platform/core/security/ca-certificates-tizen"
path="platform/core/security/ca-certificates-tizen" groups="mobile"/>
<project name="platform/core/security/cert-svc"
path="platform/core/security/cert-svc" groups="mobile"/>
- <project name="platform/core/security/cert-svc-ui"
path="platform/core/security/cert-svc-ui" groups="mobile"/>
+ <project name="profile/mobile/platform/core/security/cert-svc-ui"
path="profile/mobile/platform/core/security/cert-svc-ui" groups="mobile"/>
<project name="platform/core/security/cynara"
path="platform/core/security/cynara" groups="mobile"/>
<project name="platform/core/security/default-ac-domains"
path="platform/core/security/default-ac-domains" groups="mobile"/>
<project name="platform/core/security/drm-client"
path="platform/core/security/drm-client" groups="mobile"/>
@@ -238,7 +240,7 @@
<project name="platform/kernel/linux-3.10" path="platform/kernel/linux-3.10"
groups="mobile"/>
<project name="platform/kernel/linux-arm64"
path="platform/kernel/linux-arm64" groups="mobile"/>
<project name="platform/kernel/u-boot" path="platform/kernel/u-boot"
groups="mobile"/>
- <project name="platform/upstream/SDL" path="platform/upstream/SDL"
groups="mobile"/>
+ <!-- project name="platform/upstream/SDL" path="platform/upstream/SDL"
groups="mobile"/ -->
<project name="platform/upstream/acl" path="platform/upstream/acl"
groups="mobile"/>
<project name="platform/upstream/acpid" path="platform/upstream/acpid"
groups="mobile"/>
<project name="platform/upstream/adns" path="platform/upstream/adns"
groups="mobile"/>
@@ -421,7 +423,7 @@
<project name="platform/upstream/iniparser"
path="platform/upstream/iniparser" groups="mobile"/>
<project name="platform/upstream/inputproto"
path="platform/upstream/inputproto" groups="mobile"/>
<project name="platform/upstream/intltool" path="platform/upstream/intltool"
groups="mobile"/>
- <project name="platform/upstream/iotivity" path="platform/upstream/iotivity"
groups="mobile"/>
+ <!-- project name="platform/upstream/iotivity"
path="platform/upstream/iotivity" groups="mobile"/ -->
<project name="platform/upstream/iproute2" path="platform/upstream/iproute2"
groups="mobile"/>
<project name="platform/upstream/iptables" path="platform/upstream/iptables"
groups="mobile"/>
<project name="platform/upstream/iputils" path="platform/upstream/iputils"
groups="mobile"/>
@@ -614,7 +616,7 @@
<project name="platform/upstream/pattern-tools"
path="platform/upstream/pattern-tools" groups="mobile"/>
<project name="platform/upstream/pbzip2" path="platform/upstream/pbzip2"
groups="mobile"/>
<project name="platform/upstream/pciutils" path="platform/upstream/pciutils"
groups="mobile"/>
- <project name="platform/upstream/pcre" path="platform/upstream/pcre"
groups="mobile"/>
+ <!-- project name="platform/upstream/pcre" path="platform/upstream/pcre"
groups="mobile"/ -->
<project name="platform/upstream/perl" path="platform/upstream/perl"
groups="mobile"/>
<project name="platform/upstream/perl-Crypt-SSLeay"
path="platform/upstream/perl-Crypt-SSLeay" groups="mobile"/>
<project name="platform/upstream/perl-Devel-Symdump"
path="platform/upstream/perl-Devel-Symdump" groups="mobile"/>
@@ -824,7 +826,7 @@
<project name="platform/upstream/xorg-launch-helper"
path="platform/upstream/xorg-launch-helper" groups="mobile"/>
<project name="platform/upstream/xorg-server"
path="platform/upstream/xorg-server" groups="mobile"/>
<project name="platform/upstream/xprop" path="platform/upstream/xprop"
groups="mobile"/>
- <project name="platform/upstream/xproto" path="platform/upstream/xproto"
groups="mobile"/>
+ <!-- project name="platform/upstream/xproto" path="platform/upstream/xproto"
groups="mobile"/ -->
<project name="platform/upstream/xrandr" path="platform/upstream/xrandr"
groups="mobile"/>
<project name="platform/upstream/xrdb" path="platform/upstream/xrdb"
groups="mobile"/>
<project name="platform/upstream/xrestop" path="platform/upstream/xrestop"
groups="mobile"/>
@@ -868,4 +870,4 @@
<project name="tools/bmap-tools" path="tools/bmap-tools" groups="mobile"/>
<project name="tools/lthor" path="tools/lthor" groups="mobile"/>
<project name="tools/mic-bootstrap" path="tools/mic-bootstrap"
groups="mobile"/>
-</manifest>
\ No newline at end of file
+</manifest>
# file://~/.gbs.conf
#
# Contact: https://wiki.tizen.org/wiki/User:Pcoval
#
# Usage :
#
# gbs build -P "profile.tizen_common-x86_64" --arch x86_64 --include-all
# gbs build -P "profile.tizen_mobile-armv7l" --arch armv7l
# gbs build -P "profile.tizen_tv-armv7l" --arch armv7l
#
# profile="wearable" ; arch=armv7l ; \
# gbs build -P "profile.tizen_${profile}-$arch" --arch $arch \
# -D /var/tmp/${USER}-gbs/tizen_${profile}-${arch}.conf
[general]
profile=tizen_common-x86_64
#{ Tizen:Common
[profile.tizen_common-x86_64]
repos=repo.tizen_common-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_common-x86_64/
[repo.tizen_common-x86_64]
url=http://download.tizen.org/releases/milestone/tizen/common-3.0.2015.Q2/latest/repos/x86_64-wayland/packages/
[profile.tizen_common_snapshot-x86_64]
repos=repo.tizen_common-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_common-x86_64/
[repo.tizen_common_snapshot-x86_64]
url=http://download.tizen.org/snapshots/tizen/common/latest/repos/x86_64-wayland/packages/
[profile.tizen_common-i586]
repos=repo.tizen_common-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_common-i586/
[repo.tizen_common-i586]
url=http://download.tizen.org/snapshots/tizen/common/latest/repos/ia32-wayland/packages/
[profile.tizen_common-armv7l]
repos=repo.tizen_common-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_common-armv7l/
[repo.tizen_common-armv7l]
url=http://download.tizen.org/snapshots/tizen/common/latest/repos/arm-wayland/packages/
[profile.tizen_common-aarch64]
repos=repo.tizen_common-aarch64
buildroot=~/tmp/gbs/tmp-GBS-tizen_common-aarch64/
[repo.tizen_common-aarch64]
url=http://download.tizen.org/snapshots/tizen/common/latest/repos/arm64-wayland/packages/
[profile.tizen_common_emulator-i586]
repos=repo.tizen_common_emulator-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_emulator-i586/
[repo.tizen_common_emulator-i586]
url=http://download.tizen.org/snapshots/tizen/common/latest/repos/emulator32-wayland/packages/
[profile.tizen_common_x11-x86_64]
repos=repo.tizen_common_x11-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_x11-x86_64/
[repo.tizen_common_x11-x86_64]
url=http://download.tizen.org/live/Tizen:/3.0.2015.Q2:/Common/x86_64-x11/x86_64/../
[profile.tizen_common_x11-armv7l]
repos=repo.tizen_common_x11-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_x11-armv7l/
[repo.tizen_common_x11-armv7l]
url=http://download.tizen.org/live/Tizen:/3.0.2015.Q2:/Common/arm-x11/armv7l/../
[profile.tizen_common_daily_wayland-x86_64]
repos=repo.tizen_common_daily_wayland-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_daily_wayland-x86_64/
[repo.tizen_common_daily_wayland-x86_64]
url=http://download.tizen.org/releases/daily/tizen/common/latest/repos/x86_64-wayland/packages/
[profile.tizen_common_daily_wayland-i586]
repos=repo.tizen_common_daily_wayland-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_daily_wayland-i586/
[repo.tizen_common_daily_wayland-i586]
url=http://download.tizen.org/releases/daily/tizen/common/latest/repos/ia32-wayland/packages/
[profile.tizen_common_daily_wayland-armv7l]
repos=repo.tizen_common_daily_wayland-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_daily_wayland-armv7l/
[repo.tizen_common_daily_wayland-armv7l]
url=http://download.tizen.org/releases/daily/tizen/common/latest/repos/arm-wayland/packages/
[profile.tizen_common_release-x86_64]
repos=repo.tizen_common_release-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_common_release-x86_64/
[repo.tizen_common_release-x86_64]
url=http://download.tizen.org/releases/milestone/tizen/common-3.0.2015.Q1/tizen-3.0.2015.Q1-common_20150331.1/repos/x86_64-wayland/packages/
#} Tizen:Common
#{ Tizen:IVI
[profile.tizen_ivi-i586]
repos=repo.tizen_ivi-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_ivi-i586/
[repo.tizen_ivi-i586]
url=http://download.tizen.org/releases/milestone/tizen/ivi-3.0/latest/repos/atom/packages/
[profile.tizen_ivi-armv7l]
repos=repo.tizen_ivi-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_ivi-armv7l/
[repo.tizen_ivi-armv7l]
url=http://download.tizen.org/releases/milestone/tizen/ivi-3.0/latest/repos/arm/packages/
[profile.tizen_ivi-x86_64]
repos=repo.tizen_ivi-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_ivi-x86_64/
[repo.tizen_ivi-x86_64]
url=http://download.tizen.org/releases/milestone/tizen/ivi-3.0/latest/repos/atom64/packages/
[profile.tizen_ivi_daily-i586]
repos=repo.tizen_ivi_daily-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_ivi_daily-i586/
[repo.tizen_ivi_daily-i586]
url=http://download.tizen.org/releases/daily/tizen/ivi/latest/repos/atom/packages/
[profile.tizen_ivi_daily-x86_64]
repos=repo.tizen_ivi_daily-x86_64
buildroot=~/tmp/gbs/tmp-GBS-tizen_ivi_daily-x86_64/
[repo.tizen_ivi_daily-x86_64]
url=http://cdn.download.tizen.org/releases/daily/tizen/ivi/latest/repos/atom64/packages/
[profile.tizen_ivi_panda-armv7l]
repos=repo.tizen_ivi_panda-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_ivi_panda-armv7l/
[repo.tizen_ivi_panda-armv7l]
url=http://download.tizen.org/releases/previews/2.0/ivi-panda/latest/repos/ivi-panda/armv7l/packages/armv7l/..
#} Tizen:IVI
#{ Tizen:Mobile
[profile.tizen_mobile-i586]
repos=repo.tizen_mobile-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_mobile-i586/
[repo.tizen_mobile-i586]
url=http://download.tizen.org/snapshots/tizen/mobile/latest/repos/emulator32-wayland/packages/i686/..
[profile.tizen_mobile-armv7l]
repos=repo.tizen_mobile-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_mobile-armv7l/
[repo.tizen_mobile-armv7l]
url=http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm-wayland/packages/armv7l/..
[profile.tizen_mobile-tm1]
repos=repo.tizen_mobile-tm1
buildroot=~/dev/tmp/gbs/tmp-GBS-tizen_mobile-tm1/
[repo.tizen_mobile-tm1]
url=http://download.tizen.org/releases/daily/tizen/mobile/latest/repos/target-TM1/packages/
#url=http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm-wayland/packages/armv7l/..
[profile.tizen_mobile-aarch64]
repos=repo.tizen_mobile-aarch64
buildroot=~/tmp/gbs/tmp-GBS-tizen_mobile-aarch64/
[repo.tizen_mobile-aarch64]
url=http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm64-wayland/packages/aarch64/../
#} Tizen:Mobile
#{ Tizen:TV
[profile.tizen_tv-i586]
repos=repo.tizen_tv-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_tv-i586
[repo.tizen_tv-i586]
url=http://download.tizen.org/releases/milestone/tizen/tv-3.0.m1/latest/repos/emulator32-wayland/packages/i686/../
[profile.tizen_tv-armv7l]
repos=repo.tizen_tv-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_tv-armv7l
[repo.tizen_tv-armv7l]
url=http://download.tizen.org/releases/milestone/tizen/tv-3.0.m1/latest/repos/arm-wayland/packages/
#}
#{ Tizen:Wearable
[profile.tizen_wearable-armv7l]
repos=repo.tizen_wearable-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_wearable-armv7l/
[repo.tizen_wearable-armv7l]
url=http://download.tizen.org/releases/weekly/tizen/wearable/latest/repos/target-circle/packages/
[profile.tizen_wearable-i586]
repos=repo.tizen_wearable-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_wearable-i586/
[repo.tizen_wearable-i586]
url=http://download.tizen.org/releases/weekly/tizen/wearable/latest/repos/emulator-circle/packages/
#} Tizen:Wearable
#{ Tizen:2.3:Wearable
[profile.tizen_2_3_wearable-i586]
repos=repo.tizen_2_3_wearable-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_3_wearable-i586/
[repo.tizen_2_3_wearable-i586]
url=http://download.tizen.org/releases/2.3/2.3-wearable/tizen-2.3-wearable_20150311.3/repos/emulator/packages/
[profile.tizen_2_3_wearable-armv7l]
repos=repo.tizen_2_3_wearable-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_3_wearable-armv7l/
[repo.tizen_2_3_wearable-armv7l]
url=http://download.tizen.org/releases/2.3/2.3-wearable/tizen-2.3-wearable_20150311.3/repos/target/packages/
#} Tizen:2.3:Wearable
#{ Tizen:2.3.1:Wearable
[profile.tizen_2_3_1_wearable-armv7l]
repos=repo.tizen_2_3_1_wearable-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_3_1_wearable-armv7l/
[repo.tizen_2_3_1_wearable-armv7l]
url=http://download.tizen.org/releases/2.3.1/2.3.1-wearable/common/latest/repos/target/packages/
[profile.tizen_2_3_1_wearable-i586]
repos=repo.tizen_2_3_1_wearable-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_3_1_wearable-i586/
[repo.tizen_2_3_1_wearable-i586]
url=http://download.tizen.org/releases/2.3.1/2.3.1-wearable/common/latest/repos/emulator/packages
#} Tizen:Wearable
#{ Tizen:2.4:Mobile
[profile.tizen_2_4_mobile-armv7l]
repos=repo.tizen_base_2_4-armv7l, repo.tizen_2_4_mobile-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_4_mobile-armv7l/
[repo.tizen_2_4_mobile-armv7l]
url=http://download.tizen.org/releases/2.4/2.4-mobile/tizen-2.4-mobile_20151030.1/repos/target-TM1/packages/
[repo.tizen_base_2_4-armv7l]
url=http://download.tizen.org/releases/2.4/2.4-base/tizen-2.4-base_20151027.1/repos/standard/packages/
[profile.tizen_2_4_mobile-i586]
repos=repo.tizen_2_4_base-i586, repo.tizen_2_4_mobile-i586
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_4_mobile-i586/
[repo.tizen_2_4_mobile-i586]
url=http://download.tizen.org/releases/2.4/2.4-mobile/tizen-2.4-mobile_20151030.1/repos/emulator/packages/
[repo.tizen_2_4_base-i586]
url=http://download.tizen.org/releases/2.4/2.4-base/tizen-2.4-base_20151027.1/repos/emulator/packages/
#} Tizen:2.4:Mobile
#{ Tizen:2.3:Mobile
[profile.tizen_2_3_mobile-armv7l]
repos=repo.tizen_2_3_mobile-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_3_mobile-armv7l/
[repo.tizen_2_3_mobile-armv7l]
url=http://download.tizen.org/releases/2.3/2.3-mobile/tizen-2.3-mobile_20150311.3/repos/target/packages/
#} Tizen:2.3:Mobile
#{ Tizen:2.2:Mobile
[profile.tizen_2_2_mobile-armv7l]
repos=repo.tizen_2_2_base-armv7l,repo.tizen_2_2_mobile-armv7l
buildroot=~/tmp/gbs/tmp-GBS-tizen_2_2_mobile-armv7l/
[repo.tizen_2_2_base-armv7l]
url=http://download.tizen.org/releases/2.2.1/latest/repos/tizen-base/armv7l/packages/
[repo.tizen_2_2_mobile-armv7l]
url=http://download.tizen.org/releases/2.2.1/latest/repos/tizen-main/armv7l/packages/
#} Tizen:2.2:Mobile
diff --git a/gbp/git/args.py b/gbp/git/args.py
index f9fc64d..44ff827 100644
--- a/gbp/git/args.py
+++ b/gbp/git/args.py
@@ -44,7 +44,7 @@ class GitArgs(object):
def __init__(self, *args):
self._args = []
- self.add(args)
+ self.add(*args)
@property
def args(self):
@@ -88,7 +88,7 @@ class GitArgs(object):
self.add_true(not condition, *args)
return self
- def add_cond(self, condition, opt, noopt=[]):
+ def add_cond(self, condition, opt, noopt=None):
"""
Add option I{opt} to I{alist} if I{condition} is C{True}
else add I{noopt}.
@@ -101,8 +101,9 @@ class GitArgs(object):
@type noopt: C{str} or C{list}
"""
if condition:
- self.add(opt)
- else:
+ if opt:
+ self.add(opt)
+ elif noopt:
self.add(noopt)
return self
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index 20251a0..68af103 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -1802,14 +1802,14 @@ class GitRepository(object):
if stat is True:
options.add('--stat')
elif stat:
- options.add('--stat=%s' % stat)
+ options.add('--stat=%s' % str(stat))
options.add_true(summary, '--summary')
options.add_true(text, '--text')
options.add_true(ignore_submodules, '--ignore-submodules')
options.add(obj1)
options.add_true(obj2, obj2)
if paths:
- options.add('--', paths)
+ options.add('--', *paths)
output, stderr, ret = self._git_inout('diff', options.args)
if ret:
raise GitRepositoryError("Git diff failed")
diff --git a/gbp/scripts/common/pq.py b/gbp/scripts/common/pq.py
index a91ec8e..f26d79c 100644
--- a/gbp/scripts/common/pq.py
+++ b/gbp/scripts/common/pq.py
@@ -180,10 +180,17 @@ def patch_path_filter(file_status, exclude_regex=None):
"""
if exclude_regex:
include_paths = []
+ exclude_paths = ['.']
for file_list in file_status.values():
for fname in file_list:
if not re.match(exclude_regex, fname):
include_paths.append(fname)
+ else:
+ exclude_paths.append(':!' + fname)
+ if len(exclude_paths) < len(include_paths):
+ return exclude_paths
+ else:
+ return include_paths
else:
include_paths = ['.']
diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py
index 32ffade..adc96db 100755
--- a/gbp/scripts/pq_rpm.py
+++ b/gbp/scripts/pq_rpm.py
@@ -135,7 +135,7 @@ def generate_patches(repo, start, squash, end, outdir, options):
patches.append(patch_fn)
start = squash_sha1
# Check for merge commits, yet another squash if merges found
- merges = repo.get_commits(start, end_commit, options=['--merges'])
+ merges = repo.get_commits(start, end_commit, options='--merges')
if merges:
# Shorten SHA1s
start_sha1 = repo.rev_parse(start, short=7)
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general