forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable building the source package (sonic-net#244)
* Disable building the source package SONiC doesn't need the source package, and this takes 5-10 minutes to build. Disable this to save some time. Signed-off-by: Saikrishna Arcot <[email protected]>
- Loading branch information
1 parent
0d96503
commit 56b08d0
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
patch/preconfig/disable-building-linux-source-deb-package.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Don't build the linux source package. We don't use it. | ||
|
||
diff --git a/debian/config/defines b/debian/config/defines | ||
index fea89d3b2..7c1d06ad2 100644 | ||
--- a/debian/config/defines | ||
+++ b/debian/config/defines | ||
@@ -171,3 +171,6 @@ gcc-10: gcc-10 <!stage1 !cross !pkg.linux.nokernel>, gcc-10-@gnu-type-package@ < | ||
# initramfs-generators | ||
initramfs-fallback: linux-initramfs-tool | ||
initramfs-tools: initramfs-tools (>= 0.120+deb8u2) | ||
+ | ||
+[packages] | ||
+source: false | ||
diff --git a/debian/control.md5sum b/debian/control.md5sum | ||
index b6dae911b..50787e0e6 100644 | ||
--- a/debian/control.md5sum | ||
+++ b/debian/control.md5sum | ||
@@ -38,7 +38,7 @@ afb508873a44a1f196c2a525fec4b415 debian/templates/image.prerm.in | ||
381bc892fd36ef7ea5327f649b99cb98 debian/templates/sourcebin.meta.maintscript.in | ||
814dda166c7e3ef02e6e259e805ac66a debian/templates/tests-control.image.in | ||
33d71bfd398d2f9b3bc5c0193b67d17e debian/templates/tests-control.main.in | ||
-ebc5cb55572d7d75228061d087c26627 debian/config/defines | ||
+319a9dc6ff6d76fd4a1dad600e903741 debian/config/defines | ||
59a811890d2e7129bec940075850f11f debian/config/alpha/defines | ||
026ce5cdad7814c28f4fd87589786719 debian/config/amd64/defines | ||
44bff3917069a99eeb20ceff24609dda debian/config/arm64/defines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
packaging-update-abiname.patch | ||
disable-building-linux-source-deb-package.patch |