Based initially on the same-named pair of scripts from https://communities.intel.com/message/254727#254727
Scripts were attached to that post by user hkratz
Adapted to install debian unstable into a chroot in similar fashion
Intel Edison(R) is a registered trademark of Intel Corporation.
- Update Edison Firmware Image from the latest image publication point, probably https://software.intel.com/en-us/iot/hardware/edison/downloads following prescribed installation/update process.
- Configure Edison networking to enable access to debian package repo
- Copy the scripts herein to /tmp on Edison target, cd /tmp
- Examine values within bootstrap-debian-edison.sh for repository, chroot location, etc.
- Remount /home with dev option... mount /home/ -o dev,remount
- On Edison, execute bootstrap-debian-edison.sh to download and install debian chroot
- When installation is complete, remount /home with nodev mount /home/ -o nodev,remount
- Execute setup-chroot-mounts.sh to setup mounts inside chroot
- Switch to chroot with chroot /home/root/debian /bin/bash (default location, bash shell)
Just the shell (steps 5-9):
mount /home/ -o dev,remount
./bootstrap-debian-edison.sh
mount /home/ -o nodev,remount
./setup-chroot-mounts.sh
chroot /home/root/debian /bin/bash
Once inside the chroot it is possible to update and install new packages using apt-get.
For example:
apt-get update
apt-get install python-pip