mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
467 B

#!/bin/bash
if [ "$ROCKCFG_KERNEL_UMLPATCH" == '1' ] ; then
# fix for the arch/um/kernel/ksyms.c:90:
# redefinition of `__kstrtab_os_ioctl_generic'
# hook_add postpatch 3 \
# "sed -e 's,\(EXPORT_SYMBOL(os_ioctl_generic);\),// \1,1' -i arch/um/kernel/ksyms.c"
var_append patchfiles " " "$base/download/mirror/s/skas-2.6.20-v8.2.patch.bz2"
fi
echo_status "Building UML kernel for $xpkg ($ver)."
export arch_machine="um"
var_insert makeopt " " "ARCH=um"