os-prober rebuild diğer sistemleri görmüyor
This commit is contained in:
Executable → Regular
+7
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user