File: waypoints.h

package info (click to toggle)
base-installer 1.189
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,180 kB
  • sloc: sh: 1,569; ansic: 704; makefile: 59; perl: 50
file content (31 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * debootstrap waypoints for run-debootstrap. See the README for docs.
 */
struct waypoint {
	int startpercent;
	int endpercent;
	char *progress_id;
};
static struct waypoint waypoints[] = {
	{ 0,	0,	"START" },	/* dummy entry, required */
	{ 0,	1,	"DOWNREL" },	/* downloading release files; very quick */
	{ 1,	5,	"DOWNPKGS" },	/* downloading packages files; time varies
		                           by bandwidth (and size); low granularity */
	{ 5,	10,	"SIZEDEBS" },   /* getting packages sizes; high granularity */
	{ 10,	25,	"DOWNDEBS" },   /* downloading packages; run time varies by
					   bandwidth; high granularity */
	{ 25,	45,	"EXTRACTPKGS" },/* extracting the core packages */

	/* old debootstrap with poor granularity */
	{ 45,	100,	"INSTBASE" },	/* installing the base system */

	/* new debootstrap with better granularity */
	{ 45,	50,	"INSTCORE" },	/* installing packages needed for dpkg to
					   work */
	{ 50,	60,	"UNPACKREQ" },	/* unpacking required packages */
	{ 60,	70,	"CONFREQ" },	/* configuring required packages */
	{ 70,	85,	"UNPACKBASE" },	/* unpacking the rest of the base system */
	{ 85,	100,	"CONFBASE" },	/* configuring the rest of the base system */

	{ 100,	0,	NULL },		/* last entry, required */
};