949efa4de6
Added hide items sections
2019-04-16 00:16:05 -07:00
a9461311bc
Unmount UFD before installing Syslinux
2019-04-16 00:15:33 -07:00
4215a2fd78
Added find_first_partition()
2019-04-16 00:14:46 -07:00
9652aa4623
Added install Syslinux section
2019-04-15 23:57:46 -07:00
091c31d33a
Bugfix
2019-04-15 23:52:06 -07:00
89ac824d82
Expanded boot entries sections
...
* Update Arch labels from ISO_LABEL to UFD_LABEL
* Added Linux (Minimal) to syslinux
* Added Linux (Minimal) and Linux (dGPU) entries to rEFInd
* Removed Linux (i3) entries
* I guess this is a hidden feature now...
2019-04-15 23:44:42 -07:00
4115f3cfe1
Removed unused args
2019-04-15 23:16:57 -07:00
c66b2facbf
Skip confirm_selections if --force is used
2019-04-15 23:12:27 -07:00
c16e97e49a
Added boot entry sections
2019-04-15 23:07:33 -07:00
95f4877862
Reordered functions
2019-04-15 23:04:37 -07:00
fc9de61269
Added copy_source()
2019-04-15 22:40:20 -07:00
26aca0df9f
Added mount and unmount sections
2019-04-15 22:38:54 -07:00
7ee04060d8
Added dGPU to BOOT_ENTRIES
2019-04-15 22:37:58 -07:00
d769b1ad4e
Set overwrite=False by default
2019-04-15 22:05:48 -07:00
996b01bb34
Add Linux dGPU items
2019-04-15 21:30:44 -07:00
807c94e2ce
Add argument for Linux (dGPU)
2019-04-15 21:29:10 -07:00
af757c5582
Show full device paths
2019-04-15 21:28:53 -07:00
c8944e5a14
Fixed prep_device()
2019-04-15 21:27:27 -07:00
2230ea1eea
Added prep_device()
...
* Skipped if --update is used
2019-04-15 20:30:39 -07:00
e098d40c2f
Added pylint exceptions
2019-04-14 18:49:32 -07:00
72cc33cb7e
Only show destination device, not all devices
2019-04-14 18:48:54 -07:00
3310e3d253
Moved most logic to functions.ufd
2019-04-14 18:43:08 -07:00
164fd4c646
Fixed SystemExit calls from docopt
2019-04-14 18:09:36 -07:00
0e6be3ad08
Better SystemExit handling
2019-04-14 17:57:46 -07:00
1b312658e9
Fixed return code handling
2019-04-14 17:17:11 -07:00
cf1d11eb78
Always show header
2019-04-14 17:16:13 -07:00
cc1a318e3d
Abort if not running as root
2019-04-14 17:03:04 -07:00
6734460d42
Added option to skip pause in abort()
...
* Also use exit_script(1)
2019-04-14 17:01:53 -07:00
fde9be6b3f
Updated get_user_name()
2019-04-14 16:48:34 -07:00
d62a647fa9
Avoid setting LogDir to /root/Logs under su/sudo
2019-04-14 16:46:50 -07:00
5a1f7b1829
Silence build-ufd init
2019-04-14 15:58:09 -07:00
b2528b90f8
Fix docopt handling
...
* Show usage if invalid arguments are used
2019-04-11 22:25:13 -07:00
0883b099fd
Skip safety check if upgrading
2019-04-11 22:24:25 -07:00
c4755124a0
Remove more connect-to-network sections
2019-04-11 20:59:42 -07:00
a8afd793e0
Added setup-wifi script
...
* This will replace the connect_to_network() function
2019-04-11 20:55:40 -07:00
d33f78960d
Reduced imports
2019-04-11 20:50:21 -07:00
1a8b6705e0
Show selections before starting work
2019-04-08 20:57:35 -07:00
415f56863d
Finished recursive_copy()
2019-04-08 20:26:41 -07:00
4d9ab2215b
Ensure SMART values are shown for some disks
...
* smartctl can return non-zero if there are errors in the SMART logs
2019-04-08 18:57:38 -07:00
b43309be75
Avoid rare crash when scanning CoreStorage volumes
2019-04-08 15:55:52 -07:00
8cdb834499
Initial, incomplete version of recursive_copy()
2019-04-08 02:59:03 -07:00
5fe37b62b2
Adjusted source/dest items
2019-04-08 02:58:07 -07:00
4c33c110b7
Fixed source validation
2019-04-08 00:35:53 -07:00
b166172d10
Only perform case-insensitive search if needed
2019-04-07 23:45:08 -07:00
e420074c83
Use correct errors in find_path()
...
* FileNotFoundError is accurate since we're just looking for a path
2019-04-07 23:35:00 -07:00
50cb765108
Merged find_source_item() and get_full_path()
...
* Also fixed regex match (it wasn't matching the whole string)
2019-04-07 23:26:22 -07:00
b6c6fc9aa9
Find paths case-insensitively
2019-04-07 22:44:15 -07:00
cd0a9456cb
Use pathlib.Path to resolve paths
...
* is_block_device() is no longer needed
* (pathlib.Path provides that functionality)
2019-04-07 22:41:41 -07:00
c4d00a2073
Fix typos
2019-04-07 22:35:09 -07:00
575126eaa2
Split build-ufd file to match other scripts
2019-04-07 20:51:54 -07:00
3ff0bcd3c9
Updated new_system_setup.py to match other scripts
...
* i.e. don't change dir when setting sys.path
2019-04-07 19:07:31 -07:00
639a338cca
Initial Python layout
...
* Going to use docopt for argument handling
* Script will be run as user using sudo where needed
* Tentatively dropping tmux usage
2019-04-07 19:03:56 -07:00
a22e6f552f
Start build-ufd rewrite in python
2019-04-07 19:01:03 -07:00
e089dd99a3
Avoid crash when no disks are connected
...
* It was attempting to recheck the NVMe/SMART data for the fake N/A lines
2019-04-02 16:29:09 -07:00
52e3e24a3a
Updated build-ufd
2019-03-30 09:48:48 -07:00
c5364a65a2
Avoid copying the wrong files from WinPE
...
* if w_en_us was empty it would copy the contents from $(pwd)
2019-03-30 09:45:36 -07:00
0b31fa271d
Expand build-ufd log
2019-03-30 09:38:13 -07:00
c022d3f9c6
Set ddrescue-tui EToC refresh rate in settings
2019-03-20 15:48:01 -06:00
28cea9697e
Moved ddrescue-tui EToC code to its own function
...
* Limited refresh rate to every 5 seconds
2019-03-20 15:45:27 -06:00
fa05c93bf8
Added EToC line to ddrescue-tui side-pane
...
* Is not shown in main menu
2019-03-20 15:21:19 -06:00
c96ffc5f59
Added overall status line to ddrescue-tui
2019-03-20 13:16:09 -06:00
95338f1df7
Add encoding to run_program and popen_program
2019-03-20 12:57:56 -06:00
877db91cb6
Extended Windows build list
2019-03-19 20:45:37 -06:00
723f1ad4ad
Fixed WizTree extraction
2019-03-19 14:16:39 -06:00
089cdba4f9
Updated sources
2019-03-19 14:16:16 -06:00
f98c106080
Bugfix: Extremely minor formatting issue
2019-03-17 21:30:25 -06:00
48c0cf0b1b
Adjusted Explorer settings
2019-03-17 20:43:19 -06:00
4cb14c6429
Restart Explorer after configuring
...
* Allows changes to be seen without restarting manually
2019-03-17 20:23:25 -06:00
b84d4eb6b8
Bugfix: typo
2019-03-17 20:22:50 -06:00
1235269da0
Bugfix
2019-03-17 20:17:00 -06:00
2e679dbf5e
Download stand alone Windows update installers
...
* Fixes issue #91 (again)
2019-03-17 18:11:36 -06:00
84deb49beb
Explicitly set colors to properly reset errorlevel
2019-03-16 23:03:13 -06:00
ec74b06282
Verify Python can be run before launching script
...
* Fixes issue #91
2019-03-16 23:02:44 -06:00
f9b35b9a3d
Fixed dict collision
...
* Fixes issue #97
2019-03-16 18:14:31 -06:00
c5b4446133
Configure Windows Updates during checklist/setup
...
* Sets readiness branch to non-targeted semi-annual
* Defers feature upgrades for 60 days
* Fixes issue #93
2019-03-16 18:11:19 -06:00
86f81f2720
Prevent updating OVERRIDE to CS
2019-03-16 15:11:42 -06:00
70b8d2536a
Missed a functions/json.py import
2019-03-13 20:39:47 -06:00
34ef0bfae6
Fail test on SMART self-test timeout
2019-03-13 20:22:28 -06:00
648787913e
Fixed issues importing settings files
2019-03-13 19:02:35 -06:00
75df9777b3
Removed extraneous whitespace
2019-03-12 22:49:25 -06:00
122bbfb157
Added debug mode for HW Diagnostics
...
* Uses alternative major exception
* Saves State, CpuObj, and DiskObj data after traceback
* Uploads the whole LogDir folder (compressed) instead of just the main log
2019-03-12 21:24:06 -06:00
7381547b27
Added functions.json
...
* Uses safer method to get JSON data from a command
* Replaced nearly all uses of json.loads with new get_json_from_command()
* Fixes issue #100
2019-03-12 16:08:21 -06:00
480222c1f2
Adjusted variable name usage for consistency
2019-03-12 15:13:16 -06:00
3fa6521c51
Only enable WinPE boot entries if necessary
...
* Addresses issue #94
2019-03-11 22:31:56 -06:00
459f95394a
Allow building UFD with only the Linux ISO
...
* Addresses issue #94
2019-03-11 22:27:07 -06:00
22b1452168
Find WinPE sources case-insensitively
...
* Allows non-WK WinPE builds to be used
* Addresses issue #94
2019-03-11 22:24:11 -06:00
1d10503b91
Support disks over 4TB in badblocks test
...
* Set read block size to 4KB if disk is 4Kn or 3TB+
* Fixes issue #99
2019-03-11 21:00:26 -06:00
e7d31c21c3
Get disk size in bytes during object creation
...
* Also moved dd calc section into docstring
2019-03-11 20:55:24 -06:00
7f6509d235
Return to HW-Diags menu from safety_check()
2019-03-11 13:26:11 -06:00
7701418e55
Recheck disk attributes after all tests
...
* Should catch errors exposed by badblocks
* Addresses issue #96
2019-03-11 13:25:12 -06:00
7078efe9e7
Adjusted SMART self-test running message
2019-03-11 13:23:56 -06:00
a3d2de92bc
Show CS/NS in quick mode if self-test is running
...
* It still shows the slightly ambiguous message "all tests disabled"
* Addresses issue #96
2019-03-11 12:37:01 -06:00
607d4b1e57
Skip SMART self-test in quick mode
...
* Addresses issue #96
2019-03-11 12:36:33 -06:00
6edfcc9766
Moved SMART self-test code to its own function
...
* Allows for a simpler run_nvme_smart_tests()
* Self-test is now done before the attribute check
* Addresses issue #96
2019-03-11 11:57:29 -06:00
40f269aabd
More cleanup for generate_attribute_report()
2019-03-11 10:52:11 -06:00
a5852d1caa
Major overhaul of NVMe/SMART reporting/testing
...
* Moved all errors/warnings to new nvme_smart_notes var
* Allows the notes to be appended to the attribute report much easier
* Allows the attribute report to be updated without losing notes
* NVMe/SMART should only contains the SMART short self-test results
* If available and requested
* Updated safety_check to fix erroneous requests
* Disable tests logic reworked
* Updated generate_disk_report() to include notes
* Addresses issue #96
2019-03-09 21:42:28 -07:00
95aa063a69
Adjusted disk safety checks
...
* check_attributes() is now always silent
* Returns a PASS/FAIL bool
* override_disabled is now at the Disk() scope
* Moved self-test checks to check_smart_self_test()
* Returns a PASS/FAIL bool
* Addressed issue #96
2019-03-09 18:07:04 -07:00
858c2e1bd5
Avoid crash on some Macs
...
* Partially addresses issue #88
* HW damage should be avoided by using the THERMAL_LIMIT setting
2019-03-09 14:15:42 -07:00
b0e2b01e00
Added beep function
...
* Fixes issue #89
2019-03-09 14:11:53 -07:00
d5dc453ffa
Added maximum threshold for NVMe/SMART attributes
...
* Fixes issue #95
2019-03-05 19:36:43 -07:00