avoid warnings inside initrd
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
zfs-linux (0.6.3-2~wheezy) unstable; urgency=low
|
||||
|
||||
* use /sbin/modprobe to avoid warning inside initrd
|
||||
|
||||
* fix warning about undefined values inside initrd
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 14 Jan 2015 19:03:04 +0100
|
||||
|
||||
zfs-linux (0.6.3-1~wheezy) unstable; urgency=low
|
||||
|
||||
* first version for Proxmox VE
|
||||
|
||||
@@ -15,6 +15,7 @@ pre_mountroot()
|
||||
|
||||
if [ -r '/etc/default/zfs' ]
|
||||
then
|
||||
ZFS_INITRD_PRE_MOUNTROOT_SLEEP=0
|
||||
. '/etc/default/zfs'
|
||||
if [ "$ZFS_INITRD_PRE_MOUNTROOT_SLEEP" -gt '0' ]
|
||||
then
|
||||
@@ -47,7 +48,7 @@ mountroot()
|
||||
wait_for_udev
|
||||
|
||||
# Load the module now to get consistent automatic pool import behavior.
|
||||
modprobe zfs
|
||||
/sbin/modprobe zfs
|
||||
|
||||
# Check the kernel command line for overrides.
|
||||
ZFS_RPOOL="${rpool#rpool=}"
|
||||
|
||||
Reference in New Issue
Block a user