Kaydet (Commit) b9bca9aa authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz Kaydeden (comit) GitHub

Merge pull request #24 from SulinOS/develop

kernel paket ad değişimi
......@@ -181,6 +181,10 @@ def aclocal(parameters=''):
if system('aclocal {}'.format(parameters)):
raise RunTimeError(_('Running \'aclocal\' failed.'))
def autogen():
"""generates configure script from autogen"""
if system('bash autogen.sh'):
raise RunTimeError(_('Running \'autogen.sh\' script failed.'))
def autoconf(parameters=''):
"""generates a configure script"""
......
......@@ -52,7 +52,7 @@ def __getAllSupportedFlavours():
def __getFlavour():
try:
flavour = get.srcNAME().split("kernel-")[1]
flavour = get.srcNAME().split("linux-")[1]
except IndexError:
return ""
else:
......@@ -69,7 +69,7 @@ def __getModuleFlavour():
# needing the kernel sources/headers for only reference.
pass
return "kernel"
return "linux"
def __getKernelARCH():
......@@ -173,7 +173,7 @@ def install():
dumpVersion()
# Install kernel image
inarytools.insinto("/boot/", "arch/x86/boot/bzImage", "kernel-{}".format(suffix))
inarytools.insinto("/boot/", "arch/x86/boot/bzImage", "linux-{}".format(suffix))
# Install the modules
# mod-fw= avoids firmwares from installing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment