Commit Graph

8 Commits

Author SHA1 Message Date
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
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
Michael Biebl
7c5512e887 Try mount -n -o move first
initramfs-tools is not actually using util-linux mount (yet), so making
mount -n --move the first alternative would trigger an error message if
users have built their initramfs without busybox support.
2016-11-22 14:44:15 +01:00
Martin Pitt
7da9dce077 Fall back to "mount -o move" in udev initramfs script
klibc's mount does not understand --move, so for the time being we need to
support both variants.

Closes: #845161
2016-11-21 09:52:58 +01:00
Luca Boccassi
5513a0c6c7 Use mount --move in initramfs-tools udev script
Due to recent changes in busybox and initramfs-tools the mount
utility is no longer the one from busybox but from util-linux.
The latter does not support mount -o move.
The former supports both -o move and --move, so use it instead to be
compatible with both.
See this discussion for more details:
https://bugs.debian.org/823856

Closes: #844775
2016-11-19 20:01:17 +01:00
Martin Pitt
2a2e638e94 debian/extra/initramfs-tools/scripts/init-bottom/udev: Prefer "nuke" again
This command comes from klibc-utils, not from initramfs-tools. But fall back to
"rm" if it does not exist.
2016-01-21 09:53:13 +01:00
Martin Pitt
d77cf3ba3f debian/extra/initramfs-tools/scripts/init-bottom/udev: Use "rm -rf" instead of "nuke"
"nuke" does not exist any more in current initramfs-tools.
2015-12-10 13:16:22 +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