mbox series

[noble,v2,0/3] Add support for rootless builds (Hackathon: KERNTT-669)

Message ID 20231204014949.2034062-1-masahiro.yamada@canonical.com
Headers show
Series Add support for rootless builds (Hackathon: KERNTT-669) | expand

Message

Masahiro Yamada Dec. 4, 2023, 1:49 a.m. UTC
V2 added one prerequisite patch before enabling rootless builds


Masahiro Yamada (3):
  UBUNTU: SAUCE: make $(stampdir)/stamp-build-perarch depend on
    build-arch
  UBUNTU: SAUCE: Enable rootless builds
  UBUNTU: SAUCE: Allow to run debian/rules without (fake)root

 debian.master/control.stub.in   | 1 +
 debian/rules                    | 3 +++
 debian/rules.d/2-binary-arch.mk | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

Comments

Agathe Porte Dec. 4, 2023, 10:11 a.m. UTC | #1
2023-12-04 02:50 CET, Masahiro Yamada:
> V2 added one prerequisite patch before enabling rootless builds
> 
> 
> Masahiro Yamada (3):
>   UBUNTU: SAUCE: make $(stampdir)/stamp-build-perarch depend on
>     build-arch
>   UBUNTU: SAUCE: Enable rootless builds
>   UBUNTU: SAUCE: Allow to run debian/rules without (fake)root
> 
>  debian.master/control.stub.in   | 1 +
>  debian/rules                    | 3 +++
>  debian/rules.d/2-binary-arch.mk | 2 +-
>  3 files changed, 5 insertions(+), 1 deletion(-)

Acked-by: Agathe Porte <agathe.porte@canonical.com>
Thibault Ferrante Dec. 4, 2023, 12:28 p.m. UTC | #2
On 04-12-2023 02:49, Masahiro Yamada wrote:
> V2 added one prerequisite patch before enabling rootless builds
> 
> 
> Masahiro Yamada (3):
>    UBUNTU: SAUCE: make $(stampdir)/stamp-build-perarch depend on
>      build-arch
>    UBUNTU: SAUCE: Enable rootless builds
>    UBUNTU: SAUCE: Allow to run debian/rules without (fake)root
> 
>   debian.master/control.stub.in   | 1 +
>   debian/rules                    | 3 +++
>   debian/rules.d/2-binary-arch.mk | 2 +-
>   3 files changed, 5 insertions(+), 1 deletion(-)
> 

Acked-by: Thibault Ferrante <thibault.ferrante@canonical.com>

--
Thibault
Thibault Ferrante Dec. 4, 2023, 12:33 p.m. UTC | #3
Following Emil comment[1], I think these commits title should also use [Packaging] tag instead of SAUCE.

[1] : https://lists.ubuntu.com/archives/kernel-team/2023-December/147419.html

On 04-12-2023 02:49, Masahiro Yamada wrote:
> V2 added one prerequisite patch before enabling rootless builds
> 
> 
> Masahiro Yamada (3):
>    UBUNTU: SAUCE: make $(stampdir)/stamp-build-perarch depend on
>      build-arch
>    UBUNTU: SAUCE: Enable rootless builds
>    UBUNTU: SAUCE: Allow to run debian/rules without (fake)root
> 
>   debian.master/control.stub.in   | 1 +
>   debian/rules                    | 3 +++
>   debian/rules.d/2-binary-arch.mk | 2 +-
>   3 files changed, 5 insertions(+), 1 deletion(-)
> 

--
Thibault
Dimitri John Ledkov Dec. 4, 2023, 11:53 p.m. UTC | #4
This has a nice side-effect of speeding up builds, and also allowing
us to safe on disk space as we can now assume that build & binary will
be executed together.

Potentially we can also undo our confusing kernel stages dependencies
we had before which were there only because of disk space constraints.

BTW could you please also provide similar patches for:
git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-signed/+git/unstable
(branch master, both top level debian/ packaging and the nested
ancillary)
git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-restricted-modules/+git/unstable
(top-level & nested ancillary)
git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/unstable
(top-level, no ancillaries)

On Mon, 4 Dec 2023 at 01:50, Masahiro Yamada
<masahiro.yamada@canonical.com> wrote:
>
> V2 added one prerequisite patch before enabling rootless builds
>
>
> Masahiro Yamada (3):
>   UBUNTU: SAUCE: make $(stampdir)/stamp-build-perarch depend on
>     build-arch
>   UBUNTU: SAUCE: Enable rootless builds
>   UBUNTU: SAUCE: Allow to run debian/rules without (fake)root
>
>  debian.master/control.stub.in   | 1 +
>  debian/rules                    | 3 +++
>  debian/rules.d/2-binary-arch.mk | 2 +-
>  3 files changed, 5 insertions(+), 1 deletion(-)
>
> --
> 2.40.1
>
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team