Merge remote-tracking branch 'origin/pr/248'

* origin/pr/248:
  bind-dirs: run in DisposableVM, too
This commit is contained in:
Marek Marczykowski-Górecki 2020-09-17 04:17:44 +02:00
commit 214da30e82
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 2 additions and 4 deletions

View File

@ -30,8 +30,8 @@ shopt -s nullglob dotglob
source /usr/lib/qubes/init/functions
prerequisite() {
if ! is_rwonly_persistent ; then
echo "No TemplateBasedVM detected. Exiting."
if is_fully_persistent ; then
echo "No TemplateBasedVM/DisposableVM detected. Exiting."
exit 0
fi
}

View File

@ -15,6 +15,4 @@ echo "Mounting /rw/home onto /home" >&2
mount /home
echo "Mounting /rw/usrlocal onto /usr/local" >&2
mount /usr/local
# 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