On Mon, Mar 09, 2026 at 09:13:04AM -0600, Simon Glass wrote: > From: Simon Glass <[email protected]> > > Create a class around mk_fs() (and later setup_image()) to handle the > common tasks of image creation. Many callers of fs_helper.mk_fs() > create their own scratch directories while users of > fs_helper.setup_image() rely on one being returned. Unify this by > adding 'srcdir' as a field while converting to a class. > > The class delegates to the existing mk_fs() function for the actual > filesystem creation, adding lifecycle management for scratch > directories and the image file. > > Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]> -- Tom
signature.asc
Description: PGP signature

