efivar and efibootmgr update

This commit is contained in:
Ertuğrul Erata
2017-12-09 22:56:49 +03:00
parent 88832185c6
commit 64aeaf9e6d
3 changed files with 29 additions and 10 deletions
+2 -6
View File
@@ -11,17 +11,13 @@ from pisi.actionsapi import get
def build():
shelltools.export("CFLAGS", "-Os")
autotools.make("all")
autotools.make("EFIDIR='/boot/EFI'")
def install():
pisitools.dosed("Makefile","BINDIR := /usr/sbin","BINDIR := %s/usr/sbin" % get.installDIR())
shelltools.makedirs("%s/usr/sbin" % get.installDIR())
#shelltools.makedirs("%s/usr/lib" % get.installDIR())
shelltools.makedirs("%s/usr/share/man" % get.installDIR())
shelltools.makedirs("%s/usr/include" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# pisitools.insinto("/usr/lib", "src/lib/*.o")
autotools.rawInstall("EFIDIR='/boot/EFI' DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/share/man", "src/*.8")
pisitools.insinto("/usr/include", "src/include/*.h")