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):
574
574
is_nested = False
575
575
ignored_files_and_dir = []
576
576
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
+
577
595
578
596
DIR_SUPPORTED_PURLS = [
579
597
"pkg:generic/busybox.*" ,
@@ -599,6 +617,7 @@ class BareboxDirectoryListedSource(DirectoryListedSource):
599
617
"pkg:generic/ipkg.*" ,
600
618
"pkg:generic/mtd-utils.*" ,
601
619
"pkg:generic/barebox.*" ,
620
+ "pkg:generic/linux.*"
602
621
]
603
622
604
623
DIR_LISTED_SOURCE_BY_PACKAGE_NAME = {
@@ -624,6 +643,7 @@ class BareboxDirectoryListedSource(DirectoryListedSource):
624
643
"ipkg" : IpkgDirectoryListedSource ,
625
644
"mtd-utils" : MtdUtilsDirectoryListedSource ,
626
645
"barebox" : BareboxDirectoryListedSource ,
646
+ "linux" : LinuxDirectoryListedSource ,
627
647
}
628
648
629
649
You can’t perform that action at this time.
0 commit comments