Hi KP Am 29.10.2014 um 19:48 schrieb kp kirchdoerfer: > Am 29.10.2014 um 18:35 schrieb Erich Titl: >>> Hi >>> ...
> >> In order to make leaf a bit more lean I vote for dropping this package >> and addding local.local to another package. > > I think you've spotted a bug in building images - I can't see a need to > rework the logic behind, at least it won't make it easier to save locally > added files provding it within another package. I don't think so local.local could easily be placed in config.lrp and adding `local` automagically to the package list is really trivial. From that very moment local.lrp would be about as important as a third leg. Else it might be possible to just drop /var/lib/lrpkg/packages altogether as it is completely redundant. Searching *.local in /var/lib/lrpkg would be more flexible and possibly safer. At the same time we could also get rid of constructs like this inside apkg package_part () { local F=${1##*/} F=${F%%.lrp} echo $F } and replace them with shell built in functions like package_part () { basename $1 .lrp } Even better, we could drop the function package_part and make apkg lean and mean (and there are more of these constructs) It will make the shell scripts a lot more legible, smaller, safer and faster. cheers Erich
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------
------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/