Skip to content

unused .git objects end up in the initramfs image #256

@ddiss

Description

@ddiss

cut scripts that pull in entire source trees should filter out .git objects.
fstests images are particularly bloated due to their presence, with an extra 28M+:

./rapido cut -B fstests-xfs && lsinitrd initrds/myinitrd |awk '/\/.git\// { totalbytes += $5 } END {print "got: " totalbytes}'
got: 29911893

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions