Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: jls on September 27, 2015, 12:32:16 PM

Title: Crda
Post by: jls on September 27, 2015, 12:32:16 PM
Hi. During extensions loading on boot i see an error regarding crda missing.
Title: Re: Crda
Post by: Jason W on September 27, 2015, 01:21:06 PM
can you post the output of the following:

grep crda /usr/local/postinst/*
Title: Re: Crda
Post by: jls on September 27, 2015, 02:37:26 PM
The problem was that crda was simply missing, so I added it to my boot list. I actually don't know what is it
Title: Re: Crda
Post by: Jason W on September 28, 2015, 07:10:53 AM
If you give me the output of the above command I can find what needs crda as a dep and fix it.
Title: Re: Crda
Post by: jls on September 28, 2015, 09:43:38 AM
Hi,
Sorry I wasn't on my pc:
Code: [Select]
jls@box:~$ grep crda /usr/local/postinst/*
/usr/local/postinst/crda: if [ -e "/etc/udev/rules.d/z60_crda.rules" ]; then
/usr/local/postinst/crda: echo "Preserving user changes to /etc/udev/rules.d/40-crda.rules ..."
/usr/local/postinst/crda: if [ -e "/etc/udev/rules.d/40-crda.rules" ]; then
/usr/local/postinst/crda: mv -f "/etc/udev/rules.d/40-crda.rules" "/etc/udev/rules.d/40-crda.rules.dpkg-new"
/usr/local/postinst/crda: mv -f "/etc/udev/rules.d/z60_crda.rules" "/etc/udev/rules.d/40-crda.rules"
jls@box:~
Title: Re: Crda
Post by: Jason W on September 28, 2015, 01:00:54 PM
Thanks. 

On my box wireless-regdb has crda mentioned in it's startup script.  wireless-regdb is a dep of crda, crda is only a suggested package of wireless-regdb.

I put crda as a dep of wireless-regdb on our side and hopefully that solves the missing crda cases. 
Title: Re: Crda
Post by: jls on September 29, 2015, 06:47:40 AM
Hi
In the last line of
http://tinycorelinux.net/dCore/import/PKGADDDEP (http://tinycorelinux.net/dCore/import/PKGADDDEP)
it's not missing
Code: [Select]
: crda?
Title: Re: Crda
Post by: Jason W on September 29, 2015, 04:18:07 PM
Oops, fixed it.

Thanks.
Title: Re: Crda
Post by: sm8ps on September 30, 2015, 01:54:31 AM
Question from your friendly wikiarian :)
Is http://tinycorelinux.net/dCore/import/PKGADDDEP the one location for dCore-specific dependencies?
Title: Re: Crda
Post by: Jason W on September 30, 2015, 05:49:52 AM
Yeah, that is the one for adding deps to standard Debian/Ubuntu packages.

Also there is a file to add deps to prebuilt packages:
http://tinycorelinux.net/dCore/x86/import/PKGPREBUILTDEP

And one for adding deps to packages found in extra repos in case they are different than deps from the main one so they don't conflict:
http://tinycorelinux.net/dCore/import/PKGEXTRAREPODEP
Title: Re: Crda
Post by: sm8ps on October 01, 2015, 02:47:39 AM
Registered in the wiki (http://wiki.tinycorelinux.net/dcore:handling_extensions?&#intrinsic_dependencies).
Title: Re: Crda
Post by: jls on November 18, 2015, 03:28:08 AM
Hi
I don't have wireless-regdb installed but I still get the crda warning during boot.
It's something like:
udevd /sbin/crda: no such file or directory
Title: Re: Crda
Post by: Jason W on November 18, 2015, 06:33:54 AM
Ok, what is the contents of /tmp/.debinstalled so I can see what may be wireless related. 
Title: Re: Crda
Post by: jls on November 20, 2015, 01:52:41 AM
Hi
works now, I see your change in PKGADDDEP.
Thanks