~sforshee/+git/linux-unstable:build-size

Last commit made on 2021-06-02
Get this branch:
git clone -b build-size https://git.launchpad.net/~sforshee/+git/linux-unstable
Only Seth Forshee can upload to this branch. If you are Seth Forshee please log in for upload directions.

Branch merges

Branch information

Name:
build-size
Repository:
lp:~sforshee/+git/linux-unstable

Recent commits

20a20df... by Seth Forshee

UBUNTU: [Debian] dkms-build -- use fakeroot if not running as root

Some dkms builds require running as root, or at least the illusion of
doing so. However we need to do dkms builds before deleting the
flavour build directory in order to sign the modules, and this may
happen without fakeroot. Detect whether or not dkms-build has been
invoked as root, and if not use fakeroot to do the dkms build.

Signed-off-by: Seth Forshee <email address hidden>

93f311a... by Seth Forshee

UBUNTU: [Config] remove now unsued do_dkms_nvidia* build variables

Signed-off-by: Seth Forshee <email address hidden>

32b3fae... by Seth Forshee

UBUNTU: [Debian] remove nvidia dkms build support

We no longer need to generate signatures for nvidia modules during our
kernel build, as they are signed using the ubuntu drivers key. Remove
support for building the nvidia modules.

We must still keep the dkms-build--* scripts for now, as our tooling
currently syncs these scripts from the kernel tree into
linux-restricted-modules.

Signed-off-by: Seth Forshee <email address hidden>

e6d1e3f... by Seth Forshee

UBUNTU: [Debian] first pass at fixing permissions

This is the naive approach, simply changing ownership to root:root for
all files which might have been installed during the build phase. May
want to do something smarter wrt types of files, but the end result is
likely to be the same.

Signed-off-by: Seth Forshee <email address hidden>

b9e0892... by Seth Forshee

UBUNTU: [Debian] exclude $(DEBIAN)/__abi.current from linux-source

Previously install-source ran before the flavour install, but that is
no longer the case. As a result the __abi.current driectory ends up
in the linux-source package. Explicitly exclude it when installing
files for linux-source.

Signed-off-by: Seth Forshee <email address hidden>

8acbbcc... by Seth Forshee

UBUNTU: [Debian] remove dh_testroot from install targets

When invoked during the build phase we do not expect to be running as
root or under fakeroot.

Signed-off-by: Seth Forshee <email address hidden>

52de944... by Seth Forshee

UBUNTU: [Debian] run install-$(flavour) targets during build phase

Move installation of files from the flavour build directories to the
build phase. This results in cleaning up of one flavour build
directory before starting the build of the next flavour, significantly
reducing the amount of space needed on builders.

Note that this will result in incorrect ownership of files in cases
where the build and binary phases of building packages are run
separately. This will be addressed in a later commit.

Signed-off-by: Seth Forshee <email address hidden>

e1327f4... by Seth Forshee

UBUNTU: [Debian] use stamps for flavour install targets

In preparation for moving installation of files from the flavour
build directories over to the build phase, convert relevant install-*
targets to use stamps.

Signed-off-by: Seth Forshee <email address hidden>

f328ce1... by Alex Hung

UBUNTU: SAUCE: iwlwifi: add new pci id for 6235

lspci output:
Network controller [0280]: Intel Corporation Centrino Advanced-N6235
 [8086:088f] (rev 24)
 Subsystem: Intel Corporation Centrino Advanced-N 6235 [8086:526a]

BugLink: https://bugs.launchpad.net/bugs/1920180

Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>

cebbe94... by Kai-Heng Feng

vgaarb: Use ACPI HID name to find integrated GPU

BugLink: https://bugs.launchpad.net/bugs/1929217

Commit 3d42f1ddc47a ("vgaarb: Keep adding VGA device in queue") assumes
the first device is an integrated GPU. However, on AMD platforms an
integrated GPU can have higher PCI device number than a discrete GPU.

Integrated GPU on ACPI platform generally has _DOD and _DOS method, so
use that as predicate to find integrated GPU. If the new strategy
doesn't work, fallback to use the first device as boot VGA.

Reviewed-by: Alex Deucher <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>
(cherry picked from commit 808a4ae5fa7dfba286a274e729e40522500c57fe linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>