diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-12-17 19:28:55 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-12-17 19:28:55 -0200 |
commit | 40bffbe91a762217e1679586b80df06fbf754f3c (patch) | |
tree | b4c815daf1290dc83cc26f8d2b867931eb3207a9 /share | |
parent | d93a9cdb4e4a5c810528e9f788fd2d15e98626a8 (diff) | |
download | hydra-40bffbe91a762217e1679586b80df06fbf754f3c.tar.gz hydra-40bffbe91a762217e1679586b80df06fbf754f3c.tar.bz2 |
Provision: update-initramfs after editing fstab
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index c0526d8..1721a17 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -528,10 +528,12 @@ if [ "$grub" == "y" ] && [ "$encrypt" != "y" ]; then reboot_device="`blkid $boot_device | cut -d ' ' -f 2 | sed -e 's/"//g'`" # Use device name: might lead to wrong results - # During install boot_device might be /dev/sdb2, but on but be /dev/sda2 + # During install boot_device might be /dev/sdb2, but on boot be /dev/sda2 #reboot_device="$boot_device" echo "$reboot_device /boot ext4 defaults,errors=remount-ro 0 2" | $SUDO tee -a $WORK/etc/fstab > /dev/null + + hydra_sudo_run chroot $WORK update-initramfs -u fi # Utils. |