Skip to content

Revert "zfs: remove" #2115

Merged
merged 1 commit into from Apr 27, 2021
Merged

Revert "zfs: remove" #2115

merged 1 commit into from Apr 27, 2021

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Apr 27, 2021

grub-install is linked against libzfs.so.2 and libnvpair.so.1.

This reverts commit de3d21b.

    $ sudo mxgrub default
    mount -L ESP /boot/efi
    grub-install --target=x86_64-efi --no-nvram /dev/sda
    grub-install: error while loading shared libraries: libzfs.so.2: cannot open shared object file: No such file or directory
    $ ldd /usr/sbin/grub-install
    	linux-vdso.so.1 (0x00007ffcb71ec000)
    	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007eff1debb000)
    	libdevmapper.so.1.02 => /usr/lib/libdevmapper.so.1.02 (0x00007eff1dc82000)
    	libzfs.so.2 => not found
    	libnvpair.so.1 => not found
    	libc.so.6 => /lib/libc.so.6 (0x00007eff1dabb000)
    	libpthread.so.0 => /lib/libpthread.so.0 (0x00007eff1da9b000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007eff1deff000)
@pmenzel pmenzel merged commit 306a489 into master Apr 27, 2021
@thomas
Copy link
Collaborator

thomas commented Apr 27, 2021

Well, maybe you've been a bit too hasty with the merge. What about rebuilding grub w/o (unneeded) zfs-support?

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants