Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: ashfame on July 08, 2020, 04:41:02 PM
-
Hi,
As I am using Raspberry Pi Zero (non-W) which has no network capabilities whatsoever. Can I remove network related extensions from piCore?
To being with, openssh & openssl packages come to mind. Are there more?
I don't care about the disk space at all, just wish to optimize the memory footprint and since I will be using copy2fs.flag, just preventing it from starting up will still cause it to reside in memory, right?
Not sure about their sizes, so don't know if I stand to gain anything by removing them completely rather than just disabling their start.
I think this will also help with the boot time since no key pair needs to be generated at boot up.
-
Hi ashfame
The copy2fs.flg file causes all extensions listed in tce/onboot.lst to be copied to RAM. Removing those entries from tce/onboot.lst
would be sufficient.
-
Hi ashfame
The copy2fs.flg file causes all extensions listed in tce/onboot.lst to be copied to RAM. Removing those entries from tce/onboot.lst
would be sufficient.
Hi Rich,
thanks! I can see 3 files in piCore11 by default:
mc.tcz
openssh.tcz
libgcrypt.tcz
I think I can easily get rid of `openssh.tcz` and `libgcrypt.tcz`. But I am unsure about `mc.tcz`
http://tinycorelinux.net/11.x/armv6/tcz/mc.tcz.info describes it as "User shell with text-mode full-screen interface". Is this the shell that I see on tty1? Or something else?
If latter (which I think it is, otherwise this won't be in tce/optional, more likely baked into kernel itself), I guess this can be removed as well.
-
I removed all 3 entries from onboot.lst and it worked fine :) Thanks Rich!
-
Additionally, I also added "nodhcp" bootcode to disable network address allotment upon boot 8)
-
Hi ashfame
mc.tcz is Midnight Commander. It is an ncurses based file manager type program that can run in a terminal or the console. No GUI
required. It uses extended ASCII characters for line drawing graphics.
-
Thanks for that explanation Rich! I googled it and now I understand what it actually is :)