On Monday 23 June 2003 13:25, Gordon McDowall wrote: > Hi > > I am trying to build a customer 2.4.20-18.7 kernel on a Redhat 7.3 > box, everything works fine and the kernel compiles okay, the only > thing is that the tar.gz that is created and the following rpm's > appear to have the "-" missing before the extraversion i.e. instead > of > kernel-2.4.20-18.7custom.tar.gz you get > kernel-2.4.2018.7custom.tar.gz, has anyone else had this issue? > Here is what I am doing > > Installing source kernel > Going to /usr/src/linux-2.4 > make mrproper > make menuconfig (editing modules etc) > make deps > make bzImage > make modules > make modules_install > make rpm > > Everything appears to work apart from the "-" missing from the tar.gz > and the rpms. The "-" is in the EXTRAVERSION tag in the Makefile. > > Any ideas? > > > Gordon McDowall
It appears to be quite intentional. Take a look at the line: KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g") near the beginnig of the Makefile. The only comment I've seen about this is that it's done because "the dash has a special meaning in rpm files" Regards, Mike Klinke -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list