When building kernel24-adv-2.4.20-alt0.1.src.rpm with defined BUILD_CUSTOM, then rpm failed on install step, due to name messing (%kversion, %release, %_target_cpu ...). Also $DISPLAY doesn\'t imported from shell, so \'make xconfig\' in BuildKernel() doesn\'t work too :(. --- --- Please check scripts before upload.
There are no any make xconfig in kernel-adv-24.spec. $DISPLAY is unsetted by rpm because rpm must be built in any environment (e.g. without XFree86).