[Arm-netbook] GK802 for $70

Paul Sokolovsky pmiscml at gmail.com
Fri May 24 17:12:39 BST 2013


Hello,

On Fri, 24 May 2013 16:41:53 +0100
"luke.leighton" <luke.leighton at gmail.com> wrote:

[]
> > There're "dedicated" package managers
> > for embedded systems. Opkg (http://code.google.com/p/opkg/) is
> > pretty good, as exemplified by multi-year OpenWRT experience
> > (especially since yours truly did some profiling and fixed some
> > glorious inefficiencies:
> > http://code.google.com/p/opkg/source/detail?r=17
> > http://code.google.com/p/opkg/source/detail?r=18)
> 
>  ahh, i love opkg.  it's a cut-down version of dpkg btw :)

Exactly. And out of top of the mind, I won't say what exact dpkg
functionality is not supported. I remember that there's not enough
distinction of Recommended vs Suggested. Triggers? They can be
implemented outside of core package manager via pre/post scripts, which
are of course supported.

> 
>  yeah i get the impression that having to write to 15mbyte files isn't
> exactly a good thing:

Yup, some trivial database was my thoughts on how to optimize opkg
further. For now, keeping those files at *1.5*mbyte helps ;-)

> 
> lkcl at zoo:~$ ls -altr !$
> ls -altr /var/lib/dpkg/
> total 6032
> drwxr-xr-x 1 root root       0 Nov 10  2011 parts
> -rw-r--r-- 1 root root       8 Nov 28 10:07 cmethopt
> -rw-r--r-- 1 root root     219 Dec 13 13:16 statoverride-old
> -rw-r--r-- 1 root root     258 Dec 18 14:16 statoverride
> -rw-r--r-- 1 root root      11 Dec 21 11:49 arch
> -rw-r--r-- 1 root root    1331 Jan 31 12:24 diversions-old
> -rw-r--r-- 1 root root    1400 Jan 31 12:24 diversions
> drwxr-xr-x 1 root root    2144 May 20 11:33 alternatives
> drwxr-xr-x 1 root root     662 May 23 12:39 triggers
> drwxr-xr-x 1 root root     876 May 23 14:47 ..
> -rw-r--r-- 1 root root 1502173 May 23 14:47 available-old
> drwxr-xr-x 1 root root  285056 May 24 16:32 info
> -rw-r--r-- 1 root root 1502783 May 24 16:32 available
> -rw-r--r-- 1 root root 1572415 May 24 16:32 status-old
> -rw-r----- 1 root root       0 May 24 16:32 lock
> -rw-r--r-- 1 root root 1572416 May 24 16:32 status
> drwxr-xr-x 1 root root     284 May 24 16:32 .
> drwxr-xr-x 1 root root       0 May 24 16:32 updates
> 
> there must be a better way of doing that.



-- 
Best regards,
 Paul                          mailto:pmiscml at gmail.com



More information about the arm-netbook mailing list