Split off creating tmpfs directories
This commit is contained in:
17
mkdir-tmpfs.sh
Normal file
17
mkdir-tmpfs.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
mkdir \
|
||||
-p \
|
||||
/mnt/run
|
||||
|
||||
mount \
|
||||
-t \
|
||||
tmpfs \
|
||||
tmpfs \
|
||||
/mnt/run
|
||||
|
||||
mkdir \
|
||||
-p \
|
||||
/mnt/run/lock
|
||||
14
pre-inst.sh
14
pre-inst.sh
@@ -107,19 +107,7 @@ sleep 5
|
||||
|
||||
"${baseDir}/zfs.sh"
|
||||
|
||||
mkdir \
|
||||
-p \
|
||||
/mnt/run
|
||||
|
||||
mount \
|
||||
-t \
|
||||
tmpfs \
|
||||
tmpfs \
|
||||
/mnt/run
|
||||
|
||||
mkdir \
|
||||
-p \
|
||||
/mnt/run/lock
|
||||
"${baseDir}/mkdir-tmpfs.sh"
|
||||
|
||||
if [[ "${ID}" == 'elementary' ]]; then
|
||||
"${baseDir}/elementary.sh" --mmdebstrap
|
||||
|
||||
Reference in New Issue
Block a user