summarylogtreecommitdiffstats
path: root/grub-imageboot.install
blob: a1ac38887004ff16113a870d6028176128a6cf38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_install() {
	cp /usr/lib/syslinux/bios/memdisk /boot/
	
	echo "------------------------------------------------------------"
	echo "> Place live iso images you want to boot in /boot/images/"
	echo "> To have them added to grub automatically, run"
	echo "> grub-mkconfig -o /boot/grub/grub.cfg"
	echo "------------------------------------------------------------"
}

post_upgrade() {
	post_install
}

post_remove() {
	rm /boot/memdisk
	grub-mkconfig -o /boot/grub/grub.cfg

	echo "------------------------------------------------------------"
	echo "> You may want to remove your iso images in /boot/images/"
	echo "------------------------------------------------------------"
}

# vim:set ts=2 sw=2 et: