File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -574,6 +574,24 @@ class BareboxDirectoryListedSource(DirectoryListedSource):
574574 is_nested = False
575575 ignored_files_and_dir = []
576576
577+ class LinuxDirectoryListedSource (DirectoryListedSource ):
578+ source_url = "https://cdn.kernel.org/pub/linux/kernel/"
579+ source_archive_regex = re .compile (r"^(linux-)(?P<version>[\w.-]*)(.tar.gz)$" )
580+ is_nested = True
581+ ignored_files_and_dir = [
582+ "Historic/" ,
583+ "SillySounds/" ,
584+ "crypto/" ,
585+ "firmware/" ,
586+ "next/" ,
587+ "people/" ,
588+ "ports/" ,
589+ "projects/" ,
590+ "testing/" ,
591+ "tools/" ,
592+ "uemacs/" ,
593+ ]
594+
577595
578596DIR_SUPPORTED_PURLS = [
579597 "pkg:generic/busybox.*" ,
@@ -599,6 +617,7 @@ class BareboxDirectoryListedSource(DirectoryListedSource):
599617 "pkg:generic/ipkg.*" ,
600618 "pkg:generic/mtd-utils.*" ,
601619 "pkg:generic/barebox.*" ,
620+ "pkg:generic/linux.*"
602621]
603622
604623DIR_LISTED_SOURCE_BY_PACKAGE_NAME = {
@@ -624,6 +643,7 @@ class BareboxDirectoryListedSource(DirectoryListedSource):
624643 "ipkg" : IpkgDirectoryListedSource ,
625644 "mtd-utils" : MtdUtilsDirectoryListedSource ,
626645 "barebox" : BareboxDirectoryListedSource ,
646+ "linux" : LinuxDirectoryListedSource ,
627647}
628648
629649
You can’t perform that action at this time.
0 commit comments