~apw/ubuntu/+source/linux/+git/dkms:dkms-in-build

Last commit made on 2018-04-09
Get this branch:
git clone -b dkms-in-build https://git.launchpad.net/~apw/ubuntu/+source/linux/+git/dkms
Only Andy Whitcroft can upload to this branch. If you are Andy Whitcroft please log in for upload directions.

Branch merges

Branch information

Name:
dkms-in-build
Repository:
lp:~apw/ubuntu/+source/linux/+git/dkms

Recent commits

84f62a1... by Andy Whitcroft

UBUNTU: [Packaging] DKMS -- build and sign nvidia packages and ship components ONLY

Signed-off-by: Andy Whitcroft <email address hidden>

de60a73... by Andy Whitcroft

add save objects for later use

Signed-off-by: Andy Whitcroft <email address hidden>

f08e5f4... by Andy Whitcroft

add per package post-process step

Signed-off-by: Andy Whitcroft <email address hidden>

8ff7a50... by Andy Whitcroft

DISABLE ZFS

Signed-off-by: Andy Whitcroft <email address hidden>

9772882... by Andy Whitcroft

GENERIC ONLY

Signed-off-by: Andy Whitcroft <email address hidden>

4b66c69... by Andy Whitcroft

UBUNTU: [Packaging] DKMS -- initial framework

Signed-off-by: Andy Whitcroft <email address hidden>

e512099... by Andy Whitcroft

UBUNTU: [Packaging] switch to triggers for postinst.d postrm.d handling

When we install linux-image we have to run kernel postinst.d support in
case this kernel has no linux-image-extra. Should it have an extra and
we install we then have to assume that is being installed cold
and that the same processing is neeed. If we are installing both at the
same time, we necessarily trigger kernel postinst.d twice. As this
includes rebuilding the initramfs and reconfiguring the boot loader this
is very inefficient.

For removal of linux-image-extra when we remove the package we also
need to run postinst.d handling in order to pare down the initramfs to
linux-image contents only. However when we are removing both packages
we immediatly remove the rebuilt initramfs. Doubly annoying.

This patch switches us to using a trigger against the linux-image package
for all postinst.d and postrm.d handling. On installation postinst.d
gets triggered twice once by linux-image and once by linux-image-extra.
As triggers are non-cumulative we will only run this processing
once. When removing both packages we will trigger postinst.d from
linux-image-extra and then in linux-image postrm.d we effectivly ignore
the pending trigger and simply run the postrm.d. This prevents us from
rebuilding the initramfs.

Signed-off-by: Andy Whitcroft <email address hidden>

b3ea73a... by Andy Whitcroft

UBUNTU: [Packaging] update to Debian like control scripts

Signed-off-by: Andy Whitcroft <email address hidden>

9b4816d... by Seth Forshee

UBUNTU: Ubuntu-4.15.0-15.16

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

b598b39... by Mario Limonciello

PM / hibernate: Make passing hibernate offsets more friendly

BugLink: http://bugs.launchpad.net/bugs/1760106

Currently the only way to specify a hibernate offset for a
swap file is on the kernel command line.

Add a new /sys/power/resume_offset that lets userspace
specify the offset and disk to use when initiating a hibernate
cycle.

Signed-off-by: Mario Limonciello <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
(cherry picked from commit 355064675f1c997cea017ea64c8f2c216e5425d9 linux-next)
Signed-off-by: Seth Forshee <email address hidden>