Skip to content

Commit 1d9c69f

Browse files
authored
[kernel source] download kernel source files from azure storage (#95)
The official download has been unstable lately and not all build machines can download the source files. Moving the source file to more reliable azure storage. Signed-off-by: Ying Xie <[email protected]>
1 parent d03f616 commit 1d9c69f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ else
4545
DSC_FILE = linux_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION).dsc
4646
ORIG_FILE = linux_$(KERNEL_VERSION).orig.tar.xz
4747
DEBIAN_FILE = linux_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION).debian.tar.xz
48-
URL = http://security.debian.org/debian-security/pool/updates/main/l/linux
4948
BUILD_DIR=linux-$(KERNEL_VERSION)
5049

51-
DSC_FILE_URL = "$(URL)/$(DSC_FILE)"
52-
DEBIAN_FILE_URL = "$(URL)/$(DEBIAN_FILE)"
53-
ORIG_FILE_URL = "$(URL)/$(ORIG_FILE)"
50+
DSC_FILE_URL = "https://sonicstorage.blob.core.windows.net/packages/kernel-source/linux_4.9.168-1+deb9u3.dsc?sv=2015-04-05&sr=b&sig=MoOJMteUh46D9tG0axEPbw%2BeoFOrOtrP36BLmY7P6rs%3D&se=2033-04-09T00%3A59%3A43Z&sp=r"
51+
DEBIAN_FILE_URL = "https://sonicstorage.blob.core.windows.net/packages/kernel-source/linux_4.9.168-1+deb9u3.debian.tar.xz?sv=2015-04-05&sr=b&sig=MNrNMhg8dbJOn1FxTZslQwOnblAfNhRghAsozwDK5QI%3D&se=2033-04-09T01%3A00%3A14Z&sp=r"
52+
ORIG_FILE_URL = "https://sonicstorage.blob.core.windows.net/packages/kernel-source/linux_4.9.168.orig.tar.xz?sv=2015-04-05&sr=b&sig=ArvSGD3N46WGh%2BTYF8J1JgdT9x0BrFu4JhSuyyr3nNw%3D&se=2033-04-09T01%3A00%3A47Z&sp=r"
5453

5554
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
5655
# Obtaining the Debian kernel source

0 commit comments

Comments
 (0)