Giter Site home page Giter Site logo

Comments (4)

WallyZambotti avatar WallyZambotti commented on July 23, 2024

This can be fixed by making the following two changes:

  1. In initialize_regex() Remove the '?' for 0 or 1 occurrences of NATIVE_ARCH

rex_header_all = new Regex("(?:" + NATIVE_ARCH + """/|>)?linux-headers-[a-zA-Z0-9.\-_]*_all.deb""");

replace for

rex_header_all = new Regex("(?:" + NATIVE_ARCH + """/|>)linux-headers-[a-zA-Z0-9.\-_]*_all.deb""");
Which then breaks load_cached_page() which insists on having '_all' headers.

2 In load_cached_page() remove the requirement for all headers

			// Not all architectures have '_all' headers. This would only allow amd64 to succeed

			if ((deb_header.length == 0) /* || (deb_header_all.length == 0) */ || (deb_image.length == 0)){
				mark_invalid();
			}

from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

Thank you for this. I'll check it out.

from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

I think the 0 or 1 instance of arch is because old kernel versions on the web site didn't have arch subdirectores, but later ones do. I'll try to test this with a forced/faked arch and see if I can see what you're describing.

from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

Apparently no longer a problem. Testing in an arm64 vm and it's matching correctly.

from mainline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.