Skip to content

pmb: display note when chroot is still active

Oliver Smith requested to merge feature/note-chroot-is-active into master

It is unexpected for quite a lot of people, that the chroot folders are still mounted when a pmbootstrap command has finished. With this commit, it will let the user know explicitly:

NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)

Close #1524 (closed)

How to test

  • pmbootstrap shutdown should not print this message
  • pmbootstrap chroot -- cat /etc/issue and similar should print the message

Merge request reports