Commit 652bdd53 authored by Anton Midyukov's avatar Anton Midyukov

grub: set fallback ROOT_UUID

The probe binary is missing from the signed grub efi image. Link: https://bugzilla.altlinux.org/54496
parent a183d6e0
......@@ -7,6 +7,7 @@ if [ -n "$GRUB_TERMINAL" ]; then
fi
probe -u $root --set ROOT_UUID
if [ -z "$ROOT_UUID" ]; then set ROOT_UUID="@UUID_ISO@"; fi
export ROOT_UUID
insmod echo
......
......@@ -108,6 +108,7 @@ bootargs: clean
@sed -i "s,@stagename@,$(STAGE1_INITRD_STAGE2_OPTION),g" $(DSTCFGS)
@sed -i "s,@install2_init@,$(INSTALL2_INIT),g" $(DSTCFGS)
@sed -i "s,@LIVE_NAME@,$(LIVE_NAME),g" $(DSTCFGS)
@sed -i "s,@UUID_ISO@,$(UUID_ISO),g" $(DSTCFGS)
@if [ -n "$(GLOBAL_TTY_DEV)" ] && [ -n "$(GLOBAL_TTY_RATE)" ]; then \
sed -i "s,@serial_speed@,$(GLOBAL_TTY_RATE),g" $(DSTCFGS); \
SERIAL_UNIT="`echo $(GLOBAL_TTY_DEV) |sed -r 's,^[^0-9]+,,'`"; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment