Commit Graph

14 Commits

Author SHA1 Message Date
Tim Schlueter
bdeffdf3c7 Replaced mkdir -p with install -D in make install
Also added a comment about the bcachefs utility to the initramfs hook
2019-01-13 19:31:04 -08:00
Tim Schlueter
b4cc119f66 Make sure initramfs-tools adds chacha20 and poly1305 if loaded 2018-11-04 13:07:01 -08:00
Tim Schlueter
3a6164cdeb Adding plymouth support to initramfs script 2018-02-25 17:22:39 -08:00
Tim Schlueter
c3b8d74200 Initramfs script improvements
- Resolve the root device, so it can be specified by UUID, etc.
	- Exit immediately if the ROOTFSTYPE is set and not bcachefs
	- Only try to unlock the device 3 times before opening a shell or
	  rebooting (depending on kernel cmdline)
2018-02-25 17:22:39 -08:00
Kent Overstreet
813862a47c add -c to cmd_unlock, to check if a device needs to be unlocked 2018-02-11 14:25:33 -05:00
Kent Overstreet
dda0923eeb debify 2016-04-25 17:14:11 -08:00
Kent Overstreet
a1aa5961dc Merge remote-tracking branch 'remotes/angband/master'
Conflicts:
	make-bcache.c
2014-03-20 13:38:08 -07:00
Claudio Fleiner
24e98ce46d Adding autotools support to bcache-tools
thie enables building it in a different directory, more
flexible install and configure options, and should make it
easier to eventualy create deb and rpm packages. Additionally
this makes it much easier to build and test this package
as it now behaves the same way as others we are using.
2013-10-28 22:47:23 -07:00
Gabriel
86ba62c6a1 Move probe-bcache to UDEVLIBDIR 2013-10-06 17:35:59 +02:00
Gabriel
0c7a484a5b udev: Fit into the standard rule sequence
Move the rule to run a bit later, after
the standard udev rules have called blkid.

Don't run blkid manually, and run probe-bcache
as a fallback which can be patched out in a
package that depends on util-linux 2.24+.

probe-bcache: bail if libblkid finds anything
Preserve our last-resort safety check here
in case earlier rules fail to call blkid.
2013-10-05 22:16:22 +02:00
Gabriel
944cb4ce32 Register devices with just udev.
This means bcache devices will be registered earlier and in all
cases, not just when the rootfs fails to mount.

The initramfs hook is still there to ensure the bcache module
and udev rules are shipped if an initramfs is used.
2013-04-11 17:08:23 -07:00
Kent Overstreet
739b971d77 Fix the initramfs script 2012-07-13 00:52:52 -07:00
Kent Overstreet
a3d0e5bafb Update initramfs probe script 2012-04-11 15:33:40 -07:00
Kent Overstreet
7e97901075 UUIDs 2010-10-08 07:04:49 -07:00