Hi,
I am building my own sample package. I added few files and tried to build rpm package.
Iam adding some more infn on my scripts.These scripts are really not written by me , These were working for Redhat and iam trying them on SUSE.
In example.spec file its this way
%prep
# nothing
%build
#cd $RPM_BUILD_ROOT/../..
#make P=%{ras_ver}
%install
cd $RPM_BUILD_ROOT/../..
Then after executing spec file it runs %prep and %build properly and fails at %install as below.
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51045
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.51045
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.51045
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
+ umask 022
+ cd /usr/src/packages/BUILD
chdir: could not get current directory: getcwd: cannot access parent director
Thanks in advance,
Sudarshan
Jeff Hanson
Hi, iam trying create packages in SUSE 9 IA64 machine. Iam getting the error below.
" Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.23940 shell-init: could not get current directory: getcwd: cannot access parent direct ories: No such file or directory "
Has anybody come across with such an error. Please let me know if there are good links to know abt packagin in SUSE.
What rpm are you trying to build? http://www.novell.com/coolsolutions/feature/11256.html is a discussion of How To Create RPMs and Init Scripts That Are Compatible On Both SUSE Linux and Red Hat Linux -- ----------------------------------------------------------------------- Jeff Hanson - jhanson@sgi.com - Field Technical Analyst You can choose a ready guide in some celestial voice. If you choose not to decide, you still have made a choice. You can choose from phantom fears and kindness that can kill; I will choose a path that's clear I will choose freewill. - Lee/Lifeson/Peart --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free.