summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall19
1 files changed, 19 insertions, 0 deletions
diff --git a/install b/install
index 281aac3..e585b92 100755
--- a/install
+++ b/install
@@ -46,6 +46,25 @@ mirrors = [
]
+# Stages of debootstraping in order. Debootstrap gives
+# progress for each stage, but we need entire progress.
+# Format: mile : (a, z, desc), where:
+# - mile is a stage name, e. g. DOWNDEBS;
+# - a, z - the start and the end position on progress bar,
+# e. i. a=0 z=100 - entire progress bar (100%);
+debootstrap_miles = {
+ 'DOWNREL' : (0, 1), # Downloading the 'Release' file
+ 'DOWNPKGS' : (1, 5), # Downloading the 'Packages' file
+ 'SIZEDEBS' : (5, 10), # Finding packags sizes
+ 'DOWNDEBS' : (10, 25), # Downloading packages (*.deb)
+ 'EXTRACTPKGS' : (25, 45), # Extracting core packages
+ 'INSTCORE' : (45, 50), # Installing core packages
+ 'UNPACKREQ' : (50, 60), # Unpacking required paclages
+ 'CONFREQ' : (60, 70), # Configuring required paclages
+ 'UNPACKBASE' : (70, 85), # Unpacking the base system
+ 'CONFBASE' : (85, 100), # Configuring the base system
+}
+
# FS to be created in boot environment.
# Order is important.
befs = [