I don't quite understand how useful it would be. Indeed, they are mandatory, for sure. So you will always have to extract them at boot from your boot device. So you will never save space nor boot time. What do you think?

Smallest version ever
(35 posts) (6 voices)-
Posted 9 years ago #
-
Keeping only needed files for machine to boot is my goal... it not taking much time to extract them btw.If you know which one can be remove let me know yea.
Posted 9 years ago # -
As I said, you need all of them for a working machine. So why strip them off rootfs if only to have to extract them every time?
Have a look at the receipt of these packages ( http://pkgs.slitaz.org ), you'll find they cannot be removed (strangely enough there is no rule to prevent this for slitaz-boot-scripts, but this package holds /etc/init.d/rcS which is the main boot script!).
BTW, you don't have tazpkg listed. How do you install packages during boot? Did you copy the "install" code from tazpkg to a custom boot script?
P.-S.: if you like, you may be able to remove /parts/ of these packages, e.g. docs and localization files from slitaz-base-files. Be aware that deleted files will come back if you upgrade the package, though.
Posted 9 years ago # -
I know all those packages are must include but is it all of the files really needed for boot time? example i remove boot-script then slitaz cannot boot coz unknown partition.
I copy tazpkg to base first then install others packages easy :)
I use slitaz as live so no need to worry about update files etc.Posted 9 years ago # -
Let's see the file lists on pkgs.slitaz.org...
- busybox: everything in bin/ dirs is links to busybox, so they take almost no space (this is counted in bytes, literally). You could remove /usr/share/applications/*, /var/www/httpd/404.html. In /etc/init.d, you have to choose on your own, I can't know which services you need (do not remove httpd, tazpanel relies on it; or you don't want tazpanel either?)
- glibc-base: maybe you can remove /usr/share/i18n/locales. As for libraries (the .so files), this is too much work for me to do it for you, but here's a procedure: for each executable file in your system, run
ldd
on it. E.g.:ldd /bin/busybox
. This will list needed libs, which you cannot remove. Note that in the file list there are "doubles" like /lib/libdl-2.14.1.so and /lib/libdl.so.2; the second one is a simple link.- slitaz-base-files: not sure about /etc contents; maybe /etc/motd (146 bytes). Maybe /usr/bin/*. httphelper? Dunno. Probably /usr/share/*. Maybe /var/www if you don't use tazpanel.
- slitaz-boot-scripts: README, desktop file, maybe /usr/share/slitaz/network.conf_migration .
Don't hesitate to do your own tests! As long as you keep a working ISO by your side...
Posted 9 years ago #
Reply
You must log in to post.