WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Crda  (Read 2160 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Crda
« on: September 27, 2015, 12:32:16 PM »
Hi. During extensions loading on boot i see an error regarding crda missing.
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: Crda
« Reply #1 on: September 27, 2015, 01:21:06 PM »
can you post the output of the following:

grep crda /usr/local/postinst/*

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Crda
« Reply #2 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
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: Crda
« Reply #3 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.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Crda
« Reply #4 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:~
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: Crda
« Reply #5 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. 

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Crda
« Reply #6 on: September 29, 2015, 06:47:40 AM »
Hi
In the last line of
http://tinycorelinux.net/dCore/import/PKGADDDEP
it's not missing
Code: [Select]
: crda?
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: Crda
« Reply #7 on: September 29, 2015, 04:18:07 PM »
Oops, fixed it.

Thanks.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 326
Re: Crda
« Reply #8 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?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: Crda
« Reply #9 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

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 326
Re: Crda
« Reply #10 on: October 01, 2015, 02:47:39 AM »
Registered in the wiki.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Crda
« Reply #11 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
« Last Edit: November 18, 2015, 03:36:50 AM by jls_legalize »
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: Crda
« Reply #12 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. 

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Crda
« Reply #13 on: November 20, 2015, 01:52:41 AM »
Hi
works now, I see your change in PKGADDDEP.
Thanks
dCore user