Skip to content

Commit

Permalink
Append ZPOOL_VDEV_NAME_PATH=1 to /etc/profile
Browse files Browse the repository at this point in the history
  • Loading branch information
danboid committed Nov 24, 2018
1 parent dec853b commit c09208e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions alez.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ install_arch(){

echo "Add Arch ZFS pacman repo..."
echo -e "\n[archzfs]\nServer = http://archzfs.com/\$repo/x86_64" >> "${installdir}/etc/pacman.conf"

echo -e "Export ZPOOL_VDEV_NAME_PATH\n"
echo -e "\nexport ZPOOL_VDEV_NAME_PATH=1" >> "${installdir}/etc/profile"

echo "Modify HOOKS in mkinitcpio.conf..."
sed -i 's/HOOKS=.*/HOOKS="base udev autodetect modconf block keyboard zfs filesystems"/g' "${installdir}/etc/mkinitcpio.conf"
Expand Down

0 comments on commit c09208e

Please sign in to comment.