File 5.41 changed the MIME type of Python bytecode; adjust accordingly. Taken from upstream: https://github.com/ahupp/python-magic/commit/0ae7e7ceac0e80e03adc75c858bb378c0427331a diff --git a/test/test.py b/test/test.py index 0c4621c..e443b84 100755 --- a/test/test.py +++ b/test/test.py @@ -90,7 +90,7 @@ def test_mime_types(self): try: m = magic.Magic(mime=True) self.assert_values(m, { - 'magic._pyc_': ('application/octet-stream', 'text/x-bytecode.python'), + 'magic._pyc_': ('application/octet-stream', 'text/x-bytecode.python', 'application/x-bytecode.python'), 'test.pdf': 'application/pdf', 'test.gz': ('application/gzip', 'application/x-gzip'), 'test.snappy.parquet': 'application/octet-stream', option> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/build/bootloader.scm
AgeCommit message (Expand)Author
2022-06-24image: Add support for 32bit UEFI....* gnu/bootloader/grub.scm (grub-efi32-bootloader): New variable. (install-grub-efi32): New variable. * gnu/build/bootloader.scm (install-efi): Add a 'targets' keyword argument. (install-efi-loader): Likewise. * gnu/build/image.scm (initialize-efi32-partition): New procedure. * gnu/packages/bootloaders.scm (grub-efi32): New variable. * gnu/system/image.scm (esp32-partition): New variable (efi32-disk-image): New variable. (efi32-raw-image-type): New variable. (system-disk-image)[partition-image]: Set '#:grub-efi32' when calling the partition initializer. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Denis 'GNUtoo' Carikli
2021-11-12build: bootloader: Add GPT support....* gnu/build/bootloader.scm (install-efi-loader): Add GPT support. Mathieu Othacehe