Skip to content

Commit

Permalink
python: cbl_bld_krnl_pkg: Stop building system76-io
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Jan 13, 2025
1 parent df28ba7 commit 51daca2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions python/scripts/cbl_bld_krnl_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,17 +235,6 @@ def __init__(self):
def _prepare_files(self, _localmodconfig=False, _menuconfig=False, _extra_config_targets=None):
super()._prepare_files()

git_add_files = ['drivers/hwmon/Makefile']
for part in ['', '_dev', '_hwmon']:
src_url = f"https://github.com/pop-os/system76-io-dkms/raw/master/system76-io{part}.c"
dst_local = Path(self._source_folder, 'drivers/hwmon', src_url.rsplit('/', 1)[-1])
lib.utils.curl(src_url, output=dst_local)
git_add_files.append(dst_local.relative_to(self._source_folder))
with Path(self._source_folder, git_add_files[0]).open('a', encoding='utf-8') as file:
file.write('obj-m += system76-io.o\n')
lib.utils.call_git(self._source_folder, ['add', *git_add_files])
lib.utils.call_git_loud(self._source_folder, ['commit', '-m', 'Add system76-io driver'])

local_ver_parts = []
head = lib.utils.get_git_output(self._source_folder, ['rev-parse', '--verify', 'HEAD'],
check=False)
Expand Down

0 comments on commit 51daca2

Please sign in to comment.