Commit Graph

6 Commits

Author SHA1 Message Date
Benjamin Drung
7abfa8dc77 Fix shellcheck issues in initramfs-tools scripts
initramfs-tools will use shellcheck on its own code and will probably
ship a shellcheck autopkgtest that checks its hooks and script
directory. That's how the shellcheck issues in systemd's initramfs-tools
scripts were found.

```
shellcheck -e SC1091 $(find debian/extra/initramfs-tools/ -type f)
```
2019-01-12 20:36:33 +01:00
Dimitri John Ledkov
4d0d6d9d31
initramfs-tools: trigger udevadm add actions with subsystems first.
This updates the initramfs-tools init-top udev script to trigger udevadm
actions with type specified. This mimicks the
systemd-udev-trigger.service. Without type specified only devices are
triggered, but triggering subsystems may also be required and should happen
before triggering the devices. This is the case for example on s390x with zdev
generated udev rules.

LP: #1713536
2017-08-30 11:10:17 +01:00
Michael Biebl
52d12b880b Drop scsi_wait_scan hack from the udev initramfs-tools script
This Linux kernel module has been broken since 2.6.30 and as a result
was removed in 3.5. The Debian Jessie kernel no longer ships this
module.

Closes: #752775
2015-07-15 23:35:52 +02:00
Martin Pitt
61e055638c debian/extra/initramfs-tools/scripts/init-top/udev: Drop $ROOTDELAY wait
This does not concern udev in particular, but is handled by initramfs-tools
itself (scripts/local). The intention of this parameter is not to statically
wait for the given time, but wait *up to* that time for the root device to
appear.

Thanks to Thomas Conté for pointing this out!
2015-06-01 15:14:35 +02:00
Martin Pitt
6e33bf38ef When booting with "quiet", run the initramfs' udevd with "notice" log level
This avoids the "starting version XXX" message cluttering the screen in quiet
mode.

LP: #1432171
2015-05-21 07:36:43 +02: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