[Voyage-linux] Installing Files

Paul Pichota (spam-protected)
Mon Apr 2 22:46:04 HKT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Donald Day wrote:
> Hi Paul,
> 
> I've been struggling with your same problem.
> 
> I will go out not and get a 512 or 1 Gig CF card.
> 
> Great idea!
> 
> Do you have any logs of what apt-get commands you
> needed to create enough of a development environment?
> 
> Thanks in advance,
> 
> Don


Hi Don,

this is a list of steps I performed - not necessarily complete.

- - setup name resolution from the chroot
    rm $VOYAGE/etc/resolv.conf
    cp /etc/resolv.conf $VOYAGE/etc/resolv.conf
- - eventually edit $VOYAGE/etc/apt/sources.list and choose another mirror
  because Hongkong is far away from Germany
- - Perform chroot
    chroot $VOYAGE /bin/bash
- - Install packages. You must have gcc-3.3 to load your kernel modules
    apt-get install gcc-3.3 kernel-package ncurses-dev fakeroot \
                    wget bzip2 sharutils
- - Set symlinks to gcc-3.3
    ln -s /usr/bin/gcc-3.3 /usr/bin/gcc
    ln -s /usr/bin/gcc-3.3 /usr/bin/cc

Eventually:
- - replace symlinks by real directories, as /root or /tmp. Especially
  without /tmp you cannot use vi.
- - Get the kernel sources (check the wiki and see my other post)

Whatever you build can get confused with the kernel version. The chroot
environment sees you running host kernel, so you might have to perform
changes to the make and config files. To build madwifi from source for
example, you have to change KERNELPATH in Makefile.inc and provide the
correct kernel version to the depmod command in Makefile.

Regards,
Paul Pichota
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGERcqmH6TS/e/KAIRAgMPAKCxcFpjwMW55zcP3a08qnX2xzpIYQCfY1ug
oqwuy4P7L5vNX7RqbAS2NEs=
=nYSb
-----END PGP SIGNATURE-----




More information about the Voyage-linux mailing list