On Monday 10. July 2017 16.07.11 James Cowgill wrote:
>
[3.0.8 and 3.18 kernels]
> Sidenote: Debian Stretch for MIPS absolutely requires a >= 3.2 kernel.
> glibc will refuse to run anything if you have a kernel older than this.
Yes, the 3.18 kernel works just fine. I was only interested in using the 3.0.8
kernel with Wheezy, but it became apparent that rebuilding that kernel was
more trouble than it was worth.
[Non-functioning networking within the chroot (inside another chroot)]
> This is usually caused by having no dns configuration in the chroot. Try
> copying /etc/resolv.conf from the host. Also, the --include option to
> debootstrap can be used to preinstall extra packages.
I think the mkdebianrfs.sh script copies /etc/resolv.conf into the chroot, but
using that or the suggested Google DNS configuration didn't help.
On the topic of installing extra packages, I found that specifying --include
did get the indicated packages downloaded but not necessarily installed. Maybe
I needed to figure out all the dependencies myself, though. I then tried to
use...
apt-get --no-download install xorg
...given the presence of xorg in the --include list and the .deb file in
/var/cache/apt/archives, but apt-get decided that it couldn't install xorg for
some reason. (Using dpkg would obviously involve all the usual chasing down of
dependencies.) I guess it just isn't possible to have apt-get operate using
only cached package files, or maybe I did something wrong that I'm not aware
of.
I imagine that it is in this area that multistrap comes into its own, being
able to work out which packages it needs to install. I'm performing the
second-stage work on the CI20 using what might be described as a "preinit"
hook, and this works in general. The qemu approach is interesting, though.
[...]
> Installing the "task-xfce-desktop" package should be enough to get a
> working desktop. The "task-XXX-desktop" packages correspond to the
> options you can select in the standard Debian installer images.
OK, I'll look into that.
[...]
> There are the usual configuration steps when installing any Linux distro
> manually:
>
> - Package repositories
> - Timezone
> - Locales / keyboard config
> - Users / passwords
> - Network
> - Fstab
So, my helper scripts do set up most of these things, although I imagine that
I could do things like setting the time and handling locales a bit better. I
did look at debian-installer-related things, but it doesn't seem very clear to
me what I would actually need to look at.
> For the CI20 there's some extra firmware to install and you need to
> setup SGX if you want graphic acceleration (although I expect SGX will
> not work with Debian Stretch's version of Xorg).
Fortunately, I'm not interested in the PowerVR stuff. I guess the only other
significant firmware to install is the WLAN blob, but that's not a priority
for me, either. It's great that the device has an Ethernet port, in my
opinion.
> > Is anyone actually using Debian 9 on the CI20?
>
> I am, but not as a desktop (headless only).
That's useful to know. Thanks for all the advice!
Paul