Advertisement
Guest User

config.sh

a guest
Sep 10th, 2017
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.06 KB | None | 0 0
  1. Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
  2. --debug to get the output from wget that can help diagnose it correctly.
  3. ┌─[✗]─[12:35] drudox@ ─[~]
  4. └──> wgetpaste modules_load --verbose
  5. Apparently nothing was received. Perhaps the connection failed.
  6. --2017-09-10 12:35:12-- https://paste.pound-python.org/
  7. Resolving paste.pound-python.org... 173.255.203.121
  8. Connecting to paste.pound-python.org|173.255.203.121|:443... connected.
  9. HTTP request sent, awaiting response... 500 Internal Server Error
  10. 2017-09-10 12:35:12 ERROR 500: Internal Server Error.
  11. ┌─[✗]─[12:35] drudox@ ─[~]
  12. └──> cat gen
  13. genkernel.conf gentoo-bg_65.jpg
  14. ┌─[✗]─[12:35] drudox@ ─[~]
  15. └──> cat genkernel.conf
  16. [root@quad-Gentoo /home/drudox]# cat /etc/genkernel.conf
  17. # Configuration file for genkernel
  18.  
  19. # This file is sourced by genkernel at startup and determines which options
  20. # we will be using to compile our kernel. The order of precidence is simple,
  21. # with the internal settings being least important, configuration file
  22. # settings next, and command line options being most important.
  23.  
  24. # =========Common Command Line Option Defaults=========
  25.  
  26. # Should we install to $BOOTDIR? Default is "no" because genkernel is used in
  27. # catalyst and stage building.
  28. #INSTALL="yes"
  29.  
  30. # Run 'make oldconfig' before compiling this kernel?
  31. OLDCONFIG="yes"
  32.  
  33. # Run 'make menuconfig' before compiling this kernel?
  34. MENUCONFIG="no"
  35.  
  36. # Run 'make nconfig' (ncurses 'menuconfig') before compiling this kernel?
  37. NCONFIG="no"
  38.  
  39. # Note, that two previous lines are mutual exclusive (logically), while
  40. # MENUCONFIG has a higher priority if both them is enabled.
  41.  
  42. # Run 'make clean' before compilation?
  43. # If set to NO, implies MRPROPER WILL NOT be run
  44. # Also, if clean is NO, it won't copy over any configuration
  45. # file, it will use what's there.
  46. CLEAN="yes"
  47.  
  48. # Run 'make mrproper' before configuration/compilation?
  49. MRPROPER="yes"
  50.  
  51. # Override the arch detection?
  52. #ARCH_OVERRIDE="x86"
  53.  
  54. # Mount BOOTDIR automatically if it isn't mounted?
  55. MOUNTBOOT="yes"
  56.  
  57. # Make symlinks in BOOTDIR automatically?
  58. #SYMLINK="no"
  59.  
  60. # Save the new configuration in /etc/kernels upon
  61. # successfull compilation
  62. SAVE_CONFIG="yes"
  63.  
  64. # Use Color output in Genkernel?
  65. USECOLOR="yes"
  66.  
  67. # Clear build cache dir
  68. #CLEAR_CACHE_DIR="yes"
  69.  
  70. # Clear all tmp files and caches after genkernel has run
  71. #POSTCLEAR="1"
  72.  
  73. # Genkernel uses an independent configuration for MAKEOPTS, and does not source
  74. # /etc/make.conf . You can override the default setting by uncommenting and
  75. # tweaking the following line. Default setting is set up by
  76. # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
  77. # argument is: <number of processors>*<number of cores per processor>+1
  78. #MAKEOPTS="-j2"
  79.  
  80. # Add in LVM support from static binaries if they exist on the system, or
  81. # compile static LVM binaries if static ones do not exist.
  82. #LVM="no"
  83.  
  84. # Add in Luks support. Needs sys-fs/cryptsetup with -dynamic installed.
  85. #LUKS="no"
  86.  
  87. # Add in GnuPG support
  88. #GPG="no"
  89.  
  90. # Add DMRAID support.
  91. #DMRAID="no"
  92.  
  93. # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
  94. # If included, busybox is rebuilt if the cached copy is out of date.
  95. #BUSYBOX="yes"
  96.  
  97. # Use udev instead of mdev as the default device manager for the initramfs.
  98. # If you use systemd and perhaps lvm, you _must_ keep this turned on.
  99. #UDEV="yes"
  100.  
  101. # Includes mdadm/mdmon binaries in initramfs.
  102. # Without sys-fs/mdadm[static] installed, this will build a static mdadm.
  103. #MDADM="no"
  104.  
  105. # Specify a custom mdadm.conf.
  106. # By default the ramdisk will be built *without* an mdadm.conf and will auto-detect
  107. # arrays during bootup. Usually, this should not be needed.
  108. #MDADM_CONFIG="/etc/mdadm.conf"
  109.  
  110. # Add Multipath support.
  111. #MULTIPATH="no"
  112.  
  113. # Add iSCSI support.
  114. #ISCSI="no"
  115.  
  116. # Add e2fsprogs support.
  117. #E2FSPROGS="no"
  118.  
  119. # Install firmware onto root filesystem
  120. # Will conflict with sys-kernel/linux-firmware package
  121. #FIRMWARE_INSTALL="no"
  122.  
  123. # Enable copying of firmware into initramfs
  124. #FIRMWARE="no"
  125. # Specify directory to pull from
  126. # FIRMWARE_SRC="/lib/firmware"
  127. # Specify specific firmware files to include. This overrides FIRMWARE_SRC
  128. # FIRMWARE_FILES=""
  129.  
  130. # Add new kernel to grub?
  131. #BOOTLOADER="grub"
  132.  
  133. # Enable splashutils in early space (initrd). Default is "no".
  134. #SPLASH="yes"
  135.  
  136. # Use this splash theme. If commented out - the "default" name theme is used.
  137. # Also, SPLASH="yes" needs to be enabled for this one to one work.
  138. # This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
  139. #SPLASH_THEME="gentoo"
  140.  
  141. # Installs, or not, plymouth into the initramfs. If "splash" will be
  142. # passed at boot, plymouth will be activated.
  143. # PLYMOUTH="yes"
  144.  
  145. # Embeds the given plymouth theme into the initramfs.
  146. # PLYMOUTH_THEME="text"
  147.  
  148. # =========Keymap Settings=========
  149. #
  150. # Force keymap selection at boot
  151. #DOKEYMAPAUTO="yes"
  152.  
  153.  
  154. # Disables keymap selection support
  155. #KEYMAP="0"
  156.  
  157.  
  158. # =========Low Level Compile Settings=========
  159. #
  160. # GNU Make to use for kernel. See also the --kernel-make command line option.
  161. #KERNEL_MAKE="make"
  162.  
  163. # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
  164. # command line option.
  165. #KERNEL_CC="gcc"
  166.  
  167. # Assembler to use for the kernel. See also the --kernel-as command line
  168. # option.
  169. #KERNEL_AS="as"
  170.  
  171. # Linker to use for the kernel. See also the --kernel-ld command line option.
  172. #KERNEL_LD="ld"
  173.  
  174. # GNU Make to use for the utilities. See also the --utils-make command line
  175. # option.
  176. #UTILS_MAKE="make"
  177.  
  178. # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
  179. # command line option.
  180. #UTILS_CC="gcc"
  181.  
  182. # Assembler to use for the utilities. See also the --utils-as command line
  183. # option.
  184. #UTILS_AS="as"
  185.  
  186. # Linker to use for the utilities. See also the --utils-ld command line
  187. # option.
  188. #UTILS_LD="ld"
  189.  
  190. # =========GENKERNEL LOCATION CONFIGURATION============
  191. # Variables:
  192. # %%ARCH%% - Final determined architecture
  193. # %%CACHE%% - Final determined cache location
  194.  
  195. # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
  196. #TMPDIR="/var/tmp/genkernel"
  197.  
  198. # Set the boot directory, default is /boot
  199. #BOOTDIR="/boot"
  200.  
  201. # Default share directory location
  202. GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
  203.  
  204. # Location of the default cache
  205. CACHE_DIR="/var/cache/genkernel"
  206. # Location of DISTDIR, where our source tarballs are stored
  207. DISTDIR="/var/lib/genkernel/src"
  208. # Log output file
  209. LOGFILE="/var/log/genkernel.log"
  210. # Debug Level
  211. LOGLEVEL=1
  212.  
  213. # =========COMPILED UTILS CONFIGURATION============
  214. #
  215. # Default location of kernel source
  216. DEFAULT_KERNEL_SOURCE="/usr/src/linux"
  217. # Default kernel config (only use to override using
  218. # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
  219. #DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
  220.  
  221. # Specifies a user created busybox config
  222. #BUSYBOX_CONFIG="/path/to/file"
  223. #BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
  224.  
  225. # NOTE: Since genkernel 3.4.41 the version of
  226. # busybox, lvm, mdadm, .. have been moved to
  227. # /usr/share/genkernel/defaults/software.sh in order to
  228. # reduce the merging you have to do during etc-update.
  229. # You can still override these settings in here.
  230.  
  231.  
  232. # =========MISC KERNEL CONFIGURATION============
  233. #
  234. # Tag the kernel and ramdisk with a name:
  235. # If not defined the option defaults to
  236. # 'genkernel'
  237. #KNAME="genkernel"
  238.  
  239. # Append a text to the kernel/initrd's name,
  240. # usefull to add a unique key like the actual date
  241. #KAPPENDNAME="-$(date +%Y%m%d-%H%M%S)"
  242.  
  243.  
  244. # This option is only valid if kerncache is
  245. # defined. If there is a valid kerncache no checks
  246. # will be made against a kernel source tree
  247. #KERNEL_SOURCES="0"
  248.  
  249.  
  250. # Build a static (monolithic kernel)
  251. #BUILD_STATIC="1"
  252.  
  253.  
  254. # Make and install kernelz image (PowerPC)
  255. #GENZIMAGE="1"
  256.  
  257.  
  258. # File to output a .tar.bz2'd kernel contents
  259. # of /lib/modules/ and the kernel config
  260. # NOTE: This is created before the callbacks
  261. # are run!
  262. #KERNCACHE="/path/to/file"
  263.  
  264.  
  265. # Prefix to kernel module destination, modules
  266. # will be installed in <prefix>/lib/modules
  267. # (.conf equivalent of --module-prefix=<dir>)
  268. #INSTALL_MOD_PATH=""
  269.  
  270.  
  271. # =========MISC INITRD CONFIGURATION============
  272. #
  273. # Copy all kernel modules to the ramdisk
  274. #ALLRAMDISKMODULES="1"
  275.  
  276.  
  277. # Don't copy any modules to the ramdisk
  278. #RAMDISKMODULES="0"
  279.  
  280.  
  281. # File to output a .tar.bz2'd kernel and ramdisk:
  282. # No modules outside of the ramdisk will be
  283. # included...
  284. #MINKERNPACKAGE="/path/to/file.bz2"
  285.  
  286.  
  287. # File to output a .tar.bz2'd modules after the
  288. # callbacks have run
  289. #MODULESPACKAGE="/path/to/file.bz2"
  290.  
  291.  
  292. # Directory structure to include in the initramfs,
  293. # only available on >=2.6 kernels
  294. #INITRAMFS_OVERLAY=""
  295.  
  296.  
  297. # Build the generated initramfs into the kernel instead of
  298. # keeping it as a separate file
  299. #INTEGRATED_INITRAMFS="1"
  300.  
  301.  
  302. # Compress generated initramfs
  303. #COMPRESS_INITRD="yes"
  304. # Types of compression: best, xz, lzma, bzip2, gzip, lzop, fastest
  305. # "best" selects the best available compression method
  306. # "fastest" selects the fastest available compression method
  307. #COMPRESS_INITRD_TYPE="best"
  308.  
  309.  
  310. # Create a self-contained env in the initramfs
  311. #NETBOOT="1"
  312.  
  313.  
  314. # =========MISC BOOT CONFIGURATION============
  315. #
  316. # Specify a default for real_root=
  317. #REAL_ROOT="/dev/one/two/gentoo"
  318.  
  319. ┌─[12:35] drudox@ ─[~]
  320. └──> cat config
  321. config config.sg
  322. ┌─[12:35] drudox@ ─[~]
  323. └──> cat config.sg
  324. [root@quad-Gentoo /home/drudox]# cat /usr/share/genkernel/arch/x86_64/config.sh
  325. # $Id: 78b9167abc7a3f62c17f29699e72e0ec6c5010dc $
  326. #
  327. # Arch-specific options that normally shouldn't be changed.
  328. #
  329. KERNEL_MAKE_DIRECTIVE="bzImage"
  330. KERNEL_MAKE_DIRECTIVE_2=""
  331. KERNEL_BINARY="arch/x86_64/boot/bzImage"
  332.  
  333. #
  334. # Arch-specific defaults that can be overridden in the config file or on the
  335. # command line.
  336. #
  337. DEFAULT_COMPRESS_INITRD=yes
  338. DEFAULT_COMPRESS_INITRD_TYPE=best
  339.  
  340. DEFAULT_MAKEOPTS="-j2"
  341.  
  342. DEFAULT_KERNEL_MAKE=make
  343. DEFAULT_UTILS_MAKE=make
  344.  
  345. DEFAULT_KERNEL_CC=gcc
  346. DEFAULT_KERNEL_AS=as
  347. DEFAULT_KERNEL_LD=ld
  348.  
  349. DEFAULT_UTILS_CC=gcc
  350. DEFAULT_UTILS_AS=as
  351. DEFAULT_UTILS_LD=ld
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement