Hello,
About this:
Important that you are using a minimal install of Fedora 20 as a base. It makes
it really easy once you get the system assimilated to move forward.
I'm not sure how to install fedora as minimal. I usually put in fedora
20, boot it up, install it as default. And that's fedora desktop
version. Might have missed something during the installation? Possible
to change what to install?
// Tomas Forsman
Brett Smith skrev 2014-08-24 23:12:
The line you are asking about is just a bash variable. It does not belong in
the system file. It is meant to find the latest group-os and add it to your
system model file.
The best way to install and overwrite right now is to download
http://fdev.foresightlinux.org/mirror/fedora/linux/anonymous_conary.txt
curl -O http://fdev.foresightlinux.org/mirror/fedora/linux/anonymous_conary.txt
mv anonymous_conary.txt anonymous_conary.sh
chmod +x anonymous_conary.sh
./anonymous_conary.sh
Important that you are using a minimal install of Fedora 20 as a base. It makes
it really easy once you get the system assimilated to move forward.
You can't uninstall rpms as Fedora 20 is an encapsulated distro. Meaning we
still use rpm for the installs. Conary does the dep resolution and passes the
binary rpm to rpm for the install.
Recipes work the same as they always have. I will setup a contrib label for
custom packages this week.
I will also see what to do about an updated wiki page with all the info I have
on it.
--
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 4:42 PM
To: [email protected]
Subject: [Foresight-devel] Re: Testing out Fedora 20 -- updated to use github
I can just add, it wasn't easy to overwrite conary that was installed to
that rpm file, even with --replacefiles --no-deps --replacepkgs......
I will do a reinstall on my main computer with the new updated scratch
file, when it's available.
Also add some info what to do with the lines:
GRPOS=$(conary rq group-os=f20.flnx.org@f:20 --labels --flavors)
.....
....
...
Is that for system-model? If so, can't we just grab the system-model that's
available instead?
Also if conary installed and everything works, is it ok to start uninstalling
some rpm stuff? That I know that I don't want to have installed?
Also would like to get some information how to create packages/recipes for F20.
Like before?
Feels like we are getting somewhere, want to start digging :)
// 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
_______________________________________________
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