From b84d82f03fc3b664777730eea1aa72e023138f06 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Fri, 1 Jun 2012 09:50:47 +0000 Subject: [PATCH] Added setup-chroot script as it is from upstream. --- filesystem/setup-chroot | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 filesystem/setup-chroot diff --git a/filesystem/setup-chroot b/filesystem/setup-chroot new file mode 100755 index 0000000..1d453d8 --- /dev/null +++ b/filesystem/setup-chroot @@ -0,0 +1,10 @@ +#!/bin/sh + +mount --bind /dev /mnt/dev +mount --bind /tmp /mnt/tmp +mount -t proc proc /mnt/proc +mount -t sysfs none /mnt/sys +mount -t devpts devpts /mnt/dev/pts + +chroot /mnt /bin/bash + -- 2.26.2