[maemo-developers] Problem after scratchbox installation

From: Mathias Uebelacker m.uebelacker at googlemail.com
Date: Mon Oct 22 22:09:44 EEST 2007
Hello Tilman,

thanks for your advise but i got the same error again.

br
Mathias

Am Montag, den 22.10.2007, 20:56 +0200 schrieb Tilman Vogel:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mathias Uebelacker schrieb:
> > i edited my sources.list and get an Could not resolve
> > 'repository.maemo.org <http://repository.maemo.org>' error. Any hints?
> 
> Probably your out-of-scratchbox /etc/resolv.conf changed. Copy it to
> /scratchbox/etc/. Or update your /scratchbox/sbin/sbox_ctl such that the
> start_sbox function is:
> 
> start_sbox()
> {
>         echo -n "Starting Scratchbox: "
>         $SBOX_DIR/sbin/register_misc_runner && echo -n "binfmt_misc, "
>         $SBOX_DIR/sbin/sbox_mount_all       && echo -n "mount."
>         cp /etc/resolv.conf $SBOX_DIR/etc/  && echo -n " resolv.conf."
>         echo
> }
> 
> While you're at it: some programs get confused and use /etc/resolv.conf
> inside scratchbox which is again different from
> /scratchbox/etc/resolv.conf. So I recently had to do
> 
> rm /etc/resolv.conf
> ln -s /scratchbox/etc/resolv.conf /etc/resolv.conf
> 
> _inside_ scratchbox (you actually had to do this for every target).
> 
> Regards,
> 
> Tilman
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFHHPJh9ZPu6Yae8lkRAqeoAJ4tjsqhxlkzJ04NYM2QDjrTbfzcrQCgqBeS
> U1fJ5k4P4LuxsloNi/72Msk=
> =d7uN
> -----END PGP SIGNATURE-----
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list