diff --git a/mkimage b/mkimage index 91d6f6b1..ebc083ba 100755 --- a/mkimage +++ b/mkimage @@ -289,7 +289,7 @@ if use_qemu_static ; then fi # Clean up device nodes that make no sense in the image -rm "$rootfsDir/dev/*" -rf +rm "$rootfsDir"/dev/* -rf tar cf "$TARGET" -C "$rootfsDir" . rm -r "$rootfsDir" rm -r "$DEBOOTSTRAP_DIR"