Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 19 Aug 2019, 10:35
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Problems with busybox 1.23.2 depmod
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
jlst

Joined: 23 Nov 2012
Posts: 571

PostPosted: Wed 13 May 2015, 14:48    Post subject:  Problems with busybox 1.23.2 depmod
Subject description: and their possible solutions
 

Last month I compiled the latest version of many core utilities.

I was sad to find out that my last remaster didn't work as expected.

After rebooting a few times and try to figure out what's wrong, I came to the conclusion that it was depmod, but which one.

I compiled busybox with the default configuration, I wonder if I did something wrong. All other busybox functions seem to work as expected.

Everything works if I save session and run the normal depmod, restart, if it continues with that error, run normal depmod again, then restart, and then everything works as expected.

But that's not the way it should be...

So I looked at the code in /etc/rc.d/rc.sysinit

and replaced this:
Code:

  if [ "`busybox | grep 'depmod'`" != "" ];then
   busybox depmod #use busybox depmod if available.
  else
   depmod
  fi


with this:
Code:

  if which depmod ; then
   depmod
  else
   busybox depmod
  fi



I did the same in: /etc/rc.d/rc.update

And recreated the sfs file.

=========

And now the computer just booted with no errors. That's why I'm writing this.

=========

Conclusion:

It's safer to use the 'full' version of depmod... just in case...
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0383s ][ Queries: 11 (0.0181s) ][ GZIP on ]