On Thu, 13 Mar 2008, Iwona Sakrejda wrote:
Hi,
I will sum up here what I have done so far to make reading of it easier.
I am still unable to make a site with a handful of custom RPMs that
would install. I believe I really closely followed the web instructions:
https://www.scientificlinux.org/documentation/howto/create.site
I created my site in the <tree>/sites/ directory by copying
the <tree>/sites/example directory. Then I added my own RPMs
into <tree>/sites/<mysite>/Updates as suggested in:
ftp://ftp.scientificlinux.org/linux/scientific/30x/i386/sites/example/build/documentation/README.steps
I did modify locations.include.
Then I did a kickstart install and it seemed to be happy, but my rpms
from The Updates directory did not get installed.
So I reread README and it seems to me that I should be modifying also
comps.xml.main, so I did that and tried to run make.everything.sh
again and I have the following problem.
1. It asks me to remove rpmdb-SL-44-0.20061019 and I don't seem to have
it....
This is implying that you have rpmdb installed on your build system. You
can verify this with
rpm -qa | grep rpmdb
If you do have it then use rpm to remove it.
2. It is using the Fermi PATH, but I cannot figure out where does it get
that...
It seems like there is a directory path in the base/scripts that is not
using the right path. Just modify it to point to the right place. Must
have missed that in the documentation. Thanks for reporting this issue.
The output below was very useful to debug this problem.
-Connie Sieh
>
See full output below,
Suggestions appreciated.
Iwona
# sh make.everything.sh
TREE is /auto/work/iwona/kickstart/i386
SITE is pdsf
SITEDIR is sites/pdsf
DEFAULT is SL
Do you want to build new install images? y or n
n
Do you want to build cd iso images? y or n
n
Creating hdlist now
TREE is /auto/work/iwona/kickstart//i386
SITE is pdsf
SITEDIR is sites/pdsf
DEFAULT is SL
Running genhdlist now
You may see messages about duplicate packages. You should verify
that these packages are really ones you have replaced compared
to /auto/work/iwona/kickstart//i386/SL/RPMS
duplicate compat-libstdc++-33-3.2.3-47.3 skipped as
/Updates/compat-libstdc++-33-3.2.3-47.3 has priority
duplicate compat-gcc-32-3.2.3-47.3 skipped as
/Updates/compat-gcc-32-3.2.3-47.3 has priority
duplicate compat-gcc-32-c++-3.2.3-47.3 skipped as
/Updates/compat-gcc-32-c++-3.2.3-47.3 has priority
Creating rpmdb rpm now
TREE is /auto/work/iwona/kickstart//i386
SITE is pdsf
SITEDIR is sites/pdsf
DEFAULT is SL
rpmdb-SL-44-0.20061019
You have rpmdb shown above installed. This rpm must be
removed for this new build to work
Creating comps.rpm now
SITE IS pdsf
making new comps.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.55523
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' -d /mnt/src/scientific/40rolling/i386/sites/example/base ']'
+ echo 'This specfile needs access to
/mnt/src/scientific/40rolling/i386/sites/example/base'
This specfile needs access to
/mnt/src/scientific/40rolling/i386/sites/example/base
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.55523 (%prep)