Commit Graph

14 Commits

Author SHA1 Message Date
Dan Streetman
96b178356e 40-vm-hotadd.rules: check offline before onlining memory/cpus
The kernel will return EINVAL if the memory or cpu is already online, which
is harmless, but adds a confusing error to the log.  Avoid the error
message by only onlining if the memory or cpu is currently offline.

LP: #1876018
2020-06-30 15:09:51 -04:00
Topi Miettinen
32c0a18d2b
Delete empty lines at end of file
Upstream commit hooks don't allow empty lines and of course they serve no
purpose.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-05-16 11:25:10 +03:00
Martin Pitt
c9eb7512b0 40-vm-hotadd.rules: Fix typo 2015-08-18 23:53:26 +02:00
Martin Pitt
3676d8c7be debian/extra/rules-ubuntu/40-hyperv-hotadd.rules: Also apply to Xen, and rename to 40-vm-hotadd.rules 2015-08-14 16:35:01 +02:00
Michael Biebl
e05826cb0b Fix typo: persistant → persistent, thanks lintian 2015-06-18 15:36:21 +02:00
Martin Pitt
8acd8dc8b5 Put back *.agent scripts and use net.agent in Ubuntu
This fixes escaping of unit names, reduces the delta, and will make it easier
to get a common solution for integrating ifup.d/ scripts with networkd.
2015-05-20 23:45:35 +02:00
Martin Pitt
2ee86a0a4f rules-ubuntu/71-power-switch-proliant.rules: Add support for HP ProLiant m400 on Linux 3.16+
On newer kernels the device name is different.

Thanks to Craig Magina!

LP: #1428811
2015-03-08 11:42:53 +01:00
Martin Pitt
b640a9303e Revert "(Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives"
This reverts commit 2787a8bed5.

This is not a good long-term approach to fix this bug, only as a workaround for
a stable release update. See discussion in https://launchpad.net/bugs/1420544,
as long as that didn't come to a conclusion let's not ship this.
2015-02-12 17:23:00 +01:00
Martin Pitt
2787a8bed5 (Ubuntu) Add 62-cloudimg.rules to use noop I/O scheduler for Google virtual drives
LP: #1420544
2015-02-11 17:36:49 +01:00
Martin Pitt
7323d572f0 Don't install the Debian *.agent scripts when building on Ubuntu
They were never supported there. Instead, have Ubuntu's
80-networking.rules directly pull in ifup@.service, which is much easier and
more efficient.
2015-01-22 12:05:51 +01:00
Martin Pitt
ad0e1461b6 Add 78-graphics-card.rules when building on Ubuntu
Mark KMS cpaable graphics devices as PRIMARY_DEVICE_FOR_DISPLAY so that we can
wait for those in plymouth.

By Scott James Remnant.
2015-01-22 12:05:37 +01:00
Martin Pitt
8765a57c3f Add 71-power-switch-proliant.rules when building on Ubuntu
This supports the power switches of ProLiant Server Cartridges.

By Dann Frazier.
2015-01-22 12:05:37 +01:00
Martin Pitt
ea65517f99 Add 61-persistant-storage-android.rules when building on Ubuntu
This creates persistent symlinks for partitions with PARTNAME.

By Ricardo Salveti.
2015-01-22 12:05:37 +01:00
Martin Pitt
3ce70c0b3d Add 40-hyperv-hotadd.rules when building on Ubuntu
Workaround for https://launchpad.net/bugs/1233466.
2015-01-22 12:05:29 +01:00