diff options
author | Tiago | 2014-08-18 16:20:45 +0200 |
---|---|---|
committer | Michael Pereira Neves | 2014-10-28 14:19:55 +0100 |
commit | 66a2c7a76fc864462a64bf204594f6f46f32b354 (patch) | |
tree | cb7b797b13d991aaed5a254798628a726c71194b | |
parent | [dnbd3-cache] partition script changed (diff) | |
download | tm-scripts-66a2c7a76fc864462a64bf204594f6f46f32b354.tar.gz tm-scripts-66a2c7a76fc864462a64bf204594f6f46f32b354.tar.xz tm-scripts-66a2c7a76fc864462a64bf204594f6f46f32b354.zip |
[dnbd3-cache] partition script changed
-rw-r--r-- | configure | 1 | ||||
-rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 4 |
2 files changed, 3 insertions, 2 deletions
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/*}" |