From 66a2c7a76fc864462a64bf204594f6f46f32b354 Mon Sep 17 00:00:00 2001 From: Tiago Date: Mon, 18 Aug 2014 11:20:45 -0300 Subject: [dnbd3-cache] partition script changed --- configure | 1 + .../rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 configure diff --git a/configure b/configure new file mode 100644 index 00000000..08f4ec96 --- /dev/null +++ b/configure @@ -0,0 +1 @@ +export http_proxy=http://200.17.202.46:8123 diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions index 26d1c753..54df5d41 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions @@ -14,7 +14,7 @@ ############################################################################# -# Mount point for persistent scratch partition (type 43 for BOOT, type42 for CACHE, type 41 for HOME) +# Mount point for persistent scratch partition (type 49 for BOOT, type48 for CACHE, type 47 for HOME) PERSISTENT_BOOT="/boot" PERSISTENT_CACHE="/cache" PERSISTENT_HOME="/home" @@ -125,7 +125,7 @@ done HAVE_PERSISTENT_BOOT=no HAVE_PERSISTENT_CACHE=no HAVE_PERSISTENT_HOME=no -for partid in 83 49 48 47 46 44 ; do +for partid in 83 49 48 47 46; do for hdpartnr in $(sed -n -e "/ ${partid} /p" "/etc/disk.partition" | sed -e "s/[[:space:]].*//"); do if [ "${partid}" -eq 83 ]; then mkdir -p "/media/${hdpartnr#/dev/*}" -- cgit v1.2.3-55-g7522