From 2d8c5dbcc247d084e0945c8717f11400655a943e Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Sun, 6 Sep 2020 00:34:24 +0300 Subject: [PATCH] e2k: support flash boot targets other than install Yet another silly distraction... --- features.in/e2k/lib/50-e2k-write.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features.in/e2k/lib/50-e2k-write.sh b/features.in/e2k/lib/50-e2k-write.sh index 1a7edc38..ce3aa4d8 100755 --- a/features.in/e2k/lib/50-e2k-write.sh +++ b/features.in/e2k/lib/50-e2k-write.sh @@ -33,7 +33,7 @@ case "$2" in cp -avt "$dst" -- "$src"/{.disk,*} grep -q "^default=.*_flash$" "$dst/boot.conf" || { echo -n "updating default boot target... " - sed -i 's,default=install$,&_flash,' "$dst/boot.conf" + sed -i 's,default=.*$,&_flash,' "$dst/boot.conf" echo "done" } echo -n "unmounting media... "