diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-12-12 18:07:49 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-12-12 18:07:49 +0100 |
commit | 08153440c2c2867838f31012573450bdaa4b9fd9 (patch) | |
tree | 999a18e4b59f82f3fbfb9a3cb9e9b2727a392b4e /examples | |
parent | 7148344a5a3b7a6d3063ec7d6b82bccfdd2ca5f1 (diff) | |
download | biruda-08153440c2c2867838f31012573450bdaa4b9fd9.tar.gz biruda-08153440c2c2867838f31012573450bdaa4b9fd9.tar.bz2 |
git need /dev/tty in rhel6 image
Diffstat (limited to 'examples')
-rw-r--r-- | examples/build_gold_image/build.sh | 3 |
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 |