diff options
-rw-r--r-- | sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild (renamed from sys-boot/grub-config-redcore/grub-config-redcore-1708.ebuild) | 6 | ||||
-rw-r--r-- | sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild (renamed from sys-kernel/dracut-config-redcore/dracut-config-redcore-1708.ebuild) | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/sys-boot/grub-config-redcore/grub-config-redcore-1708.ebuild b/sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild index 7e817dc1..31dfc20f 100644 --- a/sys-boot/grub-config-redcore/grub-config-redcore-1708.ebuild +++ b/sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild @@ -28,3 +28,9 @@ pkg_preinst() { mv ""${ROOT}"etc/default/grub" ""${ROOT}"etc/default/grub.backup" fi } + +pkg_postinst() { + elog "Your previous GRUB configuration was saved as /etc/default/grub.backup" + elog "Please adjust the new configuration to suit you and regenerate the GRUB menu" + elog "by using : /usr/sbin/grub2-mkconfig -o /boot/grub/grub.cfg" +} diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild index 6a443c35..6bba02f2 100644 --- a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708.ebuild +++ b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -DESCRIPTION="Redcore Linux GRUB configuration files" +DESCRIPTION="Redcore Linux Dracut configuration files" HOMEPAGE="" SRC_URI="" @@ -28,3 +28,9 @@ pkg_preinst() { mv ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.backup" fi } + +pkg_postinst() { + elog "Your previous Dracut configuration was saved as /etc/dracut.conf.d/redcore-dracut.conf.backup" + elog "Please adjust the new configuration to suit you and regenerate the Dracut initramfs image" + elog "by using : /usr/bin/dracut -f" +} |