avoid warnings inside initrd

This commit is contained in:
Dietmar Maurer
2015-01-14 19:07:21 +01:00
parent 6a193c585a
commit 2870e28ec9
3 changed files with 11 additions and 2 deletions
+8
View File
@@ -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=}"