summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-10 15:52:52 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-04-10 15:52:52 +0000
commit838e2c0ea9a9ca572cb17f978843b01abd45cbf4 (patch)
tree0b7105e93a649d62fb4bfbde7f8f6907a90526ae /install
parent085b3e742c43133a4c840803277b4d9cd90fda6b (diff)
downloadlive-838e2c0ea9a9ca572cb17f978843b01abd45cbf4.tar.gz
debootstrap_miles
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 = [