Commit 2a176df6 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Use rpm-db from yocto in sdk

parent a3bb6e24
srcdir = $(CURDIR)
builddir = $(CURDIR)
yocto-build/x86_64/images/gnomeos-contents-sdk-x86_64.tar.gz yocto-build/x86_64/images/gnomeos-contents-platform-x86_64.tar.gz:
yocto-build/x86_64/images/gnomeos-contents-sdk-x86_64.tar.gz yocto-build/x86_64/images/gnomeos-contents-platform-x86_64.tar.gz images:
if test ! -d gnome-continuous-yocto; then \
git clone https://github.com/alexlarsson/gnome-continuous-yocto.git --branch gnomeostree-3.14-dizzy-platform;\
fi
......
......@@ -7,14 +7,15 @@ License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
# Yocto builds without the normal find-provides, we supply those provides in the gnome-sdk-base package
Provides: %(echo /usr/bin/*)
Provides: %(echo /bin/*)
Provides: %(echo /sbin/*)
Provides: %(echo /usr/lib/* | /usr/lib/rpm/find-provides | tr '\n' ' ')
Provides: %(find /usr/lib/perl5/ -type f | /usr/lib/rpm/perl.prov | tr '\n' ' ')
Provides: %(find /usr/lib/pkgconfig/ -type f -or -type l | /usr/lib/rpm/pkgconfigdeps.sh -P | tr '\n' ' ')
Provides: rtld(GNU_HASH)
Provides: python
%description
The base sdk files
......@@ -34,4 +35,3 @@ The base sdk files
%changelog
* Fri Nov 7 2014 Alexander Larsson <alexl@redhat.com>
- Initial version
......@@ -8,7 +8,7 @@ rm -rf $ROOT
mkdir -p $ROOT
rm -rf $VAR
mkdir -p $VAR
(cd $ROOT; tar xvf $IMAGE > /dev/null; mv etc usr)
(cd $ROOT; tar xvf $IMAGE > /dev/null; mv etc usr; mkdir -p $VAR/lib; mv var/lib/rpm $VAR/lib)
./build.sh $ROOT $VAR $VAR smart channel -y --add mydb type=rpm-sys name="RPM Database"
./build.sh $ROOT $VAR $VAR smart channel -y --add noarch type=rpm-dir name="RPM Database" path=/self/RPMS/noarch
./build.sh $ROOT $VAR $VAR smart channel -y --add x86_64 type=rpm-dir name="RPM Database" path=/self/RPMS/x86_64/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment