2015-03-04 01:52:18 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-10-22 17:43:16 +02:00
|
|
|
# Source Qubes library.
|
2017-09-30 04:56:02 +02:00
|
|
|
# shellcheck source=init/functions
|
2016-10-22 17:43:16 +02:00
|
|
|
. /usr/lib/qubes/init/functions
|
2015-03-19 23:40:25 +01:00
|
|
|
|
2016-10-22 17:43:16 +02:00
|
|
|
set -e
|
2015-03-04 01:52:18 +01:00
|
|
|
|
2016-10-22 17:43:16 +02:00
|
|
|
/usr/lib/qubes/init/setup-rwdev.sh
|
|
|
|
if [ -e /dev/xvdb ] ; then mount /rw ; fi
|
|
|
|
/usr/lib/qubes/init/setup-rw.sh
|
2015-03-04 01:52:18 +01:00
|
|
|
|
2017-05-29 11:56:42 +02:00
|
|
|
initialize_home "/rw/home" ifneeded
|
|
|
|
echo "Mounting /rw/home onto /home" >&2
|
|
|
|
mount /home
|
2018-07-11 10:27:58 +02:00
|
|
|
echo "Mounting /rw/usrlocal onto /usr/local" >&2
|
|
|
|
mount /usr/local
|
2017-05-29 11:56:42 +02:00
|
|
|
# https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029
|
|
|
|
# Do none of the following in a DispVM.
|
|
|
|
/usr/lib/qubes/init/bind-dirs.sh
|