* initscripts + fsck.busybox problem
@ 2015-03-25 13:40 Hugo Vasconcelos Saldanha
2015-03-25 14:11 ` Mark Hatle
0 siblings, 1 reply; 2+ messages in thread
From: Hugo Vasconcelos Saldanha @ 2015-03-25 13:40 UTC (permalink / raw)
To: openembedded-core
Hi all,
Everytime my image boots, the following error message is printed:
fsck (busybox 1.23.1, 2015-03-14 10:13:03 BRT)
Invalid non-numeric argument to -C ("-y")
It seems that checkroot.sh script from initscripts package is
calling the command "fsck -C -y". checkfs.sh script, apparently not
installed by default, does the same. The problem is that busybox's fsck
needs an argument to -C option, which is not needed by util-linux and
e2fsprogs' versions of the tool.
Possible approaches that I can think of:
1) Fixing the scripts, maybe removing references to -C option
altogether.
2) Placing a RDEPENDS in initscripts' recipe.
What do you think about it?
--
Hugo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: initscripts + fsck.busybox problem
2015-03-25 13:40 initscripts + fsck.busybox problem Hugo Vasconcelos Saldanha
@ 2015-03-25 14:11 ` Mark Hatle
0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2015-03-25 14:11 UTC (permalink / raw)
To: openembedded-core
On 3/25/15 8:40 AM, Hugo Vasconcelos Saldanha wrote:
> Hi all,
>
> Everytime my image boots, the following error message is printed:
>
> fsck (busybox 1.23.1, 2015-03-14 10:13:03 BRT)
>
> Invalid non-numeric argument to -C ("-y")
>
> It seems that checkroot.sh script from initscripts package is
> calling the command "fsck -C -y". checkfs.sh script, apparently not
> installed by default, does the same. The problem is that busybox's fsck
> needs an argument to -C option, which is not needed by util-linux and
> e2fsprogs' versions of the tool.
>
> Possible approaches that I can think of:
>
> 1) Fixing the scripts, maybe removing references to -C option
> altogether.
>
> 2) Placing a RDEPENDS in initscripts' recipe.
>
> What do you think about it?
>
From the util-linux man page on the -C option:
GUI front-ends may specify a
file descriptor fd, in which case the progress bar information
will be sent to that file descriptor.
So the fd option is supposed to be optional. I'd recommend in this case the bug
is with busybox, and someone submit a patch to make the fd optional in busybox.
(default going to stdout)
--Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 13:40 initscripts + fsck.busybox problem Hugo Vasconcelos Saldanha
2015-03-25 14:11 ` Mark Hatle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox