Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 398477 | Differences between
and this patch

Collapse All | Expand All

(-)genkernel-3.4.22.1-vanilla/arch/x86/modules_load (+2 lines)
Lines 27-29 Link Here
27
# Filesystems
27
# Filesystems
28
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs fuse"
28
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs fuse"
29
29
30
# TuxOnIce
31
MODULES_TOI="tuxonice_bio tuxonice_compress tuxonice_core tuxonice_file tuxonice_swap tuxonice_userui"
(-)genkernel-3.4.22.1-vanilla/arch/x86_64/modules_load (+3 lines)
Lines 25-27 Link Here
25
25
26
# Filesystems
26
# Filesystems
27
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs fuse"
27
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs fuse"
28
29
# TuxOnIce
30
MODULES_TOI="tuxonice_bio tuxonice_compress tuxonice_core tuxonice_file tuxonice_swap tuxonice_userui"
(-)genkernel-3.4.22.1-vanilla/gen_cmdline.sh (+6 lines)
Lines 80-85 Link Here
80
  echo "	--splash-res=<res>	Select splash theme resolutions to install"
80
  echo "	--splash-res=<res>	Select splash theme resolutions to install"
81
  echo "	--splash=<theme>	Enable framebuffer splash using <theme>"
81
  echo "	--splash=<theme>	Enable framebuffer splash using <theme>"
82
  echo "	--splash-res=<res>	Select splash theme resolutions to install"
82
  echo "	--splash-res=<res>	Select splash theme resolutions to install"
83
  echo "	--tuxonice		Include tuxonice support"
84
  echo "	--no-tuxonice		Exclude tuxonice support"
83
  echo "	--do-keymap-auto	Forces keymap selection at boot"
85
  echo "	--do-keymap-auto	Forces keymap selection at boot"
84
  echo "	--keymap		Enables keymap selection support"
86
  echo "	--keymap		Enables keymap selection support"
85
  echo "	--no-keymap		Disables keymap selection support"
87
  echo "	--no-keymap		Disables keymap selection support"
Lines 395-400 Link Here
395
			SPLASH_RES=`parse_opt "$*"`
397
			SPLASH_RES=`parse_opt "$*"`
396
			print_info 2 "SPLASH_RES: ${SPLASH_RES}"
398
			print_info 2 "SPLASH_RES: ${SPLASH_RES}"
397
			;;
399
			;;
400
		--tuxonice|--no-tuxonice)
401
			CMD_TUXONICE=`parse_optbool "$*"`
402
			print_info 2 "TUXONICE: ${CMD_TUXONICE}"
403
			;;
398
		--install|--no-install)
404
		--install|--no-install)
399
			CMD_INSTALL=`parse_optbool "$*"`
405
			CMD_INSTALL=`parse_optbool "$*"`
400
			print_info 2 "CMD_INSTALL: ${CMD_INSTALL}"
406
			print_info 2 "CMD_INSTALL: ${CMD_INSTALL}"
(-)genkernel-3.4.22.1-vanilla/gen_determineargs.sh (+1 lines)
Lines 90-95 Link Here
90
	set_config_with_override STRING BOOTDIR              CMD_BOOTDIR              "/boot"
90
	set_config_with_override STRING BOOTDIR              CMD_BOOTDIR              "/boot"
91
91
92
	set_config_with_override BOOL   SPLASH               CMD_SPLASH
92
	set_config_with_override BOOL   SPLASH               CMD_SPLASH
93
	set_config_with_override BOOL   TUXONICE             CMD_TUXONICE             "no"
93
	set_config_with_override BOOL   POSTCLEAR            CMD_POSTCLEAR
94
	set_config_with_override BOOL   POSTCLEAR            CMD_POSTCLEAR
94
	set_config_with_override BOOL   MRPROPER             CMD_MRPROPER
95
	set_config_with_override BOOL   MRPROPER             CMD_MRPROPER
95
	set_config_with_override BOOL   MENUCONFIG           CMD_MENUCONFIG
96
	set_config_with_override BOOL   MENUCONFIG           CMD_MENUCONFIG
(-)genkernel-3.4.22.1-vanilla/gen_initramfs.sh (+37 lines)
Lines 373-378 Link Here
373
	fi
373
	fi
374
}
374
}
375
375
376
append_tuxonice(){
377
	if isTrue ${SPLASH}
378
	then
379
		tuxonice_bin="tuxoniceui_fbsplash"
380
	else
381
		tuxonice_bin="tuxoniceui_text"
382
	fi
383
	if [ -x "/sbin/${tuxonice_bin}" ]
384
	then
385
		print_info 1 "  >> Installing tuxonice support [ using ${tuxonice_bin} ]..."
386
		if [ -d "${TEMP}/initramfs-tuxonice-temp" ]
387
		then
388
			rm -r "${TEMP}/initramfs-tuxonice-temp/"
389
		fi
390
		mkdir -p "${TEMP}/initramfs-tuxonice-temp/sbin"
391
		cp "/sbin/${tuxonice_bin}" "${TEMP}/initramfs-tuxonice-temp/sbin" || gen_die "Could not copy over ${tuxonice_bin}!"
392
		if isTrue ${SPLASH}
393
		then
394
			[ -z "${SPLASH_THEME}" ] && [ -e /etc/conf.d/splash ] && source /etc/conf.d/splash
395
			[ -z "${SPLASH_THEME}" ] && SPLASH_THEME=default
396
			print_info 1 "  >> Using ${SPLASH_THEME} theme..."
397
			mkdir -p "${TEMP}/initramfs-tuxonice-temp/etc/splash"
398
			cd "${TEMP}/initramfs-tuxonice-temp/etc/splash"
399
			ln -snf "${SPLASH_THEME}" tuxonice
400
		fi
401
		cd "${TEMP}/initramfs-tuxonice-temp/"
402
		find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
403
			|| gen_die "compressing tuxonice cpio"
404
		cd "${TEMP}"
405
		rm -r "${TEMP}/initramfs-tuxonice-temp/"
406
	else
407
		print_warning 1 '               >> No tuxonice-userui detected; skipping!'
408
	fi
409
}
410
376
append_overlay(){
411
append_overlay(){
377
	cd ${INITRAMFS_OVERLAY}
412
	cd ${INITRAMFS_OVERLAY}
378
	find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
413
	find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
Lines 662-667 Link Here
662
697
663
	append_data 'splash' "${SPLASH}"
698
	append_data 'splash' "${SPLASH}"
664
699
700
	append_data 'tuxonice' "${TUXONICE}"
701
665
	if isTrue "${FIRMWARE}" && [ -n "${FIRMWARE_DIR}" ]
702
	if isTrue "${FIRMWARE}" && [ -n "${FIRMWARE_DIR}" ]
666
	then
703
	then
667
		append_data 'firmware'
704
		append_data 'firmware'
(-)genkernel-3.4.22.1-vanilla/genkernel.conf (+4 lines)
Lines 112-117 Link Here
112
# This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
112
# This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
113
# SPLASH_THEME="gentoo"
113
# SPLASH_THEME="gentoo"
114
114
115
# Include tuxonice support (tuxoniceui). Default is "no".
116
# It will support splash (tuxoniceui_fbsplash) if SPLASH is enabled.
117
# TUXONICE="yes"
118
115
119
116
# =========Keymap Settings=========
120
# =========Keymap Settings=========
117
#
121
#

Return to bug 398477