Commit 4e58a1c
utils.py: raise error if rootfs file size is not multiple of 4KiB.
See: AOSC-Dev/aosc-asahi-installer@f46e12d,
if rootfs image size can not multipie of 4KiB, asahi-installer will raise `EINVAL`, users don't know whats happen ...
The point of this commit is to look for illegitimate rootfs image sizes in advance, so that the raise error becomes clear.
Signed-off-by: eatradish <[email protected]>1 parent 920fb05 commit 4e58a1c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| |||
0 commit comments