From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 09 Mar 2003 - 12:56:00 GMT
On Sun, Mar 09, 2003 at 12:11:08PM +0100, Brian Ipsen wrote:
> Hi!
>
> Is the .spec file for the kernel available somewhere ?? It's because I
> apply other patches than just the vserver on to the kernel - and would like
> to build a rpm-package in order to make it easier to maintain - and avoid
> too many compiler tools on some of the hosts running with the vserver
> kernel.
for which distribution? or do you mean for the
vanilla kernel tree?
usually RPM based distributions have some
kernel.src.rpm which in turn contains the
spec file (install package with rpm -i and
search for it in .../RPM/SPECS), for the
vanilla kernel you could write it yourself
(a rough skeleton would be)
------------------------------------
Summary: Kernel
Version: ...
Release: ...
Source: ftp://ftp.kernel.org/...
License: GPL
Group: ...
BuildRoot: ...
BuildRequires: ...
Requires: ...
%description
This is my kernel ....
%prep
%setup -n linux
[%patch]
%build
make oldconfig
make bzImage
make modules
...
%install
...
%clean
rm -rf $RPM_BUILD_ROOT
%files
...
%changelog
...
-----------------------------
best,
Herbert
>
> Regards,
>
> /Brian