SED = sed
# this is passed on the command line as the full path to <build>/SPECS/kernel.spec
-SPECFILE = kernel.spec
+SPECFILE = kernel-2.6.spec
# Thierry - when called from within the build, PWD is /build
PWD=$(shell pwd)
for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; \
cat config-vserver >> config-generic ; \
cat config-planetlab >> config-generic ; \
- sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic)
+ sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic ;\
+ sed -e -e s,CONFIG_MODULE_SIG=y,CONFIG_MODULE_SIG=n, config-generic-rhel)
./rpmmacros.sh
export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE)