diff --git a/tools/prepchroot b/tools/prepchroot index 2655a3d..4f411f5 100755 --- a/tools/prepchroot +++ b/tools/prepchroot @@ -25,15 +25,12 @@ mknod -m 666 "$rocket/dev/null" c 1 3 2> /dev/null || true echo "Creating directories" install -dm755 "$rocket/root" -mkdir -p "$rocket/etc" "$rocket/bin" "$rocket/usr/pkg" +mkdir -p "$rocket/etc/ssl" "$rocket/bin" "$rocket/usr/pkg" echo "Moving temporary things into place" ln -sf /tools/bin/sh "$rocket/bin/sh" +ln -sf /tools/lib/ssl/certs "$rocket/etc/ssl/certs" echo "Creating users and groups" echo 'root:x:0:0:root:/root:/bin/sh' > "$rocket/etc/passwd" echo 'root:x:0:' > "$rocket/etc/group" - -echo "Configuring astronaut" -echo '# This is a config for use with busybox -cmd_download="wget -O {dst} {src}"' > "$rocket/etc/astronaut.conf"