Commit graph

1119 commits

Author SHA1 Message Date
dac20b12f1
Hide .bin and .cbin in build-ufd
* Fixes issue #107
2019-04-25 19:09:27 -07:00
5ae8ea3be1
Show more details for loopback devices
* Fixes issue #106
2019-04-25 19:05:44 -07:00
896f9e4a05
Explicitly define smartctl tolerance levels
* Fixes issue #104
2019-04-25 18:37:17 -07:00
b737696f7f
Show more accurate data in mount-all-volumes()
* Fixes issue #108
2019-04-25 18:13:53 -07:00
60bfa373e2
Added support for ESET SysRescue and HDClone 2019-04-20 20:15:28 -07:00
a0db819a76
Apply upstream SystemExit fix to all scripts 2019-04-20 18:59:43 -07:00
a0f4d74656
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-20 18:57:10 -07:00
5756d14292
Fix issue #102 2019-04-19 19:16:25 -07:00
2ce8c66fc8
Merge branch 'new-ufd-script' into dev 2019-04-19 19:03:29 -07:00
9502ea0bbc
Deleted old build-ufd (BASH) 2019-04-19 19:02:38 -07:00
8b4b0c40ce
Merge branch 'new-ufd-script' into dev 2019-04-19 19:01:56 -07:00
a83dcdd06a
Handle non-ISO source items 2019-04-19 18:14:10 -07:00
731a281805
More bugfixes 2019-04-19 16:33:12 -07:00
e2d788e265
Fixed upate_boot_entries() 2019-04-19 15:23:21 -07:00
19799bb1f4
Adjusting formatting 2019-04-18 20:52:47 -07:00
72c0e75156
Fix mounting UFD 2019-04-18 20:52:11 -07:00
27eb7975ef
Fixed SYSLINUX installation 2019-04-18 20:51:14 -07:00
b05057d743
Ignore errors when uncommenting boot entries
* Allows using older ISOs which lack newer boot entries
  * Not a great idea, but it won't crash
2019-04-18 20:00:37 -07:00
f062f3ce71
Fixed source ITEMS 2019-04-18 19:28:15 -07:00
153cda7cf8
Fixed update_boot_entries() 2019-04-18 19:27:41 -07:00
050bef7f85
Skip FileNotFoundError in copy_source()
* Avoids crash when copying some WinPE ISOs
2019-04-18 19:26:28 -07:00
e07c019fb2
Bugfix: Call unmount() not mount() 2019-04-18 19:25:13 -07:00
21a587ee0f
Bugfix sleep() 2019-04-18 19:24:39 -07:00
427243c933
Reordered functions 2019-04-16 00:33:47 -07:00
cd4ea75862
Remove the arch dir when updating the UFD 2019-04-16 00:23:58 -07:00
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
8a6dfc5cdf
Include disk volume report if only I/O fails
* Fixes issue #76
2019-04-11 22:01:00 -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
54fe08545e
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-08 15:59:41 -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
7eaa5d73cd
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-07 19:40:39 -07:00
1c7677d805
Skip renaming Copy WizardKit.cmd
* It isn't used anymore
2019-04-07 19:39:30 -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
6a7ef8ebcb
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-02 16:37:09 -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
e147dbc6d2
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-30 09:49:15 -07:00
52e3e24a3a
Updated build-ufd 2019-03-30 09:48:48 -07:00
d6de2c5b65
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-30 09:47:56 -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
c9c1007eaa
Merge remote-tracking branch 'upstream/dev' into dev
* Fixes issue #61
2019-03-20 15:49:35 -06: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
679a0329cc
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-20 12:59:25 -06:00
95338f1df7
Add encoding to run_program and popen_program 2019-03-20 12:57:56 -06:00
df1706a8bf
Disabled speedtest in d7II mode, moved to Post-d7
* Also updated post_d7.py to use 2-space indentation
2019-03-19 20:49:32 -06:00
a4f57787e7
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-19 20:46:48 -06:00
877db91cb6
Extended Windows build list 2019-03-19 20:45:37 -06:00
26199cf271
Detect and update browsers in Install SW Bundle
* Fixes issue #65
2019-03-19 20:31:00 -06:00
1e21b1bd59
Match formatting when enabling Windows Updates 2019-03-19 20:24:42 -06:00
3f96a31e1e
Fixed opening Snappy Driver Installer Origin
* Set working dir so the config file is read
* Pipe output to prevent flooding the screen with debug data
2019-03-19 19:03:16 -06:00
569810c3ca
Merge remote-tracking branch 'upstream/dev' into dev
Fixes issue #57
2019-03-19 14:20:31 -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
6d7a5e1eae
Updated system_checklist_hw.py 2019-03-17 21:25:04 -06:00
2218c03172
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-17 21:08:29 -06:00
f73a1f8191
Open SDI Origin in New System Checklist
* Addresses issue #60
2019-03-17 21:02:42 -06:00
1fbdb2b5e2
Replace PowerShell with CMD in Win+X menu
* Addresses issue #60
2019-03-17 20:54:59 -06:00
48c0cf0b1b
Adjusted Explorer settings 2019-03-17 20:43:19 -06:00
6876d1c0ef
Fixed dict collision in Explorer settings
* Also updated section descriptions
* Addresses issue #60
2019-03-17 20:40:25 -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
89a09a322e
Add prompt to run Post-d7II script
* Best I can do for issue #52
2019-03-17 20:08:01 -06:00
ead4715c38
Also skip IE in reset_browsers and user_checklist
* More fixes for issue #59
2019-03-17 18:37:03 -06:00
2bde723c43
Skip Internet Explorer setup in new_system_setup()
* Fixes issue #59
2019-03-17 18:29:41 -06:00
a7926e58a4
Set wuauserv startup to manual when enabling
* This is the default in at Windows 10
* Fixes issue #46
2019-03-17 18:25:01 -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
f39bb8191e
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-16 19:01:42 -06:00
e590547e3c
Show more details when disabling/enabling updates
* Fixes issue #46
2019-03-16 18:53:55 -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
5aeeb41995
Prevent updating OVERRIDE to PASS 2019-03-16 15:09:35 -06:00
9cad5419d8
Simplified osTicket post formatting 2019-03-14 01:04:14 -06:00
4aa50a044a
Adjusted osTicket post formatting 2019-03-14 00:37:55 -06:00
d447e694b2
Set NVMe/SMART test to FAIL if safety check fails
* Fixes issues #49
2019-03-14 00:22:11 -06:00
8835fb486d
Include ticket ID and name in osTicket posts
* Fixes issue #58
2019-03-13 23:01:32 -06:00
c73bf2521c
Include ticket ID and name in top pane
* Only if ticket ID and name are set
* Expands on fix for issue #58
2019-03-13 22:49:07 -06:00
4c3fe1d66f
Avoid crash if connection to osTicket fails 2019-03-13 22:26:42 -06:00
b6ecf348d4
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-13 21:00:25 -06:00
809f338cd2
Use new NVMe/SMART report layout in osTicket posts
* Fixes issue #45
2019-03-13 20:57:14 -06:00
e0c3716e08
Avoid crash if fstype is None
* Set fstype to 'UNKNOWN FS' if it's an empty string or None
* Ensure all v_data values are strings before replacing text
* Fixes issue #53 (again)
2019-03-13 20:55:18 -06:00
62e78cdc2c
Skip uploading I/O Graphs if the test is disabled 2019-03-13 20:52:01 -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
b268385e0b
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-13 19:04:01 -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
c45c1c9225
Merge remote-tracking branch 'upstream/dev' into dev
* Fixes issues #54 & #55
2019-03-12 22:45:43 -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