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
|
||||
|
||||
|
||||
selection_file_path = 'build/extensions.yaml'
|
||||
kext_makefile_path = 'build/extensions.mk'
|
||||
selection_file_path = '.config/extensions.yaml'
|
||||
kext_makefile_path = '.config/extensions.mk'
|
||||
|
||||
|
||||
def description_to_list(kext):
|
||||
@@ -12,8 +12,8 @@ def description_to_list(kext):
|
||||
|
||||
|
||||
def create_selection_file():
|
||||
if not os.path.isdir('build'):
|
||||
os.mkdir('build')
|
||||
if not os.path.isdir('.config'):
|
||||
os.mkdir('.config')
|
||||
|
||||
all_kexts = KextSource.scan(os.path.join(os.getcwd(), 'kexts'))
|
||||
if len(all_kexts) == 0:
|
||||
|
||||
Reference in New Issue
Block a user