Pārlūkot izejas kodu

add new step

master
belliash 7 gadus atpakaļ
vecāks
revīzija
251e311482
1 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 8
    2
      files/dispatch.sh

+ 8
- 2
files/dispatch.sh Parādīt failu

@@ -91,11 +91,17 @@ if [ ${DISPATCH_STAGE} -eq 2 ]; then
91 91
 	dispatchProgress 3
92 92
 fi
93 93
 
94
-# Begin stage #3
95 94
 if [ ${DISPATCH_STAGE} -eq 3 ]; then
95
+	einfo "Dispatching system..."
96
+	emerge -1 --nodeps baselayout &> /dev/null || die "Unable to emerge baselayout!" 3
97
+	emerge -1 --nodeps openrc &> /dev/null || die "Unable to emerge openrc!" 3
98
+	dispatchProgress 4
99
+fi
100
+
101
+# Begin stage #4
102
+if [ ${DISPATCH_STAGE} -eq 4 ]; then
96 103
 	einfo "Cleaning up..."
97 104
 	rm -rf /tmp/regen2-dispatch
98 105
 	einfo "All done!"
99
-	sleep 5
100 106
 	einfo "Enjoy reGen2!"
101 107
 fi

Notiek ielāde…
Atcelt
Saglabāt