forked from Mirror/pmbootstrap
install: verify pmaports branch supporting fs (MR 2011)
Do not attempt to install with a filesystem that is not supported by the initramfs code in the checked out pmaports branch. Previously we would have increased the pmaports.cfg version and require that new version by pmbootstrap, however this will break compatibility with release branches where we won't roll out this feature (v20.05). Therefore don't change the version, but add a new "supported_root_filesystems" key to pmaports.cfg, which defaults to "ext4". Related: https://postmarketos.org/pmaports.cfg
This commit is contained in:
parent
807d7019f8
commit
8df7514b8e
3 changed files with 21 additions and 2 deletions
|
@ -308,6 +308,9 @@ def install(args):
|
|||
" packages found. Consider 'pmbootstrap zap -p'"
|
||||
" to delete them.")
|
||||
|
||||
# Verify that the root filesystem is supported by current pmaports branch
|
||||
pmb.install.get_root_filesystem(args)
|
||||
|
||||
pmb.install.install(args)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue