Commit Graph

24 Commits

Author SHA1 Message Date
Luca Boccassi
73788f18c6 Add nodoc profile support
Co-authored-by: Michael Biebl <biebl@debian.org>
2022-06-22 12:40:56 +00:00
Michael Biebl
4f982a70de Don't override sourcedir/destdir anymore
No longer necessary after dropping the separate udeb build flavour.

Gbp-Dch: Ignore
2022-01-02 21:04:11 +01:00
Michael Biebl
8038f56cd3 Clean up udev.install a bit
It's unlikely that we add back a debian/extra/60-keyboard.hwdb given it
has been gone for over 6 years, so remove the commented out install
line.

See 1eee9b95e9

Gbp-Dch: Ignore
2021-11-13 21:23:00 +01:00
Michael Biebl
a12cf5d187 Fix removal of systemd-hwdb-update.service
As we don't support factory-reset, we don't need this service.
In Debian, the hwdb binary database is updated via a dpkg file trigger.
2021-07-07 20:20:20 +02:00
Michael Biebl
dcd337b646 Make it easier to override MAC based name policy for USB network adapters
Replace 73-usb-net-by-mac.rules with 73-usb-net-by-mac.link. The .link
file provides the same functionality but makes it easier to set a custom
name for USB network adapters via the systemd.link mechanism.

Closes: #941636
Thanks: Benjamin Poirier
2019-12-02 18:07:33 +01:00
Michael Biebl
065f991c9b Install static-nodes-permissions.conf tmpfile in udev
This tmpfile uses the "kvm" system group which is created by the udev
package.

Gbp-Dch: Short
2019-08-31 00:18:00 +02:00
Martin Pitt
17011b6747 Move systemd.link(5) to udev package
.link files are being handled by udev, so it should ship the
corresponding manpage. Bump Breaks/Replaces accordingly.

Closes: #857270
2017-03-12 12:32:01 +01:00
Martin Pitt
7c43fa2dcc udev: Drop hotplug.functions
The last remaining user of this (ifplugd) got fixed.

Add appropriate versioned Breaks: to ensure that older versions of these three
packages are not being used with this new udev.
2016-05-13 14:44:31 +02:00
Martin Pitt
36ccf08516 Ship fbdev-blacklist.conf in /lib/modprobe.d/ instead of /etc/modprobe.d/
Remove the conffile on upgrades.
2016-04-27 00:19:18 +02:00
Martin Pitt
efbe5b3e93 Set MAC based name for USB network interfaces only for universally administered (i. e. stable) MACs
Stop doing this for locally administered (i. e. randomly generated) ones. These
devices have no intrinsic stable properties, so use the default location based
names for those.

Drop /lib/systemd/network/90-mac-for-usb.link (as link files don't currently
support globs for MACAddress=) and replace with an udev rule in
/lib/udev/rules.d/73-special-net-names.rules.

Closes: #812575
LP: #1574483
2016-04-25 10:32:20 +02:00
Michael Biebl
b81f0e8f45 Only ship *.link files as part of the udev package
The *.network files are solely used by systemd-networkd and should
therefor be shipped by the systemd package.

Closes: #808237
2016-01-29 21:09:20 +01:00
Martin Pitt
e81ab56310 Put back /lib/udev/hotplug.functions
Until the three remaining packages that use it stop doing so:

  - usb-modeswitch: https://bugs.debian.org/810104
  - joystick: https://bugs.debian.org/810115
  - ifplugd: https://bugs.debian.org/810116

Closes: #810114
2016-01-06 17:36:31 +01:00
Martin Pitt
ce90464a93 Drop net.agent, 80-networking.rules, and ifup@.service
These moved to ifupdown 0.8.5 now. Add Breaks: to earlier versions.
2016-01-02 10:03:56 +01:00
Martin Pitt
c700f841e7 Drop udev-finish
We needed this for the autogenerated CD and network interface names, but both
are gone now.
2015-09-04 08:09:38 +02:00
Martin Pitt
c4c69555fb Install /lib/systemd/network/* into udev instead of systemd
It's really udev which is evaluating these. Bump Conflicts/Replaces
accordingly.
2015-08-22 12:08:30 +02:00
Michael Biebl
d0dc85fce8 Move a few files into their correct packages
Move the man pages for libnss-myhostname, libnss-mymachines and
udev.conf from systemd into the correct package. Move the zsh completion
file for udevadm into the udev package as well. Add Breaks/Replaces
accordingly.

Closes: #790879
2015-07-08 18:49:15 +02:00
Martin Pitt
51009270be Add debian/extra/01-mac-for-usb.link: Use MAC based names for network interfaces which are (directly or indirectly) on USB
Path based names are inadequate for dynamic buses like USB.

See discussion on

  https://lists.debian.org/debian-devel/2015/05/msg00170.html

and revised proposal on

  https://lists.debian.org/debian-devel/2015/06/msg00018.html
2015-06-04 12:14:26 +02:00
Martin Pitt
1eee9b95e9 Drop debian/extra/60-keyboard.hwdb for now
Upstream has a newer version, and it's not nearly as often updated any more as
it used to be.
2015-05-25 19:50:56 +02:00
Martin Pitt
f420865976 Move systemd-hwdb manpages and units to udev
Follow-up fix for commit 471d9aaa2.
2015-02-17 14:20:34 +01:00
Martin Pitt
471d9aaa25 Move systemd-hwdb into udev
It fits better there, as udev also ships the hdwb.d database.
2015-02-17 13:17:22 +01:00
Michael Biebl
3a46a22c47 Ship bash-completion for udevadm
Closes: #776166
2015-01-26 15:12:12 +01:00
Martin Pitt
9e1d0901b5 Clean up Debian specific file installation
In debian/rules, remove manual file installation. Move them to
debian/*.install.

Move all Debian specific installed files to debian/extra/.
2015-01-22 09:46:15 +01:00
Martin Pitt
a79911a8c6 Add debian/extra/60-keyboard.hwdb: Latest keymaps from upstream git
This makes it trivial to backport keymap fixes to stable releases.

Closes: #657809
LP: #1322770
LP: #1339998
2014-08-06 12:59:56 +02:00
Michael Biebl
c3873876ac Add .install files for the udev packages
They are basically a copy from the old udev package.
Also update the systemd.install file.

Two important issues:
- Since we are using dh_installinit --sourcedirectory now (for the
  flavours), we can no longer install files from debian/ via .install
  and need to do that manually via debian/rules.
- Splitting up systemd and udev is rather cumbersome as they have many
  shared directories. Instead of listing each file individually, we
  allow that some files are installed twice and remove them later on via
  debian/rules.
2013-07-18 16:54:10 +02:00