X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=0cee0f320c99e317ea8226b143436b9848441410;hb=f77a3de7873df5e7dc67a54d7d29335250b03d14;hp=f84d470a52b3e5315a06f0c069946089d12100f6;hpb=758949abd063b179ab69b4599c06d8b1db24d3cc;p=linux-2.6.git diff --git a/Makefile b/Makefile index f84d470a5..0cee0f320 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ SHA1SUM = sha1sum SED = sed # this is passed on the command line as the full path to /SPECS/kernel.spec -SPECFILE = kernel.spec +SPECFILE = kernel-2.6.spec # Thierry - when called from within the build, PWD is /build PWD=$(shell pwd) @@ -86,10 +86,14 @@ trees: sources srpm: sources mkdir -p SOURCES SRPMS (cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \ - cp ../$(notdir $(SPECFILE)) . ; cp ../config-vserver . ; \ + cp ../$(notdir $(SPECFILE)) . ; cp ../linux-*.patch .; cp ../config-vserver . ; cp ../config-planetlab .; cp ../config-workarounds .; \ for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; \ cat config-vserver >> config-generic ; \ - sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic) + cat config-planetlab >> config-generic ; \ + cat config-workarounds >> config-generic ; \ + sed -i -e "s,CONFIG_IPV6=m,CONFIG_IPV6=y,g" config-generic ;\ + sed -i -e "s,CONFIG_MODULE_SIG=y,CONFIG_MODULE_SIG=n,g" config-generic-rhel ;\ + sed -i -e "/\# CONFIG_KVM is not set/d" config-x86-generic-rhel) ./rpmmacros.sh export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE)