[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian kernel-config file for Linux 6.3



On Mon, 2023-05-08 at 07:48 +0200, Sedat Dilek wrote:
> Hi Ben and Debian kernel team,
> 
> Today, I have seen on salsa.d.o there is some progress/update in
> master Git branch to use Linux 6.3
> 
> Can you give help and/or instructions on how to generate a Debian
> kernel-config file?
> Alternatively point to a URL or provide such a kernel-config file?

You should be able to generate any .config file like this:

$ debian/rules debian/control-real
...
$ ARCH=$(dpkg --print-architecture)  # or some other Debian
architecture
$ FEATURESET=none               # or "rt" for builds with realtime
patches
$ FLAVOUR=...                   # whichever flavour you're interested
in
$ dpkg-architecture -a$ARCH -c make -f debian/rules.gen
setup_${ARCH}_${FEATURESET}_${FLAVOUR}
...
$ cat debian/build/build_${ARCH}_${FEATURESET}_${FLAVOUR}/.config

The setup rule is currently broken on master, so you'll need to apply
this patch first:

--- a/debian/rules.real
+++ b/debian/rules.real
@@ -345,7 +345,7 @@ binary_support: PACKAGE_ROOT =
/usr/share/$(PACKAGE_NAME)
        dh_link $(PACKAGE_ROOT) /usr/src/$(PACKAGE_NAME)
        +$(MAKE_SELF) install-base
 
-setup_image: $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR))
+setup_image: $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
 
 build_image: $(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
 
--- END ---

Ben.

-- 
Ben Hutchings
I haven't lost my mind; it's backed up on tape somewhere.

Attachment: signature.asc
Description: PGP signature


Reply to: