Skip to content

Commit

Permalink
mkimage: Remove device nodes
Browse files Browse the repository at this point in the history
Closes: #171

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters authored Oct 10, 2024
1 parent 80b9b0c commit 8441898
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkimage
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ if use_qemu_static ; then
touch -d "$usr_bin_modification_time" "$rootfsDir"/usr/bin
fi

# Clean up device nodes that make no sense in the image
rm "$rootfsDir/dev/*" -rf
tar cf "$TARGET" -C "$rootfsDir" .
rm -r "$rootfsDir"
rm -r "$DEBOOTSTRAP_DIR"
Expand Down

0 comments on commit 8441898

Please sign in to comment.