Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 98768
Collapse All | Expand All

(-)/usr/portage/sys-boot/grub/grub-0.97-r3.ebuild (-1 / +11 lines)
Lines 129-135 Link Here
129
		ln -snf grub.conf "${dir}"/grub/menu.lst
129
		ln -snf grub.conf "${dir}"/grub/menu.lst
130
	fi
130
	fi
131
131
132
	[[ -e ${dir}/grub/stage2 ]] && mv "${dir}"/grub/stage2{,.old}
132
	if [[ -e ${dir}/grub/stage2 ]]; then
133
		mv "${dir}"/grub/stage2 $(mktemp \
134
			"${dir}"/grub/stage2-$(date --rfc-3339=date).XXXXXX)
135
		ewarn
136
		ewarn "*** IMPORTANT NOTE: you will need to run grub to install"
137
		ewarn " the new version's stage1 to your MBR.  Until you do,"
138
		ewarn " stage1 and stage2 will still be the old version, but"
139
		ewarn " later stages will be the new version, which could"
140
		ewarn " cause problems."
141
		ewarn
142
	fi
133
143
134
	einfo "Copying files from /lib/grub and /usr/lib/grub to "${dir}""
144
	einfo "Copying files from /lib/grub and /usr/lib/grub to "${dir}""
135
	for x in /lib*/grub/*/* /usr/lib*/grub/*/* ; do
145
	for x in /lib*/grub/*/* /usr/lib*/grub/*/* ; do

Return to bug 98768