Remove confirmation about disk being big
Describe your issue
What's the expected behaviour?
When installing with pmbootstrap install --disk /dev/sde
it should install without confirmation. Especially when doing pmbootstrap -y
What's the current behaviour?
Results in this:
[18:54:13] WARNING: The target disk (/dev/sde) is larger than a usual SD card (>100GiB). Are you sure you want to overwrite this 119.24 GiB disk? (y/n) [n]:
How to reproduce your issue?
Use pmbootstrap install --disk /dev/sdX
with any storage bigger than 100GiB
What device are you using?
any device booting from USB storage using my USB SSD
Additional information
This check did make sense when it was supposed to run only with SD cards, but we use it now in other cases:
- With U-Boot exposing internal storage as
/dev/sdx
- With USB storages, some of which are big like SSDs
- When installing to internal storage like UFS on WoA laptops
In these cases it is normal for this device to be more than 100GiB, and it is annoying to type y
each pmbootstrap install even when using -y
parameter