carcassonne has asked for the wisdom of the Perl Monks concerning the following question:
use warnings; use strict; use File::Copy; use File::Path;
This is a bootable Linux USB key that is used to perform upgrades.
So, now my approach is to use a freshly-made LFS (Linux From Scratch) system from which I extract the configured kernel and the needed system binaries and libs (bare minimum since on each I run ldd and only include what's really needed on the USB key).
So the OS/boot part is covered. I could simply copy the whole Perl installation that's part of LFS to the USB key, but it'd be nice to save some space.
So what's really, really needed to run Perl ? I can ldd the perl executable, so that's OK. But what about all the other files ? Config.pm seems important. Architecture will the same i686 (but then, would it be possible to boot on a i586 platform and Perl could still find all its required files ?).
I surely need the warnings, strict, File::Copy and File::Path modules. What else ?
Any suggestions/ideas welcomed, Al
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Minimal Perl
by tsee (Curate) on Oct 28, 2006 at 15:21 UTC | |
Re: Minimal Perl
by Joost (Canon) on Oct 28, 2006 at 15:01 UTC | |
Re: Minimal Perl
by wazoox (Prior) on Oct 28, 2006 at 15:03 UTC | |
by carcassonne (Pilgrim) on Oct 28, 2006 at 17:27 UTC | |
by wazoox (Prior) on Oct 28, 2006 at 21:23 UTC | |
Re: Minimal Perl
by xdg (Monsignor) on Oct 29, 2006 at 12:30 UTC | |
Re: Minimal Perl
by ambrus (Abbot) on Oct 29, 2006 at 09:59 UTC | |
Re: Minimal Perl
by tsee (Curate) on Oct 31, 2006 at 19:00 UTC |