Commit Graph

934 Commits

Author SHA1 Message Date
Anton Hvornum c5250fbe3e Installer.mount() had accedental hard coded mountpoint. 2020-12-09 10:33:32 +01:00
Anton Hvornum 5cf09c6641 Removing debug output 2020-12-07 20:38:51 +01:00
Anton Hvornum 21cfe5708c Fixing a strip glitch in `sys_command()` causing certain output to get truncated in unwanted places (like fstab) 2020-12-07 20:36:06 +01:00
Anton Hvornum 5c8d24a329 Minor tweaks 2020-12-07 20:33:09 +01:00
Anton Hvornum ada7a0515b More debugging 2020-12-07 20:31:18 +01:00
Anton Hvornum 881d77064c Debug data 2020-12-07 20:27:45 +01:00
Anton Hvornum 5e62b409b4 Type mismatch in genfstab() 2020-12-07 20:21:47 +01:00
Anton Hvornum 0de302c47d Updated fstab to better match the given input 2020-12-07 20:18:47 +01:00
Anton Hvornum ba863c341d fstab incorrectly updated since many version ago
Updated `genfstab()` to approprately generate a correct fstab for mounted filesystems used in `installation.mountpoint`.
2020-12-07 19:56:51 +01:00
Anton Hvornum 7097fb9ce3 Debugging 2020-12-07 19:36:18 +01:00
Anton Hvornum 584219e847 Updated debug log output 2020-12-07 19:28:36 +01:00
Anton Hvornum c3336dcb70 Added some more log output regarding fstab. 2020-12-07 19:22:48 +01:00
Anton Hvornum fb429fc866 Reverted genfstab changes.
But placed genfstab in the Installation() __exit__ as the last action performed.
2020-12-07 16:45:49 +01:00
Anton Hvornum 67ce208d25 Debugging 2020-12-07 16:42:08 +01:00
Anton Hvornum 63c6e0464b Making sure installation.mount() also triggers genfstab.
Since it's a installation specific mount, we need to re-create genfstab. Also corrected genfstab flags as well as added an option to override the >> (append) operator to become a write-over operator.
2020-12-07 16:36:35 +01:00
Anton Hvornum e637852df0 Potential solution for #67
It's a 0.025 second sleep waiting for the partition to pop up in partprobe.

Also added a grace period of 10 seconds for that to occur. Otherwise we'll throw an exception since something most likely broke down. (Note here: Older drives, say 6200 RPM spin disks, might take a few seconds to come online. Have no such hardware to test with, but worth testing)
2020-12-07 15:50:47 +01:00
Anton Hvornum 1aef9807f9 Final verification of issue 2020-12-07 15:43:30 +01:00
Anton Hvornum 6af71eee30 Removed debugging 2020-12-07 15:41:32 +01:00
Anton Hvornum 1209c8f550 Tweaked debugging a bit 2020-12-07 15:40:39 +01:00
Anton Hvornum 5882fa9587 Update disk.py 2020-12-07 15:35:29 +01:00
Anton Hvornum a8bb3b4bb3 Removing one debug step to debug deeper. 2020-12-07 15:32:34 +01:00
Anton Hvornum 24dfe97386 Spelling error 2020-12-07 15:30:00 +01:00
Anton Hvornum de4471ca68 Adding some debugging for #67 2020-12-07 15:29:34 +01:00
Anton Hvornum 17883fcb9f Check if directory exists before mounting 2020-12-06 23:08:12 +01:00
Anton Hvornum c7228910a7 Swapped order of partition vs mountpoint in installation.mount() 2020-12-06 22:45:59 +01:00
Anton Hvornum f7d236c00f Fix for last commit 2020-12-06 22:40:05 +01:00
Anton Hvornum 77035dfdcd Mixup with the variable 2020-12-06 22:29:09 +01:00
Anton Hvornum 3715e3a11b
Merge pull request #72 from Torxed/drive-select
selecting disk by id/size should return a BlockDevice()
2020-12-06 22:10:46 +01:00
Anton Hvornum 0f2d61ba08 selecting disk by id/size should return a BlockDevice() 2020-12-06 22:02:41 +01:00
Anton Hvornum ace6beb209 Attempting to select drives by size and/or id 2020-12-06 20:59:32 +00:00
Anton Hvornum d588d2f1eb
Merge pull request #71 from Torxed/drive-select
Attempting to select drives by size and/or id
2020-12-06 21:29:29 +01:00
Anton Hvornum 731804c491
Updated hash in PKGBUILD 2020-12-06 17:43:16 +01:00
Anton Hvornum ad5ce9cd19
Updated hash of PKGBUILD 2020-12-06 17:42:14 +01:00
Anton Hvornum dc3ef2e269
Updated hash for PKGBUILD 2020-12-06 17:40:48 +01:00
Anton Hvornum db455276ac Version bump in docs 2020-12-06 17:28:44 +01:00
Anton Hvornum af01f1d912 Version bump: 2.0.6
Packaging for release.
2020-12-06 17:26:54 +01:00
Anton Hvornum 4d0f89e084 Variable issue in Application() from the latest change. 2020-12-06 17:16:59 +01:00
Anton Hvornum 22e1271a0b Making list_examples() results cached
This to lock in found modules, in case paths dissapear during runtime.
2020-12-06 17:12:12 +01:00
Anton Hvornum a0c9e58c82 More debugging 2020-12-06 17:09:59 +01:00
Anton Hvornum 94581b706a Debug for testing 2020-12-06 17:08:43 +01:00
Anton Hvornum 271ca853d4 Refined debug output 2020-12-06 17:03:41 +01:00
Anton Hvornum df71d22498 PATH correction for /examples/ 2020-12-06 16:53:36 +01:00
Anton Hvornum d00f0f0005 Debugging 2020-12-06 16:52:11 +01:00
Anton Hvornum 101f3bdde9 Removed /examples/ from list_profiles() by default
Adding it back in in "module mode" so that it can find guided.py correctly. This voids showing it in the user-question section.
2020-12-06 16:30:29 +01:00
Anton Hvornum eaf4528276 Reduced calls to Profile.path
Since it triggers multiple walks and HTTP requests.
2020-12-06 13:10:10 +01:00
Anton Hvornum 393758ec24 Removed debugging for walk
Application profiles now seam properly integrated by setup.py, remote profiles have not yet been tested.
2020-12-06 12:50:51 +01:00
Anton Hvornum 7764804d4c Added application profiles to the setup.py
Otherwise local lookups for application specific profiles will break/be missing.
2020-12-06 12:37:51 +01:00
Anton Hvornum 5a07b22606 Debugging 2020-12-06 12:12:10 +01:00
Anton Hvornum 1edb8f6f72 Added additional user-verification to guided.py
Also spelling error in subpath
2020-12-06 12:03:36 +01:00
Anton Hvornum b6c6e414b1 Fixed issue where absolute paths to profiles got squashed 2020-12-06 12:00:56 +01:00