iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes and updates for t10
[automated-distro-installer]
/
fai
/
config
/
files
/
root
/
fai-check
/
VOL_BUSTER_BOOTSTRAP
diff --git
a/fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
b/fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
index cff15ed664f9ff77fcbc1d08f3f870f903ca0103..e063ab2b4a37fce0dbaa9108d2ec3dd1028992e4 100755
(executable)
--- a/
fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
+++ b/
fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
@@
-52,8
+52,10
@@
first=true
for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \
|sort); do
for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \
|sort); do
- if [[ $(blockdev --getsize64 ${boot_disk}4) == 8388608 ]]; then
- # old partition scheme
+ # Decide which is my grub_ext partition. see partition.DEFAULT file
+ # for details
+ if [[ $(blockdev --getsize64 ${dev}4) == 8388608 ]]; then
+ # Old partition scheme
dev+=4
else
dev+=5
dev+=4
else
dev+=5