Skip to content

Commit

Permalink
Import ZFS volumes after luks. Ref: Sabayon#25
Browse files Browse the repository at this point in the history
  • Loading branch information
alinefr committed Mar 6, 2016
1 parent 386a0ad commit 489f9fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defaults/initrd.d/00-zfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ zfs_start_volumes() {
if [ "${?}" = "0" ]; then
good_msg "Importing ZFS pools succeeded"
else
bad_msg "Imported ZFS pools failed"
warn_msg "Imported ZFS pools failed"
fi

else
Expand All @@ -105,7 +105,7 @@ zfs_start_volumes() {
if [ "${?}" = "0" ]; then
good_msg "Import of ${ZFS_POOL} succeeded"
else
bad_msg "Import of ${ZFS_POOL} failed"
warn_msg "Import of ${ZFS_POOL} failed"
fi
fi
fi
Expand Down
3 changes: 3 additions & 0 deletions defaults/linuxrc
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ setup_keymap
# Initialize LUKS root device except for livecd's
is_livecd || start_luks

start_volumes
zfs_start_volumes

# Initialize resume from hibernation
is_livecd || resume_init

Expand Down

0 comments on commit 489f9fe

Please sign in to comment.