Commit fc2fd035 authored by Anton Midyukov's avatar Anton Midyukov

e2k: fix 20-e2k-boot to install by default if available

stage2 image semantics have changed with live/altinst merge. Thanks Michael Shigorin.
parent 69e119be
...@@ -13,6 +13,7 @@ mv boot/image{,.0} ...@@ -13,6 +13,7 @@ mv boot/image{,.0}
[ -f live ] && default=live [ -f live ] && default=live
[ -f rescue ] && default=rescue [ -f rescue ] && default=rescue
[ -f altinst ] && default=install [ -f altinst ] && default=install
[ -f live ] && [ ! -f altinst ] && [ -f Metadata/pkg-groups.tar ] && default=install
cat > boot.conf << EOF cat > boot.conf << EOF
# USB Flash note: write the contents including .disk/ onto # USB Flash note: write the contents including .disk/ onto
...@@ -40,7 +41,6 @@ for i in live altinst liveinst rescue; do ...@@ -40,7 +41,6 @@ for i in live altinst liveinst rescue; do
label=install label=install
stage2="stagename=live" stage2="stagename=live"
init="init=/usr/sbin/install2-init" init="init=/usr/sbin/install2-init"
default=install
;; ;;
*) *)
label="$i" label="$i"
......
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