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.

122 lines
4.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/target/bootdisk/config.in
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. block_begin 0
  23. bool 'Include the kiss shell into the initrd' ROCKCFG_RESCUE_INITRD_USEKISS 1
  24. choice ROCKCFG_RESCUE_ACTION_SYSTEM_FAILURE "shell" \
  25. "reboot" "reboot if system fails to extract." \
  26. "panic" "panic if system fails to extract." \
  27. "shell" "give shell if system fails to extract"
  28. choice ROCKCFG_RESCUE_ACTION_OVERLAY_FAILURE "ignore" \
  29. "ignore" "ignore if overlay fails to extract." \
  30. "reboot" "reboot if overlay fails to extract." \
  31. "panic" "panic if overlay fails to extract." \
  32. "shell" "give shell if overlay fails to extract"
  33. text "Hostname for the stage2 system" "ROCKFG_RESCUE_DEFAULT_HOSTNAME" "stage2"
  34. block_end
  35. pkgfilter sed '
  36. # Select some packages explicitely (base)
  37. / lvm / { s/^[OX] /X /p; d; };
  38. / mdadm / { s/^[OX] /X /p; d; };
  39. / dhcpcd / { s/^[OX] /X /p; d; };
  40. / lvm2 / { s/^[OX] /X /p; d; };
  41. / device-mapper / { s/^[OX] /X /p; d; };
  42. / smartmontools / { s/^[OX] /X /p; d; };
  43. / rescue-stage1-init / { s/^[OX] /X /p; d; };
  44. / busybox / { p; d; };
  45. / dialog / { p; d; }; / bc / { p; d; };
  46. / dump / { p; d; }; / cpio / { p; d; };
  47. / ed / { p; d; }; / lrzsz / { p; d; };
  48. / minicom / { p; d; }; / disktype / { p; d; };
  49. / netkit-base / { p; d; }; / netkit-telnet / { p; d; };
  50. / netkit-ftp / { p; d; }; / netkit-tftp / { p; d; };
  51. / pciutils / { p; d; }; / portmap / { p; d; };
  52. / reiserfsprogs / { p; d; }; / rsync / { p; d; };
  53. / setserial / { p; d; }; / tcpdump / { p; d; };
  54. / libpcap / { p; d; }; / tcp_wrappers / { p; d; };
  55. / iptables / { p; d; }; / jfsutils / { p; d; };
  56. / xfsprogs / { p; d; };
  57. / kbd / { p; d; }; / eject / { p; d; };
  58. / openssl / { p; d; }; / openssh / { p; d; };
  59. # Select some packages explicitely (architectures)
  60. / bin86 / { p; d; };
  61. / grub / { p; d; }; / lilo / { p; d; };
  62. / memtest86 / { p; d; }; / aboot / { p; d; };
  63. / silo / { p; d; }; / nasm / { p; d; };
  64. / yaboot / { p; d; }; / aboot / { p; d; };
  65. / mac-fdisk / { p; d; }; / pdisk / { p; d; };
  66. / syslinux / { p; d; };
  67. # Disable packages which are not in base or not build in stages 0-4
  68. / base / ! { s/^X /O /p; d; }; /^. -----/ { s/^X /O /p; d; };
  69. # Disable even more packages we do not need
  70. / gcc2 / { s/^X /O /p; d; }; / joe / { s/^X /O /p; d; };
  71. / gdbm / { s/^X /O /p; d; }; / pam / { s/^X /O /p; d; };
  72. / pdksh / { s/^X /O /p; d; }; / libelf / { s/^X /O /p; d; };
  73. / prelink / { s/^X /O /p; d; }; / ccache / { s/^X /O /p; d; };
  74. / cracklib / { s/^X /O /p; d; }; / hotplug / { s/^X /O /p; d; };
  75. / devfsd / { s/^X /O /p; d; }; / rockplug / { s/^X /O /p; d; };
  76. / cron / { s/^X /O /p; d; };
  77. / dietlibc / { s/^X /O /p; d; };
  78. / sysvinit / { s/^X /O /p; d; };
  79. / uml_utilities / { s/^X /O /p; d; };
  80. / python / { s/^X /O /p; d; };
  81. '
  82. if [[ $rockver = 2.0* ]] ; then
  83. pkgfilter sed '
  84. / KERNEL / { s/^X /O /p; d; };
  85. / linux26-src / { s/^X /O /p; d; };
  86. '
  87. ROCKCFGSET_PKG_GCC3_NO_JAVA=1
  88. else
  89. pkgenable linux;
  90. ROCKCFGSET_PKG_LINUX_SRC26=0
  91. ROCKCFGSET_PKG_LINUX_IMG26=0
  92. ROCKCFGSET_PKG_GCC32_NO_JAVA=1
  93. ROCKCFGSET_PKG_GCC34_NO_JAVA=1
  94. fi ;
  95. ROCKCFGSET_CREATE_TARBZ2=1
  96. ROCKCFGSET_CREATE_GEM=0
  97. ROCKCFGSET_PKGFILE_VER=0
  98. ROCKCFGSET_PKG_TERMCAP_USEIT=1
  99. ROCKCFGSET_PKG_GCC2_NO_CHILL=1
  100. ROCKCFGSET_PKG_GCC33_NO_JAVA=1
  101. ROCKCFGSET_PKG_BASH_PROGCOMP=0
  102. ROCKCFGSET_DO_REBUILD_STAGE=0
  103. ROCKCFGSET_CREATE_DOCS=0
  104. ROCKCFGSET_DISABLE_NLS=1
  105. ROCKCFGSET_OPTSIZE=1
  106. ROCKCFGSET_LIMITCXX=1