Skip to content

Instantly share code, notes, and snippets.

@bluca
Created March 26, 2021 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluca/0158ec50638637749641c269439ee621 to your computer and use it in GitHub Desktop.
Save bluca/0158ec50638637749641c269439ee621 to your computer and use it in GitHub Desktop.
fast src:linux deb package amd64 build
diff --git a/debian/config/amd64/defines b/debian/config/amd64/defines
index b278f36223c7..d599f68dfe6a 100644
--- a/debian/config/amd64/defines
+++ b/debian/config/amd64/defines
@@ -1,12 +1,13 @@
[base]
featuresets:
none
- rt
+# rt
kernel-arch: x86
[build]
+debug-info: false
image-file: arch/x86/boot/bzImage
-signed-code: true
+signed-code: false
vdso: true
[image]
@@ -14,6 +15,9 @@ bootloaders: grub-pc grub-efi-amd64 extlinux
install-stem: vmlinuz
breaks: xserver-xorg-input-vmmouse (<< 1:13.0.99)
+[image-dbg]
+enabled: false
+
[relations]
headers%gcc-10: linux-compiler-gcc-10-x86
diff --git a/debian/config/amd64/none/defines b/debian/config/amd64/none/defines
index ada23557a6ad..c9d153047699 100644
--- a/debian/config/amd64/none/defines
+++ b/debian/config/amd64/none/defines
@@ -1,10 +1,5 @@
[base]
flavours:
amd64
- cloud-amd64
+# cloud-amd64
default-flavour: amd64
-
-[cloud-amd64_image]
-configs:
- config.cloud
- amd64/config.cloud-amd64
diff --git a/debian/config/defines b/debian/config/defines
index 629386f6f879..84c5fc42657c 100644
--- a/debian/config/defines
+++ b/debian/config/defines
@@ -100,51 +100,18 @@ ignore-changes:
[base]
arches:
- alpha
amd64
- arm64
- arm64ilp32
- armel
- armhf
- hppa
- i386
- ia64
- m68k
- mips
- mips64
- mips64el
- mips64r6
- mips64r6el
- mipsel
- mipsn32
- mipsn32el
- mipsn32r6
- mipsn32r6el
- mipsr6
- mipsr6el
- powerpc
- ppc64
- ppc64el
- riscv64
- s390
- s390x
- sh3
- sh4
- sparc
- sparc64
- x32
compiler: gcc-10
featuresets:
none
- rt
[build]
-debug-info: true
+debug-info: false
# Disable code signing by default; this can be overridden per-architecture
signed-code: false
[featureset-rt_base]
-enabled: true
+enabled: false
[description]
part-long-up: This kernel is not suitable for SMP (multi-processor,
@@ -162,3 +129,11 @@ 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]
+libc-dev: false
+installer: false
+docs: false
+tools-unversioned: false
+tools-versioned: true
+source: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment