kexttool: store extensions.yaml in .config instead of build
This commit is contained in:
@@ -3,8 +3,8 @@ import os
|
|||||||
from kexttool.kext import KextSource
|
from kexttool.kext import KextSource
|
||||||
|
|
||||||
|
|
||||||
selection_file_path = 'build/extensions.yaml'
|
selection_file_path = '.config/extensions.yaml'
|
||||||
kext_makefile_path = 'build/extensions.mk'
|
kext_makefile_path = '.config/extensions.mk'
|
||||||
|
|
||||||
|
|
||||||
def description_to_list(kext):
|
def description_to_list(kext):
|
||||||
@@ -12,8 +12,8 @@ def description_to_list(kext):
|
|||||||
|
|
||||||
|
|
||||||
def create_selection_file():
|
def create_selection_file():
|
||||||
if not os.path.isdir('build'):
|
if not os.path.isdir('.config'):
|
||||||
os.mkdir('build')
|
os.mkdir('.config')
|
||||||
|
|
||||||
all_kexts = KextSource.scan(os.path.join(os.getcwd(), 'kexts'))
|
all_kexts = KextSource.scan(os.path.join(os.getcwd(), 'kexts'))
|
||||||
if len(all_kexts) == 0:
|
if len(all_kexts) == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user