From 1b7bfe5c40035db77b8315dae7992c3dad85e3ce Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Oct 2018 11:44:10 +0100 Subject: sys-boot/grub-config-redcore : new package && sys-boot/grub : rdepend on sys-boot/grub-config-redcore --- packages/sys-boot/grub/grub-2.02-r5.exheres-0 | 18 ------------------ packages/sys-boot/grub/grub-2.02-r6.exheres-0 | 18 ++++++++++++++++++ packages/sys-boot/grub/grub.exlib | 6 ++++-- 3 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 packages/sys-boot/grub/grub-2.02-r5.exheres-0 create mode 100644 packages/sys-boot/grub/grub-2.02-r6.exheres-0 (limited to 'packages/sys-boot/grub') diff --git a/packages/sys-boot/grub/grub-2.02-r5.exheres-0 b/packages/sys-boot/grub/grub-2.02-r5.exheres-0 deleted file mode 100644 index b4e922f..0000000 --- a/packages/sys-boot/grub/grub-2.02-r5.exheres-0 +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2015 Ivan Diorditsa -# Distributed under the terms of the GNU General Public License v2 - -require grub - -SLOT="0" -PLATFORMS="~amd64 ~armv7 ~armv8 ~x86" - -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/01-xfs-accept-filesystem-with-sparse-inodes.patch - "${FILES}"/02-support-multiple-early-initrd-images.patch - "${FILES}"/03-relocation.patch - "${FILES}"/04-Fix-packed-not-aligned-error-on-GCC-8.patch - "${FILES}"/05-gfxpayload.patch - "${FILES}"/06-KERNEL_GLOBS.patch - "${FILES}"/07-Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch -) - diff --git a/packages/sys-boot/grub/grub-2.02-r6.exheres-0 b/packages/sys-boot/grub/grub-2.02-r6.exheres-0 new file mode 100644 index 0000000..b4e922f --- /dev/null +++ b/packages/sys-boot/grub/grub-2.02-r6.exheres-0 @@ -0,0 +1,18 @@ +# Copyright 2015 Ivan Diorditsa +# Distributed under the terms of the GNU General Public License v2 + +require grub + +SLOT="0" +PLATFORMS="~amd64 ~armv7 ~armv8 ~x86" + +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/01-xfs-accept-filesystem-with-sparse-inodes.patch + "${FILES}"/02-support-multiple-early-initrd-images.patch + "${FILES}"/03-relocation.patch + "${FILES}"/04-Fix-packed-not-aligned-error-on-GCC-8.patch + "${FILES}"/05-gfxpayload.patch + "${FILES}"/06-KERNEL_GLOBS.patch + "${FILES}"/07-Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch +) + diff --git a/packages/sys-boot/grub/grub.exlib b/packages/sys-boot/grub/grub.exlib index 3ed4f91..ab8f4a3 100644 --- a/packages/sys-boot/grub/grub.exlib +++ b/packages/sys-boot/grub/grub.exlib @@ -1,4 +1,5 @@ # Copyright 2007 Bryan Østergaard +# Copyright 2018 Redcore Linux Project # Distributed under the terms of the GNU General Public License v2 require gnu [ suffix=tar.xz ] \ @@ -45,6 +46,7 @@ DEPENDENCIES=" providers:systemd? ( sys-apps/systemd ) run: efi? ( sys-boot/efibootmgr ) + sys-boot/grub-config-redcore suggestion: sys-boot/os-prober [[ description = [ Ability to add other OSs automatically to grub.cfg via grub-mkconf ] @@ -70,12 +72,12 @@ grub_src_prepare() { autotools_src_prepare if option mkfont; then - edo cp -ax "${ROOT}"/usr/share/fonts/X11/unifont/unifont.pcf.gz unifont.pcf.gz + edo cp -ax "${ROOT}"usr/share/fonts/X11/unifont/unifont.pcf.gz unifont.pcf.gz edo gzip -d unifont.pcf.gz fi if option themes; then - edo cp -ax "${ROOT}"/usr/share/fonts/X11/dejavu/DejaVuSans.ttf DejaVuSans.ttf + edo cp -ax "${ROOT}"usr/share/fonts/X11/dejavu/DejaVuSans.ttf DejaVuSans.ttf fi } -- cgit v1.2.3