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

* Re: [Buildroot] image generation failure (rm .. error)
  2022-05-14  7:57 [Buildroot] image generation failure (rm .. error) friedtj
@ 2022-05-14  8:06 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-05-14  8:06 UTC (permalink / raw)
  To: friedtj; +Cc: buildroot

Jean-Michel, All,

On 2022-05-14 09:57 +0200, friedtj@free.fr spake thusly:
> FYI, fresh download of buildroot-2022.02-rc3.tar.gz fails to complete the image generation on Debian/sid with

2022.02-rc3 is an old release candidate (rc); it is not meant to be used
except for testing purposes. 2022.02 has been released since then, and
it includes commit 38c4f6b807e9 (fs/common.mk: use find instead of shell
glob patterns) which fixes exactly that problem.

Please update.

Regards,
Yann E. MORIN.

> 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

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
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.