From d5cb9b105dc770c5ecfc918cfe7755395de322cb Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 13 Feb 2010 18:16:14 -0600 Subject: [PATCH] boot/zfs symlink so that zpool.cache persists --- script/gentree | 1 + 1 file changed, 1 insertion(+) diff --git a/script/gentree b/script/gentree index c0db887..6e8ba7f 100755 --- a/script/gentree +++ b/script/gentree @@ -182,6 +182,7 @@ do_imgboot() { # Instead: put all modules in the root image, except those needed to boot the kernel chk mkdir -p "${sroot}/boot/boot" chk mkdir -p "${sroot}/boot/kernel" + chk ln -sf "../etc/zfs" "${sroot}/boot/zfs" # Link all modules into the root fs ( cd "${sboot}/kernel" && find . -name '*.ko' -o -name 'linker.hints' | cpio -p --link "${sroot}/boot/kernel" ) || chk -- 2.42.0