From 1aa738691e261b3dfaf5195ec7636617a283d47a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 25 Jan 2022 16:09:34 +0100 Subject: Fixing the 'device_instance' being None in some partition places (#902) * Added a new return value from add_partition. Also added an exception to make sure `add_partition` can't continue silently * Added a log of debugging to add_partition * Removed a blank line (flake8) * Misconfigured variable * Added some more debugging information to partprobe * FIX: disk layout: partprobe should be called and checked only for target device (#896) * disk layout: partprobe should be called and checked only for target device * disk layout: partprobe: removed unnecessary bash subprocess * Properly defined BlockDevice() on Partition() creation. Also made sure mount-checks got some rrro handling and non-block devices should no longer attempt to return a size Co-authored-by: Anton Hvornum Co-authored-by: Victor Gavro --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index d2f817c4..ef051974 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ venv .idea/** **/install.log .DS_Store +**/cmd_history.txt -- cgit v1.2.3-70-g09d2