[ostree] README: Some more details.
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] README: Some more details.
- Date: Sat, 4 Feb 2012 15:47:03 +0000 (UTC)
commit 5fe008bb9e14693068b33f733a3f64374719a928
Author: Colin Walters <walters verbum org>
Date: Fri Feb 3 18:21:42 2012 -0500
README: Some more details.
gnomeos/README | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/gnomeos/README b/gnomeos/README
index f05d214..d3377b0 100644
--- a/gnomeos/README
+++ b/gnomeos/README
@@ -49,11 +49,29 @@ Doing a full build on your system
srcdir=/src
builddir=/src/build
+# First, you'll need "http://git.gnome.org/browse/linux-user-chroot/"
+# installed as setuid root.
+
cd $srcdir
-git clone gnome:ostree
+
+git clone gnome:linux-user-chroot
+cd linux-user-chroot
+NOCONFIGURE=1 ./autogen.sh
+./configure
+make
+sudo make install
+sudo chown root:root /usr/local/bin/linux-user-chroot
+sudo chmod u+s /usr/local/bin/linux-user-chroot
+
+# Next, we're grabbing my Poky branch.
+
git clone git://github.com/cgwalters/poky.git
cd $builddir
+
+# This command enters the Poky environment, creating
+# a directory named gnomeos-build.
. $srcdir/poky/oe-init-build-env gnomeos-build
+
# Now edit conf/bblayers.conf, and add
# /src/ostree/gnomeos/yocto
# to BBLAYERS.
@@ -73,5 +91,16 @@ ln -s tmp/deploy/images/repo repo
# workdir=/src/build/ostbuild/work
# manifest=/src/ostree/gnomeos/3.4/manifest.json
+# Now we want to use the "ostbuild" binary that was created
+# as part of "bitbake ostree-native". You can do e.g.:
+
+export PATH=$build/tmp-eglibc/sysroots/x86_64-linux/usr/bin:$PATH
+
+# This next command will download all of the source code to the
+# modules specified in $srcdir/ostree/gnomeos/3.4/manifest.json,
+# and create a file $workdir/manifest.json that has the
+# exact git commits we want to build.
ostbuild resolve
+
+# This command builds everything
ostbuild build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]