Commit 5b406adb by Willem Meier Committed by Daniel Lezcano

fixes to the ubuntu template

- Make /var/run not a tmpfs - Generate and update locales - Be less verbose - Remove apt-utils package Signed-off-by: 's avatarWillem Meier <wilhelm.meier@fh-kl.de> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent c147356a
...@@ -59,9 +59,9 @@ description "Container Upstart" ...@@ -59,9 +59,9 @@ description "Container Upstart"
start on startup start on startup
script script
rm -rf /var/run/* rm -rf /var/run/*
/sbin/initctl emit stopped JOB=udevtrigger /sbin/initctl emit stopped JOB=udevtrigger
/sbin/initctl emit started JOB=udev /sbin/initctl emit started JOB=udev
end script end script
EOF EOF
...@@ -257,7 +257,7 @@ EOF ...@@ -257,7 +257,7 @@ EOF
options=$(getopt -o hp:n:c -l help,path:,name:,clean -- "$@") options=$(getopt -o hp:n:c -l help,path:,name:,clean -- "$@")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
usage $(basename $0) usage $(basename $0)
exit 1 exit 1
fi fi
eval set -- "$options" eval set -- "$options"
...@@ -265,12 +265,12 @@ eval set -- "$options" ...@@ -265,12 +265,12 @@ eval set -- "$options"
while true while true
do do
case "$1" in case "$1" in
-h|--help) usage $0 && exit 0;; -h|--help) usage $0 && exit 0;;
-p|--path) path=$2; shift 2;; -p|--path) path=$2; shift 2;;
-n|--name) name=$2; shift 2;; -n|--name) name=$2; shift 2;;
-c|--clean) clean=$2; shift 2;; -c|--clean) clean=$2; shift 2;;
--) shift 1; break ;; --) shift 1; break ;;
*) break ;; *) break ;;
esac esac
done done
......
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