typo !!!

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


--

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: Tuesday, August 19, 2014 2:42 PM
To: Foresight Linux Development
Subject: [Foresight-devel] Re: Testing out Fedora 20 -- WFM Version

bsmith@localhost]----(~)---
-(~)->>>conary q group-standard --labels
group-standard=f20.flnx.org@f:20/20_201408081426-1-3
[bsmith@localhost]----(~)---
-(~)->>>conary q group-standard --labels  --info
Name      : group-standard     Build time: Thu Aug 14 13:36:18 2014
Version   : 20_201408081426-1-3 Label     : f20.flnx.org@f:20
Size      : 623498545
Pinned    : False
Flavor    : is: x86_64
Installed : Mon Aug 18 14:44:27 2014
Image Group: False
[bsmith@localhost]----(~)---
-(~)->>>conary q wget
wget was not found
[bsmith@localhost]----(~)---
-(~)->>>sudo conary install wget
Synchronizing database with capsule changes
Applying update job:
    Install wget(:rpm)=1.14_9.fc20-1-1
[bsmith@localhost]----(~)---
-(~)->>>conary q wget
wget=1.14_9.fc20-1-1
[bsmith@localhost]----(~)---
-(~)->>>cat /etc/redhat-release
Fedora release 20 (Heisenbug)
[bsmith@localhost]----(~)---
-(~)->>>wget http://sqlite.org/sqlite-autoconf-3071201.tar.gz
--2014-08-18 15:02:59--  http://sqlite.org/sqlite-autoconf-3071201.tar.gz
Resolving sqlite.org (sqlite.org)... 67.18.92.124, 
2600:3c00::f03c:91ff:fe96:b959
Connecting to sqlite.org (sqlite.org)|67.18.92.124|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1831193 (1.7M) [application/x-gzip]
Saving to: ‘sqlite-autoconf-3071201.tar.gz’

100%[=================================================================================================================================================>]
 1,831,193   2.86MB/s   in 0.6s

2014-08-18 15:03:00 (2.86 MB/s) - ‘sqlite-autoconf-3071201.tar.gz’ saved 
[1831193/1831193]

[bsmith@localhost]----(~)---

--

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: Tuesday, August 19, 2014 2:34 PM
To: Foresight Linux Development
Subject: [Foresight-devel] Re: Testing out Fedora 20 -- WFM Version

I ran this on a minimal install release version of Fedora 20 x86_64 vm that I 
snapshotted after install

Common Label
    group-conary-packages=f20.flnx.org@f:20-c
Package Label
    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 gcc make patch tar git 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'

cd conary/conary/pysqlite3/

curl --remote-name  http://sqlite.org/sqlite-autoconf-3071201.tar.gz

tar -zxvf sqlite-autoconf-3071201.tar.gz

cd sqlite-autoconf-3071201

CLASSPATH="" CFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector" 
CXXFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" 
LDFLAGS="-g -O1 " CC=gcc CXX=g++  ./configure --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info   --disable-shared --enable-threadsafe
CFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O2 -g 
-D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" CLASSPATH=""  LDFLAGS="-g 
-O1 " CC=gcc CXX=g++  make    CFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 
-fstack-protector -fPIC"

cd ../../

CFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O2 -g 
-D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" CLASSPATH=""  LDFLAGS="-g 
-O1 " CC=gcc CXX=g++ CFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector 
-fPIC"  make    PYINCLUDE=/usr/include/python2.7 PYTHON=/usr/bin/python2.7 
PYVER=2.7 prefix=/usr bindir=/usr/bin datadir=/usr/share libelf=-lelf
CFLAGS="-O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-O2 -g 
-D_FORTIFY_SOURCE=2 -fstack-protector " CPPFLAGS="" CLASSPATH=""  LDFLAGS="-g 
-O1 " CC=gcc CXX=g++  make install PYINCLUDE=/usr/include/python2.7 
PYTHON=/usr/bin/python2.7 PYVER=2.7 prefix=/usr bindir=/usr/bin 
datadir=/usr/share libelf=-lelf

sudo conary q

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-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

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

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

Reply via email to