2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-28 05:50:30 +00:00

Merge pull request #140 from henglikuang/boot_order_issue

Fix efivars handling of unexpected unmount
This commit is contained in:
Jarrod Johnson
2024-01-17 08:20:17 -05:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ cp /custom-installation/confluent/bin/apiclient /target/opt/confluent/bin
mount -o bind /dev /target/dev
mount -o bind /proc /target/proc
mount -o bind /sys /target/sys
mount -o bind /sys/firmware/efi/efivars /target/sys/firmware/efi/efivars
if [ 1 = $updategrub ]; then
chroot /target update-grub
fi

View File

@@ -60,6 +60,7 @@ cp /custom-installation/confluent/bin/apiclient /target/opt/confluent/bin
mount -o bind /dev /target/dev
mount -o bind /proc /target/proc
mount -o bind /sys /target/sys
mount -o bind /sys/firmware/efi/efivars /target/sys/firmware/efi/efivars
if [ 1 = $updategrub ]; then
chroot /target update-grub
fi