Merge pull request #231 from sesse/install-mount

Make initramfs hook install mount.btrfs
This commit is contained in:
koverstreet 2024-02-04 08:46:14 -05:00 committed by GitHub
commit f154e6ed41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,7 @@ install: bcachefs $(optional_install)
sed -i '/^# Note: make install replaces/,$$d' $(DESTDIR)$(INITRAMFS_HOOK)
echo "copy_exec $(ROOT_SBINDIR)/bcachefs /sbin/bcachefs" >> $(DESTDIR)$(INITRAMFS_HOOK)
echo "copy_exec $(ROOT_SBINDIR)/mount.bcachefs /sbin/mount.bcachefs" >> $(DESTDIR)$(INITRAMFS_HOOK)
.PHONY: install_systemd
install_systemd: $(systemd_services) $(systemd_libexecfiles)

View File

@ -25,3 +25,4 @@ add_loaded_modules 'poly1305[-_]*'
# Add the bcachefs utility to the initramfs
# Note: make install replaces this with the install path, so it must be last
#copy_exec /usr/local/sbin/bcachefs /sbin/bcachefs
#copy_exec /usr/local/sbin/mount.bcachefs /sbin/mount.bcachefs