~xnox/ubuntu/+source/linux/+git/unstable-1:heads/quilt-unstable

Last commit made on 2024-02-03
Get this branch:
git clone -b heads/quilt-unstable https://git.launchpad.net/~xnox/ubuntu/+source/linux/+git/unstable-1
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Branch information

Name:
heads/quilt-unstable
Repository:
lp:~xnox/ubuntu/+source/linux/+git/unstable-1

Recent commits

ee5a031... by Dimitri John Ledkov

format

f0e25d4... by Dimitri John Ledkov

UBUNTU: [Packaging] remove unused variables

Signed-off-by: Dimitri John Ledkov <email address hidden>

e3c6ba1... by Dimitri John Ledkov

UBUNTU: [Packaging] Update check to build linux-libc-dev to the source package name

Signed-off-by: Dimitri John Ledkov <email address hidden>

117458e... by Masahiro Yamada

UBUNTU: [Packaging] move linux-libc-dev.stub to debian/control.d/

linux-libc-dev is provided only by the master kernel, so there is
no conflict even if we have it under debian/.

Signed-off-by: Masahiro Yamada <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>

acbbe29... by Masahiro Yamada

UBUNTU: [Packaging] remove do_libc_dev_package variable

We should make a decision about linux-libc-package when constructing
debian/control.

Once debian/control is generated, builders must follow it. In other
words, we should not re-evaluate the do_libc_dev_package variable at
the build time.

Debian kernel commit fdd6dadb4aee ("Use dh_listpackages to determine
which packages to build") [1] introduced the if_package macro.

Import it to consult dh_listpackage to check if linux-libc-package is
listed in debian/control.

[1]: https://salsa.debian.org/kernel-team/linux/-/commit/fdd6dadb4aeea81342effdebd5edbf4bc19ccf4d

Signed-off-by: Masahiro Yamada <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>

4c0e1fd... by Masahiro Yamada

UBUNTU: [Packaging] remove debian.*/variants

Now 'variants' is no longer used for building packages.

It is true that the 'variants' is used in linux-meta, but there is
no good reason to have it in linux-main.

Only the remaining function is to check the variants from
'debian/rules printenv', but it is not so useful.

Remove it.

Signed-off-by: Masahiro Yamada <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>

c1bf306... by Masahiro Yamada

UBUNTU: [Packaging] check debian.env to determine do_libc_dev_package

The linux-libc-dev package provides UAPI headers. The Linux kernel
promises backward compatibile API to userspace. That is the reason
why there exists only one linux-lib-dev per series. Its package name
does not contain any ABI number or flavour string since there is no
point in installing multiple instances of linux-lib-dev.

This leads to an obvious conclusion; only the master kernel should
provide linux-libc-dev.

Currently, it is checked at compile-time. If you attempt to build
linux-libc-dev on a non-master kernel, it errors out with
"non-master branch building linux-libc-dev, aborting".

When constructing debian/control, the linux-libc-dev enablement is
determined by do_libc_dev_package, which is set to true if the
'variants' variable contains '--'. This is tricky, and it is difficult
to understand the intention. In fact, do_libc_dev_package is true for
most kernels except linux-unstable. Derivative kernels disable
linux-libc-dev by removing linux-libc-dev.stub.

This commits adopts a simpler logic; enable linux-libc-dev if
debian/debian.env contains DEBIAN=debian.master.

Please note this commit changes the behaviour of linux-unstable.
linux-unstable previously disabled linux-lib-dev because it defined
variants=-wip, but it is enabled now. It should not be a big deal
since we do not publish linux-unstable.

Signed-off-by: Masahiro Yamada <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>

58d2a67... by Masahiro Yamada

UBUNTU: [Packaging] remove the last sub-flavours bit

Remove the left-over.

Signed-off-by: Masahiro Yamada <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>

7240aa1... by Emil Renner Berthing

UBUNTU: [Packaging] enable riscv64 builds

Add ABI files, sync riscv64.mk with linux-riscv and add riscv64 to the
arch list.

Signed-off-by: Emil Renner Berthing <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>

9b3f54c... by Juerg Haefliger

UBUNTU: [Packaging] scripts: Rewrite insert-ubuntu-changes in Python

Jira: https://warthogs.atlassian.net/browse/KERNTT-666
Signed-off-by: Juerg Haefliger <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>