Commit 4e7e0fe0 authored by Elijah Grubb's avatar Elijah Grubb

Updating alpine container to include tcsh

I was able to get the alpine package maintainers
to merge in a patch for tcsh that fixed the out
of memory issues when attempting to use it as seen
here: https://github.com/alpinelinux/aports/pull/3302.
This commit has been lightly hand tested and basic
tcsh features appear to work. There are some failures
on alpine with the tcsh regression test suite which
can be seen here: http://tpaste.us/L6R4.

Associated symlinks that replaced tcsh with bash have
been removed as a result of this update.

Squashed commit of the following:

commit dc2fc6ddbb1b1815907fabbf40764884a2805761
Author: Elijah Grubb <u0894728@utah.edu>
Date:   Tue Feb 27 15:08:14 2018 -0700

    Removed unnecessary symlink

commit 0d974c183f6e27a8c069221f3a898b1edf490d8f
Author: Elijah Grubb <u0894728@utah.edu>
Date:   Tue Feb 27 13:54:54 2018 -0700

    Readding hopefully fixed tcsh
parent bb58c9d5
......@@ -2,11 +2,17 @@
set -x
# add testing branch to repo for tcsh package
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk update
# missing iputils-ping package from ubuntu process
apk add openssh-server rsyslog logrotate iproute2 iputils net-tools sudo bash \
util-linux openssh-client
util-linux openssh-client tcsh@testing
# the apk tcsh doesnt include a csh symlink so we'll add one
ln -s /bin/tcsh /bin/csh
## Permissions on these should be the same as the host, so preserve them.
#cp -p /tmp/src/ssh-host-keys/ssh_host* /etc/ssh/
......
......@@ -16,13 +16,10 @@ DIRNAME=`pwd`
apk update
apk add git ca-certificates bash perl \
apk add git ca-certificates perl \
gcc make libc-dev byacc libtool openssl-dev 'g++' \
sudo python python-dev libpcap-dev boost-dev wget patch flex
ln -s /bin/bash /bin/tcsh
ln -s /bin/tcsh /bin/csh
if [ -z "$EMULABTMPSRC" ]; then
echo "WARNING: missing EMULABSRC environment variable pointer to src; cloning!"
export EMULABSRC=/tmp/emulab-devel
......
......@@ -2,20 +2,13 @@
set -x
# add testing branch to repo for tcsh package
# echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk update
# missing perl-modules package from ubuntu version
apk add ca-certificates sudo python wget patch nano file \
perl perl-libwww psmisc bash zsh mksh shadow \
perl perl-libwww psmisc zsh mksh shadow \
'g++' gcc openssl-dev boost rsync
# the apk tcsh doesnt include a csh symlink so we'll add one
ln -s /bin/bash /bin/tcsh
ln -s /bin/tcsh /bin/csh
#
# Create these traditional NFS mountpoints now. Scripts get unhappy
# about them if they're not there.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment