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

[Kernel] support downloading built kernel Debian packages #51

Merged
merged 2 commits into from
Jul 25, 2018

Conversation

yxieca
Copy link
Collaborator

@yxieca yxieca commented Jul 2, 2018

Add support to download pre-built Linux kernel Debian packages instead of building from source files.

This change prefers the method of download over build.

Signed-off-by: Ying Xie ying.xie@microsoft.com

Note: this PR is better go in after sonic-net/sonic-buildimage#1837 but it doesn't have to.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
@yxieca yxieca requested a review from lguohan July 2, 2018 19:01
Makefile Outdated
@@ -1,6 +1,38 @@
.ONESHELL:
SHELL = /bin/bash

ifneq ($(kernel_build_method), "build")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does one set kernel_build_method? Should this become a command-line parameter specified in rules/config?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is. Please take a look at the linked PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha. Sorry, missed the linked PR.

A small concern is the terminology might not be intuitive (i.e., that one of the "build methods" is "download" which doesn't actually build anything). I think a name like "kernel_procure_method" is more accurate. Maybe someone else has another suggestion?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

procure is good. Thanks.

@yxieca yxieca merged commit 61923df into sonic-net:master Jul 25, 2018
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

Successfully merging this pull request may close these issues.

3 participants