pmbootstrap/pmb/install
Pablo Correa Gómez acb94beaf9
install: write new file instead of modifying locale.sh from alpine-baselayout
First of all, modifying in-place the file owned by alpine-baselayout has the
consequence of that file never being updated by APK. This is an issue changes
happen upstream. And I just fixed[1] an issue upstream that had to be with
that exact file, so make sure that from now on, we're writing to another file
that sorts before the one from alpine-baselayout. Additionally, equivalently
to the fix in [1] for bug [2], don't set the variable unconditionally, but
instead use its current value if it's already set.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/46718
[2] https://gitlab.alpinelinux.org/alpine/aports/-/issues/14862

Signed-off-by: Pablo Correa Gómez <ablocorrea@hotmail.com>
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Tested-by: Oliver Smith <ollieparanoid@postmarketos.org>
Co-developed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3CDB9P192MB12912380DD72F8A840694B44C7759@DB9P192MB1291.EURP192.PROD.OUTLOOK.COM%3E
2023-05-15 08:35:00 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
_install.py install: write new file instead of modifying locale.sh from alpine-baselayout 2023-05-15 08:35:00 +02:00
blockdevice.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
format.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
losetup.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
partition.py install/partition: set esp flag for /boot when using GPT 2023-03-24 09:11:48 +01:00
recovery.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
ui.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00