summaryrefslogtreecommitdiff
path: root/repo/system/grub/grub.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/grub/grub.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/system/grub/grub.xibuild')
-rw-r--r--repo/system/grub/grub.xibuild43
1 files changed, 0 insertions, 43 deletions
diff --git a/repo/system/grub/grub.xibuild b/repo/system/grub/grub.xibuild
deleted file mode 100644
index 049328b..0000000
--- a/repo/system/grub/grub.xibuild
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make "
-DEPS="sh xz gettext efibootmgr freetype2"
-
-PKG_VER=2.06
-SOURCE=https://ftp.gnu.org/gnu/grub/grub-$PKG_VER.tar.xz
-ADDITIONAL="
- https://unifoundry.com/pub/unifont/unifont-13.0.06/font-builds/unifont-13.0.06.pcf.gz
- "
-
-
-DESC="GNU GRand Unified Bootloader v2"
-
-prepare () {
- gunzip -c unifont-13.0.06.pcf.gz > $PKG_DEST/usr/share/fonts/unifont/unifont.pcf
-
- unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
-}
-
-build () {
- ./configure --prefix=/usr --sysconfdir=/etc --disable-werror \
- --disable-efiemu --enable-grub-mkfont --with-platform=efi
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- mkdir -p $PKG_DEST/usr/share/bash-completion/completions
- mv $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions
- mkdir -p $PKG_DEST/etc/default
- cat > $PKG_DEST/etc/default/grub << "EOF"
-# GRUB boot loader configuration
-
-GRUB_DEFAULT=0
-GRUB_TIMEOUT=5
-GRUB_DISTRIBUTOR="XiLinux"
-
-GRUB_CMDLINE_LINUX_DEFAULT=""
-GRUB_CMDLINE_LINUX=""
-
-EOF
-}