1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00
pmbootstrap/pmb
Newbyte 7ece4b47d4
pmb.chroot.initfs: Improve error handling, remove support for flavours
We already started getting rid of flavoured initfs[1], continue doing so
here to simplify the code.

Additionally, display a more helpful error if the initfs doesn't yet
exist when you run `ls` or `extract`, use Path from pathlib, and replace
RuntimeError with NonBugError if the user declines overwriting the
existing extraction folder.

 [1]: 527fc9359f
2025-07-11 11:54:21 +02:00
..
aportgen aportgen: device: set bootimg_qcdt_exynos_{platform,subtype} 2025-07-10 21:03:01 +02:00
build Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
chroot pmb.chroot.initfs: Improve error handling, remove support for flavours 2025-07-11 11:54:21 +02:00
ci Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
commands Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
config Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
core pmb: Use inspect.get_annotations() 2025-07-10 21:09:41 +02:00
data test: move all tests into separate module (MR 2551) 2025-02-13 01:28:20 +01:00
export export: drop support for flavor in export 2025-06-09 22:43:57 +02:00
flasher Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
helpers Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
install Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
meta pmb: Remove unused imports (MR 2545) 2025-02-23 11:40:40 +01:00
netboot pmb.netboot: Initialize chroot before checking path in chroot 2025-05-08 23:14:05 +02:00
parse pmb: Use inspect.get_annotations() 2025-07-10 21:09:41 +02:00
qemu Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
sideload Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00
__init__.py Prepare 3.5.2 release 2025-07-02 20:16:02 +02:00
types.py Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums" 2025-07-10 23:53:54 +02:00