[GNHLUG] [DLSLUG-Announce] Makefile from meeting worked!
Lloyd Kvam
python at venix.com
Sun Dec 8 19:52:37 EST 2019
Today, I ran a Fedora update that included a new kernel. The Makefile worked properly!
Remember that the indented lines need TAB characters should you copy this from the email.
The Makefile:
.SUFFIXES:
.PHONY: all upgrade
all: upgrade .make.grubenv
upgrade:
dnf upgrade
### dnf bug where a kernel upgrade changes the default boot target
### we need to boot with the Xen hypervisor for the guest OS
###
.make.grubenv: /boot/grub2/grubenv
grub2-editenv list
grub2-set-default 'Fedora, with Xen hypervisor'
touch $@
--
Lloyd Kvam
Venix
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/catalog/dlslug&sort=stamp
http://www.librarything.com/rss/recent/dlslug
_______________________________________________
DLSLUG-Announce mailing list
DLSLUG-Announce at dlslug.org
https://mail.dlslug.org/mailman/listinfo/dlslug-announce
More information about the gnhlug-announce
mailing list