On Mon, 6 Aug 2007, j.chitte wrote:
> --- In "j.chitte" <> wrote:
>
> >
> > Many thanks Andrew, that sounds like what I needed to know.
> >
> > You've probably saved me quite a bit time and reading.
> >
> > cheers.
> >
>
> Yes this looks like what I need. If only it followed doc I'd be
> flying:
>
> I boot via nfs to the "full" debain arm fs image provided by TS.
>
> I mount the onboard fs:
> mount -t yaffs2 /dev/mtdblock/1 /mnt/mtd
>
> now in principal I should be able to install a pkg to target system
> with:
> dpkg -i --root=/mnt/mtd perl
from the man page for dpkg...
--root=dir | --admindir=dir | --instdir=dir
Change default directories. admindir defaults to
/var/lib/dpkg and contains many files that give
information about status of installed or unin
stalled packages, etc. instdir defaults to / and
refers to the directory where packages are to be
installed. instdir is also the directory passed to
chroot(2) before running package's installation
scripts, which means that the scripts see instdir
as a root directory. Changing root changes instdir
to dir and admindir to dir/var/lib/dpkg.
As there are no package descriptor files under /mnt/mtd, then of course it
will give an error!Repeat after me: There is no package management in the
TSLinux image :-)
>
> some more work is needed since dpkg is not configured there. If I try
> it on debian directly, it fails with a unspecified error. If I rerun
> even with "insanelyverbose" debugging I dont get a jot more info
> about the problem.
>
> :root# dpkg --debug=2000 -i perl
> dpkg: error processing perl (--install):
> cannot access archive: No such file or directory
> Errors were encountered while processing:
> perl
>
> hmm, more like --debug=insanelyterse
>
> looks like I need to manually rebuild dpkg with debugging turned ON.
>
> seems odd this is not the default on an fs image proposed for
> development use.
>
> :?
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|