[Buildroot] image generation failure (rm .. error)

Yann E. MORIN yann.morin.1998 at free.fr
Sat May 14 08:06:57 UTC 2022


Jean-Michel, All,

On 2022-05-14 09:57 +0200, friedtj at 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 at 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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list