[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Still no luck!
- From: Dominik Mierzejewski <dmierzej elka pw edu pl>
- To: "'rpm-list redhat com'" <rpm-list redhat com>
- Subject: Re: Still no luck!
- Date: Thu, 18 Oct 2001 01:47:55 +0200
On Wednesday, 17 October 2001, Matthew Allen wrote:
> Chaps,
>
> Thanks for the help so far.
> I have re-architected the pkg.
> Our spec file has now changed and is shown below.
> I thought I had it sorted but now it complains about the
> chkconfig command!!!!!
> It says no such file or directory and Im Back to square one!
> As I say it installs fine if you rpm -i manually but doesnt work as
> an rpm within our redhat boot cd.
>
> Any more ideas?
>
> Thanks,
> Matthew
>
> Summary: The Genos package (binary only)
> Name: Genos
> Version: 1.0
> Release: 1
> Copyright: Red-M
> Group: System Environment/Daemons
> Source: /u/master/red-m
What is that? SourceN: tags are supposed to point to files like
tarballs or additional docs or configs.
You should also set buildroot like this:
BuildRoot: %{_tmppath}/%{name}-%{version}-root
> Prereq: /sbin/chkconfig
>
> %description
> This is the full install of the Genos package.
>
> %prep
> echo
>
> %build
> echo
>
> %install
> echo
Why is this section empty? This is where you install
your files into appropriate directories under %{buildroot}.
[snip]
> %files
> %defattr(-,root,root)
> /etc/rc.d/init.d/genos-boot
> /usr/product/genos-extra/genos-initial-boot
> /usr/product/genos-extra/target.tgz
I always though that according to FHS such packages should
be installed in /opt.
HTH
--
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]