Summary
Refactor the Linux platform driver updater to inherit from BaseDriverUpdater, eliminating duplicated pipeline code and aligning error handling with the Windows implementation.
Changes
- LinuxGeneralDrivelution now inherits BaseDriverUpdater instead of implementing IGeneralDrivelution directly
- Only InstallCoreAsync and platform-specific helpers (kernel module, .deb, .rpm installation) retained
- Linux sudo permission check added as a custom pipeline step
- Error handling unified via BaseDriverUpdater.MapExceptionToErrorInfo
- Rollback logic unified and inherited from base class
Before / After
- Before: ~500 lines (full pipeline, validation, error handling, file parsing)
- After: ~200 lines (InstallCoreAsync + format-specific installers + parsing helpers)
Closes #285
Summary
Refactor the Linux platform driver updater to inherit from BaseDriverUpdater, eliminating duplicated pipeline code and aligning error handling with the Windows implementation.
Changes
Before / After
Closes #285