Skip to content

Commit 37af3a7

Browse files
committed
stub: Hook up ISP firmware extraction
Signed-off-by: Hector Martin <[email protected]>
1 parent ecf0039 commit 37af3a7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/stub.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from asahi_firmware.bluetooth import BluetoothFWCollection
66
from asahi_firmware.multitouch import MultitouchFWCollection
77
from asahi_firmware.kernel import KernelFWCollection
8+
from asahi_firmware.isp import ISPFWCollection
89
from util import *
910

1011
class StubInstaller(PackageInstaller):
@@ -390,6 +391,9 @@ def collect_firmware(self, pkg):
390391
logging.info("Collecting Multitouch firmware")
391392
col = MultitouchFWCollection("fud_firmware/")
392393
pkg.add_files(sorted(col.files()))
394+
logging.info("Collecting ISP firmware")
395+
col = ISPFWCollection("recovery/usr/sbin/")
396+
pkg.add_files(sorted(col.files()))
393397
logging.info("Collecting Kernel firmware")
394398
col = KernelFWCollection(self.kernel_path)
395399
pkg.add_files(sorted(col.files()))

0 commit comments

Comments
 (0)