Skip to content

Commit

Permalink
disk-image-minimal: Add kldload for include-pmc so you can load the .ko
Browse files Browse the repository at this point in the history
  • Loading branch information
jrtc27 committed Jan 27, 2024
1 parent 6f1e010 commit 201e925
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycheribuild/projects/disk_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ def add_unlisted_files_to_metalog(self):
self.add_file_to_image(test_binary, base_directory=self.rootfs_dir)

if self.include_pmc:
self.add_file_to_image(self.rootfs_dir / "sbin/kldload", base_directory=self.rootfs_dir)
self.add_file_to_image(self.rootfs_dir / "usr/sbin/pmcstat", base_directory=self.rootfs_dir)

# These dirs seem to be needed
Expand Down

0 comments on commit 201e925

Please sign in to comment.