dCore Import Debian Packages to Mountable SCE extensions > dCore X86

few service questions

<< < (9/10) > >>

dicorer:
are you interested in my reports? yes or not?

Jason W:
Yes, I just fixed the last one which was a misnamed file.

dicorer:
Hi,
allright then.

Coming back, please see that, even if it looks a trivial matter, I could not be.
Afaik, as for dCore init logic, lsmod is already in /bb.
Duplicating it in /bin, could (randomly) be messed up by busybox cp (as I warned before).
Thats because standard sce-import always imports kmod pkg.
So it could end up with a random setup, where lsmod could be resolved either as /bb, as kmod, as busybox sym or broken link.
Of course, it depends on the application which calls it, on PATH, and so on.
Asof, btw, kmod is one of the many pkgs I exclude from import, with my mod.
ok?

Jason W:
I believe /bin/lsmod was in base as some apps expect it there, like /bin/bash for bash.  But /bin/lsmod already existing as a symlink will prevent the one from kmod being installed there.

Here is where the startup scripts come into play.  I will make kmod remove that busybox symlink, and replace it with the /bin/lsmod from kmod.  That way busybox lsmod until kmod is installed. 

Kmod is not always imported as a dep for me.  The dependency list for the file package:


file
gcc-4.9-base
libc6
libgcc1
libmagic1
zlib1g
/tmp/.pkglist (END)

dicorer:
Hi,

--- Quote from: Jason W on April 30, 2015, 04:48:57 PM ---Here is where the startup scripts come into play.  I will make kmod remove that busybox symlink, and replace it with the /bin/lsmod from kmod.  That way busybox lsmod until kmod is installed.

--- End quote ---
I was talking in general, lsmod was just the one example passing by...
Anyway, if I'm understanding well, you are going to "invert" the SCEs import functional logic... isn't it a bit dangerous? ;)
Afaik, now it works such as, links and files already in place are NOT substituted with new ones coming from subsequent SCEs - first which comes takes the place (excluding random cp glitches)
What you want to do is inverting that behavior - the last coming always kicks out the others, isn't it?
Well, I modded for a slightly more conservative strategy, you interested?


--- Quote from: Jason W on April 30, 2015, 04:48:57 PM ---Kmod is not always imported as a dep for me.  The dependency list for the file package:

--- End quote ---
when I say always, I meant kmod and any other pkgs are always dragged in, if ubuntu dependency index says so.
Only "advanced" users can mod that out.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version