locations of scripts fixed

This commit is contained in:
lars 2005-07-21 20:15:57 +00:00
parent da7ae38887
commit 20a2c95692
3 changed files with 6 additions and 6 deletions

View file

@ -52,10 +52,10 @@ TMPDIR="/tmp/`basename $0`-$$"
HD_IMAGE="/tmp/`basename $0`-testplatte.img"
# mkisofs options (the option "-U" is not clean, but it prevents long filenames from getting mapped)
MKISOFS_OPTIONS="-allow-multidot -U -D -iso-level 3 -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 1 -boot-info-table -pad -R"
CHROOTSTART="/scripts/chroot-start.sh"
CHROOTSTART="/usr/lib/cryptobox/chroot-start.sh"
CDWRITER="0,0,0"
# for development diffs and merges from a running cryptobox
REMOTE_COMMAND="ssh -l root `cat \"$TEMPLATEDIR/usr/share/cryptobox/defaults/ip\"` /scripts/devel-features.sh"
REMOTE_COMMAND="ssh -l root `cat \"$TEMPLATEDIR/usr/share/cryptobox/defaults/ip\"` /usr/lib/cryptobox/devel-features.sh"
REMOTE_COPY_DEST="root@`cat \"$TEMPLATEDIR/usr/share/cryptobox/defaults/ip\"`:/tmp/mirror/"
@ -114,7 +114,7 @@ function configure_cb()
echo "Configuring the cryptobox ..."
sed -i "s/^Version:.*/Revision: $(fetch_revision)/" "$IMAGEDIR/etc/issue"
fetch_revision >"$IMAGEDIR/etc/cryptobox/revision"
chroot "$IMAGEDIR" "/scripts/configure-cryptobox.sh"
chroot "$IMAGEDIR" "/usr/lib/cryptobox/configure-cryptobox.sh"
}
function fetch_revision()
@ -131,7 +131,7 @@ function upload2devel()
# of course, only the directories that are mapped to tmpfs can
# be updated this way
{
local DIRS="scripts var/www usr/share/cryptobox usr/lib/cryptobox"
local DIRS="var/www usr/share/cryptobox usr/lib/cryptobox"
[ -e "$TMPDIR" ] || mkdir -p "$TMPDIR"
for a in $DIRS
do mkdir -p "$TMPDIR/$a"