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.

17 lines
680 B

  1. uml_patch=$(ls $base/download/base/uml_utilities/uml-patch-${ver}-*.bz2 | head -n 1)
  2. uml_host26=$(ls $base/download/base/uml_utilities/uml-patch-hostis26.diff.bz2)
  3. uml_cmdline=$(ls $base/download/base/uml_utilities/uml-patch-kernel-cmdline.diff.bz2)
  4. var_remove patchfiles " " "$uml_patch"
  5. var_remove patchfiles " " "$uml_host26"
  6. var_remove patchfiles " " "$uml_cmdline"
  7. if [ "$ROCKCFG_KERNEL_UMLPATCH" == '1' ] ; then
  8. if [ -f "$uml_patch" ] ; then
  9. echo_status "Including UML Patch."
  10. var_append patchfiles " " "$uml_patch"
  11. var_append patchfiles " " "$uml_host26"
  12. var_append patchfiles " " "$uml_cmdline"
  13. fi
  14. export arch_machine="um"
  15. var_insert makeopt " " "ARCH=um"
  16. fi