From 22f805a3253feb136f7863b01d812ded55a7dda6 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Fri, 24 May 2024 03:50:56 +0200 Subject: [PATCH] frontend: deprecate --install-blockdev with the chroot command (MR 2252) This was used for testing the on device installer, but doesn't seem to be super useful anymore. Let's deprecate it and remove it at some point. Signed-off-by: Caleb Connolly --- pmb/helpers/frontend.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pmb/helpers/frontend.py b/pmb/helpers/frontend.py index e486e423..9002a553 100644 --- a/pmb/helpers/frontend.py +++ b/pmb/helpers/frontend.py @@ -181,6 +181,10 @@ def chroot(args: PmbArgs): # Install blockdevice if args.install_blockdev: + logging.warning("--install-blockdev is deprecated for the chroot command" + " and will be removed in a future release. If you need this" + " for some reason, please open an issue on" + " https://gitlab.com/postmarketOS/pmbootstrap.git") size_boot = 128 # 128 MiB size_root = 4096 # 4 GiB size_reserve = 2048 # 2 GiB