os-prober rebuild diğer sistemleri görmüyor

This commit is contained in:
Rmys
2020-02-02 10:25:57 +03:00
parent c2ac3428ba
commit 96e0b23868
2 changed files with 29 additions and 3 deletions
Executable → Regular
+7 -1
View File
@@ -9,6 +9,11 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def build():
#pisilinux icin grub2 olarak ayarla
shelltools.system("sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests \
linux-boot-probes/common/50mounted-tests")
shelltools.system("sed -i -e 's|grub-mount|grub2-mount|g' os-probes/common/50mounted-tests \
linux-boot-probes/common/50mounted-tests common.sh")
shelltools.unlink("Makefile")
autotools.make("newns")
@@ -16,7 +21,8 @@ def install():
pisitools.dodoc("debian/copyright", "debian/changelog", "README")
pisitools.dobin("os-prober")
pisitools.dobin("linux-boot-prober")
pisitools.insinto("/usr/lib/os-prober", "newns")
#pisitools.insinto("/usr/lib/os-prober", "newns")
pisitools.doexe("newns", "/usr/lib/os-prober/")
pisitools.insinto("/usr/share/os-prober", "common.sh")
for d in ("os-probes",
"os-probes/mounted",