14 | | We use a chrooted environment |
15 | | |
16 | | === rootfs === |
17 | | |
18 | | https://uav.hds.utc.fr/src/bebop/robomap3/core-image-flair-bebop.tar.bz2 |
19 | | |
20 | | === chroot script === |
21 | | chroot script (''/data/ftp/internal_000/bebop_chroot.sh''): |
22 | | |
23 | | {{{ |
24 | | #!/bin/sh |
25 | | |
26 | | kk |
27 | | |
28 | | mount -o bind /dev /data/ftp/internal_000/rootfs/dev/ |
29 | | mount -o bind /sys /data/ftp/internal_000/rootfs/sys/ |
30 | | mount -o bind /proc /data/ftp/internal_000/rootfs/proc/ |
31 | | |
32 | | mount -t tmpfs -o mode=0755,nodev,nosuid tmpfs /data/ftp/internal_000/rootfs/run |
33 | | mount -t devpts devpts /data/ftp/internal_000/rootfs/dev/pts |
34 | | |
35 | | chroot /data/ftp/internal_000/rootfs/ /etc/init.d/dropbear start |
36 | | }}} |
| 13 | see this [wiki:setup_target/bebop2 page] to install it |