Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blobby kernel sources are not available in .lz format #311

Open
austin987 opened this issue Oct 24, 2022 · 1 comment
Open

blobby kernel sources are not available in .lz format #311

austin987 opened this issue Oct 24, 2022 · 1 comment

Comments

@austin987
Copy link
Contributor

95f251c switched the blobby kernel to using .lz, but https://cdn.kernel.org/pub/linux/kernel/v5.x/ (aka KERNEL_BLOBBY_URL) doesn't have any archives in .lz format.

@austin987
Copy link
Contributor Author

My immediate fix was:

diff --git a/kernel/makefile b/kernel/makefile
index 21b4c1f..0de7b99 100644
--- a/kernel/makefile
+++ b/kernel/makefile
@@ -31,7 +31,7 @@ KERNEL_LIBRE_PUBKEY := $(KERNEL_SHARED_RESOURCES)/linux-libre-signing-key.gpg
 BLOBBY_BUILD := 1
 KERNEL_BLOBBY_CONFIG := $(KERNEL_RESOURCES)/blobby-config
 KERNEL_BLOBBY_URL := https://cdn.kernel.org/pub/linux/kernel/v5.x/
-KERNEL_BLOBBY_BASENAME := linux-$(KVER).tar.lz
+KERNEL_BLOBBY_BASENAME := linux-$(KVER).tar.xz
 KERNEL_BLOBBY_TAR := $(PRAWNOS_BUILD_SOURCES)/$(KERNEL_BLOBBY_BASENAME)
 KERNEL_BLOBBY_TAR_SIGNATURE_TARGET_BASENAME := linux-$(KVER).tar
 KERNEL_BLOBBY_TAR_SIGNATURE_BASENAME := $(KERNEL_BLOBBY_TAR_SIGNATURE_TARGET_BASENAME).sign
@@ -144,7 +144,7 @@ $(KERNEL_EXTRACTED): $(KERNEL_TAR) $(KERNEL_TAR_SIGNATURE)
        case $(BLOBBY_BUILD) in \
                0) \
                        gpg --verify $(KERNEL_TAR_SIGNATURE) $(KERNEL_TAR_SIGNATURE_TARGET) && \
-                       tar --lzip -xf $(KERNEL_TAR) -C $(PRAWNOS_BUILD) && \
+                       tar -xf $(KERNEL_TAR) -C $(PRAWNOS_BUILD) && \
                        touch $(KERNEL_EXTRACTED) \
                        ;; \
                1) \

but wanted to check with you before spending more time on a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant