All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] image generation failure (rm .. error)
@ 2022-05-14  7:57 friedtj
  2022-05-14  8:06 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: friedtj @ 2022-05-14  7:57 UTC (permalink / raw)
  To: buildroot

FYI, fresh download of buildroot-2022.02-rc3.tar.gz fails to complete the image generation on Debian/sid with

Generating filesystem image rootfs.ext2
...
rm: refusing to remove '.' or '..' directory: skipping '[...]/buildroot-2022.02-rc3_CM4/output/build/buildroot-fs/ext2/target/run/..'
rm: refusing to remove '.' or '..' directory: skipping '[...]/buildroot-2022.02-rc3_CM4/output/build/buildroot-fs/ext2/target/tmp/..'

I had to comment
 echo "rm -rf $$(TARGET_DIR)/run/* $$(TARGET_DIR)/run/.[^.]* $$(TARGET_DIR)/tmp/* $$(TARGET_DIR)/tmp/.[^.]*" >> $$(FAKEROOT_SCRIPT)
in fs/common.mk to complete the functional image generation.

Jean-Michel
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-14  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-14  7:57 [Buildroot] image generation failure (rm .. error) friedtj
2022-05-14  8:06 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.