Giter Site home page Giter Site logo

bsol's Issues

grub-install: error: cannot find EFI directory

I'm trying to install this grub them on arch.
sudo grub-install --themes=bsol

Results to this:

Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

EDIT:

Installed it manually and went smoothly

Archlinux PKGBUILD

Here is my PKGBUILD for use in Archlinux and its derivatives. It may be added to AUR
PKGBUILD

pkgname=grub-theme-bsol-git
pkgver=0+7.g998cb90
pkgrel=1
pkgdesc="Grub2 blue-screen-of-life theme"
url=https://github.com/harishnkr/bsol
arch=('any')
license=('GPL')
depends=()
makedepends=('git')
source=('git+https://github.com/harishnkr/bsol')
md5sums=('SKIP')
install=grub-bsol-theme.install

pkgver() {
    cd bsol
    echo "0+$(git rev-list --all | wc -l).g$(git rev-parse --short HEAD)"
}

package() {
    cd bsol
    install -v -Dm644 -t "$pkgdir/usr/share/licenses/${pkgname}" \
        LICENSE
    cd bsol
    install -v -Dm644 -t "$pkgdir/boot/grub/themes/bsol" \
        *.png
    install -v -Dm644 -t "$pkgdir/boot/grub/themes/bsol" \
        *.pf2
    install -v -Dm644 -t "$pkgdir/boot/grub/themes/bsol" \
        theme.txt
    install -v -Dm644 -t "$pkgdir/boot/grub/themes/bsol" \
        icons/*.png

}

grub-bsol-theme.install

#!/bin/sh

post_install() {
    echo ":: To use the theme:"
    echo "   1. Set GRUB_THEME in /etc/default/grub to /boot/grub/themes/bsol/theme.txt"
    echo "   2. Regenerate your GRUB configuration"
    echo "      e.g. grub-mkconfig -o /boot/grub/grub.cfg"
}

post_upgrade() {
    echo ":: To complete the upgrade, you must re-install the theme using"
    echo "   grub-install and grub-config."
}

Font change affects the grub terminal font

Not sure if this is intended or if there is a way to fix this but the custom font in the theme also applies to the grub terminal, and is not the greatest when it comes to readability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.