dCore Import Debian Packages to Mountable SCE extensions > dCore X86

sce-import can't customize sce

<< < (3/4) > >>

Jason W:
Hi dicorer

Running as root is not supported in Core or dCore, and the utilities are meant to run as user by design.

/usr/share/doc
/usr/share/man
/usr/share/menu
/usr/share/lintian

are now removed by default.  /usr/share/bug and /usr/share/info could be removed too.  Of course, the -k "keepdoc" option allows keeping them which is available.

dicorer:
in all other distros I played before, direct login as root is also not supported, simply for security reasons - I don't need security.
My question was, what are the technical issues if I remove checknotroot from sce-import+related scripts?

yes, I see it now, the -k option.
It is not reported in the internal help (line 18) nor in the online instructions (http://distro.ibiblio.org/tinycorelinux/dCore/x86/README/)
Anyway, I identified more directories, which I removed, safely for me.

Also I patched sce-import for no-dependencies and no-frills - now it all works perfectly! :)

debGetDeps line ~33, insert:

--- Code: ---[ -f /root/.myscemod ] && return
--- End code ---
deb2sce line ~429, insert:

--- Code: ---if [ -f /root/.myscemod ]; then
rm -r "$TARGET"/usr/share/info
rm -r "$TARGET"/usr/share/bug
rm -r "$TARGET"/usr/share/locale
rm -r "$TARGET"/usr/share/doc-base
rm -r "$TARGET"/usr/share/info
rm -r "$TARGET"/usr/share/perl5
rm -r "$TARGET"/usr/share/perl
rm -r "$TARGET"/usr/share/zoneinfo
fi
--- End code ---

I have to confess, I like dCore project more than TinyCore, all my efforts were worth and fruitful.
I might have a bunch of improvements to suggest, to give a definite "spirit" to dCore....
First of all, I would suggest an update of the help/instructions, that will save some efforts to the next dev :)

curaga:
Well, if you always run as root, wrong permissions/owner won't be an issue, so you should be able to remove the check. No warranty.

Jason W:
dicorer,
Your needs sound pretty specific and I am glad you have got things to work for you.  I am happy to help find solutions, but these changes are probably best left as an individual modification.

And there is documentation I need to catch up on.  Documentation usually lags behind development. 


dicorer:
sorry I didn't understand that, please what would be those "pretty specific" needs?
sure I'm going to make few mods, I need a lightweight distro, and dCore now seems getting handy :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version