summaryrefslogtreecommitdiff
path: root/examples/build_gold_image/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/build_gold_image/build.sh')
-rw-r--r--examples/build_gold_image/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/build_gold_image/build.sh b/examples/build_gold_image/build.sh
index a2eccd7..f0e7c35 100644
--- a/examples/build_gold_image/build.sh
+++ b/examples/build_gold_image/build.sh
@@ -36,6 +36,7 @@ mknod -m 666 $CHROOT_DIR/dev/null c 1 3
mknod -m 666 $CHROOT_DIR/dev/zero c 1 5
mknod -m 666 $CHROOT_DIR/dev/random c 1 8
mknod -m 666 $CHROOT_DIR/dev/urandom c 1 9
+mknod -m 666 $CHROOT_DIR/dev/tty c 5 0
cp /etc/resolv.conf $CHROOT_DIR/etc/
@@ -59,6 +60,6 @@ wget http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
rpm -v --root=`pwd`/$CHROOT_DIR --import RPM-GPG-KEY-EPEL-6
-rm RPM-GPG-KEY-CentOS-6
+rm -f RPM-GPG-KEY-EPEL-6
yum --installroot=`pwd`/$CHROOT_DIR install -y make gcc gcc-c++ rpm-build tar ccache distcc