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

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