* find: unrecognized: -printf
@ 2023-10-20 5:38 Poornesh G ( India - Bangalore )
2023-10-20 6:07 ` [yocto] " Gyorgy Sarvari
0 siblings, 1 reply; 4+ messages in thread
From: Poornesh G ( India - Bangalore ) @ 2023-10-20 5:38 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]
Greetings !
I am trying to add "etckeeper" to yocto . I have written a recipe and added it in my Rootfs . But when I try to commit , I am getting the below error log:
-------------------------------------------------------------------------------------------------
root@imx6ulevk:~# etckeeper commit "First commit of my /etc directory"
find: unrecognized: -printf
BusyBox v1.31.0 (2023-10-18 07:46:50 UTC) multi-call binary.
Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]
-------------------------------------------------------------------------------------------------
I tried enabling the -printf for find in busybox but I could not able to see in busybox menuconfig . Requesting your suggestions to resolve this issue.
Thanks in advance
[-- Attachment #2: Type: text/html, Size: 890 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] find: unrecognized: -printf
2023-10-20 5:38 find: unrecognized: -printf Poornesh G ( India - Bangalore )
@ 2023-10-20 6:07 ` Gyorgy Sarvari
2023-10-20 9:51 ` Ross Burton
0 siblings, 1 reply; 4+ messages in thread
From: Gyorgy Sarvari @ 2023-10-20 6:07 UTC (permalink / raw)
To: Poornesh G ( India - Bangalore ), yocto
In case busybox's "find" utility is not sufficient for you, you could
disable "find" in busybox's config, and add the full version of find to
your image (recipe is called findutils).
On 10/20/23 07:38, Poornesh G ( India - Bangalore ) wrote:
> Greetings !
>
> I am trying to add "etckeeper" to yocto . I have written a recipe and
> added it in my Rootfs . But when I try to commit , I am getting the
> below error log:
>
> -------------------------------------------------------------------------------------------------
>
> root@imx6ulevk:~# etckeeper commit "First commit of my /etc directory"
>
> find: unrecognized: -printf
>
> BusyBox v1.31.0 (2023-10-18 07:46:50 UTC) multi-call binary.
>
> Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]
>
> -------------------------------------------------------------------------------------------------
>
> I tried enabling the -printf for find in busybox but I could not able to
> see in busybox menuconfig . Requesting your suggestions to resolve this
> issue.
>
> Thanks in advance
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#61426): https://lists.yoctoproject.org/g/yocto/message/61426
> Mute This Topic: https://lists.yoctoproject.org/mt/102076007/6084445
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] find: unrecognized: -printf
2023-10-20 6:07 ` [yocto] " Gyorgy Sarvari
@ 2023-10-20 9:51 ` Ross Burton
2023-10-20 16:09 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2023-10-20 9:51 UTC (permalink / raw)
To: Poornesh G ( India - Bangalore )
Cc: Yocto discussion list, skandigraun@gmail.com
On 20 Oct 2023, at 07:07, Gyorgy Sarvari via lists.yoctoproject.org <skandigraun=gmail.com@lists.yoctoproject.org> wrote:
>
> In case busybox's "find" utility is not sufficient for you, you could disable "find" in busybox's config, and add the full version of find to your image (recipe is called findutils).
There is no need to disable find in busybox, simply make the etckeeper recipe RDEPEND on findutils.
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] find: unrecognized: -printf
2023-10-20 9:51 ` Ross Burton
@ 2023-10-20 16:09 ` Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2023-10-20 16:09 UTC (permalink / raw)
To: Ross Burton, Poornesh G ( India - Bangalore )
Cc: Yocto discussion list, skandigraun@gmail.com
[-- Attachment #1.1.1: Type: text/plain, Size: 1121 bytes --]
On 10/20/23 2:51 AM, Ross Burton wrote:
> On 20 Oct 2023, at 07:07, Gyorgy Sarvari via lists.yoctoproject.org <skandigraun=gmail.com@lists.yoctoproject.org> wrote:
>>
>> In case busybox's "find" utility is not sufficient for you, you could disable "find" in busybox's config, and add the full version of find to your image (recipe is called findutils).
>
> There is no need to disable find in busybox, simply make the etckeeper recipe RDEPEND on findutils.
>
Alternatively, make etckeeper scripts not use the find options that
busybox does not support, that might make it portable too.
> Ross
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#61429): https://lists.yoctoproject.org/g/yocto/message/61429
> Mute This Topic: https://lists.yoctoproject.org/mt/102076007/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6692173/1997914/1837948400/xyzzy [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2613 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-20 16:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 5:38 find: unrecognized: -printf Poornesh G ( India - Bangalore )
2023-10-20 6:07 ` [yocto] " Gyorgy Sarvari
2023-10-20 9:51 ` Ross Burton
2023-10-20 16:09 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox