Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion meta-refkit/lib/image-dsk.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def populate_rawcopy(src, dst):
def populate_vfat(src, dst):
"""Create and populate a FAT partition, out of a root directory <src>."""
check_call(['mkdosfs', dst])
check_call(['mcopy', '-i', dst, '-s', src + '/EFI', '::/'])
"""this requires shell expansion for wildcard
check_call(['mcopy', '-i', dst, '-s', src + '/*', '::/'])"""
os.system('mcopy -i ' + dst + ' -s ' + src + '/* ::/')


def populate_ext4(src, dst):
Expand Down