Hi Erich;

I disagree with a few of your decisions, mainly because they put a lot of 
extra work upon the dude instead get it once forever right in the upgrade 
script. I'll explain in the text...


Am Montag, 30. März 2015, 15:33:48 schrieb Erich Titl:
> Hi Folks
> 
> I adapted the 5.1.4-rc1 branch in the package repository to provide all
> necessary data to upgrade.
> 
> the main differences to the existing packages are
> 
> - modules-$ARCH.tgz tarballs are unpacked into module-$ARCH directories,

extra work...
I prefer you load the tarball, which is easier to maintain during a release 
and use re-use hwdetect on the router.

> this makes no big difference in size, as the modules are compressed
> anyway. The tarballs can be deleted.
> - each modules-$ARCH directory has a modules.list file which is just the
> result of 'find kernel'
> - the firmware tarball is unpacked in a firmware directory one level
> above the arch directories. The firmware is architecture independent, so
> it does not make much sense to store it multiple times.

True but also extra work, maybe there is a better solution which can be added 
to the upgrade script (the firmware to load is in /lib/firmware)

> - the kernel version numbers are removed from the kernel file names.
> There is no way for upgrade to guess the version number, so we need a
> generic name for the kernel files.

A lot of extra work; 
And why do you even need the version? Just remove the suffix from linux-xxx.

Similar is true for moddb-xxx.lrp, just remove the version when storing the 
file.

> - there are files called 'stable' and 'latest' in the master branch
> which just hold the information of the respective branch, e.g. stable
> holds 5.1.3, latest holds 5.1.4-rc1
> 
> Caveats
> 
> As of now only i386 files can be handled. This is because I have no way
> to find out the correct paths and information for rpi and X86-64
> As of now only upgrade --latest is supported, as the stable branch is
> 5.1.3 and there are quite a number of files missing.
> 
> To do
> 
> - add files to stable
> - add correct files to stable branches
> - testing, testing, testing
> 
> Have fun
> 

kp


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to