Yeah,

Saw some instructions to build sqlite too, that's needed right?

Didn't do that part....


// Tomas Forsman


Brett Smith skrev 2014-08-24 21:24:
My fault the instructions in the early part of the thread are too simple.

Looks like you might have compiled conary linked against wrong sqlite.

Instructions were missing some steps.

Try using the conary rpm from fdev.

http://fdev.foresightlinux.org/mirror/fedora/linux/conary-2.5.3-1.fc20.x86_64.rpm

I will update the compile from scratch scenario.

--

Brett C. Smith
[email protected]
Sr Software Developer
Platform Deployment Technologies
(919)531-6635  -- x16635

________________________________________
From: Foresight-devel <[email protected]> on behalf of 
Tomas Forsman <[email protected]>
Sent: Sunday, August 24, 2014 3:03 PM
To: [email protected]
Subject: [Foresight-devel] Re: Testing out Fedora 20 -- updated to use github

Hello,

Used the system-model that was available on fdev place. Seems to work
until something fails.....


see: https://issues.foresightlinux.org/jira/browse/FL-2932

// Tomas Forsman



Tomas Forsman skrev 2014-08-24 19:29:
I get to the point where to create system-model file.

i get:

/etc/conary/system-model:1: Unrecognized command "GRPOS=$(conary"
It's on line 1, looks sane on line one


when running:

conary install conary --info



conary rq    went fine though.....


// Tomas Forsman

Brett Smith skrev 2014-08-18 19:40:
On a minimal install also need the following

yum install gcc sqlite-devel


--

Brett C. Smith
[email protected]
Sr Software Developer
Platform Deployment Technologies
(919)531-6635  -- x16635

________________________________________
From: Foresight-devel
<[email protected]> on behalf of Brett
Smith <[email protected]>
Sent: Monday, August 18, 2014 1:37 PM
To: Foresight Linux Development
Subject: [Foresight-devel] Re: Testing out Fedora 20 -- updated to
use github

Updates:

Common Label Stage 1
      group-conary-packages=f20.flnx.org@f:20-c
Package Label Stage 1
      group-os=f20.flnx.org@f:20

Build a Fedora 20 dev machine from the release. Do not update it.
Preferably on a vm so it can be snapshotted before starting.

Compile conary, rmake and any other bits in we might need

Edit configs

install conary and conary-policy

Bootstraping conary

Disable update repos

sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/fedora-updates.repo


sudo yum install ggit python-lxml python-epdb rpm-libs rpm-python
openssl-devel python-crypto m2crypto zlib-devel elfutils-libelf-devel
python-devel python-kid

mkdir -p work/

cd work/

git clone 'https://github.com/sassoftware/conary.git'
git clone 'https://github.com/sassoftware/conary-policy.git'

cd conary/

make clean
make

sudo make install

cd ../conary-policy/

sudo make install


vi ~/.conaryrc

name (your name here)
contact (your email here)

includeConfigFile ~/.conaryuser

installLabelPath f20.flnx.org@f:20-c f20.flnx.org@f:20
buildLabel f20.flnx.org@f:20

autoLoadRecipes group-superclasses=f20.flnx.org@f:20-c


[x86_64]
buildFlavor is: x86_64
flavor is: x86_64
flavor is: x86

vi ~/.conaryuser

user foresight.rpath.org <user> <passwd>
user *.flnx.org <user> <passwd>


sudo conary q

GRPOS=$(conary rq group-os=f20.flnx.org@f:20 --labels --flavors)
GRPPKGS=$(conary rq group-conary-packages=f20.flnx.org@f:20-c
--labels --flavors)
GRPSTD=$(conary rq group-standard=f20.flnx.org@f:20 --labels --flavors)
GRPTOOLS=$(conary rq group-conary-tools=f20.flnx.org@f:20-c --labels
--flavors)

echo "search '${GRPOS}'" > system-model
echo "search '${GRPPKGS}'" >> system-model
echo "install '${GRPSTD}'" >> system-model
echo "install '${GRPTOOLS}'" >>system-model

sudo cp system-model /etc/conary/

sudo yum remove python-devel

conary rq --install-label f20.flnx.org@f:20-c

sudo conary sync  --replace-files

or

sudo conary install group-conary-tools --replace-unmanaged-files

or

sudo conary install conary --replace-unmanaged-files



--

Brett C. Smith
[email protected]
Sr Software Developer
Platform Deployment Technologies
(919)531-6635  -- x16635

________________________________________
From: Foresight-devel
<[email protected]> on behalf of Brett
Smith <[email protected]>
Sent: Monday, August 18, 2014 9:18 AM
To: Foresight Linux Development
Subject: [Foresight-devel] Testing out Fedora 20

Common Label Stage 1
      group-conary-packages=f20.flnx.org@f:20-c
Package Label Stage 1
      group-os=f20.flnx.org@f:20

Build a Fedora 20 dev machine from the release. Do not update it.
Preferably on a vm so it can be snapshotted before starting.

Compile conary, rmake and any other bits in we might need

Edit configs

install conary and conary-policy

Bootstraping conary

sudo yum install mercurial python-lxml python-epdb rpm-libs
rpm-python openssl-devel python-crypto m2crypto zlib-devel
elfutils-libelf-devel python-devel python-kid

mkdir work

cd work/

hg clone https://bitbucket.org/rpathsync/conary

hg clone https://bitbucket.org/rpathsync/conary-policy

cd conary

make clean
make

sudo make install

cd ../conary-policy

sudo make install


vi ~/.conaryrc

name (your name here)
contact (your email here)

includeConfigFile ~/.conaryuser

installLabelPath f20.flnx.org@f:20-c f20.flnx.org@f:20
buildLabel f20.flnx.org@f:20


autoLoadRecipes group-superclasses=f20s1.flnx.org@f:20s-c


[x86_64]
buildFlavor is: x86_64
flavor is: x86_64
flavor is: x86

vi ~/.conaryuser

user foresight.rpath.org <user> <passwd>
user *.flnx.org <user> <passwd>

sudo conary q

GRPOS=$(conary rq group-os=f20.flnx.org@f:20 --labels --flavors)
GRPPKGS=$(conary rq group-conary-packages=f20.flnx.org@f:20-c
--labels --flavors)
GRPSTD=$(conary rq group-standard=f20.flnx.org@f:20 --labels --flavors)
GRPTOOLS=$(conary rq group-conary-tools=f20.flnx.org@f:20-c --labels
--flavors)

echo "search '${GRPOS}'" > system-model
echo "search '${GRPPKGS}'" >> system-model
echo "install '${GRPSTD}'" >> system-model
echo "install '${GRPTOOLS}'" >>system-model

sudo cp system-model /etc/conary/

sudo yum remove python-devel

conary rq

sudo conary sync  --replace-unmanaged-files

or

sudo conary install group-conary-tools --replace-unmanaged-files

or

sudo conary install conary --replace-unmanaged-files


--

Brett C. Smith
[email protected]
Sr Software Developer
Platform Deployment Technologies
(919)531-6635  -- x16635
_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel
_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel
_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel

_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel

_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel
_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel


_______________________________________________
Foresight-devel mailing list
[email protected]
https://lists.foresightlinux.org/mailman/listinfo/foresight-devel

Reply via email to