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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
|
% SiSU Document Abstraction v0.1
% Source: live-manual.ssm
@meta {
title.main: Live Systems Manual
title.full: Live Systems Manual
creator.author: Live Systems Project <debian-live@lists.debian.org>
creator.author_surname: Live Systems Project <debian-live@lists.debian.org>
creator.author_surname_fn: Live Systems Project <debian-live@lists.debian.org>
date.published: 2015-08-23
rights.copyright: 2006-2015 Live Systems Project
rights.license: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ┙ ┙ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ┙ ┙ You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. ┙ ┙ The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file.
classify.topic_register: SiSU markup sample:technical writing;software:program
}
@make {
doc_type: book
auto_num_top_lv: 9
auto_num_depth: 2
}
@doc_has {
inline_links: 117
inline_notes_reg: 0
inline_notes_star: 0
tables: 0
codeblocks: 155
images: 1
poems: 0
groups: 0
blocks: 0
quotes: 0
}
@head {
[1] heading :A
.part: body
.section: body
.last_descendant: 1019
.children: 2 3 4 72 73 106 107 108 157 158 296 297 329 330 355 356 368 369 497 498 527 528 615 616 630 631 651 652 653 680 681 737 738 783 784 803 804 822 823 824 913 914 915
.dom_status: 1 0 0 0 0 0 0 0 0
.dom_status_collapsed: 1 0 0 0 0 0 0 0 0
.heading_lev_collapsed: 0
.is_of_type: para
.sha256: CEA5FD97742D5A8431FCFC6719C865FC76C07CAF4BBF2DD09DD05A605F53025C
.segment: _the_title
.segment_epub: _the_title
.heading_ancestors_text: Live Systems Manual|||||||
| Live Systems Manual
}
@toc {
[0] heading :1
.part: frontmatter
.parent: 1
.dom_status: 4 0 0 0 1 0 0 0 0
.dom_status_collapsed: 4 1 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.ocn_off: true
.is_of_type: para
.segment: toc
.segment_next: about-manual
.segment_epub: toc
.heading_ancestors_text: Live Systems Manual||||Table of Contents|||
.anchor_tag: toc
| Table of Contents
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥About┝┤#2├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥About this manual┝┤#3├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥About this manual┝┤#4├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥For the impatient┝┤#8├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Terms┝┤#12├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Authors┝┤#29├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Contributing to this document┝┤#44├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Applying changes┝┤#46├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Translation┝┤#60├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥About the ${project}┝┤#72├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥About the ${project}┝┤#73├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Motivation┝┤#74├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥What is wrong with current live systems┝┤#75├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Why create our own live system?┝┤#85├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Philosophy┝┤#93├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Only unchanged packages from Debian “main”┝┤#94├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥No package configuration of the live system┝┤#98├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Contact┝┤#102├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥User┝┤#106├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Installation┝┤#107├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Installation┝┤#108├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Requirements┝┤#109├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Installing live-build┝┤#117├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥From the Debian repository┝┤#123├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥From source┝┤#126├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥From 'snapshots'┝┤#137├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Installing live-boot and live-config┝┤#139├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥From the Debian repository┝┤#141├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥From source┝┤#143├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥From 'snapshots'┝┤#155├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥The basics┝┤#157├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥The basics┝┤#158├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥What is a live system?┝┤#162├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Downloading prebuilt images┝┤#170├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Using the web live image builder┝┤#172├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Web builder usage and caveats┝┤#174├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥First steps: building an ISO hybrid image┝┤#178├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Using an ISO hybrid live image┝┤#189├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Burning an ISO image to a physical medium┝┤#191├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Copying an ISO hybrid image to a USB stick┝┤#194├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using the space left on a USB stick┝┤#199├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Booting the live medium┝┤#206├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Using a virtual machine for testing┝┤#210├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Testing an ISO image with QEMU┝┤#217├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Testing an ISO image with VirtualBox┝┤#224├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Building and using an HDD image┝┤#232├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Building a netboot image┝┤#244├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥DHCP server┝┤#257├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥TFTP server┝┤#261├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥NFS server┝┤#266├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Netboot testing HowTo┝┤#274├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Qemu┝┤#277├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Webbooting┝┤#283├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Getting the webboot files┝┤#285├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Booting webboot images┝┤#291├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Overview of tools┝┤#296├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Overview of tools┝┤#297├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥The live-build package┝┤#299├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥The ⑆■┨lb config┣■ command┝┤#309├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥The ⑆■┨lb build┣■ command┝┤#319├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥The ⑆■┨lb clean┣■ command┝┤#321├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥The live-boot package┝┤#323├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥The live-config package┝┤#327├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Managing a configuration┝┤#329├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Managing a configuration┝┤#330├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Dealing with configuration changes┝┤#332├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Why use auto scripts? What do they do?┝┤#334├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Use example auto scripts┝┤#337├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Clone a configuration published via Git┝┤#344├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Customizing contents┝┤#355├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Customization overview┝┤#356├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Build time vs. boot time configuration┝┤#358├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Stages of the build┝┤#361├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Supplement lb config with files┝┤#364├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Customization tasks┝┤#366├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Customizing package installation┝┤#368├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Customizing package installation┝┤#369├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Package sources┝┤#371├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Distribution, archive areas and mode┝┤#372├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Distribution mirrors┝┤#379├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Distribution mirrors used at build time┝┤#381├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Distribution mirrors used at run time┝┤#385├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Additional repositories┝┤#388├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Choosing packages to install┝┤#396├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Package lists┝┤#398├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using metapackages┝┤#401├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Local package lists┝┤#409├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Local binary package lists┝┤#413├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Generated package lists┝┤#415├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using conditionals inside package lists┝┤#419├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Removing packages at install time┝┤#428├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Desktop and language tasks┝┤#430├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Kernel flavour and version┝┤#435├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Custom kernels┝┤#440├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Installing modified or third-party packages┝┤#448├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using ⑆■┨packages.chroot┣■ to install custom packages┝┤#455├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using an APT repository to install custom packages┝┤#462├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Custom packages and APT┝┤#465├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Configuring APT at build time┝┤#468├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Choosing apt or aptitude┝┤#470├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using a proxy with APT┝┤#474├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Tweaking APT to save space┝┤#477├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Passing options to apt or aptitude┝┤#486├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥APT pinning┝┤#491├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Customizing contents┝┤#497├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Customizing contents┝┤#498├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Includes┝┤#500├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Live/chroot local includes┝┤#505├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Binary local includes┝┤#512├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Hooks┝┤#516├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Live/chroot local hooks┝┤#518├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Boot-time hooks┝┤#520├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Binary local hooks┝┤#522├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Preseeding Debconf questions┝┤#524├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Customizing run time behaviours┝┤#527├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Customizing run time behaviours┝┤#528├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Customizing the live user┝┤#530├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Customizing locale and language┝┤#539├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Persistence┝┤#556├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥The persistence.conf file┝┤#578├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using more than one persistence store┝┤#583├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Using persistence with encryption┝┤#589├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Customizing the binary image┝┤#615├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Customizing the binary image┝┤#616├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Bootloaders┝┤#617├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥ISO metadata┝┤#624├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Customizing Debian Installer┝┤#630├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Customizing Debian Installer┝┤#631├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Types of Debian Installer┝┤#634├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Customizing Debian Installer by preseeding┝┤#646├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Customizing Debian Installer content┝┤#649├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Project┝┤#651├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Contributing to the project┝┤#652├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Contributing to the project┝┤#653├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Making changes┝┤#665├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Reporting bugs┝┤#680├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Reporting bugs┝┤#681├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Known issues┝┤#687├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Rebuild from scratch┝┤#692├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Use up-to-date packages┝┤#694├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Collect information┝┤#696├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Isolate the failing case if possible┝┤#713├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Use the correct package to report the bug against┝┤#715├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥At build time while bootstrapping┝┤#718├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥At build time while installing packages┝┤#721├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥At boot time┝┤#725├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥At run time┝┤#727├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Do the research┝┤#729├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Where to report bugs┝┤#733├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Coding Style┝┤#737├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Coding Style┝┤#738├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Compatibility┝┤#740├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Indenting┝┤#745├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Wrapping┝┤#747├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Variables┝┤#759├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Miscellaneous┝┤#778├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Procedures┝┤#783├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Procedures┝┤#784├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Major Releases┝┤#786├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Point Releases┝┤#792├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Last Point Release of a Debian Release┝┤#796├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Point release announcement template┝┤#798├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Git repositories┝┤#803├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Git repositories┝┤#804├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Handling multiple repositories┝┤#818├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Examples┝┤#822├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Examples┝┤#823├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Examples┝┤#824├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Using the examples┝┤#826├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Tutorial 1: A default image┝┤#830├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Tutorial 2: A web browser utility┝┤#839├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Tutorial 3: A personalized image┝┤#847├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥First revision┝┤#850├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Second revision┝┤#864├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥A VNC Kiosk Client┝┤#876├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥A base image for a 128MB USB key┝┤#890├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥A localized GNOME desktop and installer┝┤#901├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Appendix┝┤#913├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 1 1
.has: links
| ┥Style guide┝┤#914├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 4 4
.has: links
| ┥Style guide┝┤#915├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Guidelines for authors┝┤#916├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Linguistic features┝┤#919├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Procedures┝┤#952├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 5 5
.has: links
| ┥Guidelines for translators┝┤#991├
[0] toc
.part: frontmatter
.ocn_off: true
.is_of_type: para
.indent: 6 6
.has: links
| ┥Translation hints┝┤#995├
}
@body {
[2] heading :B
.part: body
.parent: 1
.last_descendant: 2
.ancestors: 1 2 0 0 0 0 0 0
.ancestors_collapsed: 1 2 0 0 0 0 0 0
.dom_status: 4 1 0 0 2 0 0 0 0
.dom_status_collapsed: 4 3 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 4EFCA0D10C5FEB8E9B35EB1D994F2905BB71714E6A271F511D713B539EA5FAA1
.segment: _part_1
.segment_epub: _part_1
.heading_ancestors_text: Live Systems Manual|About||||||
| About
[3] heading :B
.part: body
.parent: 1
.last_descendant: 71
.ancestors: 1 3 0 0 0 0 0 0
.ancestors_collapsed: 1 3 0 0 0 0 0 0
.dom_status: 4 3 0 0 0 0 0 0 0
.dom_status_collapsed: 4 3 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: C8A557DF24EDBBD1DA977F2A6AE173CAE715484963F1B6C92EC56FF42755F581
.segment: _part_2
.segment_epub: _part_2
.heading_ancestors_text: Live Systems Manual|About this manual||||||
| About this manual
[4] heading :1
.part: body
.parent: 1
.last_descendant: 71
.ancestors: 1 0 0 0 4 0 0 0
.ancestors_collapsed: 1 0 4 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: C8A557DF24EDBBD1DA977F2A6AE173CAE715484963F1B6C92EC56FF42755F581
.segment: about-manual
.segment_prev: toc
.segment_next: about-project
.heading_lev_anchor: about-manual
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|||
.lev4_subtoc: 5~ ┥For the impatient┝┤#8├
.lev4_subtoc: 5~ ┥Terms┝┤#12├
.lev4_subtoc: 5~ ┥Authors┝┤#29├
.lev4_subtoc: 5~ ┥Contributing to this document┝┤#44├
.lev4_subtoc: 6~ ┥Applying changes┝┤#46├
.lev4_subtoc: 6~ ┥Translation┝┤#60├
| About this manual
[5] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CF6A6826A6E817A3FA731837482BECD2B27975CAAA105B9575D7FDBFC80A9FAA
.has: links
.stow_link: http://live-systems.org/
| This manual serves as a single access point to all documentation related to the ${project} and in particular applies to the software produced by the project for the Debian 9.0 “${stable}” release. An up-to-date version can always be found at ┥http://live-systems.org/┝┤0├
[6] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 652A953F649650F722575033962EA34FF4B0169A5F698CE7CEF2AF549096B261
.has: links
| While live-manual is primarily focused on helping you build a live system and not on end-user topics, an end user may find some useful information in these sections: ┥The Basics┝┤#the-basics├ covers downloading prebuilt images and preparing images to be booted from media or the network, either using the web builder or running live-build directly on your system. ┥Customizing run time behaviours┝┤#customizing-run-time-behaviours├ describes some options that may be specified at the boot prompt, such as selecting a keyboard layout and locale, and using persistence.
[7] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2B1A72406999251894DFBA79B240DA9C0A9BDBF563F2194B957B59DC9CE09288
| Some of the commands mentioned in the text must be executed with superuser privileges which can be obtained by becoming the root user via ⑆■┨su┣■ or by using ⑆■┨sudo┣■. To distinguish between commands which may be executed by an unprivileged user and those requiring superuser privileges, commands are prepended by ⑆■┨$┣■ or ⑆■┨#┣■ respectively. This symbol is not a part of the command.
[8] heading :2
.part: body
.last_descendant: 11
.ancestors: 1 0 0 0 0 8 0 0
.ancestors_collapsed: 1 0 0 8 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 838B1D3C148E20440D90E12D6DA5DFC1D543871231B1BD524BEBBDFB660D435F
.segment: about-manual
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|For the impatient||
| For the impatient
[9] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4777A818B6A263BC9B3A17D4C1423D94451E2E67863C606375516368B323DCCD
| While we believe that everything in this manual is important to at least some of our users, we realize it is a lot of material to cover and that you may wish to experience early success using the software before delving into the details. Therefore, we suggest reading in the following order.
[10] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 032BAA6A01F5A7D212632F90BC9761C7F20F55066149CCDB2E765698154116FD
.has: links
| First, read this chapter, ┥About this manual┝┤#about-manual├, from the beginning and ending with the ┥Terms┝┤#terms├ section. Next, skip to the three tutorials at the front of the ┥Examples┝┤#examples├ section designed to teach you image building and customization basics. Read ┥Using the examples┝┤#using-the-examples├ first, followed by ┥Tutorial 1: A default image┝┤#tutorial-1├, ┥Tutorial 2: A web browser utility┝┤#tutorial-2├ and finally ┥Tutorial 3: A personalized image┝┤#tutorial-3├. By the end of these tutorials, you will have a taste of what can be done with live systems.
[11] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4D1E6AC7C0BC57A072C70772F7AEA18DA380BD81189159C9AA59D7B49735C987
.has: links
| We encourage you to return to more in-depth study of the manual, perhaps next reading ┥The basics┝┤#the-basics├, skimming or skipping ┥Building a netboot image┝┤#building-netboot-image├, and finishing by reading the ┥Customization overview┝┤#customization-overview├ and the chapters that follow it. By this point, we hope you are thoroughly excited by what can be done with live systems and motivated to read the rest of the manual, cover-to-cover.
[12] heading :2
.part: body
.last_descendant: 28
.ancestors: 1 0 0 0 0 12 0 0
.ancestors_collapsed: 1 0 0 12 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: EDE5489964834A514B61C7A4A8370BE2452DD4A7D807180F14991CCC11AD2430
.segment: about-manual
.heading_lev_anchor: terms
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|Terms||
| Terms
[13] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E1409C47189F446658FB519D5B5B0EDA67143633DA95A1F49C76C6FF3EC8AABB
.bullet: true
.has: links
| ⑆*┨Live system┣*: An operating system that can boot without installation to a hard drive. Live systems do not alter local operating system(s) or file(s) already installed on the computer hard drive unless instructed to do so. Live systems are typically booted from media such as CDs, DVDs or USB sticks. Some may also boot over the network (via netboot images, see ┥Building a netboot image┝┤#building-netboot-image├), and over the Internet (via the boot parameter ⑆■┨fetch=URL┣■, see ┥Webbooting┝┤#webbooting├).
[14] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7057601CBA7E62A6D099573EBC1A3A78E24FCCDE6AF2D30EDEF3580CA8CADF65
.bullet: true
| ⑆*┨Live medium┣*: As distinct from live system, the live medium refers to the CD, DVD or USB stick where the binary produced by live-build and used to boot the live system is written. More broadly, the term also refers to any place where this binary resides for the purposes of booting the live system, such as the location for the network boot files.
[15] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0E391B8809195B666F041886BBD0A670958AE5A7A2BF3D29F0C168F5AB776959
.bullet: true
| ⑆*┨${project}┣*: The project which maintains, among others, the live-boot, live-build, live-config, live-tools and live-manual packages.
[16] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4A0E0D5934B68CD7092C45C124A658FE3C451004B028D9C323E18725E13FA926
.bullet: true
| ⑆*┨Host system┣*: The environment used to create the live system.
[17] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 17DB661E0E1D3EFF7F9046271C19DA6007D26A76DF6AE4806D4D0E7AF4A70E52
.bullet: true
| ⑆*┨Target system┣*: The environment used to run the live system.
[18] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E5040633CD1304F9C9089DE8877FF8EF5786ADE52D84173F9971999C16A473A2
.bullet: true
| ⑆*┨live-boot┣*: A collection of scripts used to boot live systems.
[19] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 51359C80D0DD29A243F7DEC4F43EEF38B5ECA0DF1D491D4C9F983CD88A02763E
.bullet: true
| ⑆*┨live-build┣*: A collection of scripts used to build customized live systems.
[20] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 67E3C8D55AA9A76F7977FBBCCA3F791B98AA3BA6031242D68ABF2B181076EEBB
.bullet: true
| ⑆*┨live-config┣*: A collection of scripts used to configure a live system during the boot process.
[21] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6DDB37A427F0B06B0D0263E66808C22DB61DED9A6900239EA751F8E061D385F9
.bullet: true
| ⑆*┨live-tools┣*: A collection of additional scripts used to perform useful tasks within a running live system.
[22] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BAC576F207E3C6E1B002B455DB0489FE879F25CBE4C27DA8E26DF8E36F46BD15
.bullet: true
| ⑆*┨live-manual┣*: This document is maintained in a package called live-manual.
[23] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0CB214FFF534842E2CE5D321DE1295FA5447EDDF0D0486923A6CF00D83ACD152
.bullet: true
| ⑆*┨Debian Installer (d-i)┣*: The official installation system for the Debian distribution.
[24] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 294886AE72BB7E00C1883F4976F7483EF2A271BC5CC04A06EA56CCD858E544F5
.bullet: true
| ⑆*┨Boot parameters┣*: Parameters that can be entered at the bootloader prompt to influence the kernel or live-config.
[25] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DB83FE42D9646F24F50AB2FA960B972D2BAD71003A5539D80F7F0D8121DE6E09
.bullet: true
| ⑆*┨chroot┣*: The ⑆/┨chroot┣/ program, ⑆■┨chroot(8)┣■, enables us to run different instances of the GNU/Linux environment on a single system simultaneously without rebooting.
[26] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E8223CE086081589E69814B900FB663C1CAE53B16EB72C6D02DA83A963312329
.bullet: true
| ⑆*┨Binary image┣*: A file containing the live system, such as live-image-i386.hybrid.iso or live-image-i386.img.
[27] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8DA1C84FD5D24752BCB2BB12F42DF845BE5120229568CA9619F77AF147FA94BB
.bullet: true
| ⑆*┨Target distribution┣*: The distribution upon which your live system will be based. This can differ from the distribution of your host system.
[28] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DF1466A22CC2FD6EBD69A24241AFB553B22CE76AFE7AFF32E778363855815566
.bullet: true
| ⑆*┨stable/testing/unstable┣*: The ⑆*┨stable┣* distribution, currently codenamed ${stable}, contains the latest officially released distribution of Debian. The ⑆*┨testing┣* distribution, temporarily codenamed ${testing}, is the staging area for the next ⑆*┨stable┣* release. A major advantage of using this distribution is that it has more recent versions of software relative to the ⑆*┨stable┣* release. The ⑆*┨unstable┣* distribution, permanently codenamed sid, is where active development of Debian occurs. Generally, this distribution is run by developers and those who like to live on the edge. Throughout the manual, we tend to use codenames for the releases, such as ${testing} or sid, as that is what is supported by the tools themselves.
[29] heading :2
.part: body
.last_descendant: 43
.ancestors: 1 0 0 0 0 29 0 0
.ancestors_collapsed: 1 0 0 29 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 2C00C9AAA72C717AD6D901A09C4D698A68B2E9740BE3769E0AF7D6BD85D72D5D
.segment: about-manual
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|Authors||
| Authors
[30] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 673847822EE0A65A38DC58631721FE5C969D89AE3B04D417B290395249B6B3F2
| A list of authors (in alphabetical order):
[31] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A109C0542678BB6982B8E9FC014E3815FA489B924E45403B69A5537FC81D7B81
.bullet: true
| Ben Armstrong
[32] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FA898105BFB1CD02986ED56ABA1274D8B552ADFD70918B31C94090E45A3C7AB7
.bullet: true
| Brendan Sleight
[33] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 635D9F20E9308BA714AF627BF2255628424542007E4C929BA675B4F72D1DDFC0
.bullet: true
| Carlos Zuferri
[34] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5F0C9DD3AB56364AE3D2A2F301419B9C3C45D76D3F57D7D888FE9D737834A942
.bullet: true
| Chris Lamb
[35] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D8313C6494B025E33CAA3429FCCF6B6A1E3A83431574AAC5B8BC7F0DDD8B81D5
.bullet: true
| Daniel Baumann
[36] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F40A3B6D4760AB73B902084F077788C63F96A31B149CCA4725FEC2F83513E962
.bullet: true
| Franklin Piat
[37] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CAC93328B0209AC53328687869B3954400C224322DFA14F653B99DC3D1480A6C
.bullet: true
| Jonas Stein
[38] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C54C8286CDF93399A964A853ACFFA1922C89F0D824F6C2A792EFD59D04742C42
.bullet: true
| Kai Hendry
[39] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4EB13C4C455AFE5DD93BA815A72259E7F41592B79848EB7EBDD8E92A3A1BFE7C
.bullet: true
| Marco Amadori
[40] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2D524759328A6CED7E0B1ACA1AD21400E2344A3A4A7848626D20852C75249748
.bullet: true
| Mathieu Geli
[41] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6AD9C66B111A2F642BD62CDBF67FED3F0C338355AF2DFC5295BCF3539A22EE5D
.bullet: true
| Matthias Kirschner
[42] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1E42E9F0ED3066FE2E01A595F6B3505002FA2AA0FB8B3E6955DF8C613473297B
.bullet: true
| Richard Nelson
[43] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C32CDFB7850107ED56F3DDF0A998685CF7E8425D7A00671852F1DE076DDC905D
.bullet: true
| Trent W. Buck
[44] heading :2
.part: body
.last_descendant: 71
.ancestors: 1 0 0 0 0 44 0 0
.ancestors_collapsed: 1 0 0 44 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 8A8AAC9CEEB0FB0E183DA017C65049CAE4978AD512257F6456BE0594F5A3ADB4
.segment: about-manual
.heading_lev_anchor: how-to-contribute
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|Contributing to this document||
| Contributing to this document
[45] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 967EEAEF6738C5191941809921E22DDA9FE11BAC05C9199D97EDF82C5DFDE50B
.has: links
| This manual is intended as a community project and all proposals for improvements and contributions are extremely welcome. Please see the section ┥Contributing to the project┝┤#contributing-to-project├ for detailed information on how to fetch the commit key and make good commits.
[46] heading :3
.part: body
.last_descendant: 59
.ancestors: 1 0 0 0 0 0 46 0
.ancestors_collapsed: 1 0 0 0 46 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 3A962C2D16DEEC6E4F4084CACEF4591037C78CDF0BDF10848F7A8B5ACDC24593
.segment: about-manual
.heading_lev_anchor: applying-changes
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|Contributing to this document|Applying changes|
| Applying changes
[47] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D752C0633E0D4C4EB750A33D2B75381D86BB247356A3F9040944C73F915401E2
| In order to make changes to the English manual you have to edit the right files in ⑆■┨manual/en/┣■ but prior to the submission of your contribution, please preview your work. To preview the live-manual, ensure the packages needed for building it are installed by executing:
[48] code
.part: body
.is_of_type: block
.sha256: C84793C9D2970672076ABE63276209ACABF87DC69AEE9AF683292043D7D6CDAB
| ░#░apt-get░install░make░po4a░ruby░ruby-nokogiri░sisu-complete
[49] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0272408EDECDF04883BEDF9F2440ACB33CB60AF6A1DE062C5F8DA31284063190
| You may build the live-manual from the top level directory of your Git checkout by executing:
[50] code
.part: body
.is_of_type: block
.sha256: 8195D47A338B016D4502B0A8379106E2042B62F9064287274916940A2F74F831
| ░$░make░build
[51] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FD71F7AF4A07D73D04CA3EFD2DBC9EC3B9824FC0F6C44A623F941F42030CD433
| Since it takes a while to build the manual in all supported languages, authors may find it convenient to use one of the fast proofing shortcuts when reviewing the new documentation they have added to the English manual. Using ⑆■┨PROOF=1┣■ builds live-manual in html format, but without the segmented html files, and using ⑆■┨PROOF=2┣■ builds live-manual in pdf format, but only the A4 and letter portraits. That is why using either of the ⑆■┨PROOF=┣■ possibilities can save up a considerable amount of time, e.g:
[52] code
.part: body
.is_of_type: block
.sha256: 7F5271B9EAF5D8F64F3AA777CA15FDE59FAFB030D90CBA17A8589843223EC6AF
| ░$░make░build░PROOF=1
[53] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 53C3D0C0731F7781F11C2DD9B70986BD64419EDB2AAB0E81B7F6C8FAA29B7884
| When proofing one of the translations it is possible to build only one language by executing, e.g:
[54] code
.part: body
.is_of_type: block
.sha256: 88CCC84A81EC7432CBC816DE203211712CF6C6AFD1FC44FE60299750A7E2DFE3
| ░$░make░build░LANGUAGES=de
[55] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5DDF2E0E3B517F0CC8CAFE862C26F3412D6D3A302A15B2C4C642642A85C45419
| It is also possible to build by document type, e.g:
[56] code
.part: body
.is_of_type: block
.sha256: CA52900A86BDA21C193A0DD2E9B643DE748C9B44ECA1FB0D00603B0A6DD59743
| ░$░make░build░FORMATS=pdf
[57] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CA2765464FADA7B160C5820144A26EDE027C87DCC1820A0BC8B9C680DBBBBC90
| Or combine both, e.g:
[58] code
.part: body
.is_of_type: block
.sha256: CEF0841CCF59BBF7CB427EE9FA2D24A534EF96C6E723143BDC17C7C0A7B3895C
| ░$░make░build░LANGUAGES=de░FORMATS=html
[59] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 87813A1F47C8CF44D7C75E152E51EC0E1F1B22B4C09D36BA8C2CE3C4A1687F6E
.has: links
| After revising your work and making sure that everything is fine, do not use ⑆■┨make commit┣■ unless you are updating translations in the commit, and in that case, do not mix changes to the English manual and translations in the same commit, but use separate commits for each. See the ┥Translation┝┤#translation├ section for more details.
[60] heading :3
.part: body
.last_descendant: 71
.ancestors: 1 0 0 0 0 0 60 0
.ancestors_collapsed: 1 0 0 0 60 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 6FBD766B1A71CC4D296D92F84976A1FD5F5A750AE0F0CC929DB2C6458D3DC9EA
.segment: about-manual
.heading_lev_anchor: translation
.segment_epub: about-manual
.heading_ancestors_text: Live Systems Manual|About this manual|||About this manual|Contributing to this document|Translation|
| Translation
[61] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ECA2C5B99AF6D00F4AA504BDBAFFDE2D5D71DF629938D13E98450BB5119DAAAA
| In order to translate live-manual, follow these steps depending on whether you are starting a translation from scratch or continue working on an already existing one:
[62] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E71D2D7E0FB56E2A8E604CF802094E9051661D642677BC8129844057D80C0089
.bullet: true
| Start a new translation from scratch
[63] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DE78828BE1F4156B91CF6B154F42E51DC243AD152AB29E6E4E7329F30F35BEAA
.indent: 2 2
.bullet: true
| Translate the ⑆*┨about_manual.ssi.pot┣*, ⑆*┨about_project.ssi.pot┣* and ⑆*┨index.html.in.pot┣* files in ⑆■┨manual/pot/┣■ to your language with your favourite editor (such as ⑆/┨poedit┣/) and send the translated ⑆■┨.po┣■ files to the mailing list to check their integrity. live-manual's integrity check not only ensures that the ⑆■┨.po┣■ files are 100% translated but it also detects possible errors.
[64] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 76A9D3CEE18A75DF219D1308566221C218E5F4EC29B6C5B8E9E3A03E43AD60E0
.indent: 2 2
.bullet: true
| Once checked, to enable a new language in the autobuild it is enough to add the initial translated files to ⑆■┨manual/po/${LANGUAGE}/┣■ and run ⑆■┨make commit┣■. And then, edit ⑆■┨manual/_sisu/home/index.html┣■ adding the name of the language and its name in English between brackets.
[65] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B78D04056EB5B94C7C15CA9928F70C9A1269C9B78B6E64D6D23EEA5741183C45
.bullet: true
| Continue with an already started translation
[66] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8AFFA8A2DF9C9DD60ED001589AB4DF59FF4CC2E510279246B6F7A89BDEF0991D
.indent: 2 2
.bullet: true
| If your target language has already been added, you can randomly continue translating the remaining .po files in ⑆■┨manual/po/${LANGUAGE}/┣■ using your favourite editor (such as ⑆/┨poedit┣/).
[67] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 20303F17924D8B02C723668ABBB7F5C237B3476A9B771B66B44B02F9594E5E26
.indent: 2 2
.bullet: true
.has: links
| Do not forget that you need to run ⑆■┨make commit┣■ to ensure that the translated manuals are updated from the .po files and then you can review your changes launching ⑆■┨make build┣■ before ⑆■┨git add .┣■, ⑆■┨git commit -m “Translating...”┣■ and ⑆■┨git push┣■. Remember that since ⑆■┨make build┣■ can take a considerable amount of time, you can proofread languages individually as explained in ┥Applying changes┝┤#applying-changes├
[68] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D955CF3077D91BAF06C3EA0408E10B43E2E7CE95C21706A8E47B479249315E96
| After running ⑆■┨make commit┣■ you will see some text scroll by. These are basically informative messages about the processing status and also some hints about what can be done in order to improve live-manual. Unless you see a fatal error, you usually can proceed and submit your contribution.
[69] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BCF30C9FCF7AFDC055740594A00EA0722E22CB53B4D9E3C61AE043F730ABAD02
| live-manual comes with two utilities that can greatly help translators to find untranslated and changed strings. The first one is “make translate”. It launches an script that tells you in detail how many untranslated strings there are in each .po file. The second one, the “make fixfuzzy” target, only acts upon changed strings but it helps you to find and fix them one by one.
[70] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8A65A074F8F94B9A1C8CF629D93EA381243E11B6E9650EA1D44D599644731684
.has: links
| Keep in mind that even though these utilities might be really helpful to do translation work on the command line, the use of an specialized tool like ⑆/┨poedit┣/ is the recommended way to do the task. It is also a good idea to read the Debian localization (l10n) documentation and, specifically to live-manual, the ┥Guidelines for translators┝┤#guidelines-translators├.
[71] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E23346A4B108CB331AB31D2E3C5EF7AC35B38DD7BB46DC2361F1D55F91EFCE19
| ⑆*┨Note:┣* You can use ⑆■┨make clean┣■ to clean your git tree before pushing. This step is not compulsory thanks to the .gitignore file but it is a good practice to avoid committing files involuntarily.
[72] heading :B
.part: body
.parent: 1
.last_descendant: 105
.ancestors: 1 72 0 0 0 0 0 0
.ancestors_collapsed: 1 72 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 2 0 0
.dom_status_collapsed: 4 3 2 2 2 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 73FE4AFCAD4741C0C8DA81FA3FF2553FB9F5C319A8C01AE2CF8A2438B2F24FDF
.segment: _part_3
.heading_lev_anchor: translation
.segment_epub: _part_3
.heading_ancestors_text: Live Systems Manual|About the ${project}||||||
| About the ${project}
[73] heading :1
.part: body
.parent: 1
.last_descendant: 105
.ancestors: 1 0 0 0 73 0 0 0
.ancestors_collapsed: 1 0 73 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 73FE4AFCAD4741C0C8DA81FA3FF2553FB9F5C319A8C01AE2CF8A2438B2F24FDF
.segment: about-project
.segment_prev: about-manual
.segment_next: installation
.heading_lev_anchor: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|||
.lev4_subtoc: 5~ ┥Motivation┝┤#74├
.lev4_subtoc: 6~ ┥What is wrong with current live systems┝┤#75├
.lev4_subtoc: 6~ ┥Why create our own live system?┝┤#85├
.lev4_subtoc: 5~ ┥Philosophy┝┤#93├
.lev4_subtoc: 6~ ┥Only unchanged packages from Debian “main”┝┤#94├
.lev4_subtoc: 6~ ┥No package configuration of the live system┝┤#98├
.lev4_subtoc: 5~ ┥Contact┝┤#102├
| About the ${project}
[74] heading :2
.part: body
.last_descendant: 92
.ancestors: 1 0 0 0 0 74 0 0
.ancestors_collapsed: 1 0 0 74 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 89B1F4C3DF983454E25B233320781610A2AF048169F175B0F6F06300BF041D03
.segment: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Motivation||
| Motivation
[75] heading :3
.part: body
.last_descendant: 84
.ancestors: 1 0 0 0 0 0 75 0
.ancestors_collapsed: 1 0 0 0 75 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 539177D31FAEADF37152B5705C029CF0665FED6E088D8D52D6F377019DDD86AA
.segment: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Motivation|What is wrong with current live systems|
| What is wrong with current live systems
[76] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BF065D02DAA07D9438558C29E4D2C51BB713E1720DC6ACA94C970B4F73E1B1CB
| When ${project} was initiated, there were already several Debian based live systems available and they are doing a great job. From the Debian perspective most of them have one or more of the following disadvantages:
[77] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C5C01BAEE153FCBF7C24F47A748985A352BB5FDEC95C5468DEA3991826D1596C
.bullet: true
| They are not Debian projects and therefore lack support from within Debian.
[78] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B565654D903E835DF82F565CE4369504FE309D4E5D4CE59D1509C062EC2D35F4
.bullet: true
| They mix different distributions, e.g. ⑆*┨testing┣* and ⑆*┨unstable┣*.
[79] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A36A29DDBA5295B359687C99ED0F047408C69C1DE98BE45B09F22FC9E35BB14F
.bullet: true
| They support i386 only.
[80] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CE7F94B7C96138F10579723098B636B279FD28A98317B5E0D2885808AC31F957
.bullet: true
| They modify the behaviour and/or appearance of packages by stripping them down to save space.
[81] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C272D0619ACF8A43627A0B5FB0EC6C1EC3998903185FB38E1A4AFB3E49DEBC28
.bullet: true
| They include packages from outside of the Debian archive.
[82] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 31D6FD0E8B72AF80D0AE16E4BD2157C83B2EEA515699EC59FF63FE97D0420B65
.bullet: true
| They ship custom kernels with additional patches that are not part of Debian.
[83] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 953C66A52431991D3A643A6AB8B6B9BE9278827A771E4974BA502C9FAAD19F94
.bullet: true
| They are large and slow due to their sheer size and thus not suitable for rescue issues.
[84] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FB99D8B1660C92AB5D25832776E95CC3EE0F7739052462852C5D0BE1F7FE3E24
.bullet: true
| They are not available in different flavours, e.g. CDs, DVDs, USB-stick and netboot images.
[85] heading :3
.part: body
.last_descendant: 92
.ancestors: 1 0 0 0 0 0 85 0
.ancestors_collapsed: 1 0 0 0 85 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: F2CF4325C211405BF380746B0447247D0549CE7F4D18F4CC813FE7196B4BFA8C
.segment: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Motivation|Why create our own live system?|
| Why create our own live system?
[86] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D40F21B03A6E19544B079769BB5B5DEB88907C3DD5AD86590CB6276EE90D3BE0
| Debian is the Universal Operating System: Debian has a live system to show around and to accurately represent the Debian system with the following main advantages:
[87] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CDC5430A007E0F77F8CBD61A4D26630D2E65EA993EFEBB1496142EA703CCA76C
.bullet: true
| It is a subproject of Debian.
[88] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 56C555C48C60DFF0D70E0619BF3A4ACE1C8CCE80A26F8E0E32592826E55ACD89
.bullet: true
| It reflects the (current) state of one distribution.
[89] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EBAC9D704C668D02543FB0C9E4FD9AC1BD30AB8371C577F89D1136F8C451180A
.bullet: true
| It runs on as many architectures as possible.
[90] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DCC758644982A757259B33794FF72F97BA941CCCFC6C07BAF7513A107260CBD6
.bullet: true
| It consists of unchanged Debian packages only.
[91] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AD1056476C42CE8D11D129EF1FA897EE4CEFD2DF666E741A2CCB884789504389
.bullet: true
| It does not contain any packages that are not in the Debian archive.
[92] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 11FD0BC3AC07F28AA861C4E6211B5872EAB973756036670E3C7FA61AF3716C7B
.bullet: true
| It uses an unaltered Debian kernel with no additional patches.
[93] heading :2
.part: body
.last_descendant: 101
.ancestors: 1 0 0 0 0 93 0 0
.ancestors_collapsed: 1 0 0 93 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 7F3D81EB0817C1BF0E04AF5BC5888C49FC70FB1F11190B307C81A05F8CED39C2
.segment: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Philosophy||
| Philosophy
[94] heading :3
.part: body
.last_descendant: 97
.ancestors: 1 0 0 0 0 0 94 0
.ancestors_collapsed: 1 0 0 0 94 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 6DD90395BB125015675C33DC47F6BDE269686724C666F9D250F98CFC4653CDC1
.segment: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Philosophy|Only unchanged packages from Debian “main”|
| Only unchanged packages from Debian “main”
[95] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C2D19980583346E82E9FFEF558CB390D03533638882BF3CE242250B0B2F4198F
| We will only use packages from the Debian repository in the “main” section. The non-free section is not part of Debian and therefore cannot be used for official live system images.
[96] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 19B96107FE67860521B601CB90B4D1213D12F01F023851CC21CBC94498799F9C
| We will not change any packages. Whenever we need to change something, we will do that in coordination with its package maintainer in Debian.
[97] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E8033608838EFB7C396059F53454B27DA39E063EA2D1717CF024FAAC4B085310
| As an exception, our own packages such as live-boot, live-build or live-config may temporarily be used from our own repository for development reasons (e.g. to create development snapshots). They will be uploaded to Debian on a regular basis.
[98] heading :3
.part: body
.last_descendant: 101
.ancestors: 1 0 0 0 0 0 98 0
.ancestors_collapsed: 1 0 0 0 98 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: A22189E74CC2D414C97DA05C07353C17FD458CB777F2BC7329C75A0233B3EA57
.segment: about-project
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Philosophy|No package configuration of the live system|
| No package configuration of the live system
[99] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6D2E5AA15BCE92D56A09512B17CED0675838AE8213D658B68D4ED70658ABBB77
| In this phase we will not ship or install sample or alternative configurations. All packages are used in their default configuration as they are after a regular installation of Debian.
[100] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D71ED7CC51D9D1D0CD9179E7EB7E23A657B0F9266074FA04F0ED0B75F1F83E5C
| Whenever we need a different default configuration, we will do that in coordination with its package maintainer in Debian.
[101] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C786DCCA05FA86B0472C6FE2C4205C760BB1A11CD907E7ACDB2A45ACD0F8872C
.has: links
| A system for configuring packages is provided using debconf allowing custom configured packages to be installed in your custom produced live system images, but for the ┥prebuilt live images┝┤#downloading-prebuilt-images├ we choose to leave packages in their default configuration, unless absolutely necessary in order to work in the live environment. Wherever possible, we prefer to adapt packages within the Debian archive to work better in a live system versus making changes to the live toolchain or ┥prebuilt image configurations┝┤#clone-configuration-via-git├. For more information, please see ┥Customization overview┝┤#customization-overview├.
[102] heading :2
.part: body
.last_descendant: 105
.ancestors: 1 0 0 0 0 102 0 0
.ancestors_collapsed: 1 0 0 102 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 2B5C3D26721AE9C350CF3009318B626F0FC8A90B4A2AC0CA8099C05AA849282E
.segment: about-project
.heading_lev_anchor: contact
.segment_epub: about-project
.heading_ancestors_text: Live Systems Manual|About the ${project}|||About the ${project}|Contact||
| Contact
[103] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B97834A21DEEB972210009E1E0E6894830835C6F23C05458CF568CF8723FA014
.bullet: true
.has: links
.stow_link: https://lists.debian.org/debian-live/
.stow_link: https://lists.debian.org/debian-live/
| ⑆*┨Mailing list┣*: The primary contact for the project is the mailing list at ┥https://lists.debian.org/debian-live/┝┤0├. You can email the list directly by addressing your mail to debian-live@lists.debian.org. The list archives are available at ┥https://lists.debian.org/debian-live/┝┤1├.
[104] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2E706D6D203736FF1056CFEBBB59F146FE85373F1611BD81665C4F97A6875F2C
.bullet: true
.has: links
| ⑆*┨IRC┣*: A number of users and developers are present in the #debian-live channel on irc.debian.org (OFTC). When asking a question on IRC, please be patient for an answer. If no answer is forthcoming, please email the mailing list.
[105] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 698C5218007E40C46F8DFD2713632390C4AE623BEA2EE7DDDA3E9862B57315EB
.bullet: true
.has: links
.stow_link: https://www.debian.org/Bugs/
| ⑆*┨BTS┣*: The ┥Debian Bug Tracking System┝┤0├ (BTS) contains details of bugs reported by users and developers. Each bug is given a number, and is kept on file until it is marked as having been dealt with. For more information, please see ┥Reporting bugs┝┤#bugs├.
[106] heading :B
.part: body
.parent: 1
.last_descendant: 106
.ancestors: 1 106 0 0 0 0 0 0
.ancestors_collapsed: 1 106 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: B512D97E7CBF97C273E4DB073BBB547AA65A84589227F8F3D9E4A72B9372A24D
.segment: _part_4
.heading_lev_anchor: contact
.segment_epub: _part_4
.heading_ancestors_text: Live Systems Manual|User||||||
| User
[107] heading :B
.part: body
.parent: 1
.last_descendant: 156
.ancestors: 1 107 0 0 0 0 0 0
.ancestors_collapsed: 1 107 0 0 0 0 0 0
.dom_status: 4 3 0 0 0 0 0 0 0
.dom_status_collapsed: 4 3 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: C3FC54AA5390DC2C333D4BB596A339D552AD787337C1FDAAC3957CA5A7FACF50
.segment: _part_5
.heading_lev_anchor: contact
.segment_epub: _part_5
.heading_ancestors_text: Live Systems Manual|Installation||||||
| Installation
[108] heading :1
.part: body
.parent: 1
.last_descendant: 156
.ancestors: 1 0 0 0 108 0 0 0
.ancestors_collapsed: 1 0 108 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: C3FC54AA5390DC2C333D4BB596A339D552AD787337C1FDAAC3957CA5A7FACF50
.segment: installation
.segment_prev: about-project
.segment_next: the-basics
.heading_lev_anchor: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|||
.lev4_subtoc: 5~ ┥Requirements┝┤#109├
.lev4_subtoc: 5~ ┥Installing live-build┝┤#117├
.lev4_subtoc: 6~ ┥From the Debian repository┝┤#123├
.lev4_subtoc: 6~ ┥From source┝┤#126├
.lev4_subtoc: 6~ ┥From 'snapshots'┝┤#137├
.lev4_subtoc: 5~ ┥Installing live-boot and live-config┝┤#139├
.lev4_subtoc: 6~ ┥From the Debian repository┝┤#141├
.lev4_subtoc: 6~ ┥From source┝┤#143├
.lev4_subtoc: 6~ ┥From 'snapshots'┝┤#155├
| Installation
[109] heading :2
.part: body
.last_descendant: 116
.ancestors: 1 0 0 0 0 109 0 0
.ancestors_collapsed: 1 0 0 109 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: E0CDD07F6A270B8269217510822DAA4ACE573309134278F75F5E16ED59A3583B
.segment: installation
.heading_lev_anchor: requirements
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Requirements||
| Requirements
[110] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DC43C513B5630F20C261FE4EAED140510E65B0269B008A1862CC52FCBCF09116
| Building live system images has very few system requirements:
[111] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D9606F0FA8CEE78E78C94A109A49B189C9DFF4F80EED3105E32938F8383CC0A5
.bullet: true
| Superuser (root) access
[112] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E14A43D1AE91BE947D3C99BB337C0558AB3C3D5772C766CAF054FC82D86741A8
.bullet: true
| An up-to-date version of live-build
[113] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A8F845AA0B4A30CCE7DD1430F7893C2A05155FEF15AC60ED45B03BA56B27E56D
.bullet: true
| A POSIX-compliant shell, such as ⑆/┨bash┣/ or ⑆/┨dash┣/
[114] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E1E4B6F8EF16A84D97ACA13C07482CD70A701D7745E4445C7C1782DB324F46A3
.bullet: true
| ⑆/┨debootstrap┣/
[115] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 683A85D38E7AFBD9D2EC2715AC8AE31E540968A1D7A819C0727DE945511CC82A
.bullet: true
| Linux 2.6 or newer.
[116] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3E5E441D78EEED814B36B6A6495425F631B0DF8D2457192D4A43D939296E27F4
| Note that using Debian or a Debian-derived distribution is not required - live-build will run on almost any distribution with the above requirements.
[117] heading :2
.part: body
.last_descendant: 138
.ancestors: 1 0 0 0 0 117 0 0
.ancestors_collapsed: 1 0 0 117 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: AE782BC79EA5D01BAE2BEA1656CFF18636D0B0FBC18DC60C41552ADAE33D9152
.segment: installation
.heading_lev_anchor: installing-live-build
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-build||
| Installing live-build
[118] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E8756C9A371A975D2975884461A37E63DDBD1649FDB19FAF8866109A1A7B7AB4
| You can install live-build in a number of different ways:
[119] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EF997A1C7482E5A7ABE40056894C7639C519075477BF473C1A9039A241BBE188
.bullet: true
| From the Debian repository
[120] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5BE49BD81AF3BBAF8C8E1392407F0323FBA03D6400CB80FEB154050D724E8177
.bullet: true
| From source
[121] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 30E809C77778CBCBEEE98585F18680055F8BF46678AD31160B6DD93C8CF7A4C7
.bullet: true
| From snapshots
[122] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 781333611E8BEE69E26281CEDAD36AF2A7658910A1046FAD4669991281E5882D
| If you are using Debian, the recommended way is to install live-build via the Debian repository.
[123] heading :3
.part: body
.last_descendant: 125
.ancestors: 1 0 0 0 0 0 123 0
.ancestors_collapsed: 1 0 0 0 123 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: EF997A1C7482E5A7ABE40056894C7639C519075477BF473C1A9039A241BBE188
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-build|From the Debian repository|
| From the Debian repository
[124] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 50B96DE95B6A5D97C377069D3C06506286237681CF7C92E8B552298AA74B4157
| Simply install live-build like any other package:
[125] code
.part: body
.is_of_type: block
.sha256: 6ED634BA24F8D16655ADA5D5EF35D84068547D47F5DF9FBE295BF86B751F445C
| ░#░apt-get░install░live-build
[126] heading :3
.part: body
.last_descendant: 136
.ancestors: 1 0 0 0 0 0 126 0
.ancestors_collapsed: 1 0 0 0 126 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 5BE49BD81AF3BBAF8C8E1392407F0323FBA03D6400CB80FEB154050D724E8177
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-build|From source|
| From source
[127] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 31D758EB066C9AA2717341CC81E957BBD98547499013F9DBC94F6902103D6F45
| live-build is developed using the Git version control system. On Debian based systems, this is provided by the ⑆/┨git┣/ package. To check out the latest code, execute:
[128] code
.part: body
.is_of_type: block
.sha256: AF754B9C71321C793B3BF6D11972F9856418436F2A221A89663283468F4DA876
| ░$░git░clone░git://live-systems.org/git/live-build.git
[129] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E29A7845A74BAB9F3779965E07ABDE8BF603A96F5F844AB75F01C218F524A6DC
| You can build and install your own Debian package by executing:
[130] code
.part: body
.is_of_type: block
.sha256: 6795FB8C1AD0BD0E3CC40B60400DD99D21ED9BA555CDE22394103F8F984366B2
| ░$░cd░live-build
| ░$░dpkg-buildpackage░-b░-uc░-us
| ░$░cd░..
[131] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B892BEBFDE8CAEB391E3F0326D7857F1A6830FD0CC1C3901E2D8B117CC1A4723
| Now install whichever of the freshly built ⑆■┨.deb┣■ files you were interested in, e.g.
[132] code
.part: body
.is_of_type: block
.sha256: 2B98B957D95904925452A39FBB48146412ADB82DAD6DAC08AB565A1FF48E32E0
| ░#░dpkg░-i░live-build_4.0-1_all.deb
[133] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 91A6FF04FA0B32BB77C76AF4FB62558647E74C42421BB652801EC14594044376
| You can also install live-build directly to your system by executing:
[134] code
.part: body
.is_of_type: block
.sha256: 5D248629101FA12B658B2C24B8C6F831731A7366EBCB5C54C96BB434458D91AE
| ░#░make░install
[135] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C9F9E50B95D8D50898EF6B2AA2E04D5AD4AD5BB802E7E2919021A6F99F0955D5
| and uninstall it with:
[136] code
.part: body
.is_of_type: block
.sha256: 9D01D23E0FA6BA34854D463E8876A6160FFBE50C370FD3B75A932D66E2C5EE06
| ░#░make░uninstall
[137] heading :3
.part: body
.last_descendant: 138
.ancestors: 1 0 0 0 0 0 137 0
.ancestors_collapsed: 1 0 0 0 137 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 333A60C2E21258AC27F3697FE34157BD0F18E7230BCB25E5CAC66AC84B68E5A5
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-build|From 'snapshots'|
| From 'snapshots'
[138] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7AB8D61594041535EA62B1A24E559A8F14AD5DDE3E9781E6D629F2949860637A
.has: links
.stow_link: http://live-systems.org/debian/
| If you do not wish to build or install live-build from source, you can use snapshots. These are built automatically from the latest version in Git and are available on ┥http://live-systems.org/debian/┝┤0├.
[139] heading :2
.part: body
.last_descendant: 156
.ancestors: 1 0 0 0 0 139 0 0
.ancestors_collapsed: 1 0 0 139 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 90061E45C1993796392262929EE7BB99D3F534583FFA83FBB4C7556AA9C35522
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-boot and live-config||
| Installing live-boot and live-config
[140] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7BC879A6D8532B83778FB136E8846525E983C72C700E0DD17343B4771B7060B9
| ⑆*┨Note:┣* You do not need to install live-boot or live-config on your system to create customized live systems. However, doing so will do no harm and is useful for reference purposes. If you only want the documentation, you may now install the ⑆/┨live-boot-doc┣/ and ⑆/┨live-config-doc┣/ packages separately.
[141] heading :3
.part: body
.last_descendant: 142
.ancestors: 1 0 0 0 0 0 141 0
.ancestors_collapsed: 1 0 0 0 141 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: EF997A1C7482E5A7ABE40056894C7639C519075477BF473C1A9039A241BBE188
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-boot and live-config|From the Debian repository|
| From the Debian repository
[142] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 520373676A1FD07DC28A80F2231F323789BE39B0B3EF8CB5E0BC1376405602DC
.has: links
| Both live-boot and live-config are available from the Debian repository as per ┥Installing live-build┝┤#installing-live-build├.
[143] heading :3
.part: body
.last_descendant: 154
.ancestors: 1 0 0 0 0 0 143 0
.ancestors_collapsed: 1 0 0 0 143 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 5BE49BD81AF3BBAF8C8E1392407F0323FBA03D6400CB80FEB154050D724E8177
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-boot and live-config|From source|
| From source
[144] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7FF503F5581925DA649D616292134E24B305DC553EBDC1455A227BB75A3BA36E
.has: links
| To use the latest source from git, you can follow the process below. Please ensure you are familiar with the terms mentioned in ┥Terms┝┤#terms├.
[145] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6A95613F2EC21B7ED58829CE50AEAA15640044E7D9B5240220A81817AB777479
.bullet: true
| Checkout the live-boot and live-config sources
[146] code
.part: body
.is_of_type: block
.sha256: D0A19F991FB08F9E0D30F2E021BFED31A5E94471872AC993DDE61FE093D89872
| ░$░git░clone░git://live-systems.org/git/live-boot.git
| ░$░git░clone░git://live-systems.org/git/live-config.git
[147] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1EB0837AE5B2BC82135D0B12AC1ED6687B761637E81B8311FDF67E84350541E8
| Consult the live-boot and live-config man pages for details on customizing if that is your reason for building these packages from source.
[148] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6005CF3094FFA2643E50CFE1C3080DD7A056A6AEAEA50C8B300D0C7CA5A9EBED
.bullet: true
| Build live-boot and live-config .deb files
[149] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FBF869A12788AF9D0DAB37EAED256F78EF7DDF7C3E2A8A496B5638751CD73AF0
| You must build either on your target distribution or in a chroot containing your target platform: this means if your target is ${testing} then you should build against ${testing}.
[150] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F2AFA8E92935D6BEAD8A8286AB6F6DA5A4629E27CDEC5C0AD28EF1DAF1A77F7C
| Use a personal builder such as ⑆/┨pbuilder┣/ or ⑆/┨sbuild┣/ if you need to build live-boot for a target distribution that differs from your build system. For example, for ${testing} live images, build live-boot in a ${testing} chroot. If your target distribution happens to match your build system distribution, you may build directly on the build system using ⑆■┨dpkg-buildpackage┣■ (provided by the ⑆/┨dpkg-dev┣/ package):
[151] code
.part: body
.is_of_type: block
.sha256: 152CC6544869F39622A44F09479B02B1FB35B237A622DCAEDAEE16C56DE32715
| ░$░cd░live-boot
| ░$░dpkg-buildpackage░-b░-uc░-us
| ░$░cd░../live-config
| ░$░dpkg-buildpackage░-b░-uc░-us
[152] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BFD93A232F27CFE45DA01F3D52BD54DF87804413BF470C29813661901F261487
.bullet: true
| Use applicable generated .deb files
[153] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C99D37ACD9BF2B7D2F7624E19E72AE63BBE064F097FED0873046C1E47AC978B0
.has: links
| As live-boot and live-config are installed by live-build system, installing the packages in the host system is not sufficient: you should treat the generated .deb files like any other custom packages. Since your purpose for building from source is likely to test new things over the short term before the official release, follow ┥Installing modified or third-party packages┝┤#installing-modified-or-third-party-packages├ to temporarily include the relevant files in your configuration. In particular, notice that both packages are divided into a generic part, a documentation part and one or more back-ends. Include the generic part, only one back-end matching your configuration, and optionally the documentation. Assuming you are building a live image in the current directory and have generated all .deb files for a single version of both packages in the directory above, these bash commands would copy all of the relevant packages including default back-ends:
[154] code
.part: body
.is_of_type: block
.sha256: 208AC57AE53598CF137FDC287A0CD6C942084A381F25E26E8B408B98A1149C01
| ░$░cp░../live-boot{_,-initramfs-tools,-doc}*.deb░░config/packages.chroot/
| ░$░cp░../live-config{_,-sysvinit,-doc}*.deb░░config/packages.chroot/
[155] heading :3
.part: body
.last_descendant: 156
.ancestors: 1 0 0 0 0 0 155 0
.ancestors_collapsed: 1 0 0 0 155 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 333A60C2E21258AC27F3697FE34157BD0F18E7230BCB25E5CAC66AC84B68E5A5
.segment: installation
.segment_epub: installation
.heading_ancestors_text: Live Systems Manual|Installation|||Installation|Installing live-boot and live-config|From 'snapshots'|
| From 'snapshots'
[156] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 889EBC7B1E794B32605153A923CD8133C98F4B4934DE7B64B41ECB20966AED2B
| You can let live-build automatically use the latest snapshots of live-boot and live-config by configuring the package repository on live-systems.org as a third-party repository in your live-build configuration directory.
[157] heading :B
.part: body
.parent: 1
.last_descendant: 295
.ancestors: 1 157 0 0 0 0 0 0
.ancestors_collapsed: 1 157 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 2 0 0
.dom_status_collapsed: 4 3 2 2 2 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 4DDE039425DE6CEDF45BF2BE2E083D640E3A5823B01F072BCCA679E2848113D7
.segment: _part_6
.segment_epub: _part_6
.heading_ancestors_text: Live Systems Manual|The basics||||||
| The basics
[158] heading :1
.part: body
.parent: 1
.last_descendant: 295
.ancestors: 1 0 0 0 158 0 0 0
.ancestors_collapsed: 1 0 158 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 4DDE039425DE6CEDF45BF2BE2E083D640E3A5823B01F072BCCA679E2848113D7
.segment: the-basics
.segment_prev: installation
.segment_next: overview-of-tools
.heading_lev_anchor: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|||
.lev4_subtoc: 5~ ┥What is a live system?┝┤#162├
.lev4_subtoc: 5~ ┥Downloading prebuilt images┝┤#170├
.lev4_subtoc: 5~ ┥Using the web live image builder┝┤#172├
.lev4_subtoc: 6~ ┥Web builder usage and caveats┝┤#174├
.lev4_subtoc: 5~ ┥First steps: building an ISO hybrid image┝┤#178├
.lev4_subtoc: 5~ ┥Using an ISO hybrid live image┝┤#189├
.lev4_subtoc: 6~ ┥Burning an ISO image to a physical medium┝┤#191├
.lev4_subtoc: 6~ ┥Copying an ISO hybrid image to a USB stick┝┤#194├
.lev4_subtoc: 6~ ┥Using the space left on a USB stick┝┤#199├
.lev4_subtoc: 6~ ┥Booting the live medium┝┤#206├
.lev4_subtoc: 5~ ┥Using a virtual machine for testing┝┤#210├
.lev4_subtoc: 6~ ┥Testing an ISO image with QEMU┝┤#217├
.lev4_subtoc: 6~ ┥Testing an ISO image with VirtualBox┝┤#224├
.lev4_subtoc: 5~ ┥Building and using an HDD image┝┤#232├
.lev4_subtoc: 5~ ┥Building a netboot image┝┤#244├
.lev4_subtoc: 6~ ┥DHCP server┝┤#257├
.lev4_subtoc: 6~ ┥TFTP server┝┤#261├
.lev4_subtoc: 6~ ┥NFS server┝┤#266├
.lev4_subtoc: 6~ ┥Netboot testing HowTo┝┤#274├
.lev4_subtoc: 6~ ┥Qemu┝┤#277├
.lev4_subtoc: 5~ ┥Webbooting┝┤#283├
.lev4_subtoc: 6~ ┥Getting the webboot files┝┤#285├
.lev4_subtoc: 6~ ┥Booting webboot images┝┤#291├
| The basics
[159] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B329CD8B12E126D48CBFF572EC13B750DF94027EA7F77D625AFE5B57102403B1
| This chapter contains a brief overview of the build process and instructions for using the three most commonly used image types. The most versatile image type, ⑆■┨iso-hybrid┣■, may be used on a virtual machine, optical medium or USB portable storage device. In certain special cases, as explained later, the ⑆■┨hdd┣■ type may be more suitable. The chapter includes detailed instructions for building and using a ⑆■┨netboot┣■ type image, which is a bit more involved due to the setup required on the server. This is an slightly advanced topic for anyone who is not already familiar with netbooting, but it is included here because once the setup is done, it is a very convenient way to test and deploy images for booting on the local network without the hassle of dealing with image media.
[160] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 56D1456189B7CA93DBEDE73F37B0FD23AA231EB1BA62AF9A3EFC47A654BE60A2
.has: links
| The section finishes with a quick introduction to ┥webbooting┝┤#webbooting├ which is, perhaps, the easiest way of using different images for different purposes, switching from one to the other as needed using the internet as a means.
[161] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F0D6BB40DD7083D828F18AAF3BEFE0447BA8615D8EAF67A58DFE873A200F5216
.has: links
| Throughout the chapter, we will often refer to the default filenames produced by live-build. If you are ┥downloading a prebuilt image┝┤#downloading-prebuilt-images├ instead, the actual filenames may vary.
[162] heading :2
.part: body
.last_descendant: 169
.ancestors: 1 0 0 0 0 162 0 0
.ancestors_collapsed: 1 0 0 162 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: FFAFC5B551D4F49A5D0E16168991C5FA44F692C9A632DF794516032218467995
.segment: the-basics
.heading_lev_anchor: what-is-live
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|What is a live system?||
| What is a live system?
[163] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 809331FC8E008257FCF250E608478A458992EE01C5AB84173638803A6859EA89
.has: links
| A live system usually means an operating system booted on a computer from a removable medium, such as a CD-ROM or USB stick, or from a network, ready to use without any installation on the usual drive(s), with auto-configuration done at run time (see ┥Terms┝┤#terms├).
[164] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2745A89A7F7B839F79DF6E3EA5DA4A9C9DA8D2524069E5DD98F3F5C6DED6F1DC
| With live systems, it's an operating system, built for one of the supported architectures (currently amd64 and i386). It is made from the following parts:
[165] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C01421947A7065DC1A18C714F4995FE1A8295413E8DA986FF4AF6B1F7699AC7F
.bullet: true
| ⑆*┨Linux kernel image┣*, usually named ⑆■┨vmlinuz*┣■
[166] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0189B169C4B604C51670D45555EDD22FA79565B6E54110FD756133CD6C526BF0
.bullet: true
| ⑆*┨Initial RAM disk image (initrd)┣*: a RAM disk set up for the Linux boot, containing modules possibly needed to mount the System image and some scripts to do it.
[167] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C9FC96741D3D4D6709C3E79F6B9171FB92800CA12C2C904E8A942F60A42A880B
.bullet: true
.has: links
| ⑆*┨System image┣*: The operating system's filesystem image. Usually, a SquashFS compressed filesystem is used to minimize the live system image size. Note that it is read-only. So, during boot the live system will use a RAM disk and 'union' mechanism to enable writing files within the running system. However, all modifications will be lost upon shutdown unless optional persistence is used (see ┥Persistence┝┤#persistence├).
[168] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6B099EF22840FF0CAF5D93F7AC823A29FEAD6746E586B14C221E9B3CF6EC874A
.bullet: true
| ⑆*┨Bootloader┣*: A small piece of code crafted to boot from the chosen medium, possibly presenting a prompt or menu to allow selection of options/configuration. It loads the Linux kernel and its initrd to run with an associated system filesystem. Different solutions can be used, depending on the target medium and format of the filesystem containing the previously mentioned components: isolinux to boot from a CD or DVD in ISO9660 format, syslinux for HDD or USB drive booting from a VFAT partition, extlinux for ext2/3/4 and btrfs partitions, pxelinux for PXE netboot, GRUB for ext2/3/4 partitions, etc.
[169] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4B830F65FE37C5335722CB60192E5BF15AF172ED9CC87B6BBCB6E3632F4BA7BB
| You can use live-build to build the system image from your specifications, set up a Linux kernel, its initrd, and a bootloader to run them, all in one medium-dependant format (ISO9660 image, disk image, etc.).
[170] heading :2
.part: body
.last_descendant: 171
.ancestors: 1 0 0 0 0 170 0 0
.ancestors_collapsed: 1 0 0 170 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 7237A2FFEAB7ABD71F4A9D4C2603361BE520D27F9442A48D753E799A885D1B6B
.segment: the-basics
.heading_lev_anchor: downloading-prebuilt-images
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Downloading prebuilt images||
| Downloading prebuilt images
[171] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 35F2E6E347658AE8BA536815BE043B258E8D9EF712324CFB897C5C3C83668065
.has: links
.stow_link: https://www.debian.org/CD/live/
.stow_link: http://live-systems.org/cdimage/release/
| While the focus of this manual is developing and building your own live images, you may simply wish to try one of our prebuilt images, either as an introduction to their use or instead of building your own. These images are built using our ┥live-images git repository┝┤#clone-configuration-via-git├ and official stable releases are published at ┥https://www.debian.org/CD/live/┝┤0├. In addition, older and upcoming releases, and unofficial images containing non-free firmware and drivers are available at ┥http://live-systems.org/cdimage/release/┝┤1├.
[172] heading :2
.part: body
.last_descendant: 177
.ancestors: 1 0 0 0 0 172 0 0
.ancestors_collapsed: 1 0 0 172 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 338B8BEA30477E8075B2BD78035319BE5DC42473027351B41D2A397FE38677BA
.segment: the-basics
.heading_lev_anchor: using-web-builder
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using the web live image builder||
| Using the web live image builder
[173] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 51AEF748B5BD06945FCE30432F2F57EB1668BF0BD4C851EFD31D1AE172087635
.has: links
.stow_link: http://live-systems.org/build/
| As a service to the community, we run a web-based live image builder service at ┥http://live-systems.org/build/┝┤0├. This site is maintained on a best effort basis. That is, although we strive to keep it up-to-date and operational at all times, and do issue notices for significant operational outages, we cannot guarantee 100% availability or fast image building, and the service may occasionally have issues that take some time to resolve. If you have problems or questions about the service, please ┥contact us┝┤#contact├, providing us with the link to your build.
[174] heading :3
.part: body
.last_descendant: 177
.ancestors: 1 0 0 0 0 0 174 0
.ancestors_collapsed: 1 0 0 0 174 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 32EE1CE2C581DA82C5CD10F9AA1E3F43F541724711104BCE1A44C9DA31814D1A
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using the web live image builder|Web builder usage and caveats|
| Web builder usage and caveats
[175] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 352A72B49764BB8B5EF09AD4EAC8C763CBE6A456F0096743D68E3E3DD069435E
| The web interface currently makes no provision to prevent the use of invalid combinations of options, and in particular, where changing an option would normally (i.e. using live-build directly) change defaults of other options listed in the web form, the web builder does not change these defaults. Most notably, if you change ⑆■┨--architectures┣■ from the default ⑆■┨i386┣■ to ⑆■┨amd64┣■, you must change the corresponding option ⑆■┨--linux-flavours┣■ from the default ⑆■┨586┣■ to ⑆■┨amd64┣■. See the ⑆■┨lb_config┣■ man page for the version of live-build installed on the web builder for more details. The version number of live-build is listed at the bottom of the web builder page.
[176] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 68BA590F160EC02CBF0514F214CDE7DFF46334B0D0A75FCB2802FD98A3C63BD2
.has: links
| The time estimate given by the web builder is a crude estimate only and may not reflect how long your build actually takes. Nor is the estimate updated once it is displayed. Please be patient. Do not refresh the page you land on after submitting the build, as this will resubmit a new build with the same parameters. You should ┥contact us┝┤#contact├ if you don't receive notification of your build only once you are certain you've waited long enough and verified the notification e-mail did not get caught by your own e-mail spam filter.
[177] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F841D0992C15CA2E80368DD6B355E7C7A9553E76E50C2A00BCD95A73D55B3602
| The web builder is limited in the kinds of images it can build. This keeps it simple and efficient to use and maintain. If you would like to make customizations that are not provided for by the web interface, the rest of this manual explains how to build your own images using live-build.
[178] heading :2
.part: body
.last_descendant: 188
.ancestors: 1 0 0 0 0 178 0 0
.ancestors_collapsed: 1 0 0 178 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 5AA76CF117968D9549B48446B893F26EF26C3DE0D5CB78D5ECA0683E9576883E
.segment: the-basics
.heading_lev_anchor: building-iso-hybrid
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|First steps: building an ISO hybrid image||
| First steps: building an ISO hybrid image
[179] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F4337173B8C6D3D2288770F15380E96DC42AE4C251C215D3267BD01C908C874A
| Regardless of the image type, you will need to perform the same basic steps to build an image each time. As a first example, create a build directory, change to that directory and then execute the following sequence of live-build commands to create a basic ISO hybrid image containing a default live system without X.org. It is suitable for burning to CD or DVD media, and also to copy onto a USB stick.
[180] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2E5A4C334DE23419D1749C311379FD670A325D5002F6895FB33C10906B6EE559
| The name of the working directory is absolutely up to you, but if you take a look at the examples used throughout live-manual, it is a good idea to use a name that helps you identify the image you are working with in each directory, especially if you are working or experimenting with different image types. In this case you are going to build a default system so let's call it, for example, live-default.
[181] code
.part: body
.is_of_type: block
.sha256: C237906313F399B8D90E1B5727C356B0EE76504ED665312916322D849F3D1D2C
| ░$░mkdir░live-default░&&░cd░live-default
[182] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 11243FD298964C8388063E9A66AE66C7F85AD8517B62032D3B9697AB3E6D99F2
| Then, run the ⑆■┨lb config┣■ command. This will create a “config/” hierarchy in the current directory for use by other commands:
[183] code
.part: body
.is_of_type: block
.sha256: D052A66FFF5B340360FA18AA739D50C8C2CCE81819382B39CAEC27BA75E53644
| ░$░lb░config
[184] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 517545976DC1CCF443F5636792C52071F967FE1B6B0C6BB9B43D913A916CCFA8
.has: links
| No parameters are passed to these commands, so defaults for all of their various options will be used. See ┥The lb config command┝┤#lb-config├ for more details.
[185] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 48D617D82ACA1D73AE3FCFE78152115033526DEC3CEB75858E8EAD13999F7108
| Now that the “config/” hierarchy exists, build the image with the ⑆■┨lb build┣■ command:
[186] code
.part: body
.is_of_type: block
.sha256: 0ACA62CAA08819FF07AB8E28B0180F050ED97F92C36B362DAED3CC27A9CD6284
| ░#░lb░build
[187] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A9F0139F7BE340CD4989F9AFEFA635F528F63E1AEBA4CD9E57A654FAF0CFCF71
| This process can take a while, depending on the speed of your computer and your network connection. When it is complete, there should be a ⑆■┨live-image-i386.hybrid.iso┣■ image file, ready to use, in the current directory.
[188] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0F0C2BD035A1729433A2BFCFEBC396250E091775E24C625D94249837B790DB6B
| ⑆*┨Note:┣* If you are building on an amd64 system the name of the resulting image will be ⑆■┨live-image-amd64.hybrid.iso┣■. Keep in mind this naming convention throughout the manual.
[189] heading :2
.part: body
.last_descendant: 209
.ancestors: 1 0 0 0 0 189 0 0
.ancestors_collapsed: 1 0 0 189 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 1FDC10970B7BB3ADC99C1A80F55C19AE439BDF95EE892EA746B488353B06A6F4
.segment: the-basics
.heading_lev_anchor: using-iso-hybrid
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using an ISO hybrid live image||
| Using an ISO hybrid live image
[190] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 60995B2E09520AE9A12CEC3080335BC77191DBDCBD7642C666B354BC740DD760
.has: links
.stow_link: https://www.debian.org/CD/live/
| After either building or downloading an ISO hybrid image, which can be obtained at ┥https://www.debian.org/CD/live/┝┤0├, the usual next step is to prepare your medium for booting, either CD-R(W) or DVD-R(W) optical media or a USB stick.
[191] heading :3
.part: body
.last_descendant: 193
.ancestors: 1 0 0 0 0 0 191 0
.ancestors_collapsed: 1 0 0 0 191 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: F75856AFFF6CDE4030F5878C40784A6AAE81CCF62FCBA2B1B5DCAF7FDB4B98B9
.segment: the-basics
.heading_lev_anchor: burning-iso-image
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using an ISO hybrid live image|Burning an ISO image to a physical medium|
| Burning an ISO image to a physical medium
[192] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E083FED62624738113652AF5C3821C816A9CEBD5E81AC6346843CF55CC77BD7A
| Burning an ISO image is easy. Just install ⑆/┨xorriso┣/ and use it from the command-line to burn the image. For instance:
[193] code
.part: body
.is_of_type: block
.sha256: 99382EEA76D912E5B9427B059BB6F50C882E53A12F588145783BF4D34E364EB5
| ░#░apt-get░install░xorriso
| ░$░xorriso░-as░cdrecord░-v░dev=/dev/sr0░blank=as_needed░live-image-i386.hybrid.iso
[194] heading :3
.part: body
.last_descendant: 198
.ancestors: 1 0 0 0 0 0 194 0
.ancestors_collapsed: 1 0 0 0 194 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 39C271CD274FDF6BE63CC41B65063DA6978F7E983FBEF3E61744F70391EF1A71
.segment: the-basics
.heading_lev_anchor: copying-iso-hybrid-to-usb
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using an ISO hybrid live image|Copying an ISO hybrid image to a USB stick|
| Copying an ISO hybrid image to a USB stick
[195] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4D143C0F427BC5EF25DE818335F8858F290CC799BFAE6DCE4DC7370F431C0B3F
| ISO images prepared with ⑆■┨xorriso┣■, can be simply copied to a USB stick with the ⑆■┨cp┣■ program or an equivalent. Plug in a USB stick with a size large enough for your image file and determine which device it is, which we hereafter refer to as ⑆■┨${USBSTICK}┣■. This is the device file of your key, such as ⑆■┨/dev/sdb┣■, not a partition, such as ⑆■┨/dev/sdb1┣■! You can find the right device name by looking in ⑆■┨dmesg┣■'s output after plugging in the stick, or better yet, ⑆■┨ls -l /dev/disk/by-id┣■.
[196] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 045D95B67FBA6D6965ED7F7C9B19694DAF84FFD7502EFB46555547CD79153CA9
| Once you are certain you have the correct device name, use the ⑆■┨cp┣■ command to copy the image to the stick. ⑆*┨This will definitely overwrite any previous contents on your stick!┣*
[197] code
.part: body
.is_of_type: block
.sha256: D5CE64604216C009AE479231ADE7D75784E200A2CB9B5A75D5DB22E0F4E8E912
| ░$░cp░live-image-i386.hybrid.iso░${USBSTICK}
| ░$░sync
[198] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 00D86A00EBDAAF1410D7A77B4A1D6876EBD0B60793E4165998CAF5C45AFD9B42
| ⑆*┨Note:┣* The ⑆/┨sync┣/ command is useful to ensure that all the data, which is stored in memory by the kernel while copying the image, is written to the USB stick.
[199] heading :3
.part: body
.last_descendant: 205
.ancestors: 1 0 0 0 0 0 199 0
.ancestors_collapsed: 1 0 0 0 199 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: E71C80BB15CCDD8912046953FB52DFC35A37A6EA02FE11AC712167485B0068D0
.segment: the-basics
.heading_lev_anchor: using-usb-extra-space
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using an ISO hybrid live image|Using the space left on a USB stick|
| Using the space left on a USB stick
[200] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 454DD76430E8CD324B405ACA42C7D52E31E2A37DBA46E499949B5F515B9F3EC3
| After copying the ⑆■┨live-image-i386.hybrid.iso┣■ to a USB stick, the first partition on the device will be filled up by the live system. To use the remaining free space, use a partitioning tool such as ⑆/┨gparted┣/ or ⑆/┨parted┣/ to create a new partition on the stick.
[201] code
.part: body
.is_of_type: block
.sha256: 5806E27763E0B9349FB50CE4DE443F50978B30AD8FDCB2401296D2D9276E08DC
| ░#░gparted░${USBSTICK}
[202] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C63D5BBCF76C72BE0A4814A06EE0F3C9A98E56B28B2380CB9C9827D3ADD72FC1
| After the partition is created, where ⑆■┨${PARTITION}┣■ is the name of the partition, such as ⑆■┨/dev/sdb2┣■, you have to create a filesystem on it. One possible choice would be ext4.
[203] code
.part: body
.is_of_type: block
.sha256: A5018A408C64109967EA8919C2ADBE0BBF1CF4F628050D54334AB3BF1898DE6A
| ░#░mkfs.ext4░${PARTITION}
[204] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 24BF0CDCDDBF6F63DE1D1280D859B2D02E7F7E08DB9C7AEDCDC250C4EDC04A1E
.has: links
| ⑆*┨Note:┣* If you want to use the extra space with Windows, apparently that OS cannot normally access any partitions but the first. Some solutions to this problem have been discussed on our ┥mailing list┝┤#contact├, but it seems there are no easy answers.
[205] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A0FB8DE3F7161487FCBC4FA030B877DC7C62A50D99F556BFBA183EF3D21670AF
| ⑆*┨Remember: Every time you install a new live-image-i386.hybrid.iso on the stick, all data on the stick will be lost because the partition table is overwritten by the contents of the image, so back up your extra partition first to restore again after updating the live image.┣*
[206] heading :3
.part: body
.last_descendant: 209
.ancestors: 1 0 0 0 0 0 206 0
.ancestors_collapsed: 1 0 0 0 206 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 8202CFF7C20D2AF428C2619AB00417F5C09F6F78E53982430F3C10A1E34B8EA9
.segment: the-basics
.heading_lev_anchor: booting-live-medium
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using an ISO hybrid live image|Booting the live medium|
| Booting the live medium
[207] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C22F5CC72E7CADC435A61E50B1904D3F813F4F841F6B85B3D95556B70A803FFF
| The first time you boot your live medium, whether CD, DVD, USB key, or PXE boot, some setup in your computer's BIOS may be needed first. Since BIOSes vary greatly in features and key bindings, we cannot get into the topic in depth here. Some BIOSes provide a key to bring up a menu of boot devices at boot time, which is the easiest way if it is available on your system. Otherwise, you need to enter the BIOS configuration menu and change the boot order to place the boot device for the live system before your normal boot device.
[208] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D6BE3612D64D02AE17E1A982F7787FAB69872AAC61A48B97EE8CE99B91BFDC82
| Once you've booted the medium, you are presented with a boot menu. If you just press enter here, the system will boot using the default entry, ⑆■┨Live┣■ and default options. For more information about boot options, see the “help” entry in the menu and also the live-boot and live-config man pages found within the live system.
[209] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9F0DDA85F5B5A466BF9F2D7F64C6F0CB92CD1BF2FE7B6C57F53EB7A8976527D7
.has: links
| Assuming you've selected ⑆■┨Live┣■ and booted a default desktop live image, after the boot messages scroll by, you should be automatically logged into the ⑆■┨user┣■ account and see a desktop, ready to use. If you have booted a console-only image, such as a ⑆■┨standard┣■ flavour ┥prebuilt image┝┤#downloading-prebuilt-images├, you should be automatically logged in on the console to the ⑆■┨user┣■ account and see a shell prompt, ready to use.
[210] heading :2
.part: body
.last_descendant: 231
.ancestors: 1 0 0 0 0 210 0 0
.ancestors_collapsed: 1 0 0 210 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: F710934F38226D8EA4DFAFC5042D6EF993E2B1292913886E8CEB3D759C8E9838
.segment: the-basics
.heading_lev_anchor: using-virtual-machine
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using a virtual machine for testing||
| Using a virtual machine for testing
[211] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 75E771FF35B2CB609DE63C765688187402BB759F39FE1489D7B9A379D563E974
| It can be a great time-saver for the development of live images to run them in a virtual machine (VM). This is not without its caveats:
[212] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 944F3BB2016AD36F309A952E9899C6DD1604EBC250FEE0187AB2E004BEC5D195
.bullet: true
| Running a VM requires enough RAM for both the guest OS and the host and a CPU with hardware support for virtualization is recommended.
[213] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 71266B62F10948BAFDFF743603F89698D9B010F3DCAE7B0DF956D420469E2283
.bullet: true
| There are some inherent limitations to running on a VM, e.g. poor video performance, limited choice of emulated hardware.
[214] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AA062368C44E398D1F777B2E2D8E41D68E7FE5E554E84AE143214A452E0F74AA
.bullet: true
| When developing for specific hardware, there is no substitute for running on the hardware itself.
[215] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4AB65A513543458F3D009DD2FEB54910E3653D3049BF7315B548E16222FCBA71
.bullet: true
| Occasionally there are bugs that relate only to running in a VM. When in doubt, test your image directly on the hardware.
[216] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0A86B74BB4CB9EAA3257D011D9C5305B9B60204789A78C3B71315679397E1830
| Provided you can work within these constraints, survey the available VM software and choose one that is suitable for your needs.
[217] heading :3
.part: body
.last_descendant: 223
.ancestors: 1 0 0 0 0 0 217 0
.ancestors_collapsed: 1 0 0 0 217 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 81B139866ACDFD70EA70B41D68A273A15F3983FFAA5132279D59EC5289BEC3BB
.segment: the-basics
.heading_lev_anchor: testing-iso-with-qemu
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using a virtual machine for testing|Testing an ISO image with QEMU|
| Testing an ISO image with QEMU
[218] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 27F9A117A99CF1E88ACEB5BD4578C7C519D9A81BD8BEBF9DABFCA0F1B8003F89
| The most versatile VM in Debian is QEMU. If your processor has hardware support for virtualization, use the ⑆/┨qemu-kvm┣/ package; the ⑆/┨qemu-kvm┣/ package description briefly lists the requirements.
[219] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5129A3F6381448796626738C2BED29B98CEFAD4276F7759967DB5B051AAF8B18
| First, install ⑆/┨qemu-kvm┣/ if your processor supports it. If not, install ⑆/┨qemu┣/, in which case the program name is ⑆■┨qemu┣■ instead of ⑆■┨kvm┣■ in the following examples. The ⑆/┨qemu-utils┣/ package is also valuable for creating virtual disk images with ⑆■┨qemu-img┣■.
[220] code
.part: body
.is_of_type: block
.sha256: 0F022D845293FF5130838AD5DEAD02B06730F2B8D3380D5A092D4A9178B4BF4E
| ░#░apt-get░install░qemu-kvm░qemu-utils
[221] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EC7F746E79723DC771021B1776AEE5092D43F673778AD8E9BAEF04C6CB5D3D97
| Booting an ISO image is simple:
[222] code
.part: body
.is_of_type: block
.sha256: F619D5BB87515DBB65AFD374290B21B82620A65FD754CA7B968178314DBD57AA
| ░$░kvm░-cdrom░live-image-i386.hybrid.iso
[223] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9FE152135DCE3DDF9D59FE47F57DD403AA54DB0EC2BF1948D1E5E7422B45BA91
| See the man pages for more details.
[224] heading :3
.part: body
.last_descendant: 231
.ancestors: 1 0 0 0 0 0 224 0
.ancestors_collapsed: 1 0 0 0 224 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: F43404D8B877438664D3B111EFB569FB0289A9E073D9650F711180F394C6B76C
.segment: the-basics
.heading_lev_anchor: testing-iso-with-virtualbox
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Using a virtual machine for testing|Testing an ISO image with VirtualBox|
| Testing an ISO image with VirtualBox
[225] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8E7BCFA157F2E2700FC7258037C186001C762963C436103F8002BEB521A205E3
| In order to test the ISO with ⑆/┨virtualbox┣/:
[226] code
.part: body
.is_of_type: block
.sha256: B53D1747B6BAF7F4498D0D33C2B493B44E1DBA11A52872AAF41AD1AF80AF5A31
| ░#░apt-get░install░virtualbox░virtualbox-qt░virtualbox-dkms
| ░$░virtualbox
[227] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C53D7FD98F9BA67AC7F7BCB606461BC2D4FF914303A001DA439358E6A23C7A22
| Create a new virtual machine, change the storage settings to use ⑆■┨live-image-i386.hybrid.iso┣■ as the CD/DVD device, and start the machine.
[228] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C0C6645F51C3ED072299D29178E77AC6ED627AA57BB58CDF3F0D8E0B5C0646B6
| ⑆*┨Note:┣* For live systems containing X.org that you want to test with ⑆/┨virtualbox┣/, you may wish to include the VirtualBox X.org driver package, ⑆/┨virtualbox-guest-dkms┣/ and ⑆/┨virtualbox-guest-x11┣/, in your live-build configuration. Otherwise, the resolution is limited to 800x600.
[229] code
.part: body
.is_of_type: block
.sha256: 32045CDF23124C62A3996451E6DA00D624A141AAB474EE8F3860B2D31E9EFB71
| ░$░echo░"virtualbox-guest-dkms░virtualbox-guest-x11"░>>░config/package-lists/my.list.chroot
[230] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CEBCFF9B03324E0BA70D9D3CF4B87C753102632FD4E445506C06573BD3EAE88D
| In order to make the dkms package work, also the kernel headers for the kernel flavour used in your image need to be installed. Instead of manually listing the correct ⑆/┨linux-headers┣/ package in above created package list, the selection of the right package can be done automatically by live-build.
[231] code
.part: body
.is_of_type: block
.sha256: DA83CF949798E0F2A9E763A5CAA420D0B00EBD123A48E4F6E92792659D8F5F03
| ░░$░lb░config░--linux-packages░"linux-image░linux-headers"
[232] heading :2
.part: body
.last_descendant: 243
.ancestors: 1 0 0 0 0 232 0 0
.ancestors_collapsed: 1 0 0 232 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 31F336A079FC0530DE1B1D3471EB6A9FCE84685E1813DD218A6BD3E35570377E
.segment: the-basics
.heading_lev_anchor: using-hdd-image
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building and using an HDD image||
| Building and using an HDD image
[233] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7426EB1A17A9E6CCEB61DDA3376D7274D66E672F66153BEA601D5BEA30DB949F
| Building an HDD image is similar to an ISO hybrid one in all respects except you specify ⑆■┨-b hdd┣■ and the resulting filename is ⑆■┨live-image-i386.img┣■ which cannot be burnt to optical media. It is suitable for booting from USB sticks, USB hard drives, and various other portable storage devices. Normally, an ISO hybrid image can be used for this purpose instead, but if you have a BIOS which does not handle hybrid images properly, you need an HDD image.
[234] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3CECCC0761A525A6B37B0A6CE5B9F905B389B35E511796BE222E26F86C2F524B
.has: links
| ⑆*┨Note:┣* if you created an ISO hybrid image with the previous example, you will need to clean up your working directory with the ⑆■┨lb clean┣■ command (see ┥The lb clean command┝┤#lb-clean├):
[235] code
.part: body
.is_of_type: block
.sha256: 5AA766011C34C6F804C2C6FE03765B01466BAAFD227BAA4FEC6DAF9BF9F23E12
| ░#░lb░clean░--binary
[236] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E73BDBF54BDCEEA5C2B5F04511DA2E6B4C9AA317C5FC8715EF133873ACC3F0E2
| Run the ⑆■┨lb config┣■ command as before, except this time specifying the HDD image type:
[237] code
.part: body
.is_of_type: block
.sha256: 162478D63D84734827E73220E69ECC3FA16D0C3993EBFABFBDBB8ED5A7B7B1D0
| ░$░lb░config░-b░hdd
[238] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2A73C7E53086437064C08A8611080C48B89504C6DEA74C09FD27927414E17C49
| Now build the image with the ⑆■┨lb build┣■ command:
[239] code
.part: body
.is_of_type: block
.sha256: 0ACA62CAA08819FF07AB8E28B0180F050ED97F92C36B362DAED3CC27A9CD6284
| ░#░lb░build
[240] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 82DB0531F055D2935E326701C1C2EA1095E251E248D27A550E4AFDB8D1AD84D6
| When the build finishes, a ⑆■┨live-image-i386.img┣■ file should be present in the current directory.
[241] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 16D188A4C11DF3B46E6FEE44642137E4B026B6337D777C4B91EF94A874F68555
.has: links
| The generated binary image contains a VFAT partition and the syslinux bootloader, ready to be directly written on a USB device. Once again, using an HDD image is just like using an ISO hybrid one on USB. Follow the instructions in ┥Using an ISO hybrid live image┝┤#using-iso-hybrid├, except use the filename ⑆■┨live-image-i386.img┣■ instead of ⑆■┨live-image-i386.hybrid.iso┣■.
[242] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6E3282FAA8AA5782F5CD2C53058E5A0EA0EB0CC876C96D3F84F2DF33B1E3436E
.has: links
| Likewise, to test an HDD image with Qemu, install ⑆/┨qemu┣/ as described above in ┥Testing an ISO image with QEMU┝┤#testing-iso-with-qemu├. Then run ⑆■┨kvm┣■ or ⑆■┨qemu┣■, depending on which version your host system needs, specifying ⑆■┨live-image-i386.img┣■ as the first hard drive.
[243] code
.part: body
.is_of_type: block
.sha256: B5DCEA446C7BDB305C2C3BF7ACCD5E7743C39F3D4E6907E2CA3217260EFDC240
| ░$░kvm░-hda░live-image-i386.img
[244] heading :2
.part: body
.last_descendant: 282
.ancestors: 1 0 0 0 0 244 0 0
.ancestors_collapsed: 1 0 0 244 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 4E2F46DFB2D83CA28B182AAB446EF2DFE12524F3829A6B041D52E2468CBC6CF8
.segment: the-basics
.heading_lev_anchor: building-netboot-image
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building a netboot image||
| Building a netboot image
[245] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 237B93FBF331F98226BE7800BCAF74845A596F0BE275BA4B4788C41320548964
| The following sequence of commands will create a basic netboot image containing a default live system without X.org. It is suitable for booting over the network.
[246] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B62F932ACE3F5CAF4A41D3963151476A414C170751F624ED39E46459BE3D0658
| ⑆*┨Note:┣* if you performed any previous examples, you will need to clean up your working directory with the ⑆■┨lb clean┣■ command:
[247] code
.part: body
.is_of_type: block
.sha256: AC83BBD086C9EE36A52EA44CF438A4985DA6875A392E2D2D2AB6563F3211B33E
| ░#░lb░clean
[248] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 01F5B315BA926387D7540E9AB03F62EFC19EEBD6B163B1DE5B3ED8A7C861E518
| In this specific case, a ⑆■┨lb clean --binary┣■ would not be enough to clean up the necessary stages. The cause for this is that in netboot setups, a different initramfs configuration needs to be used which live-build performs automatically when building netboot images. Since the initramfs creation belongs to the chroot stage, switching to netboot in an existing build directory means to rebuild the chroot stage too. Therefore, ⑆■┨lb clean┣■ (which will remove the chroot stage, too) needs to be used.
[249] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 33294BF53373363348169C9E1788CF381818586B19D5E8D8FD7D1D41089F4055
| Run the ⑆■┨lb config┣■ command as follows to configure your image for netbooting:
[250] code
.part: body
.is_of_type: block
.sha256: CFEB69BE42BF6EA02ED49F313762A2196D8E3656C45B44D34611A2140034D9E4
| ░$░lb░config░-b░netboot░--net-root-path░"/srv/debian-live"░--net-root-server░"192.168.0.2"
[251] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DB10B917CB3930F9ABED8F33AACE0887B69C94C2CA838331CE2FBC3F46E47972
| In contrast with the ISO and HDD images, netbooting does not, itself, serve the filesystem image to the client, so the files must be served via NFS. Different network filesystems can be chosen through lb config. The ⑆■┨--net-root-path┣■ and ⑆■┨--net-root-server┣■ options specify the location and server, respectively, of the NFS server where the filesystem image will be located at boot time. Make sure these are set to suitable values for your network and server.
[252] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2A73C7E53086437064C08A8611080C48B89504C6DEA74C09FD27927414E17C49
| Now build the image with the ⑆■┨lb build┣■ command:
[253] code
.part: body
.is_of_type: block
.sha256: 0ACA62CAA08819FF07AB8E28B0180F050ED97F92C36B362DAED3CC27A9CD6284
| ░#░lb░build
[254] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7E52BAF56DFA5252EF2ED782C3B34C6584AF28C7F89D752C3D0458035594469A
| In a network boot, the client runs a small piece of software which usually resides on the EPROM of the Ethernet card. This program sends a DHCP request to get an IP address and information about what to do next. Typically, the next step is getting a higher level bootloader via the TFTP protocol. That could be pxelinux, GRUB, or even boot directly to an operating system like Linux.
[255] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7DF246B11D92C8DF430E69774F41FEA6D2FA4D28AE4044A5534C790F8181C0FE
| For example, if you unpack the generated ⑆■┨live-image-i386.netboot.tar┣■ archive in the ⑆■┨/srv/debian-live┣■ directory, you'll find the filesystem image in ⑆■┨live/filesystem.squashfs┣■ and the kernel, initrd and pxelinux bootloader in ⑆■┨tftpboot/┣■.
[256] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E92C29EAB7FAA008A6020BDF8A2427542595680698D188E462087F4A94FCA2B3
| We must now configure three services on the server to enable netbooting: the DHCP server, the TFTP server and the NFS server.
[257] heading :3
.part: body
.last_descendant: 260
.ancestors: 1 0 0 0 0 0 257 0
.ancestors_collapsed: 1 0 0 0 257 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 7AD409D1E45F4268440E3B301A87A331B4911E262DFDBB93DE8F2B9D2524D84D
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building a netboot image|DHCP server|
| DHCP server
[258] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FA8B516E142F143D14A90982A63E1CD74ECDE8AE50E99E59D00E34C80F05F222
| We must configure our network's DHCP server to be sure to give an IP address to the netbooting client system, and to advertise the location of the PXE bootloader.
[259] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 862C5A535889DFB5D1BD8712C9DD541E7391F5F4CCB54AB3EAED3C00B403FC14
| Here is an example for inspiration, written for the ISC DHCP server ⑆■┨isc-dhcp-server┣■ in the ⑆■┨/etc/dhcp/dhcpd.conf┣■ configuration file:
[260] code
.part: body
.is_of_type: block
.sha256: F05384D550C45647E0DE6E3BCAB1839C448AD12E8D7BB6BE81326CBBCD3A99A7
| ░#░/etc/dhcp/dhcpd.conf░-░configuration░file░for░isc-dhcp-server
|
| ░ddns-update-style░none;
|
| ░option░domain-name░"example.org";
| ░option░domain-name-servers░ns1.example.org,░ns2.example.org;
|
| ░default-lease-time░600;
| ░max-lease-time░7200;
|
| ░log-facility░local7;
|
| ░subnet░192.168.0.0░netmask░255.255.255.0░{
| ░░░range░192.168.0.1░192.168.0.254;
| ░░░filename░"pxelinux.0";
| ░░░next-server░192.168.0.2;
| ░░░option░subnet-mask░255.255.255.0;
| ░░░option░broadcast-address░192.168.0.255;
| ░░░option░routers░192.168.0.1;
| }
[261] heading :3
.part: body
.last_descendant: 265
.ancestors: 1 0 0 0 0 0 261 0
.ancestors_collapsed: 1 0 0 0 261 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 770C813B66F690E445492D2AE034834FDA0EF01EC2D0806F994C192E7EC7F555
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building a netboot image|TFTP server|
| TFTP server
[262] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D141EB929C1FFCC4F0E4D63E25E2CBE6BBDFCDF88D88DC91CAF056A040C3A051
| This serves the kernel and initial ramdisk to the system at run time.
[263] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8ACF327591FC421A6655F43B5AC90751CF9D20383362EC396DE888F1B265B5DB
| You should install the ⑆/┨tftpd-hpa┣/ package. It can serve all files contained inside a root directory, usually ⑆■┨/srv/tftp┣■. To let it serve files inside ⑆■┨/srv/debian-live/tftpboot┣■, run as root the following command:
[264] code
.part: body
.is_of_type: block
.sha256: 2F14CB38208466655E3B14A83AF91D78A1F27AE613F2960B60C3404EA9B563ED
| ░#░dpkg-reconfigure░-plow░tftpd-hpa
[265] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8B3C784AEEAC78A7694B8DFB991A32AE45D7339DB933334D74D98A07231B1C2E
| and fill in the new tftp server directory when being asked about it.
[266] heading :3
.part: body
.last_descendant: 273
.ancestors: 1 0 0 0 0 0 266 0
.ancestors_collapsed: 1 0 0 0 266 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 349C810FDDEBDEBC7F7B11D6716EC4DC5E12254256EF35710DE8175F91348E55
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building a netboot image|NFS server|
| NFS server
[267] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4C9415CC80168949ACF2CB0B110E4C4A30012CD034D3FAA5D2B2C0B0ED3F2801
| Once the guest computer has downloaded and booted a Linux kernel and loaded its initrd, it will try to mount the Live filesystem image through a NFS server.
[268] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4DC0D4CB164217F4AF08B026B153B0D2C3F571DA3C3A7E090733A6688CA70D04
| You need to install the ⑆/┨nfs-kernel-server┣/ package.
[269] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 55AB7166A003C5D916CF6211A370E463F1464EBCCDAB944A6E47C1A45FFFF61D
| Then, make the filesystem image available through NFS by adding a line like the following to ⑆■┨/etc/exports┣■:
[270] code
.part: body
.is_of_type: block
.sha256: D0C1299DDD52583140E3349009F967314FC79D38BAB671B8E7125C47DE752905
| ░/srv/debian-live░*(ro,async,no_root_squash,no_subtree_check)
[271] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 13E65DB8B218B1EFFA3172B0F361E3E07BB8BCED473564AE00B677F06CE3FB22
| and tell the NFS server about this new export with the following command:
[272] code
.part: body
.is_of_type: block
.sha256: A0C9222103C476A3F533AAD5376F72DD09BD4AE8FB38155BE9C828165E864301
| ░#░exportfs░-rv
[273] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 90BB714099BC7E81FE2F308E7980D21904B405C984E94508562E4BF501D78C3E
.has: links
.stow_link: http://www.syslinux.org/wiki/index.php/PXELINUX
| Setting up these three services can be a little tricky. You might need some patience to get all of them working together. For more information, see the syslinux wiki at ┥http://www.syslinux.org/wiki/index.php/PXELINUX┝┤0├ or the Debian Installer Manual's TFTP Net Booting section at ┥http://d-i.alioth.debian.org/manual/en.i386/ch04s05.html┝┤http://d-i.alioth.debian.org/manual/en.i386/ch04s05.html├. They might help, as their processes are very similar.
[274] heading :3
.part: body
.last_descendant: 276
.ancestors: 1 0 0 0 0 0 274 0
.ancestors_collapsed: 1 0 0 0 274 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 55D290E665E82BE5E9A9496A9CA02084C729F8AA64D4C0260201821BC67ADA16
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building a netboot image|Netboot testing HowTo|
| Netboot testing HowTo
[275] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7A3F0297490FE18FE0E0631A7C53C3AA7819FA5477E5E93820D4ABAEBD4F2A0E
| Netboot image creation is made easy with live-build, but testing the images on physical machines can be really time consuming.
[276] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6B530583274E2D837213A225BEFDF182AEC73EEFDD5149A70D5E98DA4528491E
| To make our life easier, we can use virtualization.
[277] heading :3
.part: body
.last_descendant: 282
.ancestors: 1 0 0 0 0 0 277 0
.ancestors_collapsed: 1 0 0 0 277 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: C7DA6C05F133F785A2BA682413FF7EE050E7C8393D40E17623CAF3D1AC631FDC
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Building a netboot image|Qemu|
| Qemu
[278] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 92FBEC9536FF4CAE8FEDED45886CEE81FE568551D2DB53C05B367B56A0EF4FD2
.bullet: true
| Install ⑆/┨qemu┣/, ⑆/┨bridge-utils┣/, ⑆/┨sudo┣/.
[279] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E9EBFD6F3DBCF7F8884E3329B522C4E54D52EF19FD60F6498F78D315D669D4A2
| Edit ⑆■┨/etc/qemu-ifup┣■:
[280] code
.part: body
.is_of_type: block
.sha256: 337A4E5E99CAE8B2A5F9F1C67EC8DFA81E30B826F2F850E389EF208B4E598FCB
| ░#!/bin/sh
| ░sudo░-p░"Password░for░$0:"░/sbin/ifconfig░$1░172.20.0.1
| ░echo░"Executing░/etc/qemu-ifup"
| ░echo░"Bringing░up░$1░for░bridged░mode..."
| ░sudo░/sbin/ifconfig░$1░0.0.0.0░promisc░up
| ░echo░"Adding░$1░to░br0..."
| ░sudo░/usr/sbin/brctl░addif░br0░$1
| ░sleep░2
[281] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8F96D398559DDFADB88D3B6AF91B9E012EE8B2102B1BE4B949EEE6381C0D29C3
| Get, or build a ⑆■┨grub-floppy-netboot┣■.
[282] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BD7D8CA6059A5729C03DD6C9C63EB42250C64FEBB5AD7D73F989E421EB5954EF
| Launch ⑆■┨qemu┣■ with “⑆■┨-net nic,vlan=0 -net tap,vlan=0,ifname=tun0┣■”
[283] heading :2
.part: body
.last_descendant: 295
.ancestors: 1 0 0 0 0 283 0 0
.ancestors_collapsed: 1 0 0 283 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 10648B27170EC79A40DB18278D1ADA644ED2CC0D89FE1835A05C21A5D40DCAF2
.segment: the-basics
.heading_lev_anchor: webbooting
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Webbooting||
| Webbooting
[284] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 14609B21E4014FFD47C12B94B627969040D8370043FCF876CB1174C081853BB7
| Webbooting is a convenient way of retrieving and booting live systems using the internet as a means. The requirements for webbooting are very few. On the one hand, you need a medium with a bootloader, an initial ramdisk and a kernel. On the other hand, a web server to store the squashfs files which contain the filesystem.
[285] heading :3
.part: body
.last_descendant: 290
.ancestors: 1 0 0 0 0 0 285 0
.ancestors_collapsed: 1 0 0 0 285 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 35604461C84748C0571A9A66874884628B75DC58EE3B141D49528BB746D628BB
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Webbooting|Getting the webboot files|
| Getting the webboot files
[286] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 188A19F14C6CE8880E6026188F8ED5698E85D130E4128D72552EA344D7F87E0A
.has: links
.stow_link: http://live-systems.org/
| As usual, you can build the images yourself or use the prebuilt files, which are available on the project's homepage at ┥http://live-systems.org/┝┤0├. Using prebuilt images would be handy for doing initial testing until one can fine tune their own needs. If you have built a live image you will find the files needed for webbooting in the build directory under ⑆■┨binary/live/┣■. The files are called ⑆■┨vmlinuz┣■, ⑆■┨initrd.img┣■ and ⑆■┨filesystem.squashfs┣■.
[287] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E820A71B7CA13AC2413FC60EADC42F2B9565775DBEBEF45ABD25BF8C7AED1202
| It is also possible to extract those files from an already existing iso image. In order to achieve that, loopback mount the image as follows:
[288] code
.part: body
.is_of_type: block
.sha256: 3C5E3DF1829AE223D1BAE35C5FE1A627EFC4DE65C66133DB478BD865893B0D96
| ░#░mount░-o░loop░image.iso░/mnt
[289] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 15E6986ADD3B1D3B443A5C2441BC77049C91FF360AAA36BEF683901842C36C51
| The files are to be found under the ⑆■┨live/┣■ directory. In this specific case, it would be ⑆■┨/mnt/live/┣■. This method has the disadvantage that you need to be root to be able to mount the image. However, it has the advantage that it is easily scriptable and thus, easily automatized.
[290] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FD19B1186645F03C097F4541B113378E52E499B73C82F1F91C5D71AD979E65DF
| But undoubtedly, the easiest way of extracting the files from an iso image and uploading it to the web server at the same time, is using the midnight commander or ⑆/┨mc┣/. If you have the ⑆/┨genisoimage┣/ package installed, the two-pane file manager allows you to browse the contents of an iso file in one pane and upload the files via ftp in the other pane. Even though this method requires manual work, it does not require root privileges.
[291] heading :3
.part: body
.last_descendant: 295
.ancestors: 1 0 0 0 0 0 291 0
.ancestors_collapsed: 1 0 0 0 291 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 547B8BE51B789571BE65758707C4014AABEDB5DEFDEB6D1C98DFEFF28EF4EE85
.segment: the-basics
.segment_epub: the-basics
.heading_ancestors_text: Live Systems Manual|The basics|||The basics|Webbooting|Booting webboot images|
| Booting webboot images
[292] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 95F280FE1B6C12A5CABEAE07B8236C4C968E49BCC93011E0089F4E4F5E7D384E
| While some users will prefer virtualization to test webbooting, we refer to real hardware here to match the following possible use case which should only be considered as an example.
[293] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 76147ACC53EA53DA945B974D4529BC9B2D479D66155DBFC8F6FB317D55A19E2B
| In order to boot a webboot image it is enough to have the components mentioned above, i.e. ⑆■┨vmlinuz┣■ and ⑆■┨initrd.img┣■ in a usb stick inside a directory named ⑆■┨live/┣■ and install syslinux as bootloader. Then boot from the usb stick and type ⑆■┨fetch=URL/PATH/TO/FILE┣■ at the boot options. live-boot will retrieve the squashfs file and store it into ram. This way, it is possible to use the downloaded compressed filesystem as a regular live system. For example:
[294] code
.part: body
.is_of_type: block
.sha256: 7CB9164D23E7C098120186AD790353946BCDDE4155FE9B2A6718ED3854001B12
| ░append░boot=live░components░fetch=http://192.168.2.50/images/webboot/filesystem.squashfs
[295] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AD7BE22871BB0695B33D9387FD290965CA234A8A604A4A6E0892265C5C69BC89
| ⑆*┨Use case:┣* You have a web server in which you have stored two squashfs files, one which contains a full desktop, like for example gnome, and a standard one. If you need a graphical environment for one machine, you can plug your usb stick in and webboot the gnome image. If you need one of the tools included in the second type of image, perhaps for another machine, you can webboot the standard one.
[296] heading :B
.part: body
.parent: 1
.last_descendant: 328
.ancestors: 1 296 0 0 0 0 0 0
.ancestors_collapsed: 1 296 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 2 0 0
.dom_status_collapsed: 4 3 2 2 2 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 6908B56624787653A715E977D6BBF334101D34BE63CDB305C587257B661C3FE0
.segment: _part_7
.segment_epub: _part_7
.heading_ancestors_text: Live Systems Manual|Overview of tools||||||
| Overview of tools
[297] heading :1
.part: body
.parent: 1
.last_descendant: 328
.ancestors: 1 0 0 0 297 0 0 0
.ancestors_collapsed: 1 0 297 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 6908B56624787653A715E977D6BBF334101D34BE63CDB305C587257B661C3FE0
.segment: overview-of-tools
.segment_prev: the-basics
.segment_next: managing-a-configuration
.heading_lev_anchor: overview-of-tools
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|||
.lev4_subtoc: 5~ ┥The live-build package┝┤#299├
.lev4_subtoc: 6~ ┥The ⑆■┨lb config┣■ command┝┤#309├
.lev4_subtoc: 6~ ┥The ⑆■┨lb build┣■ command┝┤#319├
.lev4_subtoc: 6~ ┥The ⑆■┨lb clean┣■ command┝┤#321├
.lev4_subtoc: 5~ ┥The live-boot package┝┤#323├
.lev4_subtoc: 5~ ┥The live-config package┝┤#327├
| Overview of tools
[298] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 454BD46F79A7347AC97C59C927CE5AE8EB939BEC4292EF49C697567C8BEA8C7D
| This chapter contains an overview of the three main tools used in building live systems: live-build, live-boot and live-config.
[299] heading :2
.part: body
.last_descendant: 322
.ancestors: 1 0 0 0 0 299 0 0
.ancestors_collapsed: 1 0 0 299 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 14DD39B3443F304436F4A682038A6DB93A969AE3238DCAE07A8212B6B119AF62
.segment: overview-of-tools
.heading_lev_anchor: live-build
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|The live-build package||
| The live-build package
[300] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ED4020E5F366509CB6A7B81D391F80CFC91291A0BB33E3BA2C74B36CE7089BFD
| live-build is a collection of scripts to build live systems. These scripts are also referred to as “commands”.
[301] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E03C8E784D71B3D63BBFEFFF87B6FA842EE47A02A00D7444104C96E2631D989D
| The idea behind live-build is to be a framework that uses a configuration directory to completely automate and customize all aspects of building a Live image.
[302] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E5F8C08B5D62DDD0F3C81AAB61FF725A74F55EAA06688092C303F78CB6256C6A
| Many concepts are similar to those used to build Debian packages with ⑆/┨debhelper┣/:
[303] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 930C0E1EDCF386C7BAA87FECECF09E63DDC895D1320B38DD85C752C98BEC4E07
.bullet: true
| The scripts have a central location for configuring their operation. In ⑆/┨debhelper┣/, this is the ⑆■┨debian/┣■ subdirectory of a package tree. For example, dh_install will look, among others, for a file called ⑆■┨debian/install┣■ to determine which files should exist in a particular binary package. In much the same way, live-build stores its configuration entirely under a ⑆■┨config/┣■ subdirectory.
[304] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ABD73BFA59EF1886C65BEB6DBAB266E89C60DAE00184205BC8F41135F84F221B
.bullet: true
| The scripts are independent - that is to say, it is always safe to run each command.
[305] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A69D00B274EAA6857F84D0F6EF4EEB55A84DF6FF8B963F97B2ADBE005A074AC6
| Unlike ⑆/┨debhelper┣/, live-build provides the tools to generate a skeleton configuration directory. This could be considered to be similar to tools such as ⑆/┨dh-make┣/. For more information about these tools, read on, since the remainder of this section discuses the four most important commands. Note that the preceding ⑆■┨lb┣■ is a generic wrapper for live-build commands.
[306] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 64093EB7D807A8150A63EBD299F5437230E44A0A6C6E741584790E4E272F2959
.bullet: true
.has: links
| ⑆*┨lb config┣*: Responsible for initializing a Live system configuration directory. See ┥The lb config command┝┤#lb-config├ for more information.
[307] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 525129AA404B81EED7F10C08E67D52C22C3AE7C2FC8B98D4A6C2FEC5FCE6C091
.bullet: true
.has: links
| ⑆*┨lb build┣*: Responsible for starting a Live system build. See ┥The lb build command┝┤#lb-build├ for more information.
[308] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DE681A33B969767A57A736D5078C7247EF88B45BC304257F2C1A27873136AFE2
.bullet: true
.has: links
| ⑆*┨lb clean┣*: Responsible for removing parts of a Live system build. See ┥The lb clean command┝┤#lb-clean├ for more information.
[309] heading :3
.part: body
.last_descendant: 318
.ancestors: 1 0 0 0 0 0 309 0
.ancestors_collapsed: 1 0 0 0 309 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 2409AF94A2B41A0EA6A7FDF748C6929DAA23D4FAD273B2685FAEF3DEB2A8AE3E
.segment: overview-of-tools
.heading_lev_anchor: lb-config
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|The live-build package|The ⑆■┨lb config┣■ command|
| The ⑆■┨lb config┣■ command
[310] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 446C0E4CF1EF38815CDA44651E27BBD3BB865FD2CE937F0CE65CAA845DD29435
.has: links
| As discussed in ┥live-build┝┤#live-build├, the scripts that make up live-build read their configuration with the ⑆■┨source┣■ command from a single directory named ⑆■┨config/┣■. As constructing this directory by hand would be time-consuming and error-prone, the ⑆■┨lb config┣■ command can be used to create the initial skeleton configuration tree.
[311] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 697FAEA02D1A931E0DB8CD16C2BFC864E5E679F1B134E56325AB020D98AFB3AA
| Issuing ⑆■┨lb config┣■ without any arguments creates the ⑆■┨config/┣■ subdirectory which is populated with some default settings in configuration files, and two skeleton trees named ⑆■┨auto/┣■ and ⑆■┨local/┣■.
[312] code
.part: body
.is_of_type: block
.sha256: AA5F82DFA0FEB49813153870F3F9F6333F4E8E9B36DDBE4FFF1E435E36911AC5
| ░$░lb░config
| ░[2015-01-06░19:25:58]░lb░config
| ░P:░Creating░config░tree░for░a░debian/stretch/i386░system
| ░P:░Symlinking░hooks...
[313] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F782CB88C3A54269FA96B9A8C30377D80CD5C498FBB682DAF837321997332293
.has: links
| Using ⑆■┨lb config┣■ without any arguments would be suitable for users who need a very basic image, or who intend to provide a more complete configuration via ⑆■┨auto/config┣■ later (see ┥Managing a configuration┝┤#managing-a-configuration├ for details).
[314] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 50D6971989CAE23E0CC8C63D18AAAC44C3FC45D6DD78D8232FB7582C5B313066
| Normally, you will want to specify some options. For example, to specify which package manager to use while building the image:
[315] code
.part: body
.is_of_type: block
.sha256: F66A0BC43542593190BB3117AC09F041CDBFAE760EE7CCF7062F6A41E22477CD
| ░$░lb░config░--apt░aptitude
[316] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 556E18B47F8EB61428491224BF06432184485EFCE81ACB8171B2DB820B68C5FB
| It is possible to specify many options, such as:
[317] code
.part: body
.is_of_type: block
.sha256: DD1C5401A3EE4D3C9BDB0CD0466C0921EFD048A4DFBB50AD1304C76DD599A5CF
| ░$░lb░config░--binary-images░netboot░--bootappend-live░"boot=live░components░hostname=live-host░username=live-user"░...
[318] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 835FA28F750F7249F78DC9B88733CA9424E995730D4EFC1B087909A53DCDF0EE
| A full list of options is available in the ⑆■┨lb_config┣■ man page.
[319] heading :3
.part: body
.last_descendant: 320
.ancestors: 1 0 0 0 0 0 319 0
.ancestors_collapsed: 1 0 0 0 319 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 15CD0BFCB8D4B44FC5739F56055601A263ACACBBF831523BB25A5284DCAF0E3B
.segment: overview-of-tools
.heading_lev_anchor: lb-build
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|The live-build package|The ⑆■┨lb build┣■ command|
| The ⑆■┨lb build┣■ command
[320] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B922CB07332FE5539A94468631992B6499DE1FA880AE7F303DBD4F3E4864D55C
| The ⑆■┨lb build┣■ command reads in your configuration from the ⑆■┨config/┣■ directory. It then runs the lower level commands needed to build your Live system.
[321] heading :3
.part: body
.last_descendant: 322
.ancestors: 1 0 0 0 0 0 321 0
.ancestors_collapsed: 1 0 0 0 321 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: C5BC1D47BF27606A68D5A6439074FECC1C2E679DD895EC65E30E0BC0A569EEDD
.segment: overview-of-tools
.heading_lev_anchor: lb-clean
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|The live-build package|The ⑆■┨lb clean┣■ command|
| The ⑆■┨lb clean┣■ command
[322] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BCC03699E7A989C088464F41973D849407A1863E1B3F6FAF4AD0FD56B0A9C3E4
| It is the job of the ⑆■┨lb clean┣■ command to remove various parts of a build so subsequent builds can start from a clean state. By default, ⑆■┨chroot┣■, ⑆■┨binary┣■ and ⑆■┨source┣■ stages are cleaned, but the cache is left intact. Also, individual stages can be cleaned. For example, if you have made changes that only affect the binary stage, use ⑆■┨lb clean --binary┣■ prior to building a new binary. If your changes invalidate the bootstrap and/or package caches, e.g. changes to ⑆■┨--mode┣■, ⑆■┨--architecture┣■, or ⑆■┨--bootstrap┣■, you must use ⑆■┨lb clean --purge┣■. See the ⑆■┨lb_clean┣■ man page for a full list of options.
[323] heading :2
.part: body
.last_descendant: 326
.ancestors: 1 0 0 0 0 323 0 0
.ancestors_collapsed: 1 0 0 323 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 78F5AB215C2C8A1DB69E7EA85CF9D19DEB058938342A20189F772C25DF9D2E72
.segment: overview-of-tools
.heading_lev_anchor: live-boot
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|The live-boot package||
| The live-boot package
[324] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1E34A0B9224DB2E97FB023FA8B6A1CA6E99A2023316D5A4990F6089E1D5694C9
| live-boot is a collection of scripts providing hooks for the ⑆/┨initramfs-tools┣/, used to generate an initramfs capable of booting live systems, such as those created by live-build. This includes the live system ISOs, netboot tarballs, and USB stick images.
[325] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 89E24D8AD2A79845B361DDDF08708790E74410DFD9671CA6483E0AD87426E993
| At boot time it will look for read-only media containing a ⑆■┨/live/┣■ directory where a root filesystem (often a compressed filesystem image like squashfs) is stored. If found, it will create a writable environment, using aufs, for Debian like systems to boot from.
[326] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4081C5D1ED922A89DA6BE2A0D720226941F6372C3BD7670693E4566918B10D6A
.has: links
.stow_link: http://kernel-handbook.alioth.debian.org/
| More information on initial ramfs in Debian can be found in the Debian Linux Kernel Handbook at ┥http://kernel-handbook.alioth.debian.org/┝┤0├ in the chapter on initramfs.
[327] heading :2
.part: body
.last_descendant: 328
.ancestors: 1 0 0 0 0 327 0 0
.ancestors_collapsed: 1 0 0 327 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: BA76EA0946AD9BC74BB75F624853124A018CA66A777778D07371A6A70E72CC47
.segment: overview-of-tools
.heading_lev_anchor: live-config
.segment_epub: overview-of-tools
.heading_ancestors_text: Live Systems Manual|Overview of tools|||Overview of tools|The live-config package||
| The live-config package
[328] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 670DA3A76E8F4282764CBF06590B67C10E4D557979A6C4D586FA936AF02BA126
| live-config consists of the scripts that run at boot time after live-boot to configure the live system automatically. It handles such tasks as setting the hostname, locales and timezone, creating the live user, inhibiting cron jobs and performing autologin of the live user.
[329] heading :B
.part: body
.parent: 1
.last_descendant: 354
.ancestors: 1 329 0 0 0 0 0 0
.ancestors_collapsed: 1 329 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: B67A224793A7B8AEBAC925A28D560447B8F21ADDDD34F12CCB980DE7E9049FC7
.segment: _part_8
.heading_lev_anchor: live-config
.segment_epub: _part_8
.heading_ancestors_text: Live Systems Manual|Managing a configuration||||||
| Managing a configuration
[330] heading :1
.part: body
.parent: 1
.last_descendant: 354
.ancestors: 1 0 0 0 330 0 0 0
.ancestors_collapsed: 1 0 330 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: B67A224793A7B8AEBAC925A28D560447B8F21ADDDD34F12CCB980DE7E9049FC7
.segment: managing-a-configuration
.segment_prev: overview-of-tools
.segment_next: customization-overview
.heading_lev_anchor: managing-a-configuration
.segment_epub: managing-a-configuration
.heading_ancestors_text: Live Systems Manual|Managing a configuration|||Managing a configuration|||
.lev4_subtoc: 5~ ┥Dealing with configuration changes┝┤#332├
.lev4_subtoc: 6~ ┥Why use auto scripts? What do they do?┝┤#334├
.lev4_subtoc: 6~ ┥Use example auto scripts┝┤#337├
.lev4_subtoc: 5~ ┥Clone a configuration published via Git┝┤#344├
| Managing a configuration
[331] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4B430C5730723D5B816AF3313F632C541A5AD9C57EA56AC1E6ED1EE0AACCF106
| This chapter explains how to manage a live configuration from initial creation, through successive revisions and successive releases of both the live-build software and the live image itself.
[332] heading :2
.part: body
.last_descendant: 343
.ancestors: 1 0 0 0 0 332 0 0
.ancestors_collapsed: 1 0 0 332 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 0C21A93F3F84130C641B1E07B7D6904C5C9DA40FA923336428F3529F67E4882A
.segment: managing-a-configuration
.segment_epub: managing-a-configuration
.heading_ancestors_text: Live Systems Manual|Managing a configuration|||Managing a configuration|Dealing with configuration changes||
| Dealing with configuration changes
[333] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 785B27B0A8AC5D4285067869D4EB46748E3CFBCDB6B57718A347C2026204F608
| Live configurations rarely are perfect on the first try. It may be fine to pass ⑆■┨lb config┣■ options from the command-line to perform a single build, but it is more typical to revise those options and build again until you are satisfied. To support these changes, you will need auto scripts which ensure your configuration is kept in a consistent state.
[334] heading :3
.part: body
.last_descendant: 336
.ancestors: 1 0 0 0 0 0 334 0
.ancestors_collapsed: 1 0 0 0 334 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 76FC682B71C2FB707D1CE4DACDB8483436FA7B3240E6E1ACD04CB2AF78ED8B4D
.segment: managing-a-configuration
.segment_epub: managing-a-configuration
.heading_ancestors_text: Live Systems Manual|Managing a configuration|||Managing a configuration|Dealing with configuration changes|Why use auto scripts? What do they do?|
| Why use auto scripts? What do they do?
[335] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 54B879A3FC1A84739423622E0F407502C7250CE646E275208C848D15CB53AFFF
| The ⑆■┨lb config┣■ command stores the options you pass to it in ⑆■┨config/*┣■ files along with many other options set to default values. If you run ⑆■┨lb config┣■ again, it will not reset any option that was defaulted based on your initial options. So, for example, if you run ⑆■┨lb config┣■ again with a new value for ⑆■┨--binary-images┣■, any dependent options that were defaulted for the old image type may no longer work with the new ones. Nor are these files intended to be read or edited. They store values for over a hundred options, so nobody, let alone yourself, will be able to see in these which options you actually specified. And finally, if you run ⑆■┨lb config┣■, then upgrade live-build and it happens to rename an option, ⑆■┨config/*┣■ would still contain variables named after the old option that are no longer valid.
[336] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5C768057B2B169249385CB61255724C1F49065A2D4D17297CC64F74FD744A3C4
| For all these reasons, ⑆■┨auto/*┣■ scripts will make your life easier. They are simple wrappers to the ⑆■┨lb config┣■, ⑆■┨lb build┣■ and ⑆■┨lb clean┣■ commands that are designed to help you manage your configuration. The ⑆■┨auto/config┣■ script stores your ⑆■┨lb config┣■ command with all desired options, the ⑆■┨auto/clean┣■ script removes the files containing configuration variable values, and the ⑆■┨auto/build┣■ script keeps a ⑆■┨build.log┣■ of each build. Each of these scripts is run automatically every time you run the corresponding ⑆■┨lb┣■ command. By using these scripts, your configuration is easier to read and is kept internally consistent from one revision to the next. Also, it will be much easier for you identify and fix options which need to change when you upgrade live-build after reading the updated documentation.
[337] heading :3
.part: body
.last_descendant: 343
.ancestors: 1 0 0 0 0 0 337 0
.ancestors_collapsed: 1 0 0 0 337 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: C6317381E37FE2A8D6E2695372A6A7002BFA5AC7DF4DC58C38F7423025459ED3
.segment: managing-a-configuration
.segment_epub: managing-a-configuration
.heading_ancestors_text: Live Systems Manual|Managing a configuration|||Managing a configuration|Dealing with configuration changes|Use example auto scripts|
| Use example auto scripts
[338] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ED8BA313ECACB7B76AFAFE0D25F0989D5D679324055E215F143492320B762E2E
| For your convenience, live-build comes with example auto shell scripts to copy and edit. Start a new, default configuration, then copy the examples into it:
[339] code
.part: body
.is_of_type: block
.sha256: 92857B104EA113089A58FAF70BC18E28F242E9937A4EE26A94F72DCF3075758C
| ░$░mkdir░mylive░&&░cd░mylive░&&░lb░config
| ░$░mkdir░auto
| ░$░cp░/usr/share/doc/live-build/examples/auto/*░auto/
[340] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 008D98146BFFC11A46FD312C077E8B03EA06EA1A966C0584AF392E5CE1AC3CB3
| Edit ⑆■┨auto/config┣■, adding any options as you see fit. For instance:
[341] code
.part: body
.is_of_type: block
.sha256: 5F7C24CD7B2328175E9B56AD5F711163C87E0F8A881568F7C61FDCD03C04CBEC
| ░#!/bin/sh
| ░lb░config░noauto░\
| ░░░░░--architectures░i386░\
| ░░░░░--linux-flavours░686-pae░\
| ░░░░░--binary-images░hdd░\
| ░░░░░--mirror-bootstrap░http://ftp.ch.debian.org/debian/░\
| ░░░░░--mirror-binary░http://ftp.ch.debian.org/debian/░\
| ░░░░░"${@}"
[342] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 038F1936E614025D45B3F4B32485AEB566F737073CA498AD10AA2969A7BF9B44
| Now, each time you use ⑆■┨lb config┣■, ⑆■┨auto/config┣■ will reset the configuration based on these options. When you want to make changes to them, edit the options in this file instead of passing them to ⑆■┨lb config┣■. When you use ⑆■┨lb clean┣■, ⑆■┨auto/clean┣■ will clean up the ⑆■┨config/*┣■ files along with any other build products. And finally, when you use ⑆■┨lb build┣■, a log of the build will be written by ⑆■┨auto/build┣■ in ⑆■┨build.log┣■.
[343] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 637A8B21F5EDB6BE3FA18BA0B427C21E60157A3A687ED620F0F755D20A3D0E1A
| ⑆*┨Note:┣* A special ⑆■┨noauto┣■ parameter is used here to suppress another call to ⑆■┨auto/config┣■, thereby preventing infinite recursion. Make sure you don't accidentally remove it when making edits. Also, take care to ensure when you split the ⑆■┨lb config┣■ command across multiple lines for readability, as shown in the example above, that you don't forget the backslash (\) at the end of each line that continues to the next.
[344] heading :2
.part: body
.last_descendant: 354
.ancestors: 1 0 0 0 0 344 0 0
.ancestors_collapsed: 1 0 0 344 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: C0A0693202190D5232673C37E15DF999DA480C04058DAF588E8503BC3434CCA5
.segment: managing-a-configuration
.heading_lev_anchor: clone-configuration-via-git
.segment_epub: managing-a-configuration
.heading_ancestors_text: Live Systems Manual|Managing a configuration|||Managing a configuration|Clone a configuration published via Git||
| Clone a configuration published via Git
[345] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 898D14A6C785BAB469F0FB898156F99F9514742368809B1C5AD6139014C95B1E
.has: links
.stow_link: http://live-systems.org/gitweb/
| Use the ⑆■┨lb config --config┣■ option to clone a Git repository that contains a live system configuration. If you would like to base your configuration on one maintained by the ${project}, look at ┥http://live-systems.org/gitweb/┝┤0├ for the repository named ⑆■┨live-images┣■ in the category ⑆■┨Packages┣■. This repository contains the configurations for the live systems ┥prebuilt images┝┤#downloading-prebuilt-images├.
[346] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9A88700EF2FA0017F64DD07A5D41678E265620CD173F19E77FD0027A352FB35A
| For example, to build a standard image, use the ⑆■┨live-images┣■ repository as follows:
[347] code
.part: body
.is_of_type: block
.sha256: 346C77452B1663DBA4741D1F60F4C333EDEC572FB18C20A142841CC9E1BD8854
| ░$░mkdir░live-images░&&░cd░live-images
| ░$░lb░config░--config░git://live-systems.org/git/live-images.git
| ░$░cd░images/standard
[348] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 26FC7B9B484B9DC1A262A7AD8A7B7F25C023541418405E8F0C7287A2211D25BC
| Edit ⑆■┨auto/config┣■ and any other things you need in the ⑆■┨config┣■ tree to suit your needs. For example, the unofficial non-free prebuilt images are made by simply adding ⑆■┨--archive-areas “main contrib non-free”┣■.
[349] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 403CF798EC71814FC77771E03A2FA2659C71897FCB50AFF4693F33763E4B2227
| You may optionally define a shortcut in your Git configuration by adding the following to your ⑆■┨${HOME}/.gitconfig┣■:
[350] code
.part: body
.is_of_type: block
.sha256: D139DF057096C3B9448D597C47310BD5872145FD388ADD8DE7655CAACF13E4E7
| ░[url░"git://live-systems.org/git/"]
| ░░░░░░░░░insteadOf░=░lso:
[351] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 487CD3B47660A2E5CA1E95478B9F056AC12E053563D89CFAE4DFB870D8EE3207
| This enables you to use ⑆■┨lso:┣■ anywhere you need to specify the address of a ⑆■┨live-systems.org┣■ git repository. If you also drop the optional ⑆■┨.git┣■ suffix, starting a new image using this configuration is as easy as:
[352] code
.part: body
.is_of_type: block
.sha256: 81707A279EB406C29A4DE459631B3CC2EADD21B1DB7E172F7DD1183B7E8F6B83
| ░$░lb░config░--config░lso:live-images
[353] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4B72F653A96FED865A6130B1BFE13E6BDFB39D44C0C634508EA02B614E0B89E7
| Cloning the entire ⑆■┨live-images┣■ repository pulls the configurations used for several images. If you feel like building a different image after you have finished with the first one, change to another directory and again and optionally, make any changes to suit your needs.
[354] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A6A287CF848AEC3360B1825C2374D66648AF81A5C13588C0F024B8A3435B05D9
| In any case, remember that every time you will have to build the image as superuser: ⑆■┨lb build┣■
[355] heading :B
.part: body
.parent: 1
.last_descendant: 367
.ancestors: 1 355 0 0 0 0 0 0
.ancestors_collapsed: 1 355 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 08896B9D7DF6CF95A6D7108AA626AD522C49A5A5BF2AB0CA0F5F59D9ED518840
.segment: _part_9
.heading_lev_anchor: clone-configuration-via-git
.segment_epub: _part_9
.heading_ancestors_text: Live Systems Manual|Customizing contents||||||
| Customizing contents
[356] heading :1
.part: body
.parent: 1
.last_descendant: 367
.ancestors: 1 0 0 0 356 0 0 0
.ancestors_collapsed: 1 0 356 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 85CA78684A3AF28A38F3CD679C358F9FE3071D285D3ACBBE3006E3D779B43EB0
.segment: customization-overview
.segment_prev: managing-a-configuration
.segment_next: customizing-package-installation
.heading_lev_anchor: customization-overview
.segment_epub: customization-overview
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customization overview|||
.lev4_subtoc: 5~ ┥Build time vs. boot time configuration┝┤#358├
.lev4_subtoc: 5~ ┥Stages of the build┝┤#361├
.lev4_subtoc: 5~ ┥Supplement lb config with files┝┤#364├
.lev4_subtoc: 5~ ┥Customization tasks┝┤#366├
| Customization overview
[357] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F347967258FB6A8D53C53D6324A474A89DC76F2973BEECD82820F0143C27E1DE
| This chapter gives an overview of the various ways in which you may customize a live system.
[358] heading :2
.part: body
.last_descendant: 360
.ancestors: 1 0 0 0 0 358 0 0
.ancestors_collapsed: 1 0 0 358 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 57D0050054203378911F745A1B43ADFD520019406EE7CFCFAA686491C95D431B
.segment: customization-overview
.segment_epub: customization-overview
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customization overview|Build time vs. boot time configuration||
| Build time vs. boot time configuration
[359] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C657BB102B9E506DB89C555EB0C16A0015CF0CA5FED42CDCB5C117D584039BD5
.has: links
| Live system configuration options are divided into build-time options which are options that are applied at build time and boot-time options which are applied at boot time. Boot-time options are further divided into those occurring early in the boot, applied by the live-boot package, and those that happen later in the boot, applied by live-config. Any boot-time option may be modified by the user by specifying it at the boot prompt. The image may also be built with default boot parameters so users can normally just boot directly to the live system without specifying any options when all of the defaults are suitable. In particular, the argument to ⑆■┨lb --bootappend-live┣■ consists of any default kernel command line options for the Live system, such as persistence, keyboard layouts, or timezone. See ┥Customizing locale and language┝┤#customizing-locale-and-language├, for example.
[360] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AFA78F0F71B65981D235793AB9D2821CCCBECBDEDBE138C4D0D5517B4971D519
| Build-time configuration options are described in the ⑆■┨lb config┣■ man page. Boot-time options are described in the man pages for live-boot and live-config. Although the live-boot and live-config packages are installed within the live system you are building, it is recommended that you also install them on your build system for easy reference when you are working on your configuration. It is safe to do so, as none of the scripts contained within them are executed unless the system is configured as a live system.
[361] heading :2
.part: body
.last_descendant: 363
.ancestors: 1 0 0 0 0 361 0 0
.ancestors_collapsed: 1 0 0 361 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: F4C9FC387DB16E7CE924280C5E5F962DD821D1D912891E1F6E435E99126C1384
.segment: customization-overview
.heading_lev_anchor: stages-of-the-build
.segment_epub: customization-overview
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customization overview|Stages of the build||
| Stages of the build
[362] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 81E51D0147556104C42F0A999498B280C711F27248F5E7B723420D1DB7786B10
| The build process is divided into stages, with various customizations applied in sequence in each. The first stage to run is the ⑆*┨bootstrap┣* stage. This is the initial phase of populating the chroot directory with packages to make a barebones Debian system. This is followed by the ⑆*┨chroot┣* stage, which completes the construction of chroot directory, populating it with all of the packages listed in the configuration, along with any other materials. Most customization of content occurs in this stage. The final stage of preparing the live image is the ⑆*┨binary┣* stage, which builds a bootable image, using the contents of the chroot directory to construct the root filesystem for the Live system, and including the installer and any other additional material on the target medium outside of the Live system's filesystem. After the live image is built, if enabled, the source tarball is built in the ⑆*┨source┣* stage.
[363] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 83AFF944B24B3FE81F647CA71643978DD3407F8863759D64817C62EA458A5FF4
| Within each of these stages, there is a particular sequence in which commands are applied. These are arranged in such a way as to ensure customizations can be layered in a reasonable fashion. For example, within the ⑆*┨chroot┣* stage, preseeds are applied before any packages are installed, packages are installed before any locally included files are copied, and hooks are run later, after all of the materials are in place.
[364] heading :2
.part: body
.last_descendant: 365
.ancestors: 1 0 0 0 0 364 0 0
.ancestors_collapsed: 1 0 0 364 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 07BE4001920732C6CB72CF7345C42C583912EDBA752C7FF7812960D0F3023B79
.segment: customization-overview
.segment_epub: customization-overview
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customization overview|Supplement lb config with files||
| Supplement lb config with files
[365] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 90FDECC5489E65B0A06CDD0F74951343DD59E06892FD47741487F5DA571ADD4A
| Although ⑆■┨lb config┣■ creates a skeletal configuration in the ⑆■┨config/┣■ directory, to accomplish your goals, you may need to provide additional files in subdirectories of ⑆■┨config/┣■. Depending on where the files are stored in the configuration, they may be copied into the live system's filesystem or into the binary image filesystem, or may provide build-time configurations of the system that would be cumbersome to pass as command-line options. You may include things such as custom lists of packages, custom artwork, or hook scripts to run either at build time or at boot time, boosting the already considerable flexibility of debian-live with code of your own.
[366] heading :2
.part: body
.last_descendant: 367
.ancestors: 1 0 0 0 0 366 0 0
.ancestors_collapsed: 1 0 0 366 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 1099BCD998A323D63AB7703079BA8A981A45A4768A95AB227D8F6215EB386A08
.segment: customization-overview
.segment_epub: customization-overview
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customization overview|Customization tasks||
| Customization tasks
[367] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 370915ACDFCD128F1D7F1DFE2288ADAB77DF47D0418C292605EE95C4A88F947D
.has: links
| The following chapters are organized by the kinds of customization task users typically perform: ┥Customizing package installation┝┤#customizing-package-installation├, ┥Customizing contents┝┤#customizing-contents├ and ┥Customizing locale and language┝┤#customizing-locale-and-language├ cover just a few of the things you might want to do.
[368] heading :B
.part: body
.parent: 1
.last_descendant: 496
.ancestors: 1 368 0 0 0 0 0 0
.ancestors_collapsed: 1 368 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 5C448CDD69B2E2B04029AF503E1E6E4DBD87CA70D5B754DCE83B8F4EFE6F3878
.segment: _part_10
.segment_epub: _part_10
.heading_ancestors_text: Live Systems Manual|Customizing package installation||||||
| Customizing package installation
[369] heading :1
.part: body
.parent: 1
.last_descendant: 496
.ancestors: 1 0 0 0 369 0 0 0
.ancestors_collapsed: 1 0 369 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 5C448CDD69B2E2B04029AF503E1E6E4DBD87CA70D5B754DCE83B8F4EFE6F3878
.segment: customizing-package-installation
.segment_prev: customization-overview
.segment_next: customizing-contents
.heading_lev_anchor: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|||
.lev4_subtoc: 5~ ┥Package sources┝┤#371├
.lev4_subtoc: 6~ ┥Distribution, archive areas and mode┝┤#372├
.lev4_subtoc: 6~ ┥Distribution mirrors┝┤#379├
.lev4_subtoc: 6~ ┥Distribution mirrors used at build time┝┤#381├
.lev4_subtoc: 6~ ┥Distribution mirrors used at run time┝┤#385├
.lev4_subtoc: 6~ ┥Additional repositories┝┤#388├
.lev4_subtoc: 5~ ┥Choosing packages to install┝┤#396├
.lev4_subtoc: 6~ ┥Package lists┝┤#398├
.lev4_subtoc: 6~ ┥Using metapackages┝┤#401├
.lev4_subtoc: 6~ ┥Local package lists┝┤#409├
.lev4_subtoc: 6~ ┥Local binary package lists┝┤#413├
.lev4_subtoc: 6~ ┥Generated package lists┝┤#415├
.lev4_subtoc: 6~ ┥Using conditionals inside package lists┝┤#419├
.lev4_subtoc: 6~ ┥Removing packages at install time┝┤#428├
.lev4_subtoc: 6~ ┥Desktop and language tasks┝┤#430├
.lev4_subtoc: 6~ ┥Kernel flavour and version┝┤#435├
.lev4_subtoc: 6~ ┥Custom kernels┝┤#440├
.lev4_subtoc: 5~ ┥Installing modified or third-party packages┝┤#448├
.lev4_subtoc: 6~ ┥Using ⑆■┨packages.chroot┣■ to install custom packages┝┤#455├
.lev4_subtoc: 6~ ┥Using an APT repository to install custom packages┝┤#462├
.lev4_subtoc: 6~ ┥Custom packages and APT┝┤#465├
.lev4_subtoc: 5~ ┥Configuring APT at build time┝┤#468├
.lev4_subtoc: 6~ ┥Choosing apt or aptitude┝┤#470├
.lev4_subtoc: 6~ ┥Using a proxy with APT┝┤#474├
.lev4_subtoc: 6~ ┥Tweaking APT to save space┝┤#477├
.lev4_subtoc: 6~ ┥Passing options to apt or aptitude┝┤#486├
.lev4_subtoc: 6~ ┥APT pinning┝┤#491├
| Customizing package installation
[370] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8860DBE2E7B9AA68357BD54B699B95AB9F1E9DDA851A8DB254DE596F50E3476F
| Perhaps the most basic customization of a live system is the selection of packages to be included in the image. This chapter guides you through the various build-time options to customize live-build's installation of packages. The broadest choices influencing which packages are available to install in the image are the distribution and archive areas. To ensure decent download speeds, you should choose a nearby distribution mirror. You can also add your own repositories for backports, experimental or custom packages, or include packages directly as files. You can define lists of packages, including metapackages which will install many related packages at once, such as packages for a particular desktop or language. Finally, a number of options give some control over ⑆/┨apt┣/, or if you prefer, ⑆/┨aptitude┣/, at build time when packages are installed. You may find these handy if you use a proxy, want to disable installation of recommended packages to save space, or need to control which versions of packages are installed via APT pinning, to name a few possibilities.
[371] heading :2
.part: body
.last_descendant: 395
.ancestors: 1 0 0 0 0 371 0 0
.ancestors_collapsed: 1 0 0 371 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: E65D6A9E21EF3BB283BC8782E5CA197336AA5A661AFB3288C472565AF1F4568C
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Package sources||
| Package sources
[372] heading :3
.part: body
.last_descendant: 378
.ancestors: 1 0 0 0 0 0 372 0
.ancestors_collapsed: 1 0 0 0 372 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: A51DF04A60C124EE81D134FC0AB318E65E2FCCC783CA5E78B84EA77EA30AFEB1
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Package sources|Distribution, archive areas and mode|
| Distribution, archive areas and mode
[373] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3E5339303E6A04DC655ACD1AEE14762B99AA3D8B65008B1F83614A19239B2C9A
.has: links
| The distribution you choose has the broadest impact on which packages are available to include in your live image. Specify the codename, which defaults to ${testing} for the ${testing} version of live-build. Any current distribution carried in the archive may be specified by its codename here. (See ┥Terms┝┤#terms├ for more details.) The ⑆■┨--distribution┣■ option not only influences the source of packages within the archive, but also instructs live-build to behave as needed to build each supported distribution. For example, to build against the ⑆*┨unstable┣* release, sid, specify:
[374] code
.part: body
.is_of_type: block
.sha256: 63543B5160C3D3B569805619D9CEE3F8DEB95720C6D0C1D30F48776DDDE4CF51
| ░$░lb░config░--distribution░sid
[375] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FA88B7E1520E555AB02E961652CAE4D46ADCCD45898597DA204D5BA27A89D4F9
| Within the distribution archive, archive areas are major divisions of the archive. In Debian, these are ⑆■┨main┣■, ⑆■┨contrib┣■ and ⑆■┨non-free┣■. Only ⑆■┨main┣■ contains software that is part of the Debian distribution, hence that is the default. One or more values may be specified, e.g.
[376] code
.part: body
.is_of_type: block
.sha256: 3D39CEC1C7E78F62D9E5F47C5358053D7F78EA51A3DCDB39D33B8D1C637435DB
| ░$░lb░config░--archive-areas░"main░contrib░non-free"
[377] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6F4AC4F36F28A01C973BE0F7B7AF1545E53927D96E23696CF7D0BE19DF8682B8
| Experimental support is available for some Debian derivatives through a ⑆■┨--mode┣■ option. By default, this option is set to ⑆■┨debian┣■ only if you are building on a Debian or on an unknown system. If ⑆■┨lb config┣■ is invoked on any of the supported derivatives, it will default to create an image of that derivative. If ⑆■┨lb config┣■ is run in e.g. ⑆■┨ubuntu┣■ mode, the distribution names and archive areas for the specified derivative are supported instead of the ones for Debian. The mode also modifies live-build behaviour to suit the derivatives.
[378] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7DBBC464D19AD8237D26C37B386D56307E5EAF1758109940EF88F3BE02F4F0BD
| ⑆*┨Note:┣* The projects for whom these modes were added are primarily responsible for supporting users of these options. The ${project}, in turn, provides development support on a best-effort basis only, based on feedback from the derivative projects as we do not develop or support these derivatives ourselves.
[379] heading :3
.part: body
.last_descendant: 380
.ancestors: 1 0 0 0 0 0 379 0
.ancestors_collapsed: 1 0 0 0 379 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 2A8ADF7F78852E069E85BB5E605EEAB1C1B0FF4F15B2645B7BA0033B7DF8E2C1
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Package sources|Distribution mirrors|
| Distribution mirrors
[380] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BB489DC45E183F9BD5B81421CBC500F413B85B6E52D813EF875CC6F7C39F6B36
.has: links
| The Debian archive is replicated across a large network of mirrors around the world so that people in each region can choose a nearby mirror for best download speed. Each of the ⑆■┨--mirror-*┣■ options governs which distribution mirror is used at various stages of the build. Recall from ┥Stages of the build┝┤#stages-of-the-build├ that the ⑆*┨bootstrap┣* stage is when the chroot is initially populated by ⑆/┨debootstrap┣/ with a minimal system, and the ⑆*┨chroot┣* stage is when the chroot used to construct the live system's filesystem is built. Thus, the corresponding mirror switches are used for those stages, and later, in the ⑆*┨binary┣* stage, the ⑆■┨--mirror-binary┣■ and ⑆■┨--mirror-binary-security┣■ values are used, superseding any mirrors used in an earlier stage.
[381] heading :3
.part: body
.last_descendant: 384
.ancestors: 1 0 0 0 0 0 381 0
.ancestors_collapsed: 1 0 0 0 381 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 1B423A680A230584D68985812C1326B37099405E85E1EB873916EFC1EF1ED06B
.segment: customizing-package-installation
.heading_lev_anchor: distribution-mirrors-build-time
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Package sources|Distribution mirrors used at build time|
| Distribution mirrors used at build time
[382] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1025CBB216E2A468E8542BC313B7E45A0EDB628D31F4197B25F5CF544DB1E44E
| To set the distribution mirrors used at build time to point at a local mirror, it is sufficient to set ⑆■┨--mirror-bootstrap┣■ and ⑆■┨--mirror-chroot-security┣■ as follows.
[383] code
.part: body
.is_of_type: block
.sha256: 64010FEA48DCA9D6023108F0EB8F3A176FE357D2DE85B12BFCB67A8CE624145B
| ░$░lb░config░--mirror-bootstrap░http://localhost/debian/░\
| ░░░░░░░░░░--mirror-chroot-security░http://localhost/debian-security/
[384] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E01A0567C6A2D6417D7A034CDF66306C30367FC856C18967BDEA3DDA429F7C82
| The chroot mirror, specified by ⑆■┨--mirror-chroot┣■, defaults to the ⑆■┨--mirror-bootstrap┣■ value.
[385] heading :3
.part: body
.last_descendant: 387
.ancestors: 1 0 0 0 0 0 385 0
.ancestors_collapsed: 1 0 0 0 385 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: CA7B0F1E31C1834AFD76606DEF3E56298077AB0373D4BCB5645871190DB981B3
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Package sources|Distribution mirrors used at run time|
| Distribution mirrors used at run time
[386] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9857F153F27081C6D306FA12613BF89FCA20154E5F9573DAA457C39E427DEB09
| The ⑆■┨--mirror-binary*┣■ options govern the distribution mirrors placed in the binary image. These may be used to install additional packages while running the live system. The defaults employ ⑆■┨httpredir.debian.org┣■, a service that chooses a geographically close mirror based, among other things, on the user's IP family and the availability of the mirrors. This is a suitable choice when you cannot predict which mirror will be best for all of your users. Or you may specify your own values as shown in the example below. An image built from this configuration would only be suitable for users on a network where “⑆■┨mirror┣■” is reachable.
[387] code
.part: body
.is_of_type: block
.sha256: 76060E4A602500B22C26986619DB93323CE65C8C4F0B38C1876DCD21D2147789
| ░$░lb░config░--mirror-binary░http://mirror/debian/░\
| ░░░░░░░░░░--mirror-binary-security░http://mirror/debian-security/░\
| ░░░░░░░░░░--mirror-binary-backports░http://mirror/debian-backports/
[388] heading :3
.part: body
.last_descendant: 395
.ancestors: 1 0 0 0 0 0 388 0
.ancestors_collapsed: 1 0 0 0 388 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: C4FBDAD8122406AC0FA5D0B4091F61922EC1D71ABB009CE230BF4522837E9167
.segment: customizing-package-installation
.heading_lev_anchor: additional-repositories
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Package sources|Additional repositories|
| Additional repositories
[389] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 70C3A14E35AC4B5AF239649A2EFFC9191634CF9881077010230BE6C9907A0442
| You may add more repositories, broadening your package choices beyond what is available in your target distribution. These may be, for example, for backports, experimental or custom packages. To configure additional repositories, create ⑆■┨config/archives/your-repository.list.chroot┣■, and/or ⑆■┨config/archives/your-repository.list.binary┣■ files. As with the ⑆■┨--mirror-*┣■ options, these govern the repositories used in the ⑆*┨chroot┣* stage when building the image, and in the ⑆*┨binary┣* stage, i.e. for use when running the live system.
[390] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EC07426074EC752C1146129A18E52440D31099A07D4C83C26614410FED93D053
| For example, ⑆■┨config/archives/live.list.chroot┣■ allows you to install packages from the debian-live snapshot repository at live system build time.
[391] code
.part: body
.is_of_type: block
.sha256: 8EE84F2BFA52DFFB3C16E12E2703055DA8FFCF25B5134F5284989CDB4EAE86A4
| ░deb░http://live-systems.org/░sid-snapshots░main░contrib░non-free
[392] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 43F835EF4C97E92BCC7FBABD74916A2F1B75280695ADE3CDD575BAB6FA492F7B
| If you add the same line to ⑆■┨config/archives/live.list.binary┣■, the repository will be added to your live system's ⑆■┨/etc/apt/sources.list.d/┣■ directory.
[393] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AA91F02DCD1C7E8EE806DB8CB740DB755999C5FE314EC7120DF4A242551C82A4
| If such files exist, they will be picked up automatically.
[394] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ACD4DADD068ED9210A05EAC85381156257E91BD9FDA43D55629B964DE3D23EFB
| You should also put the GPG key used to sign the repository into ⑆■┨config/archives/your-repository.key.{binary,chroot}┣■ files.
[395] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6F9548EAEFBDB1E36630C9AEE67D21D20265A7BAB5AB632CFB0AE42C4DD69894
| Should you need custom APT pinning, such APT preferences snippets can be placed in ⑆■┨config/archives/your-repository.pref.{binary,chroot}┣■ files and will be automatically added to your live system's ⑆■┨/etc/apt/preferences.d/┣■ directory.
[396] heading :2
.part: body
.last_descendant: 447
.ancestors: 1 0 0 0 0 396 0 0
.ancestors_collapsed: 1 0 0 396 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 8E322B85625CBAC8DB1DF0C4A5E8735D815092972FF7462AB0B01925F6A0DB85
.segment: customizing-package-installation
.heading_lev_anchor: choosing-packages-to-install
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install||
| Choosing packages to install
[397] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 22B1AC8E330A8AC97BDEBFA0A35FF6966737E7805C51A79E9E92AAD121FECECD
| There are a number of ways to choose which packages live-build will install in your image, covering a variety of different needs. You can simply name individual packages to install in a package list. You can also use metapackages in those lists, or select them using package control file fields. And finally, you may place package files in your ⑆■┨config/┣■ tree, which is well suited to testing of new or experimental packages before they are available from a repository.
[398] heading :3
.part: body
.last_descendant: 400
.ancestors: 1 0 0 0 0 0 398 0
.ancestors_collapsed: 1 0 0 0 398 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 49E9C81CBC51E1C33AD610E77873D6F58A1834B6AEBE550570FCB880EE3E2702
.segment: customizing-package-installation
.heading_lev_anchor: package-lists
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Package lists|
| Package lists
[399] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7FCE228FBC58CACEBDAB8E642D4F9DB377735CEE811A7DA587FE6CC504270A67
| Package lists are a powerful way of expressing which packages should be installed. The list syntax supports conditional sections which makes it easy to build lists and adapt them for use in multiple configurations. Package names may also be injected into the list using shell helpers at build time.
[400] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 422213280B7BA4964D04B1BC9ED36648C57F072DBC9DB66FAE385F1DB165D8FE
.has: links
| ⑆*┨Note:┣* The behaviour of live-build when specifying a package that does not exist is determined by your choice of APT utility. See ┥Choosing apt or aptitude┝┤#choosing-apt-or-aptitude├ for more details.
[401] heading :3
.part: body
.last_descendant: 408
.ancestors: 1 0 0 0 0 0 401 0
.ancestors_collapsed: 1 0 0 0 401 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 39F2F2D98BF28E4C73F4ACAA560EB2BFC4F95C4C6B7EA105C7F9C8520E3B4F6C
.segment: customizing-package-installation
.heading_lev_anchor: using-metapackages
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Using metapackages|
| Using metapackages
[402] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1B5E159237FF1909A65D56CC7FAA4E936051C8792BB47D05373F549083095C69
| The simplest way to populate your package list is to use a task metapackage maintained by your distribution. For example:
[403] code
.part: body
.is_of_type: block
.sha256: 38B21D2BC255665280BA874A2F76C1BA6C1213CA8E533B23737C57EA3B4D1A75
| ░$░lb░config
| ░$░echo░task-gnome-desktop░>░config/package-lists/desktop.list.chroot
[404] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C85BA3C176046CE892C66B3989F0D123812D77B3A0F40002D83A65786AB801EA
| This supercedes the older predefined list method supported in ⑆■┨live-build┣■ 2.x. Unlike predefined lists, task metapackages are not specific to the Live System project. Instead, they are maintained by specialist working groups within the distribution and therefore reflect the consensus of each group about which packages best serve the needs of the intended users. They also cover a much broader range of use cases than the predefined lists they replace.
[405] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ACE60D336988AA8EF826455D4633F392B8DBD53D113139EB143AF5F726085226
| All task metapackages are prefixed ⑆■┨task-┣■, so a quick way to determine which are available (though it may contain a handful of false hits that match the name but aren't metapackages) is to match on the package name with:
[406] code
.part: body
.is_of_type: block
.sha256: 45616EF0DD23F8EA57831DF86DF2F1128AC7D69DB62B7F371C8458B5CDE0603A
| ░$░apt-cache░search░--names-only░^task-
[407] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 878668152544075B93FBDB864A941621F7490D05A2C59DCE3844D7153FE43895
| In addition to these, you will find other metapackages with various purposes. Some are subsets of broader task packages, like ⑆■┨gnome-core┣■, while others are individual specialized parts of a Debian Pure Blend, such as the ⑆■┨education-*┣■ metapackages. To list all metapackages in the archive, install the ⑆■┨debtags┣■ package and list all packages with the ⑆■┨role::metapackage┣■ tag as follows:
[408] code
.part: body
.is_of_type: block
.sha256: 9A28D15366A4957677C4FC72A77C9587D728D9A615DE64B9E297F50D5C4AF575
| ░$░debtags░search░role::metapackage
[409] heading :3
.part: body
.last_descendant: 412
.ancestors: 1 0 0 0 0 0 409 0
.ancestors_collapsed: 1 0 0 0 409 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 2EB24ED838C83A4E4E6BDBAA694E608D07D697962750FDB805D9612DE1E1A155
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Local package lists|
| Local package lists
[410] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4397D9EEF614DC284F0259911612A39D501F108D73620616238AC92C5FD80024
| Whether you list metapackages, individual packages, or a combination of both, all local package lists are stored in ⑆■┨config/package-lists/┣■. Since more than one list can be used, this lends itself well to modular designs. For example, you may decide to devote one list to a particular choice of desktop, another to a collection of related packages that might as easily be used on top of a different desktop. This allows you to experiment with different combinations of sets of packages with a minimum of fuss, sharing common lists between different live image projects.
[411] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6A6C1C3101A69D1E1300CFB48C64830BAFAEF99B393553E718B859E726256FFB
| Package lists that exist in this directory need to have a ⑆■┨.list┣■ suffix in order to be processed, and then an additional stage suffix, ⑆■┨.chroot┣■ or ⑆■┨.binary┣■ to indicate which stage the list is for.
[412] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 86A6CA8C504634B0033C5ECAE37E156ADAA5611B25D99C15885ADF691A36AA77
| ⑆*┨Note:┣* If you don't specify the stage suffix, the list will be used for both stages. Normally, you want to specify ⑆■┨.list.chroot┣■ so that the packages will only be installed in the live filesystem and not have an extra copy of the ⑆■┨.deb┣■ placed on the medium.
[413] heading :3
.part: body
.last_descendant: 414
.ancestors: 1 0 0 0 0 0 413 0
.ancestors_collapsed: 1 0 0 0 413 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 1A3817163EBB39A4DCE4266505EF17070AF93DBDA6790B94CEA692344FC5A41A
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Local binary package lists|
| Local binary package lists
[414] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DF750B19B1C3B01111D7F8A8BF1F5B18E7410013BDBF17E7058F8720A251CCC9
| To make a binary stage list, place a file suffixed with ⑆■┨.list.binary┣■ in ⑆■┨config/package-lists/┣■. These packages are not installed in the live filesystem, but are included on the live medium under ⑆■┨pool/┣■. You would typically use such a list with one of the non-live installer variants. As mentioned above, if you want this list to be the same as your chroot stage list, simply use the ⑆■┨.list┣■ suffix by itself.
[415] heading :3
.part: body
.last_descendant: 418
.ancestors: 1 0 0 0 0 0 415 0
.ancestors_collapsed: 1 0 0 0 415 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 2700E476EBECE35EF8A502605C1264D01028B6C4E141AE37F21B841F74B3239C
.segment: customizing-package-installation
.heading_lev_anchor: generated-package-lists
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Generated package lists|
| Generated package lists
[416] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1259A19FB44C04133F93DBFFB03262C4484EC91EA8D146887C6703A8DF029B57
| It sometimes happens that the best way to compose a list is to generate it with a script. Any line starting with an exclamation point indicates a command to be executed within the chroot when the image is built. For example, one might include the line ⑆■┨! grep-aptavail -n -sPackage -FPriority standard | sort┣■ in a package list to produce a sorted list of available packages with ⑆■┨Priority: standard┣■.
[417] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 72DDD5A1948C47C353B46088FD3504BFD76BAD5729816A48C2F55EDBA3C93A1E
| In fact, selecting packages with the ⑆■┨grep-aptavail┣■ command (from the ⑆■┨dctrl-tools┣■ package) is so useful that ⑆■┨live-build┣■ provides a ⑆■┨Packages┣■ helper script as a convenience. This script takes two arguments: ⑆■┨field┣■ and ⑆■┨pattern┣■. Thus, you can create a list with the following contents:
[418] code
.part: body
.is_of_type: block
.sha256: E6A5D4F06C07FE99DA98CC39F19B94EF84BBFF4E8F7FBB1289C3CBE040DA8FD7
| ░$░lb░config
| ░$░echo░'!░Packages░Priority░standard'░>░config/package-lists/standard.list.chroot
[419] heading :3
.part: body
.last_descendant: 427
.ancestors: 1 0 0 0 0 0 419 0
.ancestors_collapsed: 1 0 0 0 419 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 7597ACB83AB4852D613C1B297AB6D55B6D8D811910CFDFEAE304EDAA66792119
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Using conditionals inside package lists|
| Using conditionals inside package lists
[420] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D2B5D86F9CB60EAB13369F4EFFC340FDF9D7334740975028BB99CFC75294886A
| Any of the live-build configuration variables stored in ⑆■┨config/*┣■ (minus the ⑆■┨LB_┣■ prefix) may be used in conditional statements in package lists. Generally, this means any ⑆■┨lb config┣■ option uppercased and with dashes changed to underscores. But in practice, it is only the ones that influence package selection that make sense, such as ⑆■┨DISTRIBUTION┣■, ⑆■┨ARCHITECTURES┣■ or ⑆■┨ARCHIVE_AREAS┣■.
[421] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0CFBFCE68B37EC7DF64D8B1AFCF4D1020EC63564CD447307FA8DC7CAD82C7DA8
| For example, to install ⑆■┨ia32-libs┣■ if the ⑆■┨--architectures amd64┣■ is specified:
[422] code
.part: body
.is_of_type: block
.sha256: ADAC31A36026861AF0CEBA33C50E0AF9205005A114475813C26DCDACF75343F1
| ░#if░ARCHITECTURES░amd64
| ░ia32-libs
| ░#endif
[423] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 14B965236F3FA98A724CE77291099CACBDCEE6B1663F0EC2BC3DE96F92A62005
| You may test for any one of a number of values, e.g. to install ⑆/┨memtest86+┣/ if either ⑆■┨--architectures i386┣■ or ⑆■┨--architectures amd64┣■ is specified:
[424] code
.part: body
.is_of_type: block
.sha256: BC52EEC7BFB6CDD08F0893F0419C0CC31BB2D51A5E8AD7CE39C5098019E5FC1A
| ░#if░ARCHITECTURES░i386░amd64
| ░memtest86+
| ░#endif
[425] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 172163A9288F67127C62A5A5A85D760BF5CA7CAA39AF88CC2844E6C20ADD895A
| You may also test against variables that may contain more than one value, e.g. to install ⑆/┨vrms┣/ if either ⑆■┨contrib┣■ or ⑆■┨non-free┣■ is specified via ⑆■┨--archive-areas┣■:
[426] code
.part: body
.is_of_type: block
.sha256: D53F2F1108523BD32657C93EF885FBC2028EE559CE5B6C3790141BDE0CDFA50D
| ░#if░ARCHIVE_AREAS░contrib░non-free
| ░vrms
| ░#endif
[427] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D5C7F311462593760829B7CFD285EAB8659A572CDC28FA1D97F2256ACCD55483
| The nesting of conditionals is not supported.
[0] comment
.part: comment
.section: comment
.is_of_type: comment
.sha256: F171002CA41D73B50BD7C82298FCBDC13D3C758AF06BDE85EBC6BB844E4E77AE
| % FIXME:
[428] heading :3
.part: body
.last_descendant: 429
.ancestors: 1 0 0 0 0 0 428 0
.ancestors_collapsed: 1 0 0 0 428 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 79DF1009DAA82423A9BABFC7FE596BFACBCACF589509F23E0B4C65B29430728D
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Removing packages at install time|
| Removing packages at install time
[429] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C9426ABE6FEA51932AC353B0779100F6CC551E617343F4785B38AA372FC80876
| You can list packages in files with ⑆■┨.list.chroot_live┣■ and ⑆■┨.list.chroot_install┣■ suffixes inside the ⑆■┨config/package-lists┣■ directory. If both a live and an install list exist, the packages in the ⑆■┨.list.chroot_live┣■ list are removed with a hook after the installation (if the user uses the installer). The packages in the ⑆■┨.list.chroot_install┣■ list are present both in the live system and in the installed system. This is a special tweak for the installer and may be useful if you have ⑆■┨--debian-installer live┣■ set in your config, and wish to remove live system-specific packages at install time.
[430] heading :3
.part: body
.last_descendant: 434
.ancestors: 1 0 0 0 0 0 430 0
.ancestors_collapsed: 1 0 0 0 430 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 97573BC226D45F975B66B0367B3868F83FD70C89E55C2D5A8E07017A4B4E8925
.segment: customizing-package-installation
.heading_lev_anchor: desktop-and-language-tasks
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Desktop and language tasks|
| Desktop and language tasks
[431] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F1E525E8D3685E83682FEF0ADA15D8E709DCE6F4EC2AB828F1A886B3E6BC6D61
| Desktop and language tasks are special cases that need some extra planning and configuration. Live images are different from Debian Installer images in this respect. In the Debian Installer, if the medium was prepared for a particular desktop environment flavour, the corresponding task will be automatically installed. Thus, there are internal ⑆■┨gnome-desktop┣■, ⑆■┨kde-desktop┣■, ⑆■┨lxde-desktop┣■ and ⑆■┨xfce-desktop┣■ tasks, none of which are offered in ⑆■┨tasksel┣■'s menu. Likewise, there are no menu entries for tasks for languages, but the user's language choice during the install influences the selection of corresponding language tasks.
[432] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 17B9A10782B482E5F23BBD30F25F29F2DF34A9186AF56E3714873324460A1FE8
| When developing a desktop live image, the image typically boots directly to a working desktop, the choices of both desktop and default language having been made at build time, not at run time as in the case of the Debian Installer. That's not to say that a live image couldn't be built to support multiple desktops or multiple languages and offer the user a choice, but that is not live-build's default behaviour.
[433] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1FB29DE5B5D897B39520DEBB4EB7416BD464FE14587405557DB0D122F8F0471E
| Because there is no provision made automatically for language tasks, which include such things as language-specific fonts and input-method packages, if you want them, you need to specify them in your configuration. For example, a GNOME desktop image containing support for German might include these task metapackages:
[434] code
.part: body
.is_of_type: block
.sha256: CF6A6E825067E07D67AB535928EC015F556033FE3217E83591623A70BEF360FF
| ░$░lb░config
| ░$░echo░"task-gnome-desktop░task-laptop"░>>░config/package-lists/my.list.chroot
| ░$░echo░"task-german░task-german-desktop░task-german-gnome-desktop"░>>░config/package-lists/my.list.chroot
[435] heading :3
.part: body
.last_descendant: 439
.ancestors: 1 0 0 0 0 0 435 0
.ancestors_collapsed: 1 0 0 0 435 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: FEC351875B166CF334A48EF2FB3840B29D9CCB67DF5AE8453CA7AF58E86CAF2B
.segment: customizing-package-installation
.heading_lev_anchor: kernel-flavour-and-version
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Kernel flavour and version|
| Kernel flavour and version
[436] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2F214BB6D2A5A5691A96F061A62DF5C46AB9DF27375D167D4496649FBA60DB81
| One or more kernel flavours will be included in your image by default, depending on the architecture. You can choose different flavours via the ⑆■┨--linux-flavours┣■ option. Each flavour is suffixed to the default stub ⑆■┨linux-image┣■ to form each metapackage name which in turn depends on an exact kernel package to be included in your image.
[437] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 57665C670CD6D405AC16FDC7D2AC2F679CC1AFB321812BE5C33361EECEAB00D8
| Thus by default, an ⑆■┨amd64┣■ architecture image will include the ⑆■┨linux-image-amd64┣■ flavour metapackage, and an ⑆■┨i386┣■ architecture image will include the ⑆■┨linux-image-586┣■ metapackage.
[438] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9041EC82D6B2FC3DE4BB14FB06909A3A8966F9112599F731943F3483837AF0DC
| When more than one kernel package version is available in your configured archives, you can specify a different kernel package name stub with the ⑆■┨--linux-packages┣■ option. For example, supposing you are building an ⑆■┨amd64┣■ architecture image and add the experimental archive for testing purposes so you can install the ⑆■┨linux-image-3.18.0-trunk-amd64┣■ kernel. You would configure that image as follows:
[439] code
.part: body
.is_of_type: block
.sha256: 3C9A034C6C079FB103F0BACDA98C332A8B6AF63821B9C6AAFFD59FE11192180F
| ░$░lb░config░--linux-packages░linux-image-3.18.0-trunk
| ░$░echo░"deb░http://ftp.debian.org/debian/░experimental░main"░>░config/archives/experimental.list.chroot
[440] heading :3
.part: body
.last_descendant: 447
.ancestors: 1 0 0 0 0 0 440 0
.ancestors_collapsed: 1 0 0 0 440 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 8DFC6FF1FD6F6915BFCDE10BBB7DFB65BF29BEFDFF972401C8C09AC691883AA4
.segment: customizing-package-installation
.heading_lev_anchor: custom-kernels
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Choosing packages to install|Custom kernels|
| Custom kernels
[441] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 50BC4ACEFEEED826B72A4934D4E13BA88E6849E65F6BB44D73720B8535FC361D
| You can build and include your own custom kernels, so long as they are integrated within the Debian package management system. The live-build system does not support kernels not built as ⑆■┨.deb┣■ packages.
[442] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5BE0939F095E255E49FDE1748CB989D7D09C51D0642E050A0A3DA0A766EA381F
| The proper and recommended way to deploy your own kernel packages is to follow the instructions in the ⑆■┨kernel-handbook┣■. Remember to modify the ABI and flavour suffixes appropriately, then include a complete build of the ⑆■┨linux┣■ and matching ⑆■┨linux-latest┣■ packages in your repository.
[443] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C940F2B82D4AB131422F6706FE38AE0CB8728C60321B9378D56C8E5069CECEC5
.has: links
| If you opt to build the kernel packages without the matching metapackages, you need to specify an appropriate ⑆■┨--linux-packages┣■ stub as discussed in ┥Kernel flavour and version┝┤#kernel-flavour-and-version├. As we explain in ┥Installing modified or third-party packages┝┤#installing-modified-or-third-party-packages├, it is best if you include your custom kernel packages in your own repository, though the alternatives discussed in that section work as well.
[444] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C3972A8A7E87272A8B61EE61D3C9E960B0E7CD8236EC1C13B7FD41E7D2DA58C0
| It is beyond the scope of this document to give advice on how to customize your kernel. However, you must at least ensure your configuration satisfies these minimum requirements:
[445] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 001C8E64E7CA0FECE480402BC61FF2A64E7465EEF0AC73B932DA23C02D60F1F2
.bullet: true
| Use an initial ramdisk.
[446] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3967DFC08BF7EE976214F02A9EBB6CE8AF818610FAD930CE6575002A87F8667C
.bullet: true
| Include the union filesystem module (i.e. usually ⑆■┨aufs┣■).
[447] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EB9AB8C7CA159E8A7010E01AE3A252362AF1A5E560383C946BDC8B0EF4EE4542
.bullet: true
| Include any other filesystem modules required by your configuration (i.e. usually ⑆■┨squashfs┣■).
[448] heading :2
.part: body
.last_descendant: 467
.ancestors: 1 0 0 0 0 448 0 0
.ancestors_collapsed: 1 0 0 448 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 8F617CAAD129E4FBEA99CA6FBEA5EE4226646DB93F3DD2EB1DF710A4664F6810
.segment: customizing-package-installation
.heading_lev_anchor: installing-modified-or-third-party-packages
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Installing modified or third-party packages||
| Installing modified or third-party packages
[449] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2DC17C70C6DD4EB48058AFB4553AE1E3BEB519C0E373EDB9D0E0C3CDAD076170
| While it is against the philosophy of a live system, it may sometimes be necessary to build a live system with modified versions of packages that are in the Debian repository. This may be to modify or support additional features, languages and branding, or even to remove elements of existing packages that are undesirable. Similarly, “third-party” packages may be used to add bespoke and/or proprietary functionality.
[450] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0D9B19F4A11DE49058537F20E5B0A6CFD8C2B196A1E2DAF1A27952517CD020F2
.has: links
.stow_link: https://www.debian.org/doc/maint-guide/
| This section does not cover advice regarding building or maintaining modified packages. Joachim Breitner's 'How to fork privately' method from ┥http://www.joachim-breitner.de/blog/archives/282-How-to-fork-privately.html┝┤http://www.joachim-breitner.de/blog/archives/282-How-to-fork-privately.html├ may be of interest, however. The creation of bespoke packages is covered in the Debian New Maintainers' Guide at ┥https://www.debian.org/doc/maint-guide/┝┤0├ and elsewhere.
[451] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F35344658FA77526D904A6CA6220A1EF644AFDA55957E65D45AA4536DB793210
| There are two ways of installing modified custom packages:
[452] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3E2CBFAA76119E8E67DA6B66EF3B51B5D88438B3D996747A46A7B006E6EC921C
.bullet: true
| ⑆■┨packages.chroot┣■
[453] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B79D80A0372A52725F00F1F0BA17D57217BC9A6E2F24D5BAF8151234B26EF885
.bullet: true
| Using a custom APT repository
[454] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B82636509B9BF947B3FCBF041AD1DDD3006F01EDD5D4B158AF8673356309AFA4
| Using ⑆■┨packages.chroot┣■ is simpler to achieve and useful for “one-off” customizations but has a number of drawbacks, while using a custom APT repository is more time-consuming to set up.
[455] heading :3
.part: body
.last_descendant: 461
.ancestors: 1 0 0 0 0 0 455 0
.ancestors_collapsed: 1 0 0 0 455 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 322E970E61A73B7511B766AAC88460627D81B2AE48847F159781D17D21C70B86
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Installing modified or third-party packages|Using ⑆■┨packages.chroot┣■ to install custom packages|
| Using ⑆■┨packages.chroot┣■ to install custom packages
[456] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 19CFD0713F22C882EF4D15344EFD4CC5ABE4ED8F15EF184C8B82357E2525A8CB
| To install a custom package, simply copy it to the ⑆■┨config/packages.chroot/┣■ directory. Packages that are inside this directory will be automatically installed into the live system during build - you do not need to specify them elsewhere.
[457] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1ECB38AE1F97CC59DBFA702D4BD81098B615E71E5C9CE8924316539D099D599B
| Packages ⑆*┨must┣* be named in the prescribed way. One simple way to do this is to use ⑆■┨dpkg-name┣■.
[458] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7719EAA7C880C1445C84EBACEE826BCF9AE7B557D93C74D2A258AC9166C0217C
| Using ⑆■┨packages.chroot┣■ for installation of custom packages has disadvantages:
[459] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 74CC3AA111D26B033F191406C01BCFD9954794DC699280E73FA2E07575D26EBF
.bullet: true
| It is not possible to use secure APT.
[460] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7F7451FA75AFE0C0E4E95C016F0B58C5CA2BFE0A5F17CB1F98844CE0360F6421
.bullet: true
| You must install all appropriate packages in the ⑆■┨config/packages.chroot/┣■ directory.
[461] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6F699D81711EA4E5BBDA0BBF6D82F65A24CE25749F1BDEF6694B70003866DF51
.bullet: true
| It does not lend itself to storing live system configurations in revision control.
[462] heading :3
.part: body
.last_descendant: 464
.ancestors: 1 0 0 0 0 0 462 0
.ancestors_collapsed: 1 0 0 0 462 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 34ABA700B5621D680D43DD2AB95EE08A3AFDD1C8884A842E576E5414DB91DD49
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Installing modified or third-party packages|Using an APT repository to install custom packages|
| Using an APT repository to install custom packages
[463] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 56BE09ECEC44FE068A02A6684E995597774E207E08553C8936EA23D71600C423
.has: links
| Unlike using ⑆■┨packages.chroot┣■, when using a custom APT repository you must ensure that you specify the packages elsewhere. See ┥Choosing packages to install┝┤#choosing-packages-to-install├ for details.
[464] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 78BAA3E7D1F8707D82FBA10FBBD10BB089979F56D3242307E02BCA4C4FC67576
| While it may seem unnecessary effort to create an APT repository to install custom packages, the infrastructure can be easily re-used at a later date to offer updates of the modified packages.
[465] heading :3
.part: body
.last_descendant: 467
.ancestors: 1 0 0 0 0 0 465 0
.ancestors_collapsed: 1 0 0 0 465 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 14DB68636E7C937D054EB7D11AAE5FF6DCDA245A43A262242E7A3EC8F5A04C7A
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Installing modified or third-party packages|Custom packages and APT|
| Custom packages and APT
[466] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 66B1F80CA08029BED450662C38AC6C7015E76D63973FD814051B3AD595510604
| live-build uses APT to install all packages into the live system so will therefore inherit behaviours from this program. One relevant example is that (assuming a default configuration) given a package available in two different repositories with different version numbers, APT will elect to install the package with the higher version number.
[467] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E0A823D9339363C9B29D0F384F61340C5B93AC65CE266C45A2F97BDFC4F70E2F
.has: links
| Because of this, you may wish to increment the version number in your custom packages' ⑆■┨debian/changelog┣■ files to ensure that your modified version is installed over one in the official Debian repositories. This may also be achieved by altering the live system's APT pinning preferences - see ┥APT pinning┝┤#apt-pinning├ for more information.
[468] heading :2
.part: body
.last_descendant: 496
.ancestors: 1 0 0 0 0 468 0 0
.ancestors_collapsed: 1 0 0 468 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: F5528485C0B12CDE6E3362C6E3BF3BE3918300FD941F1BF5F72A4C0BA6F97DE7
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Configuring APT at build time||
| Configuring APT at build time
[469] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A9D13402A3A325545EC2F22E43A5EFDBC255774998D7A103E9B28DA0C3B2BDA6
| You can configure APT through a number of options applied only at build time. (APT configuration used in the running live system may be configured in the normal way for live system contents, that is, by including the appropriate configurations through ⑆■┨config/includes.chroot/┣■.) For a complete list, look for options starting with ⑆■┨apt┣■ in the ⑆■┨lb_config┣■ man page.
[470] heading :3
.part: body
.last_descendant: 473
.ancestors: 1 0 0 0 0 0 470 0
.ancestors_collapsed: 1 0 0 0 470 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: A086828FE401015B36FF60EC25251B4ABDB518149358262873E6DFE4D9DC0A5A
.segment: customizing-package-installation
.heading_lev_anchor: choosing-apt-or-aptitude
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Configuring APT at build time|Choosing apt or aptitude|
| Choosing apt or aptitude
[471] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BF3AD318889E70AC00FEDCA3AB09C64865D317EE0D0CE5A9D9CF9D0E1F185482
| You can elect to use either ⑆/┨apt┣/ or ⑆/┨aptitude┣/ when installing packages at build time. Which utility is used is governed by the ⑆■┨--apt┣■ argument to ⑆■┨lb config┣■. Choose the method implementing the preferred behaviour for package installation, the notable difference being how missing packages are handled.
[472] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DBEBED29DB4B80627BAF05F372015E4E229951E7C96F3A4E9FA47A32A9F8C29E
.bullet: true
| ⑆■┨apt┣■: With this method, if a missing package is specified, the package installation will fail. This is the default setting.
[473] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 61487ADAF0B8BD95839136DE259A98D25B8AE8363E83155A13E62F956441E496
.bullet: true
| ⑆■┨aptitude┣■: With this method, if a missing package is specified, the package installation will succeed.
[474] heading :3
.part: body
.last_descendant: 476
.ancestors: 1 0 0 0 0 0 474 0
.ancestors_collapsed: 1 0 0 0 474 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 1DB3DE2EA1364CAE27FB94E2C3ED3A3446B8888DD4277B6F7F0898C58BBFFD7C
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Configuring APT at build time|Using a proxy with APT|
| Using a proxy with APT
[475] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3347816D2ADC0CF1EEAC1529787345BC50124715F5E89FF3D9F2E16C0D1A1494
| One commonly required APT configuration is to deal with building an image behind a proxy. You may specify your APT proxy with the ⑆■┨--apt-ftp-proxy┣■ or ⑆■┨--apt-http-proxy┣■ options as needed, e.g.
[476] code
.part: body
.is_of_type: block
.sha256: CBC75079C2E9FDFF24CAE5046D8A31BBDCDEAB894A76C84E86F8A573D40D0E3A
| ░$░lb░config░--apt-http-proxy░http://proxy/
[477] heading :3
.part: body
.last_descendant: 485
.ancestors: 1 0 0 0 0 0 477 0
.ancestors_collapsed: 1 0 0 0 477 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: CE0205A15F7CB44BE039D7C675FF0860BCB0EFE2CA9F8D172F17FF805C492F3D
.segment: customizing-package-installation
.heading_lev_anchor: tweaking-apt-to-save-space
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Configuring APT at build time|Tweaking APT to save space|
| Tweaking APT to save space
[478] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 537006823B5598C2FDA4F9CFB5A765D300E12144CF338343AAC2DD96B98CAA43
| You may find yourself needing to save some space on the image medium, in which case one or the other or both of the following options may be of interest.
[479] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7CCD240D9233D47C3C09B2912DE8B6B4B124C38EB9D3F84C6F8D339A0599A312
| If you don't want to include APT indices in the image, you can omit those with:
[480] code
.part: body
.is_of_type: block
.sha256: 6A254955C7BE68AC903B43C355A55943F137210D00A0FDD44877F566D3CA6605
| ░$░lb░config░--apt-indices░false
[481] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4ECE1D67F36E632DBC38D7C0A437BE2DA284AC84C820A28BDDFE8770B05D08F0
| This will not influence the entries in ⑆■┨/etc/apt/sources.list┣■, but merely whether ⑆■┨/var/lib/apt┣■ contains the indices files or not. The tradeoff is that APT needs those indices in order to operate in the live system, so before performing ⑆■┨apt-cache search┣■ or ⑆■┨apt-get install┣■, for instance, the user must ⑆■┨apt-get update┣■ first to create those indices.
[482] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F7F9AF1199D4CCE57B9CF616DC5523FD3C8745A8E30F4764600E4CD00B966274
| If you find the installation of recommended packages bloats your image too much, provided you are prepared to deal with the consequences discussed below, you may disable that default option of APT with:
[483] code
.part: body
.is_of_type: block
.sha256: 634B8246C628BFB347383B1111BC004E3CEC9BFBACD4789F163A9957A91A6068
| ░$░lb░config░--apt-recommends░false
[484] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 67862AD185D234A808FE10308910823CDF0E306EE7F71EA40838ED6C4932274A
| The most important consequence of turning off recommends is that ⑆■┨live-boot┣■ and ⑆■┨live-config┣■ themselves recommend some packages that provide important functionality used by most Live configurations, such as ⑆■┨user-setup┣■ which ⑆■┨live-config┣■ recommends and is used to create the live user. In all but the most exceptional circumstances you need to add back at least some of these recommends to your package lists or else your image will not work as expected, if at all. Look at the recommended packages for each of the ⑆■┨live-*┣■ packages included in your build and if you are not certain you can omit them, add them back into your package lists.
[485] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7C6F70E088B00092C7B9B7E0E4B8DB3B3517CB2A32B708C1BE1B6D362AD1AF5E
.has: links
| The more general consequence is that if you don't install recommended packages for any given package, that is, “packages that would be found together with this one in all but unusual installations” (Debian Policy Manual, section 7.2), some packages that users of your Live system actually need may be omitted. Therefore, we suggest you review the difference turning off recommends makes to your packages list (see the ⑆■┨binary.packages┣■ file generated by ⑆■┨lb build┣■) and re-include in your list any missing packages that you still want installed. Alternatively, if you find you only want a small number of recommended packages left out, leave recommends enabled and set a negative APT pin priority on selected packages to prevent them from being installed, as explained in ┥APT pinning┝┤#apt-pinning├.
[486] heading :3
.part: body
.last_descendant: 490
.ancestors: 1 0 0 0 0 0 486 0
.ancestors_collapsed: 1 0 0 0 486 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: B98F6297B1E35CB59F1CAFE05513F9689C8C618E923CC6D0EC06A272B20DB46F
.segment: customizing-package-installation
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Configuring APT at build time|Passing options to apt or aptitude|
| Passing options to apt or aptitude
[487] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FA86ACEFED35A4AA49C2CCE647550E40C42F5F70D03F0BE4BC39151B05AF774F
| If there is not a ⑆■┨lb config┣■ option to alter APT's behaviour in the way you need, use ⑆■┨--apt-options┣■ or ⑆■┨--aptitude-options┣■ to pass any options through to your configured APT tool. See the man pages for ⑆■┨apt┣■ and ⑆■┨aptitude┣■ for details. Note that both options have default values that you will need to retain in addition to any overrides you may provide. So, for example, suppose you have included something from ⑆■┨snapshot.debian.org┣■ for testing purposes and want to specify ⑆■┨Acquire::Check-Valid-Until=false┣■ to make APT happy with the stale ⑆■┨Release┣■ file, you would do so as per the following example, appending the new option after the default value ⑆■┨--yes┣■:
[488] code
.part: body
.is_of_type: block
.sha256: AF58A64C57252BFF7F228AD18D14EB63E1C7D66C9035798629C95A1AA911DEB5
| ░$░lb░config░--apt-options░"--yes░-oAcquire::Check-Valid-Until=false"
[489] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EF873A3B22E28D71FF963C5C500802890BCCFF76417C54138A29CFAC2E9003B3
| Please check the man pages to fully understand these options and when to use them. This is an example only and should not be construed as advice to configure your image this way. This option would not be appropriate for, say, a final release of a live image.
[490] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5D75EBAD3AE73D3237C5177DA65F7A5CBD74D1874D8B7070FDEB3D17A8445A1D
| For more complicated APT configurations involving ⑆■┨apt.conf┣■ options you might want to create a ⑆■┨config/apt/apt.conf┣■ file instead. See also the other ⑆■┨apt-*┣■ options for a few convenient shortcuts for frequently needed options.
[491] heading :3
.part: body
.last_descendant: 496
.ancestors: 1 0 0 0 0 0 491 0
.ancestors_collapsed: 1 0 0 0 491 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 9B4D887503FD3CA9C5B10503D8296FC9F7DA30B1D8BE09CD3DCA9BEADF95E5B0
.segment: customizing-package-installation
.heading_lev_anchor: apt-pinning
.segment_epub: customizing-package-installation
.heading_ancestors_text: Live Systems Manual|Customizing package installation|||Customizing package installation|Configuring APT at build time|APT pinning|
| APT pinning
[492] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 15A90EBAEF2088367187B46FD37278D5CD5EF0E5A525BB184237A8556B2B5E44
| For background, please first read the ⑆■┨apt_preferences(5)┣■ man page. APT pinning can be configured either for build time, or else for run time. For the former, create ⑆■┨config/archives/*.pref┣■, ⑆■┨config/archives/*.pref.chroot┣■, and ⑆■┨config/apt/preferences┣■. For the latter, create ⑆■┨config/includes.chroot/etc/apt/preferences┣■.
[493] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E3B9F1AC52DB598841A87F543DFA91E0E2BFC6569C0C5FEA4873E5FE2C5EBEEB
| Let's say you are building a ${testing} live system but need all the live packages that end up in the binary image to be installed from sid at build time. You need to add sid to your APT sources and pin the live packages from it higher, but all other packages from it lower, than the default priority. Thus, only the packages you want are installed from sid at build time and all others are taken from the target system distribution, ${testing}. The following will accomplish this:
[494] code
.part: body
.is_of_type: block
.sha256: 697AE49A0318C39E228A1A406747EF5805D9874452CC9300C6DEC96E41D62AED
| ░$░echo░"deb░http://mirror/debian/░sid░main"░>░config/archives/sid.list.chroot
| ░$░cat░>>░config/archives/sid.pref.chroot░<<░EOF
| ░Package:░live-*
| ░Pin:░release░n=sid
| ░Pin-Priority:░600
|
| ░Package:░*
| ░Pin:░release░n=sid
| ░Pin-Priority:░1
| ░EOF
[495] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 37CB2F94D2B29166C023AC3A0BF69ED3727AB0DE07080A0EA54FC206A30B58D0
| Negative pin priorities will prevent a package from being installed, as in the case where you do not want a package that is recommended by another package. Suppose you are building an LXDE image using ⑆■┨task-lxde-desktop┣■ in ⑆■┨config/package-lists/desktop.list.chroot┣■, but don't want the user prompted to store wifi passwords in the keyring. This metapackage depends on ⑆/┨lxde-core┣/, which recommends ⑆/┨gksu┣/, which in turn recommends ⑆/┨gnome-keyring┣/. So you want to omit the recommended ⑆/┨gnome-keyring┣/ package. This can be done by adding the following stanza to ⑆■┨config/apt/preferences┣■:
[496] code
.part: body
.is_of_type: block
.sha256: F4A6196078F1F7D0E426F37ABD605D9F1F0814424E539F74206D05B85833AB1D
| ░Package:░gnome-keyring
| ░Pin:░version░*
| ░Pin-Priority:░-1
[497] heading :B
.part: body
.parent: 1
.last_descendant: 526
.ancestors: 1 497 0 0 0 0 0 0
.ancestors_collapsed: 1 497 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 2 0 0
.dom_status_collapsed: 4 3 2 2 2 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 08896B9D7DF6CF95A6D7108AA626AD522C49A5A5BF2AB0CA0F5F59D9ED518840
.segment: _part_11
.heading_lev_anchor: apt-pinning
.segment_epub: _part_11
.heading_ancestors_text: Live Systems Manual|Customizing contents||||||
| Customizing contents
[498] heading :1
.part: body
.parent: 1
.last_descendant: 526
.ancestors: 1 0 0 0 498 0 0 0
.ancestors_collapsed: 1 0 498 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 08896B9D7DF6CF95A6D7108AA626AD522C49A5A5BF2AB0CA0F5F59D9ED518840
.segment: customizing-contents
.segment_prev: customizing-package-installation
.segment_next: customizing-run-time-behaviours
.heading_lev_anchor: customizing-contents
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|||
.lev4_subtoc: 5~ ┥Includes┝┤#500├
.lev4_subtoc: 6~ ┥Live/chroot local includes┝┤#505├
.lev4_subtoc: 6~ ┥Binary local includes┝┤#512├
.lev4_subtoc: 5~ ┥Hooks┝┤#516├
.lev4_subtoc: 6~ ┥Live/chroot local hooks┝┤#518├
.lev4_subtoc: 6~ ┥Boot-time hooks┝┤#520├
.lev4_subtoc: 6~ ┥Binary local hooks┝┤#522├
.lev4_subtoc: 5~ ┥Preseeding Debconf questions┝┤#524├
| Customizing contents
[499] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 601759478CFD887C99AAD31C9F14431B25E9F315A1A2A4CF77FC1B533067CF72
| This chapter discusses fine-tuning customization of the live system contents beyond merely choosing which packages to include. Includes allow you to add or replace arbitrary files in your live system image, hooks allow you to execute arbitrary commands at different stages of the build and at boot time, and preseeding allows you to configure packages when they are installed by supplying answers to debconf questions.
[500] heading :2
.part: body
.last_descendant: 515
.ancestors: 1 0 0 0 0 500 0 0
.ancestors_collapsed: 1 0 0 500 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: DF498282BEDE20A9DFFF2EE882B7BD646BC7769513FC97E596F1649F123B949C
.segment: customizing-contents
.heading_lev_anchor: includes
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Includes||
| Includes
[501] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6FF80081F06F3199A439F3E934148B96AB44F59557B7658563DC6859C84E3423
| While ideally a live system would include files entirely provided by unmodified packages, it is sometimes convenient to provide or modify some content by means of files. Using includes, it is possible to add (or replace) arbitrary files in your live system image. live-build provides two mechanisms for using them:
[502] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C2B57575D19831565F383B9ACD98E6C8F8142E36044EE11D28CFC146062C9489
.bullet: true
.has: links
| Chroot local includes: These allow you to add or replace files to the chroot/Live filesystem. Please see ┥Live/chroot local includes┝┤#live-chroot-local-includes├ for more information.
[503] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DF309B01399C34D77AEE12D0165A62C8FFAFA95E74BF8B8B509E52573F808C39
.bullet: true
.has: links
| Binary local includes: These allow you to add or replace files in the binary image. Please see ┥Binary local includes┝┤#binary-local-includes├ for more information.
[504] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6836AF76855CC0C3DADCA2D6DC35F6669DCC7E8ABDE1E68857655DA4DAC5D2E5
.has: links
| Please see ┥Terms┝┤#terms├ for more information about the distinction between the “Live” and “binary” images.
[505] heading :3
.part: body
.last_descendant: 511
.ancestors: 1 0 0 0 0 0 505 0
.ancestors_collapsed: 1 0 0 0 505 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 4F64A9A42BA08C371863E48F39C732AFA07523A81CADF194AEF8A6720FCD897C
.segment: customizing-contents
.heading_lev_anchor: live-chroot-local-includes
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Includes|Live/chroot local includes|
| Live/chroot local includes
[506] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A34C986DF8B60D5F20222809489B3F53C66F4FB2D26758BAB4661C24164B8D90
.has: links
| Chroot local includes can be used to add or replace files in the chroot/Live filesystem so that they may be used in the Live system. A typical use is to populate the skeleton user directory (⑆■┨/etc/skel┣■) used by the Live system to create the live user's home directory. Another is to supply configuration files that can be simply added or replaced in the image without processing; see ┥Live/chroot local hooks┝┤#live-chroot-local-hooks├ if processing is needed.
[507] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E581879004592DDE93907FFF28D4EF30D611A7517DBBB9747973AC907A86AC23
| To include files, simply add them to your ⑆■┨config/includes.chroot┣■ directory. This directory corresponds to the root directory ⑆■┨/┣■ of the live system. For example, to add a file ⑆■┨/var/www/index.html┣■ in the live system, use:
[508] code
.part: body
.is_of_type: block
.sha256: 3938305B7DFBD8BDA8B0999914C2701803A26A7ED5771E8FD431A236C48C6425
| ░$░mkdir░-p░config/includes.chroot/var/www
| ░$░cp░/path/to/my/index.html░config/includes.chroot/var/www
[509] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 47822F86D4F6A449D077135D511CC9E82440A57BDB2492508161973EC2978ABA
| Your configuration will then have the following layout:
[510] code
.part: body
.is_of_type: block
.sha256: A3A3AE82EC44E3442C29CCD0F71AE4D523970B106387AC76F62E088917B1A5C7
| ░--░config
| ░░░░[...]
| ░░░░░|--░includes.chroot
| ░░░░░|░░░`--░var
| ░░░░░|░░░░░░░`--░www
| ░░░░░|░░░░░░░░░░░`--░index.html
| ░░░░[...]
[511] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D866BD20A908F1E3ADD0AD2A1AE4B95F5E7D4B8A6F085984D9993A8F1BCFEFB0
| Chroot local includes are installed after package installation so that files installed by packages are overwritten.
[512] heading :3
.part: body
.last_descendant: 515
.ancestors: 1 0 0 0 0 0 512 0
.ancestors_collapsed: 1 0 0 0 512 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 85E330DE9768CABEC646C61955D2F02559FA4F3B106D9758428FA3534E8A4A6E
.segment: customizing-contents
.heading_lev_anchor: binary-local-includes
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Includes|Binary local includes|
| Binary local includes
[513] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1EFE653F5659A0827864CCA4E505D963011397F23B1EFE7E53CBAD8DBAFC77DE
| To include material such as documentation or videos on the medium filesystem so that it is accessible immediately upon insertion of the medium without booting the Live system, you can use binary local includes. This works in a similar fashion to chroot local includes. For example, suppose the files ⑆■┨~/video_demo.*┣■ are demo videos of the live system described by and linked to by an HTML index page. Simply copy the material to ⑆■┨config/includes.binary/┣■ as follows:
[514] code
.part: body
.is_of_type: block
.sha256: 26EF51248E39FECC967F2B92BC0A2E49B358F1CC3412F269F3646FBF64254E2B
| ░$░cp░~/video_demo.*░config/includes.binary/
[515] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B3FE6E30E6CD34AB61E327E97EED75820CBCCE6CA7D9AA8E9264E1B1A4DA8A5D
| These files will now appear in the root directory of the live medium.
[516] heading :2
.part: body
.last_descendant: 523
.ancestors: 1 0 0 0 0 516 0 0
.ancestors_collapsed: 1 0 0 516 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: D412A062620EF57BACE76558A0384077B1919E66BA0A35AF91E5A372F873E65E
.segment: customizing-contents
.heading_lev_anchor: hooks
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Hooks||
| Hooks
[517] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EB67445CB95CCD61404801AC692893B89B66953BA9F0FA02A9111338A4F13185
| Hooks allow commands to be performed in the chroot and binary stages of the build in order to customize the image.
[518] heading :3
.part: body
.last_descendant: 519
.ancestors: 1 0 0 0 0 0 518 0
.ancestors_collapsed: 1 0 0 0 518 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: CCCCF1C87070348D8C79EED0F30143A917DDB9F26CBB695665AD8879106226C2
.segment: customizing-contents
.heading_lev_anchor: live-chroot-local-hooks
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Hooks|Live/chroot local hooks|
| Live/chroot local hooks
[519] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F4BEE4044E8FDF61F7B72C76EBF8438975BDB54455794B7DFBDCBC01500A74BD
| To run commands in the chroot stage, create a hook script with a ⑆■┨.hook.chroot┣■ suffix containing the commands in the ⑆■┨config/hooks/┣■ directory. The hook will run in the chroot after the rest of your chroot configuration has been applied, so remember to ensure your configuration includes all packages and files your hook needs in order to run. See the example chroot hook scripts for various common chroot customization tasks provided in ⑆■┨/usr/share/doc/live-build/examples/hooks┣■ which you can copy or symlink to use them in your own configuration.
[520] heading :3
.part: body
.last_descendant: 521
.ancestors: 1 0 0 0 0 0 520 0
.ancestors_collapsed: 1 0 0 0 520 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 5707E7093B05F00D31DAD40F086A03EC603D6431C3BF3634228D448C8B248902
.segment: customizing-contents
.heading_lev_anchor: boot-time-hooks
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Hooks|Boot-time hooks|
| Boot-time hooks
[521] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 656F1093F78B70B6CA34635063DA4D6FB9AD8A48CCB8C37F5B07FC32095D844E
.has: links
| To execute commands at boot time, you can supply live-config hooks as explained in the “Customization” section of its man page. Examine live-config's own hooks provided in ⑆■┨/lib/live/config/┣■, noting the sequence numbers. Then provide your own hook prefixed with an appropriate sequence number, either as a chroot local include in ⑆■┨config/includes.chroot/lib/live/config/┣■, or as a custom package as discussed in ┥Installing modified or third-party packages┝┤#installing-modified-or-third-party-packages├.
[522] heading :3
.part: body
.last_descendant: 523
.ancestors: 1 0 0 0 0 0 522 0
.ancestors_collapsed: 1 0 0 0 522 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 173DF794916A4C552C51EC394697F61F1071C8D981AABD4EDAA2CA087839F42B
.segment: customizing-contents
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Hooks|Binary local hooks|
| Binary local hooks
[523] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E1FA9C6D5F788087574187DC9EC990206F0CEE415DA7C16730D916D16FD97E14
| To run commands in the binary stage, create a hook script with a ⑆■┨.hook.binary┣■ suffix containing the commands in the ⑆■┨config/hooks/┣■ directory. The hook will run after all other binary commands are run, but before binary_checksums, the very last binary command. The commands in your hook do not run in the chroot, so take care to not modify any files outside of the build tree, or you may damage your build system! See the example binary hook scripts for various common binary customization tasks provided in ⑆■┨/usr/share/doc/live-build/examples/hooks┣■ which you can copy or symlink to use them in your own configuration.
[524] heading :2
.part: body
.last_descendant: 526
.ancestors: 1 0 0 0 0 524 0 0
.ancestors_collapsed: 1 0 0 524 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 8348FE17CAB8B7FE1D876350795C6A6A749A5F9383A9AE54F7C1A5059E99BD2D
.segment: customizing-contents
.segment_epub: customizing-contents
.heading_ancestors_text: Live Systems Manual|Customizing contents|||Customizing contents|Preseeding Debconf questions||
| Preseeding Debconf questions
[525] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FEC4211447917D9348D88DB6FCB7AE8098123A0A9C53D582C78AEC364D821BF9
| Files in the ⑆■┨config/preseed/┣■ directory suffixed with ⑆■┨.cfg┣■ followed by the stage (⑆■┨.chroot┣■ or ⑆■┨.binary┣■) are considered to be debconf preseed files and are installed by live-build using ⑆■┨debconf-set-selections┣■ during the corresponding stage.
[526] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E21AD59E2AA8D7918E1D4887A9DF1A393821A3899A9143BFA188B10A446765CF
| For more information about debconf, please see ⑆■┨debconf(7)┣■ in the ⑆/┨debconf┣/ package.
[527] heading :B
.part: body
.parent: 1
.last_descendant: 614
.ancestors: 1 527 0 0 0 0 0 0
.ancestors_collapsed: 1 527 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 28199909BCE0B8A9940DA7BF5D1DFD2C3964D75AD688D9A3230908C62303D0FD
.segment: _part_12
.segment_epub: _part_12
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours||||||
| Customizing run time behaviours
[528] heading :1
.part: body
.parent: 1
.last_descendant: 614
.ancestors: 1 0 0 0 528 0 0 0
.ancestors_collapsed: 1 0 528 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 28199909BCE0B8A9940DA7BF5D1DFD2C3964D75AD688D9A3230908C62303D0FD
.segment: customizing-run-time-behaviours
.segment_prev: customizing-contents
.segment_next: customizing-binary
.heading_lev_anchor: customizing-run-time-behaviours
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|||
.lev4_subtoc: 5~ ┥Customizing the live user┝┤#530├
.lev4_subtoc: 5~ ┥Customizing locale and language┝┤#539├
.lev4_subtoc: 5~ ┥Persistence┝┤#556├
.lev4_subtoc: 6~ ┥The persistence.conf file┝┤#578├
.lev4_subtoc: 6~ ┥Using more than one persistence store┝┤#583├
.lev4_subtoc: 6~ ┥Using persistence with encryption┝┤#589├
| Customizing run time behaviours
[529] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0A56E4669046996EF858229DBAC2A28200BA8101B2827F7D26E3C35E60AC2933
| All configuration that is done during run time is done by live-config. Here are some of the most common options of live-config that users are interested in. A full list of all possibilities can be found in the man page of live-config.
[530] heading :2
.part: body
.last_descendant: 538
.ancestors: 1 0 0 0 0 530 0 0
.ancestors_collapsed: 1 0 0 530 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: A84EF28526B686F2465D395D068B3BD18A9983DDEF41BCA7B00D8BF821A11E3A
.segment: customizing-run-time-behaviours
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|Customizing the live user||
| Customizing the live user
[531] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 896A0BB961CAEB765016E78BB1756081E41D01EFB5ADF248F78FB43E20B92133
.has: links
| One important consideration is that the live user is created by live-boot at boot time, not by live-build at build time. This not only influences where materials relating to the live user are introduced in your build, as discussed in ┥Live/chroot local includes┝┤#live-chroot-local-includes├, but also any groups and permissions associated with the live user.
[532] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DD5ACE11091C81D52919C13E08300C2D44ADA06E09DA912F0786187970D362ED
| You can specify additional groups that the live user will belong to by using any of the possibilities to configure live-config. For example, to add the live user to the ⑆■┨fuse┣■ group, you can either add the following file in ⑆■┨config/includes.chroot/etc/live/config/user-setup.conf┣■:
[533] code
.part: body
.is_of_type: block
.sha256: F97105830761B744BC2318C81DBD14A37F91D5FAFB2CFC7EEB41E81837A68379
| ░LIVE_USER_DEFAULT_GROUPS="audio░cdrom░dip░floppy░video░plugdev░netdev░powerdev░scanner░bluetooth░fuse"
[534] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 70A23EA5DFA6EF98C3A33E47B121423833ED353150A4BB61B4372A7E578D2458
| or use ⑆■┨live-config.user-default-groups=audio,cdrom,dip,floppy,video,plugdev,netdev,powerdev,scanner,bluetooth,fuse┣■ as a boot parameter.
[535] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 395073D0C377ED0A9EC0864502271C0658DE523D3CC482AAFACE1F8A8DF38F93
| It is also possible to change the default username “user” and the default password “live”. If you want to do that for any reason, you can easily achieve it as follows:
[536] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B9CDB82DE2A71DE5443D3BD9476228DC3C7B4845891CD2B44CE2B5419BECD1DC
| To change the default username you can simply specify it in your config:
[537] code
.part: body
.is_of_type: block
.sha256: 039E0A84DC0E55320CB2771C8C383038A2BAD14D74C1B81CDB0DDCD80512F037
| ░$░lb░config░--bootappend-live░"boot=live░components░username=live-user"
[538] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F54B43A9DB8B7379828E4EE7F223FD68A36551429CFC1E1D0128E49B80BBEDB2
.has: links
| One possible way of changing the default password is by means of a hook as described in ┥Boot-time hooks┝┤#boot-time-hooks├. In order to do that you can use the “passwd” hook from ⑆■┨/usr/share/doc/live-config/examples/hooks┣■, prefix it accordingly (e.g. 2000-passwd) and add it to ⑆■┨config/includes.chroot/lib/live/config/┣■
[539] heading :2
.part: body
.last_descendant: 555
.ancestors: 1 0 0 0 0 539 0 0
.ancestors_collapsed: 1 0 0 539 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: F853056533EAEBC874321482DE03638C652701F4ABD31C1C84AC06A5617DF8A1
.segment: customizing-run-time-behaviours
.heading_lev_anchor: customizing-locale-and-language
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|Customizing locale and language||
| Customizing locale and language
[540] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 615B14F241E641DB547DF1E396F380E74C9FF028ADD10DAA1873689806A8260D
| When the live system boots, language is involved in two steps:
[541] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F67C54061F18C685A9AE6EEDDB5E47EA00E7A8FE50CCB1BE5E4B05981CBF51ED
.bullet: true
| the locale generation
[542] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 060DC9D1395B1814C0739C08DE1529E5AEB033D601692A57A596405BBA4C5F8E
.bullet: true
| setting the keyboard configuration
[543] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8C5F1BE3D5F42C625511AE89E60BCCEEB3A66CB4C533F04F86B7AE875BF8BCF1
| The default locale when building a Live system is ⑆■┨locales=en_US.UTF-8┣■. To define the locale that should be generated, use the ⑆■┨locales┣■ parameter in the ⑆■┨--bootappend-live┣■ option of ⑆■┨lb config┣■, e.g.
[544] code
.part: body
.is_of_type: block
.sha256: 38ECEA2452E4DE6FCF5574BFAF28A3234476A5FE6C6FDFE1371139ADB5121E10
| ░$░lb░config░--bootappend-live░"boot=live░components░locales=de_CH.UTF-8"
[545] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0F7F24ED9FE49953D8D31292412EBA2EBAB62B8EFBACCC03EF9F15345FB67F90
| Multiple locales may be specified as a comma-delimited list.
[546] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 250ACEA1A4641E44D1F28582C7EDB8310A451EF32BCD9E12A601E963D022DE41
| This parameter, as well as the keyboard configuration parameters indicated below, can also be used at the kernel command line. You can specify a locale by ⑆■┨language_country┣■ (in which case the default encoding is used) or the full ⑆■┨language_country.encoding┣■ word. A list of supported locales and the encoding for each can be found in ⑆■┨/usr/share/i18n/SUPPORTED┣■.
[547] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7189B1FCB9BA3C6EF868706BA9A8E660676A260CDC7D0EB7FF72141EB6583C92
| Both the console and X keyboard configuration are performed by ⑆■┨live-config┣■ using the ⑆■┨console-setup┣■ package. To configure them, use the ⑆■┨keyboard-layouts┣■, ⑆■┨keyboard-variants┣■, ⑆■┨keyboard-options┣■ and ⑆■┨keyboard-model┣■ boot parameters via the ⑆■┨--bootappend-live┣■ option. Valid options for these can be found in ⑆■┨/usr/share/X11/xkb/rules/base.lst┣■. To find layouts and variants for a given language, try searching for the English name of the language and/or the country where the language is spoken, e.g:
[548] code
.part: body
.is_of_type: block
.sha256: B7A85BF6B393594B5EA47E54324A0EBECF73639D067DFF38D38E440A96B6C0A7
| $░egrep░-i░'(^!|german.*switzerland)'░/usr/share/X11/xkb/rules/base.lst
| ░!░model
| ░!░layout
| ░░░ch░░░░░░░░░░░░░░German░(Switzerland)
| ░!░variant
| ░░░legacy░░░░░░░░░░ch:░German░(Switzerland,░legacy)
| ░░░de_nodeadkeys░░░ch:░German░(Switzerland,░eliminate░dead░keys)
| ░░░de_sundeadkeys░░ch:░German░(Switzerland,░Sun░dead░keys)
| ░░░de_mac░░░░░░░░░░ch:░German░(Switzerland,░Macintosh)
| ░!░option
[549] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 99C2C04B78DC5CB2AA2670EC321FA36280E90CD5B1D703FF482E5F5FB6D7F7ED
| Note that each variant lists the layout to which it applies in the description.
[550] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 86DDC25F91189D06FC87120577D747DF9E9D8B463FFA70BDF7C7C3DE262B217E
| Often, only the layout needs to be configured. For example, to get the locale files for German and Swiss German keyboard layout in X use:
[551] code
.part: body
.is_of_type: block
.sha256: E4AF5BC050AFD1C6F900D039B57CD53EA5E41629C332AA1EF17FAE5B91AACF5A
| ░$░lb░config░--bootappend-live░"boot=live░components░locales=de_CH.UTF-8░keyboard-layouts=ch"
[552] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 91DBBF101ECEFDB28C7C258AE2DC7E27DFD8D3EE331EB639A2B9D580F49AF7F7
| However, for very specific use cases, you may wish to include other parameters. For example, to set up a French system with a French-Dvorak layout (called Bepo) on a TypeMatrix EZ-Reach 2030 USB keyboard, use:
[553] code
.part: body
.is_of_type: block
.sha256: 41A34807BF066393602042900C743CB3104EC043687CAC85E3AC6995685DB3F8
| ░$░lb░config░--bootappend-live░\
| ░░░░░"boot=live░components░locales=fr_FR.UTF-8░keyboard-layouts=fr░keyboard-variants=bepo░keyboard-model=tm2030usb"
[554] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F9A15A642057024EB7F30929385F6DF55C8A2BAD7C6DD417EC6082E76E56F5A0
| Multiple values may be specified as comma-delimited lists for each of the ⑆■┨keyboard-*┣■ options, with the exception of ⑆■┨keyboard-model┣■, which accepts only one value. Please see the ⑆■┨keyboard(5)┣■ man page for details and examples of ⑆■┨XKBMODEL┣■, ⑆■┨XKBLAYOUT┣■, ⑆■┨XKBVARIANT┣■ and ⑆■┨XKBOPTIONS┣■ variables. If multiple ⑆■┨keyboard-variants┣■ values are given, they will be matched one-to-one with ⑆■┨keyboard-layouts┣■ values (see ⑆■┨setxkbmap(1)┣■ ⑆■┨-variant┣■ option). Empty values are allowed; e.g. to define two layouts, the default being US QWERTY and the other being US Dvorak, use:
[555] code
.part: body
.is_of_type: block
.sha256: F7454187A93A31CFD832808F1772E831F5078D40C97033C3605CF1B67EA6F44E
| ░$░lb░config░--bootappend-live░\
| ░░░░░"boot=live░components░keyboard-layouts=us,us░keyboard-variants=,dvorak"
[556] heading :2
.part: body
.last_descendant: 614
.ancestors: 1 0 0 0 0 556 0 0
.ancestors_collapsed: 1 0 0 556 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: D8E68F610A342F2574480E29F0916F9F7F08314557F557B19DEFE1BD32A8818D
.segment: customizing-run-time-behaviours
.heading_lev_anchor: persistence
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|Persistence||
| Persistence
[557] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5AB08E8A3A8C089C743CB348DF191C2DA72F0F0B7480A255A056F2487D94647F
| A live cd paradigm is a pre-installed system which runs from read-only media, like a cdrom, where writes and modifications do not survive reboots of the host hardware which runs it.
[558] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FFDED9D80F5BA4ECF11F0B884706381BA6681FF16194CAB5CE4A7E5C13FF99D2
| A live system is a generalization of this paradigm and thus supports other media in addition to CDs; but still, in its default behaviour, it should be considered read-only and all the run-time evolutions of the system are lost at shutdown.
[559] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C70A65821C4ED24BF11C1A8E277D29D1A6CADA14B3D48CE132D21CF9A8D10CFD
| 'Persistence' is a common name for different kinds of solutions for saving across reboots some, or all, of this run-time evolution of the system. To understand how it works it would be handy to know that even if the system is booted and run from read-only media, modifications to the files and directories are written on writable media, typically a ram disk (tmpfs) and ram disks' data do not survive reboots.
[560] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C7B2592D34BEBA5CCA794AB18EA8F6165FCC3E0AF5C41ECDEF7933C8CA4FA509
| The data stored on this ramdisk should be saved on a writable persistent medium like local storage media, a network share or even a session of a multisession (re)writable CD/DVD. All these media are supported in live systems in different ways, and all but the last one require a special boot parameter to be specified at boot time: ⑆■┨persistence┣■.
[561] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A1398C1CF2C2BCC1C3AD7E35568D99805063247E7A746D37EA964A9A04C3DF21
| If the boot parameter ⑆■┨persistence┣■ is set (and ⑆■┨nopersistence┣■ is not set), local storage media (e.g. hard disks, USB drives) will be probed for persistence volumes during boot. It is possible to restrict which types of persistence volumes to use by specifying certain boot parameters described in the live-boot(7) man page. A persistence volume is any of the following:
[562] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 18058328FD599C10A116E9E037890E5238ECC98A638356AE4E6ACEE7BB26B163
.bullet: true
| a partition, identified by its GPT name.
[563] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D4D8DC51F02EB2E38BE3EA0507007D92DAEDC25EF7783EE5598E8CE3F3798213
.bullet: true
| a filesystem, identified by its filesystem label.
[564] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EFB25EDE0624F783B5D0E378A2629F05C5DD4472957E41A605FFCED2E20E7CE8
.bullet: true
| an image file located on the root of any readable filesystem (even an NTFS partition of a foreign OS), identified by its filename.
[565] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D5E52B300464251582F19ED172C70CBDF1926319A94C0CB6066E0ADC54B2ABD4
.has: links
| The volume label for overlays must be ⑆■┨persistence┣■ but it will be ignored unless it contains in its root a file named ⑆■┨persistence.conf┣■ which is used to fully customize the volume's persistence, this is to say, specifying the directories that you want to save in your persistence volume after a reboot. See ┥The persistence.conf file┝┤#persistence-conf├ for more details.
[566] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3A77A25D4B4BFF73009F4B71E320925B79363465E9CCB08BE81AF958F4643048
| Here are some examples of how to prepare a volume to be used for persistence. It can be, for instance, an ext4 partition on a hard disk or on a usb key created with, e.g.:
[567] code
.part: body
.is_of_type: block
.sha256: 6D9BDF9F9B305352A4B08FF0329BFFC3EF9D94CE7C79326AD4A58391905844BC
| ░#░mkfs.ext4░-L░persistence░/dev/sdb1
[568] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D6CEF7A38E4402C26956BE459691D5D4DDBDBB5407222082338DFBF606A72646
.has: links
| See also ┥Using the space left on a USB stick┝┤#using-usb-extra-space├.
[569] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 78347C1BB7304E6DAF97485A748D393DFF9710974997E28A39BEEAED854FF066
| If you already have a partition on your device, you could just change the label with one of the following:
[570] code
.part: body
.is_of_type: block
.sha256: 346DCF621B1A2129383A4C0A12D9CAF228C57882AEDBD2B9D2BB40E4E6531E46
| ░#░tune2fs░-L░persistence░/dev/sdb1░#░for░ext2,3,4░filesystems
[571] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2578028B5DF5D49B09DBA4931918B05E5798A8701ADD23629FD4A0B895638C62
| Here's an example of how to create an ext4-based image file to be used for persistence:
[572] code
.part: body
.is_of_type: block
.sha256: 98048AB0ED4727B22FC1A39BC332D747A135C93D696A71F01F5BD3D9B2EBB297
| ░$░dd░if=/dev/null░of=persistence░bs=1░count=0░seek=1G░#░for░a░1GB░sized░image░file
| ░$░/sbin/mkfs.ext4░-F░persistence
[573] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 86412F9FC3F0FDCD85112F5C98CEAFD07F7623E6104137F3C671BD2E665B2E91
| Once the image file is created, as an example, to make ⑆■┨/usr┣■ persistent but only saving the changes you make to that directory and not all the contents of ⑆■┨/usr┣■, you can use the “union” option. If the image file is located in your home directory, copy it to the root of your hard drive's filesystem and mount it in ⑆■┨/mnt┣■ as follows:
[574] code
.part: body
.is_of_type: block
.sha256: FB10A011CD6853B8FB0EDDA09C02DCABF21835BAFAFBCE8D359C9A05C97A0967
| ░#░cp░persistence░/
| ░#░mount░-t░ext4░/persistence░/mnt
[575] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A9B8FDCD6411EBCB914049AC540A5826834F846E6653254F8ECE59E6D2D5070D
| Then, create the ⑆■┨persistence.conf┣■ file adding content and unmount the image file.
[576] code
.part: body
.is_of_type: block
.sha256: F5F9676566D1048BAE66A74F8D747A9A56280FFF30FA0A1448B4BBA0D9D33C0F
| ░#░echo░"/usr░union"░>>░/mnt/persistence.conf
| ░#░umount░/mnt
[577] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1A93FBB3C66A3181A76E630A7630247DB20370303CB0CA0D98C9249AF5E92028
| Now, reboot into your live medium with the boot parameter “persistence”.
[578] heading :3
.part: body
.last_descendant: 582
.ancestors: 1 0 0 0 0 0 578 0
.ancestors_collapsed: 1 0 0 0 578 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 54EA53B4A5CED98C4C9A08A092C019F6C30E6CAD5E70FA688F3C0BC3C18222D4
.segment: customizing-run-time-behaviours
.heading_lev_anchor: persistence-conf
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|Persistence|The persistence.conf file|
| The persistence.conf file
[579] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D2246C5891AA0844FA359DDEF0E3822B61820259E9BED62F8184F0AA91C25C3A
| A volume with the label ⑆■┨persistence┣■ must be configured by means of the ⑆■┨persistence.conf┣■ file to make arbitrary directories persistent. That file, located on the volume's filesystem root, controls which directories it makes persistent, and in which way.
[580] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 21D976B59918FD50BD02D20A7EBF848FE5576C6BEBA5B7629ED03AE53581EC5D
| How custom overlay mounts are configured is described in full detail in the persistence.conf(5) man page, but a simple example should be sufficient for most uses. Let's say we want to make our home directory and APT cache persistent in an ext4 filesystem on the /dev/sdb1 partition:
[581] code
.part: body
.is_of_type: block
.sha256: 53900FA8168E886FAEFF25044D6460F33A4F22FDA1CD043F027BAC50CC04843C
| ░#░mkfs.ext4░-L░persistence░/dev/sdb1
| ░#░mount░-t░ext4░/dev/sdb1░/mnt
| ░#░echo░"/home"░>>░/mnt/persistence.conf
| ░#░echo░"/var/cache/apt"░>>░/mnt/persistence.conf
| ░#░umount░/mnt
[582] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EE61B81635CE2CD1C919B12E11F20D8E850543A77F80925BB900AC213CDE5A1E
| Then we reboot. During the first boot the contents of ⑆■┨/home┣■ and ⑆■┨/var/cache/apt┣■ will be copied into the persistence volume, and from then on all changes to these directories will live in the persistence volume. Please note that any paths listed in the ⑆■┨persistence.conf┣■ file cannot contain white spaces or the special ⑆■┨.┣■ and ⑆■┨..┣■ path components. Also, neither ⑆■┨/lib┣■, ⑆■┨/lib/live┣■ (or any of their sub-directories) nor ⑆■┨/┣■ can be made persistent using custom mounts. As a workaround for this limitation you can add ⑆■┨/ union┣■ to your ⑆■┨persistence.conf┣■ file to achieve full persistence.
[583] heading :3
.part: body
.last_descendant: 588
.ancestors: 1 0 0 0 0 0 583 0
.ancestors_collapsed: 1 0 0 0 583 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 428D9B2D6CBD62BBFBCA8AAD0A4AC0E539179693304638C02B749CC9AD707959
.segment: customizing-run-time-behaviours
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|Persistence|Using more than one persistence store|
| Using more than one persistence store
[584] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3D4973F91068B7C0B60B4C1CEF35110180DCD9E3BD35644ABE7171254D5625C2
| There are different methods of using multiple persistence store for different use cases. For instance, using several volumes at the same time or selecting only one, among various, for very specific purposes.
[585] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4E044630663AE771F99743E97A6D7E3D5CF8BBD192632CC1E40C63F771418E3E
| Several different custom overlay volumes (with their own ⑆■┨persistence.conf┣■ files) can be used at the same time, but if several volumes make the same directory persistent, only one of them will be used. If any two mounts are “nested” (i.e. one is a sub-directory of the other) the parent will be mounted before the child so no mount will be hidden by the other. Nested custom mounts are problematic if they are listed in the same ⑆■┨persistence.conf┣■ file. See the persistence.conf(5) man page for how to handle that case if you really need it (hint: you usually don't).
[586] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B4DF4F9EAEEEE37C2F9F0C3BABF994ABEAC60C95C41BE583A233EF9B8087FA15
| One possible use case: If you wish to store the user data i.e. ⑆■┨/home┣■ and the superuser data i.e. ⑆■┨/root┣■ in different partitions, create two partitions with the ⑆■┨persistence┣■ label and add a ⑆■┨persistence.conf┣■ file in each one like this, ⑆■┨# echo “/home” > persistence.conf┣■ for the first partition that will save the user's files and ⑆■┨# echo “/root” > persistence.conf┣■ for the second partition which will store the superuser's files. Finally, use the ⑆■┨persistence┣■ boot parameter.
[587] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B37C65AC062BD6AE887DE7878A8AEC50C0E2D8764E6B4F36487004B9E57EBCB6
| If a user would need multiple persistence store of the same type for different locations or testing, such as ⑆■┨private┣■ and ⑆■┨work┣■, the boot parameter ⑆■┨persistence-label┣■ used in conjunction with the boot parameter ⑆■┨persistence┣■ will allow for multiple but unique persistence media. An example would be if a user wanted to use a persistence partition labeled ⑆■┨private┣■ for personal data like browser bookmarks or other types, they would use the boot parameters: ⑆■┨persistence┣■ ⑆■┨persistence-label=private┣■. And to store work related data, like documents, research projects or other types, they would use the boot parameters: ⑆■┨persistence┣■ ⑆■┨persistence-label=work┣■.
[588] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C7E1EBF1A81E7D98AD8E35A5E08351A7EA7542B2572D2881A6640F386BDB103E
| It is important to remember that each of these volumes, ⑆■┨private┣■ and ⑆■┨work┣■, also needs a ⑆■┨persistence.conf┣■ file in its root. The live-boot man page contains more information about how to use these labels with legacy names.
[589] heading :3
.part: body
.last_descendant: 614
.ancestors: 1 0 0 0 0 0 589 0
.ancestors_collapsed: 1 0 0 0 589 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: CAEC58D530095EC341F00B864FBFD9DCE26EFD2E1621A3B7CB0074BBA7E9E337
.segment: customizing-run-time-behaviours
.segment_epub: customizing-run-time-behaviours
.heading_ancestors_text: Live Systems Manual|Customizing run time behaviours|||Customizing run time behaviours|Persistence|Using persistence with encryption|
| Using persistence with encryption
[590] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DF89172B0FA9381BA1E0C8A0FC3111DF8B470A0662C07ED44AD8A9A8AF31B77C
| Using the persistence feature means that some sensible data might get exposed to risk. Especially if the persistent data is stored on a portable device such as a usb stick or an external hard drive. That is when encryption comes in handy. Even if the entire procedure might seem complicated because of the number of steps to be taken, it is really easy to handle encrypted partitions with live-boot. In order to use ⑆*┨luks┣*, which is the supported encryption type, you need to install ⑆/┨cryptsetup┣/ both on the machine you are creating the encrypted partition with and also in the live system you are going to use the encrypted persistent partition with.
[591] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2EE1B2DE10414F855E4D92A6087D5BB38693499112D6C9F3759553EB54F984F5
| To install ⑆/┨cryptsetup┣/ on your machine:
[592] code
.part: body
.is_of_type: block
.sha256: D147BA9E5971D8A538338EF4F21480FA4D9DA358D39AB7F184C105B0A88BF4C0
| ░#░apt-get░install░cryptsetup
[593] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 27A5488916A5CD1A5BBA088AF1B9102ACC5F5204C1FE6BE1B5545637088EF416
| To install ⑆/┨cryptsetup┣/ in your live system, add it to your package-lists:
[594] code
.part: body
.is_of_type: block
.sha256: 9FE4F093EF7E84A4477B1F7BA06BA4FCF1B6AC431E8A9E1ED88D818E897FDFB2
| ░$░lb░config
| ░$░echo░"cryptsetup"░>░config/package-lists/encryption.list.chroot
[595] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6D67A9C376C7CAE1ACE765E78F26823CB4D48FD51FD5261FC64B7F8E3053AE1A
| Once you have your live system with ⑆/┨cryptsetup┣/, you basically only need to create a new partition, encrypt it and boot with the ⑆■┨persistence┣■ and ⑆■┨persistence-encryption=luks┣■ parameters. We could have already anticipated this step and added the boot parameters following the usual procedure:
[596] code
.part: body
.is_of_type: block
.sha256: F551900FF8AFEDD7F9932517A2784E8C795EE85C2D9310C755BC56CA36318F5D
| ░$░lb░config░--bootappend-live░"boot=live░components░persistence░persistence-encryption=luks"
[597] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3BE9C9E325057D394317F953B18295EB55F214061F85F924C3623F58B797FFDA
| Let's go into the details for all of those who are not familiar with encryption. In the following example we are going to use a partition on a usb stick which corresponds to ⑆■┨/dev/sdc2┣■. Please be warned that you need to determine which partition is the one you are going to use in your specific case.
[598] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 58E5E6AC76E94C1D56EDF80D7F395672F6A40CE5886FB802CA28C169D4CC0B10
| The first step is plugging in your usb stick and determine which device it is. The recommended method of listing devices in live-manual is using ⑆■┨ls -l /dev/disk/by-id┣■. After that, create a new partition and then, encrypt it with a passphrase as follows:
[599] code
.part: body
.is_of_type: block
.sha256: EBA8736B1184282B9BE54A80BF49FC3F668833DED83E9B4CF440089CCDBF8742
| ░#░cryptsetup░--verify-passphrase░luksFormat░/dev/sdc2
[600] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A0C798CD411B3B4791A47CB5F70A649CDEB71BB589657DF11FC5C4B316D37979
| Then open the luks partition in the virtual device mapper. Use any name you like. We use ⑆*┨live┣* here as an example:
[601] code
.part: body
.is_of_type: block
.sha256: 86B64A5907F8A0E40327B554DB2CF3A74A8A5CCCCC7A47DA8357F0142B8D7806
| ░#░cryptsetup░luksOpen░/dev/sdc2░live
[602] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B91FE1C2F65598D18D16A8FE2EC203760A58C42327EAC74FE88A66B493CD2D64
| The next step is filling the device with zeros before creating the filesystem:
[603] code
.part: body
.is_of_type: block
.sha256: E707FF1388BE3E1E40D0DBF611F91AB10238A271AB686F8492A792E3B11A9A50
| ░#░dd░if=/dev/zero░of=/dev/mapper/live
[604] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B78607DAAA035254CB7BB7C2A4BA6F148B38389487701FA22F58E0D20C60398C
| Now, we are ready to create the filesystem. Notice that we are adding the label ⑆■┨persistence┣■ so that the device is mounted as persistence store at boot time.
[605] code
.part: body
.is_of_type: block
.sha256: C177E6DC78D88CCC9AC8CF756C6A9BFC1D5DF87649A5B906B5CB1E04FCFFDFEF
| ░#░mkfs.ext4░-L░persistence░/dev/mapper/live
[606] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 05F92514306FF188390B135CF702E8C4A6196CC3C3C70058FB21B2C028A76006
| To continue with our setup, we need to mount the device, for example in ⑆■┨/mnt┣■.
[607] code
.part: body
.is_of_type: block
.sha256: 033D6B048D5FD474A9F85FEE1285DFC82AB8FDCA54B23823A49A11611AD311D9
| ░#░mount░/dev/mapper/live░/mnt
[608] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 63C3169818306312A1305EF55A4317C22E185D98DFD7223CD0BCE1974C74ADF4
.has: links
| And create the ⑆■┨persistence.conf┣■ file in the root of the partition. This is, as explained before, strictly necessary. See ┥The persistence.conf file┝┤#persistence-conf├.
[609] code
.part: body
.is_of_type: block
.sha256: 439A51729779B6D1F34CABD489FE16E7BF9F9D117CB504E65445485CA4550F63
| ░#░echo░"/░union"░>░/mnt/persistence.conf
[610] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B611F81B3C4387E2C6CEDC6052CAF6B7E4F23FDDB7204ACC4D66A72029C58E73
| Then unmount the mount point:
[611] code
.part: body
.is_of_type: block
.sha256: 63C4C820C60E1D0406430AA8285DF689DD5C1A9C1FCDBAD5876DDACF5CAE0B1D
| ░#░umount░/mnt
[612] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A6D36222DC57F888235FEF097DA36A12AD94BD65146EF42D4876443DA7D4F2DA
| And optionally, although it might be a good way of securing the data we have just added to the partition, we can close the device:
[613] code
.part: body
.is_of_type: block
.sha256: B2BEA10835B54C27312E1C5DAB83AA64D3530AB0872719B47E72843FC52F87BF
| ░#░cryptsetup░luksClose░live
[614] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AD4F573ABA5BB10FE6D6809FF70443DD068FC0F5857D72B90499C7D0CE65A28B
.has: links
| Let's summarize the process. So far, we have created an encryption capable live system, which can be copied to a usb stick as explained in ┥Copying an ISO hybrid image to a USB stick┝┤#copying-iso-hybrid-to-usb├. We have also created an encrypted partition, which can be located in the same usb stick to carry it around and we have configured the encrypted partition to be used as persistence store. So now, we only need to boot the live system. At boot time, live-boot will prompt us for the passphrase and will mount the encrypted partition to be used for persistence.
[615] heading :B
.part: body
.parent: 1
.last_descendant: 629
.ancestors: 1 615 0 0 0 0 0 0
.ancestors_collapsed: 1 615 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 2 0 0
.dom_status_collapsed: 4 3 2 2 2 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 019CD0EA2F7D44A2AFAE10B9A610A652ACCC4C83D6F6A756E6D110280A99FE59
.segment: _part_13
.segment_epub: _part_13
.heading_ancestors_text: Live Systems Manual|Customizing the binary image||||||
| Customizing the binary image
[616] heading :1
.part: body
.parent: 1
.last_descendant: 629
.ancestors: 1 0 0 0 616 0 0 0
.ancestors_collapsed: 1 0 616 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 019CD0EA2F7D44A2AFAE10B9A610A652ACCC4C83D6F6A756E6D110280A99FE59
.segment: customizing-binary
.segment_prev: customizing-run-time-behaviours
.segment_next: customizing-installer
.heading_lev_anchor: customizing-binary
.segment_epub: customizing-binary
.heading_ancestors_text: Live Systems Manual|Customizing the binary image|||Customizing the binary image|||
.lev4_subtoc: 5~ ┥Bootloaders┝┤#617├
.lev4_subtoc: 5~ ┥ISO metadata┝┤#624├
| Customizing the binary image
[617] heading :2
.part: body
.last_descendant: 623
.ancestors: 1 0 0 0 0 617 0 0
.ancestors_collapsed: 1 0 0 617 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 81C3C2A9624A8B17C6669C054A7A484446727CCB4B6403E9070EE9D2154F42F0
.segment: customizing-binary
.segment_epub: customizing-binary
.heading_ancestors_text: Live Systems Manual|Customizing the binary image|||Customizing the binary image|Bootloaders||
| Bootloaders
[618] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FE5D24090A67147C406070F8A0242D317C164061BBF7D967412BE25A8903EE41
| live-build uses ⑆/┨syslinux┣/ and some of its derivatives (depending on the image type) as bootloaders by default. They can be easily customized to suit your needs.
[619] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3708BC2854BE72824D5DBC30FFF7B32E36A2106005DCD0D3B2DCD14E4327D67A
| In order to use a full theme, copy ⑆■┨/usr/share/live/build/bootloaders┣■ into ⑆■┨config/bootloaders┣■ and edit the files in there. If you do not want to bother modifying all supported bootloader configurations, only providing a local customized copy of one of the bootloaders, e.g. ⑆*┨isolinux┣* in ⑆■┨config/bootloaders/isolinux┣■ is enough too, depending on your use case.
[620] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B14455FCEA9DD2753ED1507E1A8784B87B97875E532D42BCBE13535A27E5B38A
| When modifying one of the default themes, if you want to use a personalized background image that will be displayed together with the boot menu, add a splash.png picture of 640x480 pixels. Then, remove the splash.svg file.
[621] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7BE4935B9DFCAD102F96E5F811B424869E1B83CBCDB93237F61D6CAA45B67349
| There are many possibilities when it comes to making changes. For instance, syslinux derivatives are configured by default with a timeout of 0 (zero) which means that they will pause indefinitely at their splash screen until you press a key.
[622] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 25DFD3C4D4F43DC9323E2A0A35AE604610746B0577195787581D2B7A8A11D085
| To modify the boot timeout of a default ⑆■┨iso-hybrid┣■ image just edit a default ⑆*┨isolinux.cfg┣* file specifying the timeout in units of 1/10 seconds. A modified ⑆*┨isolinux.cfg┣* to boot after five seconds would be similar to this:
[623] code
.part: body
.is_of_type: block
.sha256: A9B23A4173C50287BDB07CEAB9A8E28E19AA3DFDAD87E7C260CA8F9EEB73DA54
| ░include░menu.cfg
| ░default░vesamenu.c32
| ░prompt░0
| ░timeout░50
[624] heading :2
.part: body
.last_descendant: 629
.ancestors: 1 0 0 0 0 624 0 0
.ancestors_collapsed: 1 0 0 624 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 0968D36527F8DEBDA1720878738E17605579CCB28AFBB1C122333CC1B5045927
.segment: customizing-binary
.segment_epub: customizing-binary
.heading_ancestors_text: Live Systems Manual|Customizing the binary image|||Customizing the binary image|ISO metadata||
| ISO metadata
[625] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F3FBDFA1A91C0B8E0197826EB17B67DF196B68EA10D19D37279622605EF725E5
| When creating an ISO9660 binary image, you can use the following options to add various textual metadata for your image. This can help you easily identify the version or configuration of an image without booting it.
[626] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1AE77789E058F94A2BA9F21AA69D34BF543E931F0698839D78B1C25FBED6CA4C
.bullet: true
| ⑆■┨LB_ISO_APPLICATION/--iso-application NAME┣■: This should describe the application that will be on the image. The maximum length for this field is 128 characters.
[627] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DD8E777F29A4870DF5EF07A9FDE1F86CAAFF3195B95605439D308D817CBEEADF
.bullet: true
| ⑆■┨LB_ISO_PREPARER/--iso-preparer NAME┣■: This should describe the preparer of the image, usually with some contact details. The default for this option is the live-build version you are using, which may help with debugging later. The maximum length for this field is 128 characters.
[628] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B2516200FEF6EEAAD7D2059B667AB4BE562049DDB94948A73E7CE47976E42021
.bullet: true
| ⑆■┨LB_ISO_PUBLISHER/--iso-publisher NAME┣■: This should describe the publisher of the image, usually with some contact details. The maximum length for this field is 128 characters.
[629] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3C0B34757903767F58A220A937D5A93E81F3FA31F669BC17573112CC4782CFAB
.bullet: true
| ⑆■┨LB_ISO_VOLUME/--iso-volume NAME┣■: This should specify the volume ID of the image. This is used as a user-visible label on some platforms such as Windows and Apple Mac OS. The maximum length for this field is 32 characters.
[630] heading :B
.part: body
.parent: 1
.last_descendant: 650
.ancestors: 1 630 0 0 0 0 0 0
.ancestors_collapsed: 1 630 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: EAA554F2A86C2F77EC2195F922823FD87DAE0A3712BF83B43BB4D2840F6A6359
.segment: _part_14
.segment_epub: _part_14
.heading_ancestors_text: Live Systems Manual|Customizing Debian Installer||||||
| Customizing Debian Installer
[631] heading :1
.part: body
.parent: 1
.last_descendant: 650
.ancestors: 1 0 0 0 631 0 0 0
.ancestors_collapsed: 1 0 631 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: EAA554F2A86C2F77EC2195F922823FD87DAE0A3712BF83B43BB4D2840F6A6359
.segment: customizing-installer
.segment_prev: customizing-binary
.segment_next: contributing-to-project
.heading_lev_anchor: customizing-installer
.segment_epub: customizing-installer
.heading_ancestors_text: Live Systems Manual|Customizing Debian Installer|||Customizing Debian Installer|||
.lev4_subtoc: 5~ ┥Types of Debian Installer┝┤#634├
.lev4_subtoc: 5~ ┥Customizing Debian Installer by preseeding┝┤#646├
.lev4_subtoc: 5~ ┥Customizing Debian Installer content┝┤#649├
| Customizing Debian Installer
[632] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 66141603122FBC2F675DB622E59E3E0EA1A20A2B9EFCDBA6836CD564C5FEC4C3
| Live system images can be integrated with Debian Installer. There are a number of different types of installation, varying in what is included and how the installer operates.
[633] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A1D6645BA98565D7D0BD5791109AB085A14FADA673BB312D1551533229658592
| Please note the careful use of capital letters when referring to the “Debian Installer” in this section - when used like this we refer explicitly to the official installer for the Debian system, not anything else. It is often seen abbreviated to “d-i”.
[634] heading :2
.part: body
.last_descendant: 645
.ancestors: 1 0 0 0 0 634 0 0
.ancestors_collapsed: 1 0 0 634 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 55787942C44C8CF676D9A67C3FE47316CA0D7AD98DD7B2D2989CA9F223E3990A
.segment: customizing-installer
.segment_epub: customizing-installer
.heading_ancestors_text: Live Systems Manual|Customizing Debian Installer|||Customizing Debian Installer|Types of Debian Installer||
| Types of Debian Installer
[635] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 78A4C4B0EFB5BE8564EF4335BA5B263461EEBFE077D1F9C55425BA6087071100
| The three main types of installer are:
[636] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 125EE17AF29F9D357C3822A26EB7FF9757A32A5873EBD53E3481EF522973AD2C
| ⑆*┨“Normal” Debian Installer┣*: This is a normal live system image with a separate kernel and initrd which (when selected from the appropriate bootloader) launches into a standard Debian Installer instance, just as if you had downloaded a CD image of Debian and booted it. Images containing a live system and such an otherwise independent installer are often referred to as “combined images”.
[637] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BAE1463345BB542942913492DF7E2733F03B6970DF9BCC638765461C21D77072
| On such images, Debian is installed by fetching and installing .deb packages using ⑆/┨debootstrap┣/, from local media or some network-based network, resulting in a default Debian system being installed to the hard disk.
[638] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1AE8FBEDA059EDA95CBFC2CD94A0B06BCF18CACAF8815E3F3A294BB97CF86DB0
| This whole process can be preseeded and customized in a number of ways; see the relevant pages in the Debian Installer manual for more information. Once you have a working preseeding file, live-build can automatically put it in the image and enable it for you.
[639] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9E351C1A951F9EC369731A5F0F0E595B7A9F3BC31019F6ACC7FFC58EDA59B8C5
| ⑆*┨“Live” Debian Installer┣*: This is a live system image with a separate kernel and initrd which (when selected from the appropriate bootloader) launches into an instance of the Debian Installer.
[640] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5FD7B315A3DD42CE1F352993E5B9E62B4ABA389ECCA09D7839F75B65DB17D584
| Installation will proceed in an identical fashion to the “normal” installation described above, but at the actual package installation stage, instead of using ⑆/┨debootstrap┣/ to fetch and install packages, the live filesystem image is copied to the target. This is achieved with a special udeb called live-installer.
[641] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7E11AE9567A6D343BD093E2D756EF0205EE141AABA661724C324086DFAD23D59
| After this stage, the Debian Installer continues as normal, installing and configuring items such as bootloaders and local users, etc.
[642] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DCEBAB0FC3CDC540D28259CE753536D4676579F4C45C258C27114E89E53282C2
| ⑆*┨Note:┣* to support both normal and live installer entries in the bootloader of the same live medium, you must disable live-installer by preseeding ⑆■┨live-installer/enable=false┣■.
[643] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E9C4C8C41B89BB251235F35ED32788B8FB87BECBCA7933F9E4D86CE880B0C512
| ⑆*┨“Desktop” Debian Installer┣*: Regardless of the type of Debian Installer included, ⑆■┨d-i┣■ can be launched from the Desktop by clicking on an icon. This is user friendlier in some situations. In order to make use of this, the debian-installer-launcher package needs to be included.
[644] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 96F8474213E22BACF3E7502605C9E15071B807A51C48CE0756540605711ADBA6
| Note that by default, live-build does not include Debian Installer images in the images, it needs to be specifically enabled with ⑆■┨lb config┣■. Also, please note that for the “Desktop” installer to work, the kernel of the live system must match the kernel ⑆■┨d-i┣■ uses for the specified architecture. For example:
[645] code
.part: body
.is_of_type: block
.sha256: 3D3476705FDD129669FB5D9383DF618879E339656351488E7E4E7FDDA23CD2BE
| ░$░lb░config░--architectures░i386░--linux-flavours░586░\
| ░░░░░░░░░--debian-installer░live
| ░$░echo░debian-installer-launcher░>>░config/package-lists/my.list.chroot
[646] heading :2
.part: body
.last_descendant: 648
.ancestors: 1 0 0 0 0 646 0 0
.ancestors_collapsed: 1 0 0 646 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 36943E9901283ED5691E8B921FB5800ADB9E621C8DBA0AA8D442FA0348569960
.segment: customizing-installer
.segment_epub: customizing-installer
.heading_ancestors_text: Live Systems Manual|Customizing Debian Installer|||Customizing Debian Installer|Customizing Debian Installer by preseeding||
| Customizing Debian Installer by preseeding
[647] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D8F34B9E2D23B0F5BE9A976FBF8323BF636A7C158EA0497753573A47D5575058
.has: links
| As described in the Debian Installer Manual, Appendix B at ┥https://www.debian.org/releases/stable/i386/apb.html┝┤https://www.debian.org/releases/stable/i386/apb.html├, “Preseeding provides a way to set answers to questions asked during the installation process, without having to manually enter the answers while the installation is running. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations.” This kind of customization is best accomplished with live-build by placing the configuration in a ⑆■┨preseed.cfg┣■ file included in ⑆■┨config/includes.installer/┣■. For example, to preseed setting the locale to ⑆■┨en_US┣■:
[648] code
.part: body
.is_of_type: block
.sha256: 9CB83BCEC8F947F95D5FA429365E8C2C27381B9AA25123BBCBD4AADD7CE6C8A1
| ░$░echo░"d-i░debian-installer/locale░string░en_US"░\
| ░░░░░░░░░>>░config/includes.installer/preseed.cfg
[649] heading :2
.part: body
.last_descendant: 650
.ancestors: 1 0 0 0 0 649 0 0
.ancestors_collapsed: 1 0 0 649 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: F7FCCF72FB5C6FE2001107EA0BB8ACA5E0E9D6E8B0AA013E010F27D0030096D5
.segment: customizing-installer
.segment_epub: customizing-installer
.heading_ancestors_text: Live Systems Manual|Customizing Debian Installer|||Customizing Debian Installer|Customizing Debian Installer content||
| Customizing Debian Installer content
[650] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EB9FC0B316C1596E7FCB8416E8DB5057F189FE7E3B00B1C3B32164583E6B2C70
.has: links
| For experimental or debugging purposes, you might want to include locally built ⑆■┨d-i┣■ component udeb packages. Place these in ⑆■┨config/packages.binary/┣■ to include them in the image. Additional or replacement files and directories may be included in the installer initrd as well, in a similar fashion to ┥Live/chroot local includes┝┤#live-chroot-local-includes├, by placing the material in ⑆■┨config/includes.installer/┣■.
[651] heading :B
.part: body
.parent: 1
.last_descendant: 651
.ancestors: 1 651 0 0 0 0 0 0
.ancestors_collapsed: 1 651 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 985959785319747668373CC6DEE294B11DB782B03CDD90A2851FBDC0637C6B7B
.segment: _part_15
.segment_epub: _part_15
.heading_ancestors_text: Live Systems Manual|Project||||||
| Project
[652] heading :B
.part: body
.parent: 1
.last_descendant: 679
.ancestors: 1 652 0 0 0 0 0 0
.ancestors_collapsed: 1 652 0 0 0 0 0 0
.dom_status: 4 3 0 0 0 0 0 0 0
.dom_status_collapsed: 4 3 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 171C7FC604CAAF658A115E69D7954FA6085BEAFE6BF6E84736268A478FA784E2
.segment: _part_16
.segment_epub: _part_16
.heading_ancestors_text: Live Systems Manual|Contributing to the project||||||
| Contributing to the project
[653] heading :1
.part: body
.parent: 1
.last_descendant: 679
.ancestors: 1 0 0 0 653 0 0 0
.ancestors_collapsed: 1 0 653 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 171C7FC604CAAF658A115E69D7954FA6085BEAFE6BF6E84736268A478FA784E2
.segment: contributing-to-project
.segment_prev: customizing-installer
.segment_next: bugs
.heading_lev_anchor: contributing-to-project
.segment_epub: contributing-to-project
.heading_ancestors_text: Live Systems Manual|Contributing to the project|||Contributing to the project|||
.lev4_subtoc: 5~ ┥Making changes┝┤#665├
| Contributing to the project
[654] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7EDA19AA17E81BC3358F5EEED43A6E0F925F7240B80BACFF589B16BDC39FE7A4
| When submitting a contribution, please clearly identify its copyright holder and include any applicable licensing statement. Note that to be accepted, the contribution must be licensed under the same license as the rest of the documents, namely, GPL version 3 or later.
[655] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AFC7563F386088EF3209EB049B74CE6EA93E5E3D5FD5D098DA91EED96BD8BA3E
.has: links
| Contributions to the project, such as translations and patches, are greatly welcome. Anyone can directly commit to the repositories, however, we ask you to send bigger changes to the mailing list to discuss them first. See the section ┥Contact┝┤#contact├ for more information.
[656] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9A0F43A3F3384ACA9754389311EA7726B65EC673EB5E64D63F26BB89669AF7B5
.has: links
| The ${project} uses Git as version control system and source code management. As explained in ┥Git repositories┝┤#git-repositories├ there are two main development branches: ⑆*┨debian┣* and ⑆*┨debian-next┣*. Everybody can commit to the debian-next branches of the live-boot, live-build, live-config, live-images, live-manual and live-tools repositories.
[657] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 339B294E1A7D800159D7EBA7F0B3D693A98E1AECF376FC6538590BF312ACF407
| However, there are certain restrictions. The server will reject:
[658] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 61599B746109885C0C5006BB6C2BFF88246269D9D4BA9D3E71C162C8AD2BF061
.bullet: true
| Non fast-forward pushes.
[659] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4CEA1AE910E13857A59D4E374964812F82EC923CD2DA3607D9A5A5B515CE5882
.bullet: true
| Merge commits.
[660] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8AA2B6D96DA670F6EC00BDC4B0CFA54C821AFDCCC4E1B3B8C33539774E60F92F
.bullet: true
| Adding or removing tags or branches.
[661] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DC4A89AF098F114CACBD89745050A2989FBC2DFB4FE83086A5B4908CE40956D4
| Even though all commits might be revised, we ask you to use your common sense and make good commits with good commit messages.
[662] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1BC7051227EE3972FFA46A96D04CDE52ABA4FA59F1FEC8B6A4117A602F06993E
.bullet: true
| Write commit messages that consist of complete, meaningful sentences in English, starting with a capital letter and ending with a full stop. Usually, these will start with the form “Fixing/Adding/Removing/Correcting/Translating/...”.
[663] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8CEC3D989715D24EE9FCE9EE9F67FFF74B3FD7A94D459D41438B305C611511B3
.bullet: true
| Write good commit messages. The first line must be an accurate summary of the contents of the commit which will be included in the changelog. If you need to make some further explanations, write them below leaving a blank line after the first one and then another blank line after each paragraph. Lines of paragraphs should not exceed 80 characters in length.
[664] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 771B4D4FD9472084CEB92AEEEC705A9CF25832D3D444CEE9A366FA81E955421B
.bullet: true
| Commit atomically, this is to say, do not mix unrelated things in the same commit. Make one different commit for each change you make.
[665] heading :2
.part: body
.last_descendant: 679
.ancestors: 1 0 0 0 0 665 0 0
.ancestors_collapsed: 1 0 0 665 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: CC1DCA8FE87D8F3FA19F20FB590DBF1F159E7A34A90D2B632510855374E6D28C
.segment: contributing-to-project
.segment_epub: contributing-to-project
.heading_ancestors_text: Live Systems Manual|Contributing to the project|||Contributing to the project|Making changes||
| Making changes
[666] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7ADC81FBD5407E72F80FEA35719AE91E74A101BE53FC69F44FD532A86889B3D2
.has: links
| In order to push to the repositories, you must follow the following procedure. Here we use live-manual as an example so replace it with the name of the repository you want to work with. For detailed information on how to edit live-manual see ┥Contributing to this document┝┤#how-to-contribute├.
[667] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DDD63DB24140BA4973D30FADDA8772F92A3E672CCCB395ABAFD56BE901201A18
.bullet: true
| Fetch the public commit key:
[668] code
.part: body
.is_of_type: block
.sha256: 16E349352C0391B47991F9AA01A4516784881D8184CCF4360FB546C2AF0B8C01
| ░$░mkdir░-p░~/.ssh/keys
| ░$░wget░http://live-systems.org/other/keys/git@live-systems.org░-O░~/.ssh/keys/git@live-systems.org
| ░$░wget░http://live-systems.org/other/keys/git@live-systems.org.pub░-O░~/.ssh/keys/git@live-systems.org.pub
| ░$░chmod░0600░~/.ssh/keys/git@live-systems.org*
[669] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 10FE8FF8770E511E6DBF8E87C90531793D5FADFC54E299539BEFF48DC7A3653F
.bullet: true
| Add the following section to your openssh-client config:
[670] code
.part: body
.is_of_type: block
.sha256: 11E3CB62E3ECDE98789C1436401940A2DF881F629B092C681CDFE5AFD61D73FF
| ░$░cat░>>░~/.ssh/config░<<░EOF
| ░Host░live-systems.org
| ░░░░░Hostname░live-systems.org
| ░░░░░User░git
| ░░░░░IdentitiesOnly░yes
| ░░░░░IdentityFile░~/.ssh/keys/git@live-systems.org
| ░EOF
[671] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9F3BCE8E4928FF6102F9F5037DBB90680B71B72D315DD9299398AA7D0B34A89A
.bullet: true
| Check out a clone of live-manual through ssh:
[672] code
.part: body
.is_of_type: block
.sha256: 013EC3B11B2858F968C15A2CABBCC2E2320585ABB3D73B39B2E5174481072C63
| ░$░git░clone░git@live-systems.org:/live-manual.git
| ░$░cd░live-manual░&&░git░checkout░debian-next
[673] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5BA37CD27874DA127199C02BB96EE9B07A7549BC8F32DD0CEEC867EA6FC8CF7A
.bullet: true
| Make sure you have Git author and email set:
[674] code
.part: body
.is_of_type: block
.sha256: 7441260DDF32F75F6CF367D9FF46EC00751A878519A867F14647B814029D0469
| ░░$░git░config░user.name░"John░Doe"
| ░░$░git░config░user.email░john@example.org
[675] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2F3173C9797F84603537FB91851F4803ACC128B37E9750868E4C5F05F5AC908A
| ⑆*┨Important:┣* Remember that you should commit any changes on the ⑆*┨debian-next┣* branch.
[676] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6DD6D35C362DA39A2AEA117F3E2ED1FC0C3E99D82BE3B1B363E51AB2305C1315
.bullet: true
| Make your changes. In this example you would first write a new section dealing with applying patches and then prepare to commit adding the files and writing your commit message like this:
[677] code
.part: body
.is_of_type: block
.sha256: 48592B8E36CF072271ED951D341223EDF713EDB2DB25BDFC2ECF73C42768842C
| ░$░git░commit░-a░-m░"Adding░a░section░on░applying░patches."
[678] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ACCA6A567384B9894D6A49C01DFBA408E532386C9CE1B0734437CDB0FAA15ECF
.bullet: true
| Push the commit to the server:
[679] code
.part: body
.is_of_type: block
.sha256: 148DBA952DB2BD6F71D8DA6E66AF499CF61F12871E2781D134A957B79F19611F
| ░$░git░push
[680] heading :B
.part: body
.parent: 1
.last_descendant: 736
.ancestors: 1 680 0 0 0 0 0 0
.ancestors_collapsed: 1 680 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: FFC1C6D65FC3F15A46457FF8A7D7D892067398E11A35812DC6D4769C0A9E6D5C
.segment: _part_17
.segment_epub: _part_17
.heading_ancestors_text: Live Systems Manual|Reporting bugs||||||
| Reporting bugs
[681] heading :1
.part: body
.parent: 1
.last_descendant: 736
.ancestors: 1 0 0 0 681 0 0 0
.ancestors_collapsed: 1 0 681 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: FFC1C6D65FC3F15A46457FF8A7D7D892067398E11A35812DC6D4769C0A9E6D5C
.segment: bugs
.segment_prev: contributing-to-project
.segment_next: coding-style
.heading_lev_anchor: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|||
.lev4_subtoc: 5~ ┥Known issues┝┤#687├
.lev4_subtoc: 5~ ┥Rebuild from scratch┝┤#692├
.lev4_subtoc: 5~ ┥Use up-to-date packages┝┤#694├
.lev4_subtoc: 5~ ┥Collect information┝┤#696├
.lev4_subtoc: 5~ ┥Isolate the failing case if possible┝┤#713├
.lev4_subtoc: 5~ ┥Use the correct package to report the bug against┝┤#715├
.lev4_subtoc: 6~ ┥At build time while bootstrapping┝┤#718├
.lev4_subtoc: 6~ ┥At build time while installing packages┝┤#721├
.lev4_subtoc: 6~ ┥At boot time┝┤#725├
.lev4_subtoc: 6~ ┥At run time┝┤#727├
.lev4_subtoc: 5~ ┥Do the research┝┤#729├
.lev4_subtoc: 5~ ┥Where to report bugs┝┤#733├
| Reporting bugs
[682] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1893FDB6090143F14E441F1CEA8C8B5DFA4A873131AAE5B479B01CCC71693544
| Live systems are far from being perfect, but we want to make it as close as possible to perfect - with your help. Do not hesitate to report a bug. It is better to fill a report twice than never. However, this chapter includes recommendations on how to file good bug reports.
[683] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2AD92B4716D4D5B38380DBCFA8115E5B59BC890E48A914E512F70E9D809ED65A
| For the impatient:
[684] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8E9DBE46AFCFAB7040389DFD441A75B9B6294CA45D73C985FE1A029686D4D5D1
.bullet: true
.has: links
.stow_link: http://live-systems.org/
| Always check first the image status updates on our homepage at ┥http://live-systems.org/┝┤0├ for known issues.
[685] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A0D94CDBCEF704E0FA1E143B630B552A569C7E3DB38C4FFF42A7A2B6C91F8113
.bullet: true
| Before submitting a bug report always try to reproduce the bug with the ⑆*┨most recent versions┣* of the branch of live-build, live-boot, live-config and live-tools that you're using (like the newest 4.x version of live-build if you're using live-build 4).
[686] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0E20C807380B9F49DBB6C04948160CD76DE1D5CD052768A1285AE443B643BA18
.bullet: true
| Try to give ⑆*┨as specific information as possible┣* about the bug. This includes (at least) the version of live-build, live-boot, live-config, and live-tools used and the distribution of the live system you are building.
[687] heading :2
.part: body
.last_descendant: 691
.ancestors: 1 0 0 0 0 687 0 0
.ancestors_collapsed: 1 0 0 687 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 9E06846BA2DF2BB2FB6494C1576CC9A2C882691C389D5D66EBB53F91D820A2FE
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Known issues||
| Known issues
[688] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ED47B76F8AD26F8649AE5564C09E0CE806DC99FD9052FCD8C9CD9D9173563114
| Since Debian ⑆*┨testing┣* and Debian ⑆*┨unstable┣* distributions are moving targets, when you specify either of them as the target system distribution, a successful build may not always be possible.
[0] comment
.part: comment
.section: comment
.is_of_type: comment
.sha256: F171002CA41D73B50BD7C82298FCBDC13D3C758AF06BDE85EBC6BB844E4E77AE
| % FIXME:
[689] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 490D5F57477C481251875CD0FDFCE77584A4A7555DBF79C1A225AC7E3FFE6956
| If this causes too much difficulty for you, do not build a system based on ⑆*┨testing┣* or ⑆*┨unstable┣*, but rather, use ⑆*┨stable┣*. live-build always defaults to the ⑆*┨stable┣* release.
[690] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4825D87855B0C68F8E94CECF35914F81AEBB4DB69F57FF7BE6CDE77AE9B9838B
.has: links
.stow_link: http://live-systems.org/
| Currently known issues are listed under the section 'status' on our homepage at ┥http://live-systems.org/┝┤0├.
[691] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F2B1D1861D83B44B37EC2F57F38CE8B8626C783522CBB1E28BDEA9979F1389BC
.has: links
| It is out of the scope of this manual to train you to correctly identify and fix problems in packages of the development distributions, however, there are two things you can always try: If a build fails when the target distribution is ⑆*┨testing┣*, try ⑆*┨unstable┣*. If ⑆*┨unstable┣* does not work either, revert to ⑆*┨testing┣* and pin the newer version of the failing package from ⑆*┨unstable┣* (see ┥APT pinning┝┤#apt-pinning├ for details).
[692] heading :2
.part: body
.last_descendant: 693
.ancestors: 1 0 0 0 0 692 0 0
.ancestors_collapsed: 1 0 0 692 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: DB71F13A8B7F7FFE6806C37F1C7726E5EFBACA78F089F8D1CF4572F46A5AEE8E
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Rebuild from scratch||
| Rebuild from scratch
[693] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 69C23DFDF4C24A7FD3F40E21BE5065DA1118BFAE4A9EB543F12AF2A7B08EE901
| To ensure that a particular bug is not caused by an uncleanly built system, please always rebuild the whole live system from scratch to see if the bug is reproducible.
[694] heading :2
.part: body
.last_descendant: 695
.ancestors: 1 0 0 0 0 694 0 0
.ancestors_collapsed: 1 0 0 694 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: CAE07D288A7BE7A1D72A066E3986B15D402475B9F6FD251DD0E077ADC8FA700A
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Use up-to-date packages||
| Use up-to-date packages
[695] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1E7A99B2B9D969983D361A73B68F942058057C24FDE9BF25A0FB6708731E15A0
| Using outdated packages can cause significant problems when trying to reproduce (and ultimately fix) your problem. Make sure your build system is up-to-date and any packages included in your image are up-to-date as well.
[696] heading :2
.part: body
.last_descendant: 712
.ancestors: 1 0 0 0 0 696 0 0
.ancestors_collapsed: 1 0 0 696 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: A9D6B4600647CF2E0D22C5C444A414E3757F8D43A0853A0CA074C4CEBFEA434D
.segment: bugs
.heading_lev_anchor: collect-information
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Collect information||
| Collect information
[697] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 52F6529B2318492303C6E07D8AD129529A888D685D989A9D8A126F145A9B4EA2
| Please provide enough information with your report. Include, at least, the exact version of live-build where the bug is encountered and the steps to reproduce it. Please use your common sense and provide any other relevant information if you think that it might help in solving the problem.
[698] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 94B5915EA15CE743DD840EC76B9EC801D47F1AD9053061F45212337A71D98103
| To make the most out of your bug report, we require at least the following information:
[699] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 523176A66B820A2159C9BA90F6743610B0B4459832A5D0C412BC0AAE6CEFBF5C
.bullet: true
| Architecture of the host system
[700] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FFDDC65AC7867C6BA53400AC0EB7576D2C8D27B840EF35D554A3B471C96E2326
.bullet: true
| Distribution of the host system
[701] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D2F5BABAA26DC8195DECBDD6715C88244325B23E5E0E9EBCF32C17E3D5861873
.bullet: true
| Version of live-build on the host system
[702] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 411642AE6A96A003009728B7C29502B699E96F2A8DDB7D3B5A2EFA38BB9B2A92
.bullet: true
| Version of ⑆/┨debootstrap┣/ on the host system
[703] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0CFD639A95AD268F3574CFD7E9BCA5416A67C86A2037039C6A38D8ADA38124AA
.bullet: true
| Architecture of the live system
[704] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 446F892ADFCDB074DD0F5B7ADA45CF5634A1B508A4425D2DD0812CCD506757D5
.bullet: true
| Distribution of the live system
[705] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 287DCCEF2F492A80F4B42C1553D19572E5707A256AB40F2998D616A717BDF46E
.bullet: true
| Version of live-boot on the live system
[706] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D091FDB70DA5D13E950C2135C85AA58A0C509A06F67E8D4123607798C66064B5
.bullet: true
| Version of live-config on the live system
[707] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9D35077F9F0C39C9B32AA1B2D836AC49E8D99822C46C40165987CB4A5AA8609C
.bullet: true
| Version of live-tools on the live system
[708] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E9B3D229907371C3CBDD15AA109DA1A17451DCE85A23E1B0E5AC1C42C4670577
.has: links
| You can generate a log of the build process by using the ⑆■┨tee┣■ command. We recommend doing this automatically with an ⑆■┨auto/build┣■ script (see ┥Managing a configuration┝┤#managing-a-configuration├ for details).
[709] code
.part: body
.is_of_type: block
.sha256: F56DADBE38650805A8F6ACD6FBE1F7D3C4A8071734212646D60F09F50EEE75ED
| ░#░lb░build░2>&1░|░tee░build.log
[710] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 17E9F3A9847DE9B4751BC5A3F03A9D2EFA2190DF85F36F8A360A49E1833B4197
| At boot time, live-boot and live-config store their logfiles in ⑆■┨/var/log/live/┣■. Check them for error messages.
[711] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 45D5CFBE1D5EABDF43D101B6A170ADDFCE7C611E6DE5C90B49B4B2808C1C9C9A
| Additionally, to rule out other errors, it is always a good idea to tar up your ⑆■┨config/┣■ directory and upload it somewhere (do ⑆*┨not┣* send it as an attachment to the mailing list), so that we can try to reproduce the errors you encountered. If this is difficult (e.g. due to size) you can use the output of ⑆■┨lb config --dump┣■ which produces a summary of your config tree (i.e. lists files in subdirectories of ⑆■┨config/┣■ but does not include them).
[712] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7A0B327920EDC4E4C417362CA876A8B74D0D38C273436D2EBE825A6B94B3FC06
| Remember to send in any logs that were produced with English locale settings, e.g. run your live-build commands with a leading ⑆■┨LC_ALL=C┣■ or ⑆■┨LC_ALL=en_US┣■.
[713] heading :2
.part: body
.last_descendant: 714
.ancestors: 1 0 0 0 0 713 0 0
.ancestors_collapsed: 1 0 0 713 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 404D8F86024656B64C7EA48FE91240557D6515EA4E0639A1AF0605619F8FB6E1
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Isolate the failing case if possible||
| Isolate the failing case if possible
[714] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DF050F66AFA6902CE05E141CFC33C4AA785885FC1782245B36C839A112952542
| If possible, isolate the failing case to the smallest possible change that breaks. It is not always easy to do this so if you cannot manage it for your report, do not worry. However, if you plan your development cycle well, using small enough change sets per iteration, you may be able to isolate the problem by constructing a simpler 'base' configuration that closely matches your actual configuration plus just the broken change set added to it. If you have a hard time sorting out which of your changes broke, it may be that you are including too much in each change set and should develop in smaller increments.
[715] heading :2
.part: body
.last_descendant: 728
.ancestors: 1 0 0 0 0 715 0 0
.ancestors_collapsed: 1 0 0 715 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 5194DF99F2241030F3D6AFCEFA15C8EF14DEA437AC7DF4B4611B4304DAA24D58
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Use the correct package to report the bug against||
| Use the correct package to report the bug against
[716] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3972A9A5C88F319243206A88A6F5D42E0FBF642E233040C29C3F6F5FD76C2CCE
| If you do not know what component is responsible for the bug or if the bug is a general bug concerning live systems, you can fill a bug against the debian-live pseudo-package.
[717] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6A45C90DD06CAF9B66B13FEFD99F3F514CAF11BFD3350230C0C9BA00B6684D51
| However, we would appreciate it if you try to narrow it down according to where the bug appears.
[718] heading :3
.part: body
.last_descendant: 720
.ancestors: 1 0 0 0 0 0 718 0
.ancestors_collapsed: 1 0 0 0 718 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: CEC1508C9917E0B25D933FEDC50335BCCF712FDFA3B7955E931AB6BFF4153D32
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Use the correct package to report the bug against|At build time while bootstrapping|
| At build time while bootstrapping
[719] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A94C7EC37A9AA9EF6C7BFAD994466BCA2C42679CC206267EADCA9B2C80A1BA2A
| live-build first bootstraps a basic Debian system with ⑆/┨debootstrap┣/. If a bug appears here, check if the error is related to a specific Debian package (most likely), or if it is related to the bootstrapping tool itself.
[720] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 153E2F50DCC99168C03FBE27B40AF0AE25337A085ABCC0502D4CB2ADE632353C
| In both cases, this is not a bug in the live system, but rather in Debian itself and probably we cannot fix it directly. Please report such a bug against the bootstrapping tool or the failing package.
[721] heading :3
.part: body
.last_descendant: 724
.ancestors: 1 0 0 0 0 0 721 0
.ancestors_collapsed: 1 0 0 0 721 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: C3AB4DA82E65DA4D4643A2F4951EDFDC6861FA6FAB01ABBB5A5A4FA1663DED2B
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Use the correct package to report the bug against|At build time while installing packages|
| At build time while installing packages
[722] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 74F73EB1DA04E3576FB8B974D93A861A31BA198C93030081AD21A02FB117285B
| live-build installs additional packages from the Debian archive and depending on the Debian distribution used and the daily archive state, it can fail. If a bug appears here, check if the error is also reproducible on a normal system.
[723] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FB6D12CD09C3B395D8F2FF7903FDBF121F018690E44625696C858BD6B62C227A
| If this is the case, this is not a bug in the live system, but rather in Debian - please report it against the failing package. Running ⑆/┨debootstrap┣/ separately from the Live system build or running ⑆■┨lb bootstrap --debug┣■ will give you more information.
[724] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D3E0F485BEF8B20A2654D1F00A856118DE4DC8C8DCDDDBEC45F6BE6FCD1BDADB
| Also, if you are using a local mirror and/or any sort of proxy and you are experiencing a problem, please always reproduce it first by bootstrapping from an official mirror.
[725] heading :3
.part: body
.last_descendant: 726
.ancestors: 1 0 0 0 0 0 725 0
.ancestors_collapsed: 1 0 0 0 725 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: A522A8C94BCE80F7D21BF8ECE09AA38744A8BC2620941D223FE439A2DC11BD76
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Use the correct package to report the bug against|At boot time|
| At boot time
[726] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AD5E182FBDC41B6EF0BFE591C6DE142F920C19BFF1E941787CA0C99C2661953B
.has: links
| If your image does not boot, please report it to the mailing list together with the information requested in ┥Collect information┝┤#collect-information├. Do not forget to mention, how/when the image failed exactly, whether using virtualization or real hardware. If you are using a virtualization technology of any kind, please always run it on real hardware before reporting a bug. Providing a screenshot of the failure is also very helpful.
[727] heading :3
.part: body
.last_descendant: 728
.ancestors: 1 0 0 0 0 0 727 0
.ancestors_collapsed: 1 0 0 0 727 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 9F0A82FA6B5FF9CB21BF397D06AEA72A331317DB6216150DCD17AB1F9AC26231
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Use the correct package to report the bug against|At run time|
| At run time
[728] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1FA8C523C3F158C167644A4013BF56E68BD92F3E188C76317DE07DC6264FA5B1
| If a package was successfully installed, but fails while actually running the Live system, this is probably a bug in the live system. However:
[729] heading :2
.part: body
.last_descendant: 732
.ancestors: 1 0 0 0 0 729 0 0
.ancestors_collapsed: 1 0 0 729 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 85629AEA5A80D773815BDBE02D6E089450577A855576D25341660CF87FD91345
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Do the research||
| Do the research
[730] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B784A47CDEAEC076520F6BDC3779C6DB9011ED9F96931B1CFA4B6472C3D9ABDC
| Before filing the bug, please search the web for the particular error message or symptom you are getting. As it is highly unlikely that you are the only person experiencing a particular problem. There is always a chance that it has been discussed elsewhere and a possible solution, patch, or workaround has been proposed.
[731] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FDA3D1C25E47432CFB5E2ACEC9F4461D24AA91BA30E58D72C4A75DEB7B54BE56
| You should pay particular attention to the live systems mailing list, as well as the homepage, as these are likely to contain the most up-to-date information. If such information exists, always include the references to it in your bug report.
[732] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EBE191C0D5CDD3F56DFE8E76DED3181C988195B0142D0F8A9B92F1E57A3DCBE4
| In addition, you should check the current bug lists for live-build, live-boot, live-config and live-tools to see whether something similar has already been reported.
[733] heading :2
.part: body
.last_descendant: 736
.ancestors: 1 0 0 0 0 733 0 0
.ancestors_collapsed: 1 0 0 733 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: F4121CD1F1702D5797C4107BA2344D32146F9F885834CEA71BADDECFC6C19C9A
.segment: bugs
.segment_epub: bugs
.heading_ancestors_text: Live Systems Manual|Reporting bugs|||Reporting bugs|Where to report bugs||
| Where to report bugs
[734] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B3A9AA5723894842A009ACEC1F0911FBD238717FA075739A0CA123AE09DB6F2C
.has: links
.stow_link: https://bugs.debian.org/
| The ${project} keeps track of all bugs in the Bug Tracking System (BTS). For information on how to use the system, please see ┥https://bugs.debian.org/┝┤0├. You can also submit the bugs by using the ⑆■┨reportbug┣■ command from the package with the same name.
[735] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1898919D5964D5EA3B62E43C78DE08B1237F247A3E3D775EBDC4E4D8995FC089
| In general, you should report build time errors against the live-build package, boot time errors against live-boot, and run time errors against live-config. If you are unsure of which package is appropriate or need more help before submitting a bug report, please report it against the debian-live pseudo-package. We will then take care about it and reassign it where appropriate.
[736] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2088EF091E03D11010CB444455D62314AAC885CC07C7E747945A61746519AC8A
| Please note that bugs found in distributions derived from Debian (such as Ubuntu and others) should ⑆*┨not┣* be reported to the Debian BTS unless they can be also reproduced on a Debian system using official Debian packages.
[737] heading :B
.part: body
.parent: 1
.last_descendant: 782
.ancestors: 1 737 0 0 0 0 0 0
.ancestors_collapsed: 1 737 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 2975CEDCEFBB66CF90C73EECDF3E43E13A6EDCAB432FB70E9F2D7E82A5D4982D
.segment: _part_18
.segment_epub: _part_18
.heading_ancestors_text: Live Systems Manual|Coding Style||||||
| Coding Style
[738] heading :1
.part: body
.parent: 1
.last_descendant: 782
.ancestors: 1 0 0 0 738 0 0 0
.ancestors_collapsed: 1 0 738 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: 2975CEDCEFBB66CF90C73EECDF3E43E13A6EDCAB432FB70E9F2D7E82A5D4982D
.segment: coding-style
.segment_prev: bugs
.segment_next: procedures
.heading_lev_anchor: coding-style
.segment_epub: coding-style
.heading_ancestors_text: Live Systems Manual|Coding Style|||Coding Style|||
.lev4_subtoc: 5~ ┥Compatibility┝┤#740├
.lev4_subtoc: 5~ ┥Indenting┝┤#745├
.lev4_subtoc: 5~ ┥Wrapping┝┤#747├
.lev4_subtoc: 5~ ┥Variables┝┤#759├
.lev4_subtoc: 5~ ┥Miscellaneous┝┤#778├
| Coding Style
[739] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EA9896516DE94A240C98DF8DE5696D6C5352FA77B4E708F866769ECF4B8B1552
| This chapter documents the coding style used in live systems.
[740] heading :2
.part: body
.last_descendant: 744
.ancestors: 1 0 0 0 0 740 0 0
.ancestors_collapsed: 1 0 0 740 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: B37DDF1F6E0FAC69414C5ED7F6E65F8F0A7EA1922AFD602483392D695EE92065
.segment: coding-style
.segment_epub: coding-style
.heading_ancestors_text: Live Systems Manual|Coding Style|||Coding Style|Compatibility||
| Compatibility
[741] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1CBA4662A574FDCA6F8A7118AFB03A7ED4DE2D7BB05F678EB07AAC2FF493E179
.bullet: true
| Don't use syntax or semantics that are unique to the Bash shell. For example, the use of array constructs.
[742] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9D50F01E012C4D97C1737F7559BFE132263D6BABB0E7438630D699E70A5D6CA3
.bullet: true
| Only use the POSIX subset - for example, use $(foo) over `foo`.
[743] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 05D4D4989AA8888013AC397C84C320E5F0E5E7517F58BFC09562CF37C6E078ED
.bullet: true
| You can check your scripts with 'sh -n' and 'checkbashisms'.
[744] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 45664091F4A8D8C6444FACBB0A4E98D10A96D533B9C623F92987239BBAD75F35
.bullet: true
| Make sure all shell code runs with 'set -e'.
[745] heading :2
.part: body
.last_descendant: 746
.ancestors: 1 0 0 0 0 745 0 0
.ancestors_collapsed: 1 0 0 745 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: B3CFE6BA411DD890109036FC6A47801DACEB263EE034DD37099E34EA82687A2A
.segment: coding-style
.segment_epub: coding-style
.heading_ancestors_text: Live Systems Manual|Coding Style|||Coding Style|Indenting||
| Indenting
[746] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 10F27C90A27583E16DACA7C9B9FBF8813FAEA475DA776CE508FA9F6517580CB3
.bullet: true
| Always use tabs over spaces.
[747] heading :2
.part: body
.last_descendant: 758
.ancestors: 1 0 0 0 0 747 0 0
.ancestors_collapsed: 1 0 0 747 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: BB1999072B6ED40A8BF4D73FBFC4F260B4DB5F861C511AA3CE1A4CC31686C2D1
.segment: coding-style
.segment_epub: coding-style
.heading_ancestors_text: Live Systems Manual|Coding Style|||Coding Style|Wrapping||
| Wrapping
[748] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B800E69ED60084E703E74FD22315626D72336849541328370183DFD3E74CA579
.bullet: true
| Generally, lines are 80 chars at maximum.
[749] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F1FB3F3848F2BA7A1D62198F6D2525775E3E88567868072B51DE673CEC5ED0CB
.bullet: true
| Use the “Linux style” of line breaks:
[750] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5EF07ED3CAF4DEDC4C58C70A2B2B2D259A387F919E5B254A3CB769B4FBF9FD0B
| Bad:
[751] code
.part: body
.is_of_type: block
.sha256: 9A8D99E9263192BC5EE2DCB7C68294CBF80E3101946AB934C2FD88E5CD43E97E
| ░if░foo;░then
| ░░░░░░░░░bar
| ░fi
[752] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DEFDE7D0B095F055E6184B8526FBF8636A21FF011B298C9C09727314A6CD8FA8
| Good:
[753] code
.part: body
.is_of_type: block
.sha256: 56C863E60E0294706CE10C90D768B4A1375EC0CD87DF435AC1A157633E6A673E
| ░if░foo
| ░then
| ░░░░░░░░░bar
| ░fi
[754] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 05D9D5197F771E25C3AEC2BC2334553BA81DC2D05622DB981F6C788AA70A251C
.bullet: true
| The same holds for functions:
[755] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5EF07ED3CAF4DEDC4C58C70A2B2B2D259A387F919E5B254A3CB769B4FBF9FD0B
| Bad:
[756] code
.part: body
.is_of_type: block
.sha256: 386E2552F93094C13E8EF63B903D16B6A5AE74E61FE8B611A591488E742B4A45
| ░Foo░()░{
| ░░░░░░░░░bar
| ░}
[757] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DEFDE7D0B095F055E6184B8526FBF8636A21FF011B298C9C09727314A6CD8FA8
| Good:
[758] code
.part: body
.is_of_type: block
.sha256: EF6591B1E5E89F7BA8B4794AC690B19C40FE7AC3EDE71D72A1714E8B5455947C
| ░Foo░()
| ░{
| ░░░░░░░░░bar
| ░}
[759] heading :2
.part: body
.last_descendant: 777
.ancestors: 1 0 0 0 0 759 0 0
.ancestors_collapsed: 1 0 0 759 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 02DB55BAC5E3F7CEB98FDEA15D7DFCFD40EFCC41B777D10C2A8483B571F332BD
.segment: coding-style
.segment_epub: coding-style
.heading_ancestors_text: Live Systems Manual|Coding Style|||Coding Style|Variables||
| Variables
[760] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 692739D4656D53223AEA963BCC7CC1F250731142ECD6E1DF1E564E44D1387C30
.bullet: true
| Variables are always in capital letters.
[761] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 15F0471467E19721C5D41E66F06481B26DA4CE4D2607AD2B4E6C3AD8CF3D4132
.bullet: true
| Variables used in live-build always start with ⑆■┨LB_┣■ prefix.
[762] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 778A780747909E1C83E95A35AFBC7241E5AD1F4354006576237FD98D3FF66B4F
.bullet: true
| Internal temporary variables in live-build should start with the ⑆■┨\_LB_┣■ prefix.
[763] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 19804CCA11D49B5661CD09806F51A57518692073D267A974FB82569EB4F8F3C0
.bullet: true
| Local variables start with live-build ⑆■┨\_\_LB_┣■ prefix.
[764] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5E37F47DF4E4A06AD2367EB92434FFF57D208A45BAB580E029B57C9C886CA581
.bullet: true
| Variables in connection to a boot parameter in live-config start with ⑆■┨LIVE_┣■.
[765] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ABE4055648AB319B9C82E537FAF71D8C7AB3AA0AC99C27B4ED3013811D148B33
.bullet: true
| All other variables in live-config start with ⑆■┨_┣■ prefix.
[766] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 05D64485DE4475F1E2B6CE476CA0F4C114D3033AEFF668A294B3998FB7762EAD
.bullet: true
| Use braces around variables; e.g. write ⑆■┨${FOO}┣■ instead of ⑆■┨$FOO┣■.
[767] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B003D06196942F855BAD9948886558F2A175D160DE920FFA0A34BCBF4AC99669
.bullet: true
| Always protect variables with quotes to respect potential whitespaces: write ⑆■┨“${FOO}”┣■ not ⑆■┨${FOO}┣■.
[768] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 447B2F027F441B99C72EA93E176067ECC5D1A5AC5F8C41A08BBCDE2FEAECC42E
.bullet: true
| For consistency reasons, always use quotes when assigning values to variables:
[769] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5EF07ED3CAF4DEDC4C58C70A2B2B2D259A387F919E5B254A3CB769B4FBF9FD0B
| Bad:
[770] code
.part: body
.is_of_type: block
.sha256: 8EBF3EB37BF24429191ED8E8C5C0CD602F4479505BB6F57236DA6E0AD0917E08
| ░FOO=bar
[771] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DEFDE7D0B095F055E6184B8526FBF8636A21FF011B298C9C09727314A6CD8FA8
| Good:
[772] code
.part: body
.is_of_type: block
.sha256: 2DAEA7AF82C58764AD20E39D22A0E42EA6659D8F51565E962761AA0ED09D00AE
| ░FOO="bar"
[773] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9FA0B866238E9BBD5EF0124E0DBCF5B6765BA78ACB4BC0F5A34750383CCC95BE
.bullet: true
| If multiple variables are used, quote the full expression:
[774] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5EF07ED3CAF4DEDC4C58C70A2B2B2D259A387F919E5B254A3CB769B4FBF9FD0B
| Bad:
[775] code
.part: body
.is_of_type: block
.sha256: 5CA9A172D23DBA5AA57F1CF871071EC9FC6463F50ECDC71E70CD0ECB946DCE71
| ░if░[░-f░"${FOO}"/foo/"${BAR}"/bar░]
| ░then
| ░░░░░░░░░foobar
| ░fi
[776] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DEFDE7D0B095F055E6184B8526FBF8636A21FF011B298C9C09727314A6CD8FA8
| Good:
[777] code
.part: body
.is_of_type: block
.sha256: 009306D49A0C44916B5C64AFEB6729714FF6514D47E7C774EB302D67B57E0E4C
| ░if░[░-f░"${FOO}/foo/${BAR}/bar"░]
| ░then
| ░░░░░░░░░foobar
| ░fi
[778] heading :2
.part: body
.last_descendant: 782
.ancestors: 1 0 0 0 0 778 0 0
.ancestors_collapsed: 1 0 0 778 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 5CB0B42660589925C804543D433BA0764DAB859487E5A9ED855481DCBFEC1F06
.segment: coding-style
.segment_epub: coding-style
.heading_ancestors_text: Live Systems Manual|Coding Style|||Coding Style|Miscellaneous||
| Miscellaneous
[779] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 53F218F9DCDCAB10785DC98CCF752C673FFD93950F0EC7F65BCA35CE96EB413D
.bullet: true
| Use “⑆■┨|┣■” (without the surround quotes) as a separator in calls to sed, e.g. “⑆■┨sed -e 's|foo|bar|'┣■” (without "").
[780] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0DE003B3027DB42D99DE370E8DFF36EA15DDF16A7891A53990375E338604A213
.bullet: true
| Don't use the ⑆■┨test┣■ command for comparisons or tests, use “⑆■┨[┣■” “⑆■┨]┣■” (without ““); e.g. ”⑆■┨if [ -x /bin/foo ]; ...┣■“ and not ”⑆■┨if test -x /bin/foo; ...┣■”.
[781] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9E80C2425023E508CE0850C2D2726834DCEAEAE729A1878D0706E5C0970AE8BB
.bullet: true
| Use ⑆■┨case┣■ wherever possible over ⑆■┨test┣■, as it's easier to read and faster in execution.
[782] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8B56459BE23460E5D945DDE1F44D922215BF9B9269258E5E190B3D1BEDBD5DD7
.bullet: true
| Use capitalized names for functions to limit messing with the users environment.
[783] heading :B
.part: body
.parent: 1
.last_descendant: 802
.ancestors: 1 783 0 0 0 0 0 0
.ancestors_collapsed: 1 783 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: A3ECB35D5EC1E91A4B6F13C9DCEDBA10C2F041D1993735D1FA945ACD6D2FE543
.segment: _part_19
.segment_epub: _part_19
.heading_ancestors_text: Live Systems Manual|Procedures||||||
| Procedures
[784] heading :1
.part: body
.parent: 1
.last_descendant: 802
.ancestors: 1 0 0 0 784 0 0 0
.ancestors_collapsed: 1 0 784 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: A3ECB35D5EC1E91A4B6F13C9DCEDBA10C2F041D1993735D1FA945ACD6D2FE543
.segment: procedures
.segment_prev: coding-style
.segment_next: git-repositories
.heading_lev_anchor: procedures
.segment_epub: procedures
.heading_ancestors_text: Live Systems Manual|Procedures|||Procedures|||
.lev4_subtoc: 5~ ┥Major Releases┝┤#786├
.lev4_subtoc: 5~ ┥Point Releases┝┤#792├
.lev4_subtoc: 6~ ┥Last Point Release of a Debian Release┝┤#796├
.lev4_subtoc: 6~ ┥Point release announcement template┝┤#798├
| Procedures
[785] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EC0E9EE1E76F4F07D5AC464263842D223F33011B95D87424E889BB0659AC54E6
| This chapter documents the procedures within the ${project} for various tasks that need cooperation with other teams in Debian.
[786] heading :2
.part: body
.last_descendant: 791
.ancestors: 1 0 0 0 0 786 0 0
.ancestors_collapsed: 1 0 0 786 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 75E777CF57853E1DB1890506C1AB9EB691A8407CA1DE4B2A041DA58AE60FC6F4
.segment: procedures
.segment_epub: procedures
.heading_ancestors_text: Live Systems Manual|Procedures|||Procedures|Major Releases||
| Major Releases
[787] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5F53D376FCEEA13F17DDA011962B9534F1253F679D30022278B2DDE21B3D01E2
| Releasing a new stable major version of Debian includes a lot of different teams working together to make it happen. At some point, the Live team comes in and builds live system images. The requirements to do this are:
[788] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 684AFDD94EA6B3AF10F7950E17BA5F2ED05F2A952FC01162EF212FA5C7425C65
.bullet: true
| A mirror containing the released versions for the debian and debian-security archives which the debian-live buildd can access.
[789] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6EF4C3AFEA3C536B0BCA1E5F5BBAE3FB33B58684D573CEE45D88D108BF9A4119
.bullet: true
| The names of the image need to be known (e.g. debian-live-VERSION-ARCH-FLAVOUR.iso).
[790] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 10589485AB45C76F31585064A64A7F7848C88E07EAE8841C8ADFC2D2825FE867
.bullet: true
| The data from debian-cd needs to be synced (udeb exclude lists).
[791] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 68E82A61BA458007C4851115F32A1516AB4E6BEACFAE92C61A342E1DC7FC424B
.bullet: true
| Images are built and mirrored on cdimage.debian.org.
[792] heading :2
.part: body
.last_descendant: 802
.ancestors: 1 0 0 0 0 792 0 0
.ancestors_collapsed: 1 0 0 792 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 4A4A5523AD5F9A34EE50B2343DD2D0554ED3E93553A37655E0187F71A0BDB898
.segment: procedures
.segment_epub: procedures
.heading_ancestors_text: Live Systems Manual|Procedures|||Procedures|Point Releases||
| Point Releases
[793] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 40B9FD6E4E4700A95007A7DB0A1BB5DD46B662F83F7339E7878685A2A9EE214E
.bullet: true
| Again, we need updated mirrors of debian and debian-security.
[794] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 68E82A61BA458007C4851115F32A1516AB4E6BEACFAE92C61A342E1DC7FC424B
.bullet: true
| Images are built and mirrored on cdimage.debian.org.
[795] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AA6BC2A94781E6AE0613A88961E88AEB5F943A0B8C966C59DCE3C5104B724E48
.bullet: true
| Send announcement mail.
[796] heading :3
.part: body
.last_descendant: 797
.ancestors: 1 0 0 0 0 0 796 0
.ancestors_collapsed: 1 0 0 0 796 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 0B14054FCA0C41E7289C63F592B982836308BC88CFCC30ADE275B4D1BC57C0DD
.segment: procedures
.segment_epub: procedures
.heading_ancestors_text: Live Systems Manual|Procedures|||Procedures|Point Releases|Last Point Release of a Debian Release|
| Last Point Release of a Debian Release
[797] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BCD3823773787E03FECB826B34A98DC383FB6DBF785DC23A2984C142F9293C48
| Remember to adjust both chroot and binary mirrors when building the last set of images for a Debian release after it has been moved away from ftp.debian.org to archive.debian.org. That way, old prebuilt live images are still useful without user modifications.
[798] heading :3
.part: body
.last_descendant: 802
.ancestors: 1 0 0 0 0 0 798 0
.ancestors_collapsed: 1 0 0 0 798 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: E01559457A9722F53D9F24C3ECF25050C6B6ACB633BAABC3C831B9119CB5D732
.segment: procedures
.segment_epub: procedures
.heading_ancestors_text: Live Systems Manual|Procedures|||Procedures|Point Releases|Point release announcement template|
| Point release announcement template
[799] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0FDCD9859AB12287F09C1B4A922333345067CA4E988E0FAC3CF62F519D600CD0
| An announcement mail for point releases can be generated using the template below and the following command:
[800] code
.part: body
.is_of_type: block
.sha256: 6823E6D5594D8F95604B381F2391634AC0D099DA600C1FCD1D5DD3A675A44592
| ░$░sed░\
| ░░░░░-e░'s|@MAJOR@|9.0|g'░\
| ░░░░░-e░'s|@MINOR@|9.0.1|g'░\
| ░░░░░-e░'s|@CODENAME@|stretch|g'░\
| ░░░░░-e░'s|@ANNOUNCE@|2017/msgXXXXX.html|g'
[801] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 33E0367FD6EE1EEB8E9BB9099827F22150AAE5BF90D26A83F71F23D088CC6B5D
| Please check the mail carefully before sending and pass it to others for proof-reading.
[802] code
.part: body
.is_of_type: block
.sha256: 3EEA3EF54D318AE505A93402C9116381C52F05D1A927F06FD6E5E3731B64D7BE
| ░Updated░Live░@MAJOR@:░@MINOR@░released
|
| ░The░Live░Systems░Project░is░pleased░to░announce░the░@MINOR@░update░of░the
| ░Live░images░for░the░stable░distribution░Debian░@MAJOR@░(codename░"@CODENAME@").
|
| ░The░images░are░available░for░download░at:
|
| ░░░<http://live-systems.org/cdimage/release/current/>
|
| ░and░later░at:
|
| ░░░<http://cdimage.debian.org/cdimage/release/current-live/>
|
| ░This░update░includes░the░changes░of░the░Debian░@MINOR@░release:
|
| ░░░<https://lists.debian.org/debian-announce/@ANNOUNCE@>
|
| ░Additionally░it░includes░the░following░Live-specific░changes:
|
| ░░*░[INSERT░LIVE-SPECIFIC░CHANGE░HERE]
| ░░*░[INSERT░LIVE-SPECIFIC░CHANGE░HERE]
| ░░*░[LARGER░ISSUES░MAY░DESERVE░THEIR░OWN░SECTION]
|
| ░About░Live░Systems
| ░------------------
| ░The░Live░Systems░Project░produces░the░tools░used░to░build░official
| ░live░systems░and░the░official░live░images░themselves░for░Debian.
|
| ░About░Debian
| ░------------
| ░The░Debian░Project░is░an░association░of░Free░Software░developers░who
| ░volunteer░their░time░and░effort░in░order░to░produce░the░completely░free
| ░operating░system░Debian.
|
| ░Contact░Information
| ░-------------------
| ░For░further░information,░please░visit░the░Live░Systems░web░pages░at
| ░<http://live-systems.org/>,░or░contact░the░Live░Systems░team░at
| ░<debian-live@lists.debian.org>.
[803] heading :B
.part: body
.parent: 1
.last_descendant: 821
.ancestors: 1 803 0 0 0 0 0 0
.ancestors_collapsed: 1 803 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 2 0 0
.dom_status_collapsed: 4 3 2 2 2 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: CA4A628311F7879ABA2FD09D9FCDAF41F91145ADC5D029B3FCB9D8B1E4025131
.segment: _part_20
.segment_epub: _part_20
.heading_ancestors_text: Live Systems Manual|Git repositories||||||
| Git repositories
[804] heading :1
.part: body
.parent: 1
.last_descendant: 821
.ancestors: 1 0 0 0 804 0 0 0
.ancestors_collapsed: 1 0 804 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: CA4A628311F7879ABA2FD09D9FCDAF41F91145ADC5D029B3FCB9D8B1E4025131
.segment: git-repositories
.segment_prev: procedures
.segment_next: examples
.heading_lev_anchor: git-repositories
.segment_epub: git-repositories
.heading_ancestors_text: Live Systems Manual|Git repositories|||Git repositories|||
.lev4_subtoc: 5~ ┥Handling multiple repositories┝┤#818├
| Git repositories
[805] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5B4F550C1B5FCE9AF33308DF6D6B4FFC1B841C683FCCA61AEB6FD73C6E8763B2
.has: links
.stow_link: http://live-systems.org/gitweb/
| The list of all the available repositories of the ${project} can be found at ┥http://live-systems.org/gitweb/┝┤0├. The project's git URLs have the form: ⑆■┨protocol://live-systems.org/git/repository┣■. Thus, in order to clone live-manual read-only, launch:
[806] code
.part: body
.is_of_type: block
.sha256: B050469D28C471C66315574DAD354414D5AEBB75BC95A47D126CB8D35BE83E53
| ░$░git░clone░git://live-systems.org/git/live-manual.git
[807] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E34C246FB759D8B8AA2AF9999B23AA3519832A35675076E016771881EF31294D
| Or,
[808] code
.part: body
.is_of_type: block
.sha256: C4C07F74EB0E3F7E65538EE1A29B20F195B9512A09AE5B093B0C640E2AC44AA7
| ░$░git░clone░https://live-systems.org/git/live-manual.git
[809] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E34C246FB759D8B8AA2AF9999B23AA3519832A35675076E016771881EF31294D
| Or,
[810] code
.part: body
.is_of_type: block
.sha256: F647DA98600DA14C0121B779F6AE93A64969BF78531EA81E1216E77FC319F681
| ░$░git░clone░http://live-systems.org/git/live-manual.git
[811] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 277295830C351F510E38E42AAEEC19B22B3C1AA7CA518C19F87BC7F354C54EDB
| The cloning addresses with write permission have the form: ⑆■┨git@live-systems.org:/repository┣■.
[812] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4EB5A419CD482FA721DB07DCEFECF7D300F55C00A184C43558457110CBC915A1
| So, again, to clone live-manual over ssh you must type:
[813] code
.part: body
.is_of_type: block
.sha256: 8D291D844D610D33A8B357DA7A025A43CD4918DCBC68B09B52E3AE5352EB4C66
| ░$░git░clone░git@live-systems.org:live-manual.git
[814] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FCB7C4ECA03B465932D1B1E6D87741355D6C7585CE8D3C30E4260F4B03292869
| The git tree is made up of several different branches. The ⑆*┨debian┣* and the ⑆*┨debian-next┣* branches are particularly noteworthy because they contain the actual work that will eventually be included in each new release.
[815] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CB8EC7CFF81476BA0FB4F46BA9F9AD2A8A6CA5EAD4ED93B96E41C6BF9AE6062A
| After cloning any of the existing repositories, you will be on the ⑆*┨debian┣* branch. This is appropriate to take a look at the state of the project's latest release but before starting work it is crucial to switch to the ⑆*┨debian-next┣* branch. To do so:
[816] code
.part: body
.is_of_type: block
.sha256: BC7FC32E65E4F9A4B2C7F39B2218246EA966F070F8CE4014A880BC3633E7E5E3
| ░$░git░checkout░debian-next
[817] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CE885C1293AAFBA4D0BBD115A5EE387EAE86284F83366AF64055BD584823061B
| The ⑆*┨debian-next┣* branch, which is not always fast-forward, is where all the changes are committed first before being merged into the ⑆*┨debian┣* branch. To make an analogy, it is like a testing ground. If you are working on this branch and need to pull, you will have to do a ⑆■┨git pull --rebase┣■ so that your local modifications are staged while pulling from the server and then your changes will be put on top of it all.
[818] heading :2
.part: body
.last_descendant: 821
.ancestors: 1 0 0 0 0 818 0 0
.ancestors_collapsed: 1 0 0 818 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 68705544C210360DAED66561852FE39751677C50DE2D75E73B153AE169BF351C
.segment: git-repositories
.segment_epub: git-repositories
.heading_ancestors_text: Live Systems Manual|Git repositories|||Git repositories|Handling multiple repositories||
| Handling multiple repositories
[819] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 77DDDFE48F88D446F0062565073D80A160BC2BA20165837CCC820B328C0E2070
| If you intend to clone several of the live systems repositories and want to switch to the ⑆*┨debian-next┣* branch right away to check the latest code, write a patch or contribute with a translation you ought to know that the git server provides a ⑆■┨mrconfig┣■ file to ease the handling of multiple repositories. In order to use it you need to install the ⑆/┨mr┣/ package and after that, launch:
[820] code
.part: body
.is_of_type: block
.sha256: F2D87B10E44EA74E37E748CCFD616338A5B20CD15427FB4DF3F44EC64087F499
| ░$░░mr░bootstrap░http://live-systems.org/other/mr/mrconfig
[821] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 25E16C1EDD3DB927997382FEA738AE45EA3B9B95CEDA930248F2ECE0CD31844D
.has: links
| This command will automatically clone and checkout to the ⑆*┨debian-next┣* branch the development repositories of the Debian packages produced by the project. These include, among others, the live-images repository, which contains the configurations used for the prebuilt images that the project publishes for general use. For more information on how to use this repository, see ┥Clone a configuration published via Git┝┤#clone-configuration-via-git├
[822] heading :B
.part: body
.parent: 1
.last_descendant: 822
.ancestors: 1 822 0 0 0 0 0 0
.ancestors_collapsed: 1 822 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: E68EE04DFF59551B7D1AE07A2F8A00DC61D841628948DA3D2781630706A05E92
.segment: _part_21
.segment_epub: _part_21
.heading_ancestors_text: Live Systems Manual|Examples||||||
| Examples
[823] heading :B
.part: body
.parent: 1
.last_descendant: 912
.ancestors: 1 823 0 0 0 0 0 0
.ancestors_collapsed: 1 823 0 0 0 0 0 0
.dom_status: 4 3 0 0 0 0 0 0 0
.dom_status_collapsed: 4 3 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: E68EE04DFF59551B7D1AE07A2F8A00DC61D841628948DA3D2781630706A05E92
.segment: _part_22
.segment_epub: _part_22
.heading_ancestors_text: Live Systems Manual|Examples||||||
| Examples
[824] heading :1
.part: body
.parent: 1
.last_descendant: 912
.ancestors: 1 0 0 0 824 0 0 0
.ancestors_collapsed: 1 0 824 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: E68EE04DFF59551B7D1AE07A2F8A00DC61D841628948DA3D2781630706A05E92
.segment: examples
.segment_prev: git-repositories
.segment_next: style-guide
.heading_lev_anchor: examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|||
.lev4_subtoc: 5~ ┥Using the examples┝┤#826├
.lev4_subtoc: 5~ ┥Tutorial 1: A default image┝┤#830├
.lev4_subtoc: 5~ ┥Tutorial 2: A web browser utility┝┤#839├
.lev4_subtoc: 5~ ┥Tutorial 3: A personalized image┝┤#847├
.lev4_subtoc: 6~ ┥First revision┝┤#850├
.lev4_subtoc: 6~ ┥Second revision┝┤#864├
.lev4_subtoc: 5~ ┥A VNC Kiosk Client┝┤#876├
.lev4_subtoc: 5~ ┥A base image for a 128MB USB key┝┤#890├
.lev4_subtoc: 5~ ┥A localized GNOME desktop and installer┝┤#901├
| Examples
[825] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2BDACD75E0A07B0B438C9E9EC2D9036C98449B7DF5DD8A1381C7C3C2A5F0A793
| This chapter covers example builds for specific use cases with live systems. If you are new to building your own live system images, we recommend you first look at the three tutorials in sequence, as each one teaches new techniques that will help you use and understand the remaining examples.
[826] heading :2
.part: body
.last_descendant: 829
.ancestors: 1 0 0 0 0 826 0 0
.ancestors_collapsed: 1 0 0 826 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: B63F5B7E65D68FAA273EF92986454A6DAC47A57883C974077ADE810EE8C7092F
.segment: examples
.heading_lev_anchor: using-the-examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|Using the examples||
| Using the examples
[827] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F2AC2E6F4F5870D0C06D5C5656A87DB31CEF67492EE1868E7A39A8502FC61326
.has: links
| To use these examples you need a system to build them on that meets the requirements listed in ┥Requirements┝┤#requirements├ and has live-build installed as described in ┥Installing live-build┝┤#installing-live-build├.
[828] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 65F699DB33B6C7F79F485DCE6AE4E1A4DBB2256BA08D4343FCFA74EBE0CF945F
.has: links
| Note that, for the sake of brevity, in these examples we do not specify a local mirror to use for the build. You can speed up downloads considerably if you use a local mirror. You may specify the options when you use ⑆■┨lb config┣■, as described in ┥Distribution mirrors used at build time┝┤#distribution-mirrors-build-time├, or for more convenience, set the default for your build system in ⑆■┨/etc/live/build.conf┣■. Simply create this file and in it, set the corresponding ⑆■┨LB_MIRROR_*┣■ variables to your preferred mirror. All other mirrors used in the build will be defaulted from these values. For example:
[829] code
.part: body
.is_of_type: block
.sha256: C544C3489C562A527F31E3D46B7798DFF1324763822E736FAB20D1ABB9B1C6CE
| ░LB_MIRROR_BOOTSTRAP="http://mirror/debian/"
| ░LB_MIRROR_CHROOT_SECURITY="http://mirror/debian-security/"
| ░LB_MIRROR_CHROOT_BACKPORTS="http://mirror/debian-backports/"
[830] heading :2
.part: body
.last_descendant: 838
.ancestors: 1 0 0 0 0 830 0 0
.ancestors_collapsed: 1 0 0 830 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: AD3F922574F8BEB6A37EC116AEE11CE952D2707EEACEF81727695ED6C4093980
.segment: examples
.heading_lev_anchor: tutorial-1
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|Tutorial 1: A default image||
| Tutorial 1: A default image
[831] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 139F738D31C3D0CA3EFBC4B383D0299F742ADCEE90F9F234A17B24BC890C7C3A
| ⑆*┨Use case:┣* Create a simple first image, learning the basics of live-build.
[832] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BC3EC77259896C24487BCAD12C62810451F41711F461D41DE27D412D0958F2FC
| In this tutorial, we will build a default ISO hybrid live system image containing only base packages (no Xorg) and some live system support packages, as a first exercise in using live-build.
[833] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5B369D5D6625DD1E7DFEFC749E1B6401FE1233F447E6B279D7F29E6C79E385E7
| You can't get much simpler than this:
[834] code
.part: body
.is_of_type: block
.sha256: F20B382A4D7C1277DC82F5BC6AB23E77B20DC824AD3BCE88C1CA9B5BE0126A31
| ░$░mkdir░tutorial1░;░cd░tutorial1░;░lb░config
[835] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 031F0E1986AF93EB2C7A21C702F49C2F6EBD4A1D1C7B112A50A1CFAE84025C6B
| Examine the contents of the ⑆■┨config/┣■ directory if you wish. You will see stored here a skeletal configuration, ready to customize or, in this case, use immediately to build a default image.
[836] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7B08E735F5A590831AC3137352511D9F1DD5AC239797E924356257F220856A19
| Now, as superuser, build the image, saving a log as you build with ⑆■┨tee┣■.
[837] code
.part: body
.is_of_type: block
.sha256: F56DADBE38650805A8F6ACD6FBE1F7D3C4A8071734212646D60F09F50EEE75ED
| ░#░lb░build░2>&1░|░tee░build.log
[838] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7CD36FAEDEC99F157CE8BBCA5A073A5DBBFE6AD33E28106D3A2F5C8D8D4E49C4
.has: links
| Assuming all goes well, after a while, the current directory will contain ⑆■┨live-image-i386.hybrid.iso┣■. This ISO hybrid image can be booted directly in a virtual machine as described in ┥Testing an ISO image with Qemu┝┤#testing-iso-with-qemu├ and ┥Testing an ISO image with VirtualBox┝┤#testing-iso-with-virtualbox├, or else imaged onto optical media or a USB flash device as described in ┥Burning an ISO image to a physical medium┝┤#burning-iso-image├ and ┥Copying an ISO hybrid image to a USB stick┝┤#copying-iso-hybrid-to-usb├, respectively.
[839] heading :2
.part: body
.last_descendant: 846
.ancestors: 1 0 0 0 0 839 0 0
.ancestors_collapsed: 1 0 0 839 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 950F484F891A9975127B38472246B9742CAE9376FC4447CFB8FC03927B1FD5A4
.segment: examples
.heading_lev_anchor: tutorial-2
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|Tutorial 2: A web browser utility||
| Tutorial 2: A web browser utility
[840] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 87FAB580F59A96A80437F0A3CCCE75EA4C2871ECFEF3AEB6FA89312662912764
| ⑆*┨Use case:┣* Create a web browser utility image, learning how to apply customizations.
[841] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CE61D8F6164710372B4FD3E35D7105A51DA13697F4350992C2123252CF66BCF1
| In this tutorial, we will create an image suitable for use as a web browser utility, serving as an introduction to customizing live system images.
[842] code
.part: body
.is_of_type: block
.sha256: 77AA322196DC99C1B3E55A846AFAE24EDDEDFC9C769F6F212754873FDA9AC32F
| ░$░mkdir░tutorial2
| ░$░cd░tutorial2
| ░$░lb░config
| ░$░echo░"task-lxde-desktop░iceweasel"░>>░config/package-lists/my.list.chroot
[843] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8817B03B269DB094BAB2E3E0E759347C62DCFFF143688A36B222F47278FA5D2A
| Our choice of LXDE for this example reflects our desire to provide a minimal desktop environment, since the focus of the image is the single use we have in mind, the web browser. We could go even further and provide a default configuration for the web browser in ⑆■┨config/includes.chroot/etc/iceweasel/profile/┣■, or additional support packages for viewing various kinds of web content, but we leave this as an exercise for the reader.
[844] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 242162E623F55908BD44542A16B040719345B032C76A4E0BD5D81CA3AA920934
.has: links
| Build the image, again as superuser, keeping a log as in ┥Tutorial 1┝┤#tutorial-1├:
[845] code
.part: body
.is_of_type: block
.sha256: F56DADBE38650805A8F6ACD6FBE1F7D3C4A8071734212646D60F09F50EEE75ED
| ░#░lb░build░2>&1░|░tee░build.log
[846] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 841130E5418248D4547402709F2E41694936B1055A231B20C1AD3D27190E7B2D
.has: links
| Again, verify the image is OK and test, as in ┥Tutorial 1┝┤#tutorial-1├.
[847] heading :2
.part: body
.last_descendant: 875
.ancestors: 1 0 0 0 0 847 0 0
.ancestors_collapsed: 1 0 0 847 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 5C31BAC4B3CA191CFF6E19FD8A0E7E31ABD56304C4FBA6BB7AB18474317451CE
.segment: examples
.heading_lev_anchor: tutorial-3
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|Tutorial 3: A personalized image||
| Tutorial 3: A personalized image
[848] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 051CBE31EF4C29E5596AC6A52320E2D575D9BC6AFC7C5B651E194C58CF4F66CB
| ⑆*┨Use case:┣* Create a project to build a personalized image, containing your favourite software to take with you on a USB stick wherever you go, and evolving in successive revisions as your needs and preferences change.
[849] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 816D9560C9B9CF32E88FB8BC238A76930FC7FC4E0401CF74EC9D02C2A6752B31
.has: links
| Since we will be changing our personalized image over a number of revisions, and we want to track those changes, trying things experimentally and possibly reverting them if things don't work out, we will keep our configuration in the popular ⑆■┨git┣■ version control system. We will also use the best practice of autoconfiguration via ⑆■┨auto┣■ scripts as described in ┥Managing a configuration┝┤#managing-a-configuration├.
[850] heading :3
.part: body
.last_descendant: 863
.ancestors: 1 0 0 0 0 0 850 0
.ancestors_collapsed: 1 0 0 0 850 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 250EA80A2114B3E5206274DF67BC2AEAD3255127C59ECD815D71A19AA3F98FD1
.segment: examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|Tutorial 3: A personalized image|First revision|
| First revision
[851] code
.part: body
.is_of_type: block
.sha256: 706D5CEFF16EF53692D1D9F94662D84A4D6231DEDEA329F53EED17D868C702E6
| ░$░mkdir░-p░tutorial3/auto
| ░$░cp░/usr/share/doc/live-build/examples/auto/*░tutorial3/auto/
| ░$░cd░tutorial3
[852] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EF2B966B99DE56399B4E8B024FFC4256798CDDBDE44D62567237A6B998D4DD7A
| Edit ⑆■┨auto/config┣■ to read as follows:
[853] code
.part: body
.is_of_type: block
.sha256: 04D0A1BF077636741534F3AD1D9145A524FB7E4941C04989402A78AB97B9232F
| ░#!/bin/sh
|
| ░lb░config░noauto░\
| ░░░░░--architectures░i386░\
| ░░░░░--linux-flavours░686-pae░\
| ░░░░░"${@}"
[854] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8D88FEAF14837A6C99EF2A7CD87BEB42E8F1EA53D81E5F8227F27D41B70874A8
| Perform ⑆■┨lb config┣■ to generate the config tree, using the ⑆■┨auto/config┣■ script you just created:
[855] code
.part: body
.is_of_type: block
.sha256: D052A66FFF5B340360FA18AA739D50C8C2CCE81819382B39CAEC27BA75E53644
| ░$░lb░config
[856] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 86383D5671CBAC4108C74C846536841A91A083F42839B9B4E5F4B2FDFF674509
| Now populate your local package list:
[857] code
.part: body
.is_of_type: block
.sha256: F451DB0940D685E0F9E4B94DBDE22DF7772B6F5C9323A86C0909C1CD919E4A34
| ░$░echo░"task-lxde-desktop░iceweasel░xchat"░>>░config/package-lists/my.list.chroot
[858] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2B23228443ECCB7B1FB81219CFBB15553CD3864733ED465839363A334D9A2D1E
| First, ⑆■┨--architectures i386┣■ ensures that on our ⑆■┨amd64┣■ build system, we build a 32-bit version suitable for use on most machines. Second, we use ⑆■┨--linux-flavours 686-pae┣■ because we don't anticipate using this image on much older systems. Third, we have chosen the ⑆/┨lxde┣/ task metapackage to give us a minimal desktop. And finally, we have added two initial favourite packages: ⑆/┨iceweasel┣/ and ⑆/┨xchat┣/.
[859] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1D77508189AE0DD7FD9959594B6AD5DD21821CE506E9A5E3897B9F562DA7D473
| Now, build the image:
[860] code
.part: body
.is_of_type: block
.sha256: 0ACA62CAA08819FF07AB8E28B0180F050ED97F92C36B362DAED3CC27A9CD6284
| ░#░lb░build
[861] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2D3AE77E4CE35E5403CD484F09C87709519156C27BBA3024774C67DA0A4E707A
| Note that unlike in the first two tutorials, we no longer have to type ⑆■┨2>&1 | tee build.log┣■ as that is now included in ⑆■┨auto/build┣■.
[862] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B4F5C7DF88D7ECC7E72819D618A29FA28188C32D3C1232C82388A5FACA666194
.has: links
| Once you've tested the image (as in ┥Tutorial 1┝┤#tutorial-1├) and are satisfied it works, it's time to initialize our ⑆■┨git┣■ repository, adding only the auto scripts we just created, and then make the first commit:
[863] code
.part: body
.is_of_type: block
.sha256: 4FC400D7C0CC0BBE10B1597C8F8936FC2FE866B2C5A1645D815CF041A888D340
| ░$░git░init
| ░$░cp░/usr/share/doc/live-build/examples/gitignore░.gitignore
| ░$░git░add░.
| ░$░git░commit░-m░"Initial░import."
[864] heading :3
.part: body
.last_descendant: 875
.ancestors: 1 0 0 0 0 0 864 0
.ancestors_collapsed: 1 0 0 0 864 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 27942030899211490972B7772228927F4C0720EA0F865B93CD8A4EA555F0146E
.segment: examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|Tutorial 3: A personalized image|Second revision|
| Second revision
[865] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 76737CDBB567CD13FB9A647FE204CD1AC11530A7FB4036A77A3F06F97E33C2AA
| In this revision, we're going to clean up from the first build, add the ⑆/┨vlc┣/ package to our configuration, rebuild, test and commit.
[866] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2C1DF6EBB629DEE34280B681B457C6815AF39C30D4F350965452392BAE7C547F
| The ⑆■┨lb clean┣■ command will clean up all generated files from the previous build except for the cache, which saves having to re-download packages. This ensures that the subsequent ⑆■┨lb build┣■ will re-run all stages to regenerate the files from our new configuration.
[867] code
.part: body
.is_of_type: block
.sha256: AC83BBD086C9EE36A52EA44CF438A4985DA6875A392E2D2D2AB6563F3211B33E
| ░#░lb░clean
[868] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 16F827BEAEA8113EE2C2064C0DEBE00EC2919EDF300867294A70FEA6309371FF
| Now append the ⑆/┨vlc┣/ package to our local package list in ⑆■┨config/package-lists/my.list.chroot┣■:
[869] code
.part: body
.is_of_type: block
.sha256: 179B08DE9FEA0F8A338C57A53FACC6286E3D6A053D95FD9FB81130B8FF24D850
| ░$░echo░vlc░>>░config/package-lists/my.list.chroot
[870] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D1400B492E577FF6A871F25FB703583E5D6CC71FEBD9FC5E0AB43CAE425F6C53
| Build again:
[871] code
.part: body
.is_of_type: block
.sha256: B17162DE9D8D529CB439A11FB3A79BA666856F9DFDFA8E392E9BB4FF53B598EF
| #░lb░build
[872] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CBFC9BBAB9A9E0EB9846039FA5F3215C5A2596D9ECB45A782819E387CDCE0DD7
| Test, and when you're satisfied, commit the next revision:
[873] code
.part: body
.is_of_type: block
.sha256: BE38B9529AF60851717DF7321D788C03805217655D2D9E44FA23D7E6E96990DE
| ░$░git░commit░-a░-m░"Adding░vlc░media░player."
[874] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6180D69019327D5DAE61971D81E904E9A251891AE3DD5E3808E7B66EC46FF02E
| Of course, more complicated changes to the configuration are possible, perhaps adding files in subdirectories of ⑆■┨config/┣■. When you commit new revisions, just take care not to hand edit or commit the top-level files in ⑆■┨config┣■ containing ⑆■┨LB_*┣■ variables, as these are build products, too, and are always cleaned up by ⑆■┨lb clean┣■ and re-created with ⑆■┨lb config┣■ via their respective ⑆■┨auto┣■ scripts.
[875] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 5AF3D8365EA144B5F529EA71C2CFA743F1FB161CF360D6EFE07A4AD46B945A43
| We've come to the end of our tutorial series. While many more kinds of customization are possible, even just using the few features explored in these simple examples, an almost infinite variety of different images can be created. The remaining examples in this section cover several other use cases drawn from the collected experiences of users of live systems.
[876] heading :2
.part: body
.last_descendant: 889
.ancestors: 1 0 0 0 0 876 0 0
.ancestors_collapsed: 1 0 0 876 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 1BB0B8333DD7D5219776AC14A99426C6FB5E3F7FAE6072FE99F71DF405DD25DB
.segment: examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|A VNC Kiosk Client||
| A VNC Kiosk Client
[877] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FC66C4EF415E3566DB4E7931724DEF5696ADD39234965C1B4465489E636EA5F3
| ⑆*┨Use case:┣* Create an image with live-build to boot directly to a VNC server.
[878] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 095D602D5508E7CE7B911846895E0FAB72577870E0ADB469ABFB7B13827D17B2
.has: links
| Make a build directory and create an skeletal configuration inside it, disabling recommends to make a minimal system. And then create two initial package lists: the first one generated with a script provided by live-build named ⑆■┨Packages┣■ (see ┥Generated package lists┝┤#generated-package-lists├), and the second one including ⑆/┨xorg┣/, ⑆/┨gdm3┣/, ⑆/┨metacity┣/ and ⑆/┨xvnc4viewer┣/.
[879] code
.part: body
.is_of_type: block
.sha256: C7732AA531F27F19004C90C7DC177D7DAD4675FFA91D0C9CCEF61BD72C10D63C
| ░$░mkdir░vnc-kiosk-client
| ░$░cd░vnc-kiosk-client
| ░$░lb░config░-a░i386░-k░686-pae░--apt-recommends░false
| ░$░echo░'!░Packages░Priority░standard'░>░config/package-lists/standard.list.chroot
| ░$░echo░"xorg░gdm3░metacity░xvnc4viewer"░>░config/package-lists/my.list.chroot
[880] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F87DD99EEE4B57AA79A34300414FC252D5E4081798A99DC8629AFA354F677720
.has: links
| As explained in ┥Tweaking APT to save space┝┤#tweaking-apt-to-save-space├ you may need to re-add some recommended packages to make your image work properly.
[881] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 61BBF61500AB78DA52E88BA9F208D828B69DF71C8616EADE5A7C23C336478CDD
| An easy way to list recommends is using ⑆/┨apt-cache┣/. For example:
[882] code
.part: body
.is_of_type: block
.sha256: 31D9208E8D5F6F87BD7FECA7B9326C1B57F91A69B745B3156D1A0C784A1F01F6
| ░$░apt-cache░depends░live-config░live-boot
[883] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F8EFA683F1D965484E8063095D981BBF847DAF74793B67D2A7E4A8A92CCC1858
| In this example we found out that we had to re-include several packages recommended by live-config and live-boot: ⑆■┨user-setup┣■ to make autologin work and ⑆■┨sudo┣■ as an essential program to shutdown the system. Besides, it could be handy to add ⑆■┨live-tools┣■ to be able to copy the image to RAM and ⑆■┨eject┣■ to eventually eject the live medium. So:
[884] code
.part: body
.is_of_type: block
.sha256: DB3EFAA9E7E122668590738EE5873570926F3AEC8D998394B956773E2D8D5641
| ░$░echo░"live-tools░user-setup░sudo░eject"░>░config/package-lists/recommends.list.chroot
[885] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C76D7C7B32E5748502430F67D3C4480DF576124689074E6BA8214BF776651BF8
| After that, create the directory ⑆■┨/etc/skel┣■ in ⑆■┨config/includes.chroot┣■ and put a custom ⑆■┨.xsession┣■ in it for the default user that will launch ⑆/┨metacity┣/ and start ⑆/┨xvncviewer┣/, connecting to port ⑆■┨5901┣■ on a server at ⑆■┨192.168.1.2┣■:
[886] code
.part: body
.is_of_type: block
.sha256: 6935F324717CAF7AA631A7D4D10ED07B0758DED01D73C39DF9017A2F63EF16FE
| ░$░mkdir░-p░config/includes.chroot/etc/skel
| ░$░cat░>░config/includes.chroot/etc/skel/.xsession░<<░EOF
| ░#!/bin/sh
|
| ░/usr/bin/metacity░&
| ░/usr/bin/xvncviewer░192.168.1.2:1
|
| ░exit
| ░EOF
[887] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 372F7C2E17F5C5698CDBAD699EB6432E16F7AB9C09BBAA4D7E550EA0AB7F7F73
| Build the image:
[888] code
.part: body
.is_of_type: block
.sha256: 0ACA62CAA08819FF07AB8E28B0180F050ED97F92C36B362DAED3CC27A9CD6284
| ░#░lb░build
[889] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: AF3BEE800D9FAC1D6CF36964CCB627A7104ECC6ADC9DC99E7B31EC7179315B7B
| Enjoy.
[890] heading :2
.part: body
.last_descendant: 900
.ancestors: 1 0 0 0 0 890 0 0
.ancestors_collapsed: 1 0 0 890 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 77044091C49C08426F6740955F1F3386CEB2E5259E675D03F49A26F883ED15F6
.segment: examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|A base image for a 128MB USB key||
| A base image for a 128MB USB key
[891] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 92F5A11345839BD4F53B19EB890BD541CA2B2051D3AECCE9782D0B1F67B1B6B0
| ⑆*┨Use case:┣* Create a default image with some components removed in order to fit on a 128MB USB key with a little space left over to use as you see fit.
[892] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 53076819253373C1C3F6356D978690F011602C6060F8629108460ED240E11250
| When optimizing an image to fit a certain media size, you need to understand the tradeoffs you are making between size and functionality. In this example, we trim only so much as to make room for additional material within a 128MB media size, but without doing anything to destroy the integrity of the packages contained within, such as the purging of locale data via the ⑆/┨localepurge┣/ package, or other such “intrusive” optimizations. Of particular note, we use ⑆■┨--debootstrap-options┣■ to create a minimal system from scratch.
[893] code
.part: body
.is_of_type: block
.sha256: 98E7ECD7430EEC04050BA59AD544365B90395FDD389A69BFC6016951AAD6E870
| ░$░lb░config░--apt-indices░false░--apt-recommends░false░--debootstrap-options░"--variant=minbase"░--firmware-chroot░false░--memtest░none
[894] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 4D1666D6D301310E9106080297B13AE646B91F370146EB24804F438DC071515A
.has: links
| To make the image work properly, we must re-add, at least, two recommended packages which are left out by the ⑆■┨--apt-recommends false┣■ option. See ┥Tweaking APT to save space┝┤#tweaking-apt-to-save-space├
[895] code
.part: body
.is_of_type: block
.sha256: 9BE6257F0C17A9D79DE016A1FCA209A01BE31BAEE997D8951319165B35EFEE4B
| ░$░echo░"user-setup░sudo"░>░config/package-lists/recommends.list.chroot
[896] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 66F0336BBC7A0F3CC19D6BCAE9067365B7A812D4BB30856ED9753F922CE7191F
| Now, build the image in the usual way:
[897] code
.part: body
.is_of_type: block
.sha256: F56DADBE38650805A8F6ACD6FBE1F7D3C4A8071734212646D60F09F50EEE75ED
| ░#░lb░build░2>&1░|░tee░build.log
[898] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 28B85ADCA833992D1FD240343E9757DFD6992404579C5CDA02A6B62BECC00C87
.has: links
| On the author's system at the time of writing this, the above configuration produced a 110MB image. This compares favourably with the 192MB image produced by the default configuration in ┥Tutorial 1┝┤#tutorial-1├.
[899] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0DFFFCE1A0078F51AF6FF13B9175B2A7D1B751C6C4997987BD2B101603E55CBB
| Leaving off APT's indices with ⑆■┨--apt-indices false┣■ saves a fair amount of space, the tradeoff being that you need to do an ⑆■┨apt-get update┣■ before using ⑆/┨apt┣/ in the live system. Dropping recommended packages with ⑆■┨--apt-recommends false┣■ saves some additional space, at the expense of omitting some packages you might otherwise expect to be there. ⑆■┨--debootstrap-options “--variant=minbase”┣■ bootstraps a minimal system from the start. Not automatically including firmware packages with ⑆■┨--firmware-chroot false┣■ saves some space too. And finally, ⑆■┨--memtest none┣■ prevents the installation of a memory tester.
[900] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A8C656C51AF263FD7F4E173EE5D288F46DE750F1C5FE71568D7A8B78DB275EAE
| ⑆*┨Note:┣* A minimal system can also be achieved using hooks, like for example the ⑆■┨stripped.hook.chroot┣■ hook found in ⑆■┨/usr/share/doc/live-build/examples/hooks┣■. It may shave off additional small amounts of space and produce an image of 91MB. However, it does so by removal of documentation and other files from packages installed on the system. This violates the integrity of those packages and that, as the comment header warns, may have unforeseen consequences. That is why using a minimal ⑆/┨debootstrap┣/ is the recommended way of achieving this goal.
[901] heading :2
.part: body
.last_descendant: 912
.ancestors: 1 0 0 0 0 901 0 0
.ancestors_collapsed: 1 0 0 901 0 0 0 0
.dom_status: 4 4 0 0 4 3 0 0 0
.dom_status_collapsed: 4 4 4 3 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: FD91E5939EED670CF1E8AE43A18A1D7B9AFCD7CC6CDE1251A25369EBF1B96774
.segment: examples
.segment_epub: examples
.heading_ancestors_text: Live Systems Manual|Examples|||Examples|A localized GNOME desktop and installer||
| A localized GNOME desktop and installer
[902] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1DBCA20676778E8D5CB6C2F166C43FD4B8272573133CC1F3B14D21391273DE91
| ⑆*┨Use case:┣* Create a GNOME desktop image, localized for Switzerland and including an installer.
[903] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8F87613A18F0E863C73D5823910CF933A8D18B045A5319FEC2FA2F2DC2495BB4
| We want to make an iso-hybrid image for i386 architecture using our preferred desktop, in this case GNOME, containing all of the same packages that would be installed by the standard Debian installer for GNOME.
[904] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F760EA2DC1DA2A5C580F7DF3472C8E9E212BB94F76CF9D3A3ECF6AB05B5B6ABE
| Our initial problem is the discovery of the names of the appropriate language tasks. Currently, live-build cannot help with this. While we might get lucky and find this by trial-and-error, there is a tool, ⑆■┨grep-dctrl┣■, which can be used to dig it out of the task descriptions in tasksel-data, so to prepare, make sure you have both of those things:
[905] code
.part: body
.is_of_type: block
.sha256: C08FFB7C035A29E309F7640C6AA3BA9F253D266D0F3F5EEB0524C9933513540A
| ░#░apt-get░install░dctrl-tools░tasksel-data
[906] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 339AEC39555C05F59BF1C94520EDBCA0DF7FD36746C5DA88C91625791804B531
| Now we can search for the appropriate tasks, first with:
[907] code
.part: body
.is_of_type: block
.sha256: 19C8302C48A57F77C7E77A3BB719EC94AB78BDB670F1B74739DFC1A201AD910B
| ░$░grep-dctrl░-FTest-lang░de░/usr/share/tasksel/descs/debian-tasks.desc░-sTask
| ░Task:░german
[908] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D0B92B7F6B7A919E3178391541D36F14D5607008AC9747767DAA6B59B59F0D57
| By this command, we discover the task is called, plainly enough, german. Now to find the related tasks:
[909] code
.part: body
.is_of_type: block
.sha256: 83C73070111FE947B5945E947D6DF8CD81BF39BB63DFEF72BD00DB162573567C
| ░$░grep-dctrl░-FEnhances░german░/usr/share/tasksel/descs/debian-tasks.desc░-sTask
| ░Task:░german-desktop
| ░Task:░german-kde-desktop
[910] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3EC50FDA0BBBE6134804901C0F8DFC7EB7476D9253B1B8BB8CF0D6A27467A30D
.has: links
| At boot time we will generate the ⑆*┨de_CH.UTF-8┣* locale and select the ⑆*┨ch┣* keyboard layout. Now let's put the pieces together. Recalling from ┥Using metapackages┝┤#using-metapackages├ that task metapackages are prefixed ⑆■┨task-┣■, we just specify these language boot parameters, then add standard priority packages and all our discovered task metapackages to our package list as follows:
[911] code
.part: body
.is_of_type: block
.sha256: 33536913F40D13F3219D23E2AE8578589D877E9CB5E9A54EB6BEAD2581CB788C
| ░$░mkdir░live-gnome-ch
| ░$░cd░live-gnome-ch
| ░$░lb░config░\
| ░░░░░-a░i386░\
| ░░░░░--bootappend-live░"boot=live░components░locales=de_CH.UTF-8░keyboard-layouts=ch"░\
| ░░░░░--debian-installer░live
| ░$░echo░'!░Packages░Priority░standard'░>░config/package-lists/standard.list.chroot
| ░$░echo░task-gnome-desktop░task-german░task-german-desktop░>>░config/package-lists/desktop.list.chroot
| ░$░echo░debian-installer-launcher░>>░config/package-lists/installer.list.chroot
[912] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A57A267D936A45319E8461542D66AF8DBB735D08B6732F6C711D88E676831B32
| Note that we have included the ⑆/┨debian-installer-launcher┣/ package to launch the installer from the live desktop. The ⑆■┨586┣■ kernel flavour, which is currently necessary for the launcher to work properly, will be included by default.
[913] heading :B
.part: body
.parent: 1
.last_descendant: 913
.ancestors: 1 913 0 0 0 0 0 0
.ancestors_collapsed: 1 913 0 0 0 0 0 0
.dom_status: 4 3 0 0 2 2 0 0 0
.dom_status_collapsed: 4 3 2 2 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: 2D4B3E2813C6058B5F056F91316DB8C83F4D685CC5596BC61E4BB14D4B4B1680
.segment: _part_23
.segment_epub: _part_23
.heading_ancestors_text: Live Systems Manual|Appendix||||||
| Appendix
[914] heading :B
.part: body
.parent: 1
.last_descendant: 914
.ancestors: 1 914 0 0 0 0 0 0
.ancestors_collapsed: 1 914 0 0 0 0 0 0
.dom_status: 4 3 0 0 0 0 0 0 0
.dom_status_collapsed: 4 3 0 0 0 0 0 0 0
.heading_lev_collapsed: 1
.is_of_type: para
.sha256: FFBE1BF10800AE12CE9364D89D93E1983FD1A80A9439B287D7980DD3E2C36DC0
.segment: _part_24
.segment_epub: _part_24
.heading_ancestors_text: Live Systems Manual|Style guide||||||
| Style guide
[915] heading :1
.part: body
.parent: 1
.last_descendant: 915
.ancestors: 1 0 0 0 915 0 0 0
.ancestors_collapsed: 1 0 915 0 0 0 0 0
.dom_status: 4 4 0 0 1 0 0 0 0
.dom_status_collapsed: 4 4 1 0 0 0 0 0 0
.heading_lev_collapsed: 2
.is_of_type: para
.sha256: FFBE1BF10800AE12CE9364D89D93E1983FD1A80A9439B287D7980DD3E2C36DC0
.segment: style-guide
.segment_prev: examples
.heading_lev_anchor: style-guide
.segment_epub: style-guide
.heading_ancestors_text: Live Systems Manual|Style guide|||Style guide|||
.lev4_subtoc: 5~ ┥Guidelines for authors┝┤#916├
.lev4_subtoc: 6~ ┥Linguistic features┝┤#919├
.lev4_subtoc: 6~ ┥Procedures┝┤#952├
.lev4_subtoc: 5~ ┥Guidelines for translators┝┤#991├
.lev4_subtoc: 6~ ┥Translation hints┝┤#995├
| Style guide
[916] heading :2
.part: body
.last_descendant: 990
.ancestors: 1 0 0 0 0 916 0 0
.ancestors_collapsed: 1 0 0 916 0 0 0 0
.dom_status: 4 4 0 0 4 1 0 0 0
.dom_status_collapsed: 4 4 4 1 0 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: ACEE2E73CC0A53365C34116BEF7E1F7283EC8A7A7F6CCD4630745439451B1650
.segment: style-guide
.segment_epub: style-guide
.heading_ancestors_text: Live Systems Manual|Style guide|||Style guide|Guidelines for authors||
| Guidelines for authors
[917] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3D7BF31057C5A719B8E2DEB6261B8174C031383668FA2434B9CFBA5E053BDEF4
| This section deals with some general considerations to be taken into account when writing technical documentation for live-manual. They are divided into linguistic features and recommended procedures.
[918] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E1D2CADB4C1A2755430718665D78549869E723264C86284DF29A8776A62F9FF6
.has: links
| ⑆*┨Note:┣* Authors should first read ┥Contributing to this document┝┤#how-to-contribute├
[919] heading :3
.part: body
.last_descendant: 951
.ancestors: 1 0 0 0 0 0 919 0
.ancestors_collapsed: 1 0 0 0 919 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 281196A6A0D21921F36B697AE9D56F0B18321C70AC33F3FF6A24DB7EAE9D864C
.segment: style-guide
.segment_epub: style-guide
.heading_ancestors_text: Live Systems Manual|Style guide|||Style guide|Guidelines for authors|Linguistic features|
| Linguistic features
[920] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 58739E38CA6AC7FCBFAB8103C74D16F4E0D911A6BDFCD94C0BC05659CC9AD021
.bullet: true
| ⑆/┨Use plain English┣/
[921] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6C5FE8001212C13B9FC01BE3B0AD17BE19FCCC09BBE92A6CF66B835E766C24DB
| Keep in mind that a high percentage of your readers are not native speakers of English. So as a general rule try to use short, meaningful sentences, followed by a full stop.
[922] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 36A285DFDD366FB7D7DA00FEC34E5140EF8E911C25753C10D85DB834988F2984
| This does not mean that you have to use a simplistic, naive style. It is a suggestion to try to avoid, as much as possible, complex subordinate sentences that make the text difficult to understand for non-native speakers of English.
[923] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 523535F3982FD4581E4BDB1CDBF378C42C85651CD49C7507B64CB7D6B587262B
.bullet: true
| ⑆/┨Variety of English┣/
[924] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8105BDC93DEE0722DB2A9F9550C8654E5E08F6F5DB1A9573283D6FEB3AD5595B
| The most widely spread varieties of English are British and American so it is very likely that most authors will use either one or the other. In a collaborative environment, the ideal variety would be “International English” but it is very difficult, not to say impossible, to decide on which variety among all the existing ones, is the best to use.
[925] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2AB4935F93B14D1BF72305DC74F03F18694948D3EC1BB891DFFA774E528CC431
| We expect that different varieties may mix without creating misunderstandings but in general terms you should try to be coherent and before deciding on using British, American or any other English flavour at your discretion, please take a look at how other people write and try to imitate them.
[926] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: EE866D207E23D1BB12A5E1A6EA4D99521002BD24C39F54CF6707AB22AD8702FB
.bullet: true
| ⑆/┨Be balanced┣/
[927] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D3B06B0E8B8E2C146623E159F03CA9478A45329D4B8819137608745625A8AD7E
| Do not be biased. Avoid including references to ideologies completely unrelated to live-manual. Technical writing should be as neutral as possible. It is in the very nature of scientific writing.
[928] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 37A0F68BD2DA7BC1FFDC7D3380F23769B73B499A3999FB42AA2EF24257CC000D
.bullet: true
| ⑆/┨Be politically correct┣/
[929] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D4906AC583B0D27327647072B9EB44D62DE0EA98321CFFAD869A5318B60F53FE
| Try to avoid sexist language as much as possible. If you need to make references to the third person singular preferably use “they” rather than “he” or “she” or awkward inventions such as “s/he”, “s(he)” and the like.
[930] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1174CF4572349040E2E42B545471847791F29C8EE5BA4119CE2AEE464EB1AB13
.bullet: true
| ⑆/┨Be concise┣/
[931] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9362372353986B6F71FF8CECABDA778BA462C27BC616D5FD38C73AD71DBF1E57
| Go straight to the point and do not wander around aimlessly. Give as much information as necessary but do not give more information than necessary, this is to say, do not explain unnecessary details. Your readers are intelligent. Presume some previous knowledge on their part.
[932] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 918A15F4B06038174756B0A84F03230BC81F1375685EA956466667DF90AC9C28
.bullet: true
| ⑆/┨Minimize translation work┣/
[933] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B645C74A9DBB4B7C7DD7B066B1B0522785B1750E948F43FBB98E5261593EA3E8
| Keep in mind that whatever you write will have to be translated into several other languages. This implies that a number of people will have to do an extra work if you add useless or redundant information.
[934] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 881AB896D6C9394C85963BDE49F2CE367D95DC6F7D8179218EA837502B014168
.bullet: true
| ⑆/┨Be coherent┣/
[935] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 16909B30C1C36A8D85E3302525CF838E781B04C79ED2C6AFFC529EF4B791F2C6
| As suggested before, it is almost impossible to standardize a collaborative document into a perfectly unified whole. However, every effort on your side to write in a coherent way with the rest of the authors will be appreciated.
[936] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F8032C62E00612EF6CE9F0896C1F3206A6BBEB73BB9E1F5F4BFF7BEBDFCE5A43
.bullet: true
| ⑆/┨Be cohesive┣/
[937] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BF535E6FB1E7E28F1967077C056C8047C2951F0A8D6FA073C4FCF0ACF1690066
| Use as many text-forming devices as necessary to make your text cohesive and unambiguous. (Text-forming devices are linguistic markers such as connectors).
[938] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 999EACA48D8A607B9E43CF6356C91A76734D9966DEEA5B84AACD803AD89569A7
.bullet: true
| ⑆/┨Be descriptive┣/
[939] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 62BC9AEB1B70983EE782DC9272B13307EA92D3FAD9D7A5D53C1AD8F0FD3D269B
| It is preferable to describe the point in one or several paragraphs than merely using a number of sentences in a typical “changelog” style. Describe it! Your readers will appreciate it.
[940] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8DF049844058682E26E004BA33CA7A57532BBA3F9BF3CF6990183DAD6852D621
.bullet: true
| ⑆/┨Dictionary┣/
[941] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A95C5F1543DF3355C0E1826D91F015E712EFE5E06C4CC9D54AD2EE60591DF151
| Look up the meaning of words in a dictionary or encyclopedia if you do not know how to express certain concepts in English. But keep in mind that a dictionary can either be your best friend or can turn into your worst enemy if you do not know how to use it correctly.
[942] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 74C24D4DAF20D1ED6ACE02530DB3CFE6765B031F1FE74CCC1A1EFE2DB75FA1F2
| English has the largest vocabulary that exists (with over one million words). Many of these words are borrowings from other languages. When looking up the meaning of words in a bilingual dictionary the tendency of a non-native speaker of English is to choose the one that sounds more similar in their mother tongue. This often turns into an excessively formal discourse which does not sound quite natural in English.
[943] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 58AB8B0DAB8FDC4E9EF321B182C6D8CCB0BF89C304D895E16491E996DF874CFD
| As a general rule, if a concept can be expressed using different synonyms, it is a good advice to choose the first word proposed by the dictionary. If in doubt, choosing words of Germanic origin (Usually monosyllabic words) is often the right thing to do. Be warned that these two techniques might produce a rather informal discourse but at least your choice of words will be of wide use and generally accepted.
[944] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 94BF7A962810086C60C6C5925AAB1288897E65A1D2255F1F24D046229F5BC428
| Using a dictionary of collocations is recommended. They are extremely helpful when it comes to know which words usually occur together.
[945] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FF758BE965CE4E428B8363C0F0293C75BB62F7F2E2E65259730F20DFABBAC071
| Again it is a good practice to learn from the work of others. Using a search engine to check how other authors use certain expressions may help a lot.
[946] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3DF5485222263EFD3D43C4BEE8198A78E11F8E851B87D9174AACD969BCB51B6E
.bullet: true
| ⑆/┨False friends, idioms and other idiomatic expressions┣/
[947] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D44FCDB9831AB6025A6FF90613CF0E43819E67F5895795C1D5ACB814B95273BF
| Watch out for false friends. No matter how proficient you are in a foreign language you cannot help falling from time to time in the trap of the so called “false friends”, words that look similar in two languages but whose meanings or uses might be completely different.
[948] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8497920BDD4C3BE0021ABC705BA2998DAB9DC686E039A0A530858904F65621E4
| Try to avoid idioms as much as possible. “Idioms” are expressions that may convey a completely different meaning from what their individual words seem to mean. Sometimes, idioms might be difficult to understand even for native speakers of English!
[949] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 15D5388434457142341AD69AF59FABCEC61B04417670DA7AEA8FB79094923417
.bullet: true
| ⑆/┨Avoid slang, abbreviations, contractions...┣/
[950] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6AF00DEC375B4CC69C1C394191DE527276A654C4DB3F1B8CCE4DA9894647A05B
| Even though you are encouraged to use plain, everyday English, technical writing belongs to the formal register of the language.
[951] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: FD8E6B504EC8B2BE9BE6AD3947411C08CB2BB7F25D6A944982751B5167A1BCFC
| Try to avoid slang, unusual abbreviations that are difficult to understand and above all contractions that try to imitate the spoken language. Not to mention typical irc and family friendly expressions.
[952] heading :3
.part: body
.last_descendant: 990
.ancestors: 1 0 0 0 0 0 952 0
.ancestors_collapsed: 1 0 0 0 952 0 0 0
.dom_status: 4 4 0 0 4 4 3 0 0
.dom_status_collapsed: 4 4 4 4 3 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: A3ECB35D5EC1E91A4B6F13C9DCEDBA10C2F041D1993735D1FA945ACD6D2FE543
.segment: style-guide
.segment_epub: style-guide
.heading_ancestors_text: Live Systems Manual|Style guide|||Style guide|Guidelines for authors|Procedures|
| Procedures
[953] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1EB737E9E3AA551F19CFC1CBCAB59ADE146B99A339E812183370046704EDE292
.bullet: true
| ⑆/┨Test before write┣/
[954] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1865D8C8E376018EE6A94479C11477D381839B7C1DA574119F48D196D7C765F9
| It is important that authors test their examples before adding them to live-manual to ensure that everything works as described. Testing on a clean chroot or VM can be a good starting point. Besides, it would be ideal if the tests were then carried out on different machines with different hardware to spot possible problems that may arise.
[955] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 55A9610C7FE68A5903EA6B6056BF3CE3D4DE3746417123627172CAE22ABD911F
.bullet: true
| ⑆/┨Examples┣/
[956] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 92E2E2FE8D905A39DE68AB621499208A15AB5F170C24FD569541409A682C5E4A
| When providing an example try to be as specific as you can. An example is, after all, just an example.
[957] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6CE4BF819216AFAE12A1B1B6359EB16A6406DB17F06F44CBB3211BA9112999E1
| It is often better to use a line that only applies to a specific case than using abstractions that may confuse your readers. In this case you can provide a brief explanation of the effects of the proposed example.
[958] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CF79347FAA65DAFA5B00A6C35EEEF9998083F06496F59099E97590D2806093F1
| There may be some exceptions when the example suggests using some potentially dangerous commands that, if misused, may cause data loss or other similar undesirable effects. In this case you should provide a thorough explanation of the possible side effects.
[959] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 013F7583A1A01A90F197AB442C7C82E4DA3D38A32AD6037DC3E2712F686A86C1
.bullet: true
| ⑆/┨External links┣/
[960] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7F79C2036BA2DAC9C58DCDBFD1F4E10EB2113A503F213D223C8065B9BED23687
| Links to external sites should only be used when the information on those sites is crucial when it comes to understanding a special point. Even so, try to use links to external sites as sparsely as possible. Internet links are likely to change from time to time resulting in broken links and leaving your arguments in an incomplete state.
[961] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3995E7A0DCDA2D8AD2B6D558993C2DA7A2A50817EAB28116E5CD20D94B0012E5
| Besides, people who read the manual offline will not have the chance to follow those links.
[962] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2313CDEA536B96F58BADCF42B88FF08F20C5BAC63941E11C5244F56BF50CF240
.bullet: true
| ⑆/┨Avoid branding and things that violate the license under which the manual is published┣/
[963] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 0D00E25FAFEAB1AD72AAE8EF8096F2630D0B0935647350339AD999ACAB4A929A
| Try to avoid branding as much as possible. Keep in mind that other downstream projects might make use of the documentation you write. So you are complicating things for them if you add certain specific material.
[964] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BB01A87EAC5A1E26460569C2EFF214CF54498383CBA65F84BE3CDB6E2EC49486
| live-manual is licensed under the GNU GPL. This has a number of implications that apply to the distribution of the material (of any kind, including copyrighted graphics or logos) that is published with it.
[965] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 61D03D4E63BA46FB0C498C5A3F1EC3DD61805464289BF17A30D2B0D3ECCF58D0
.bullet: true
| ⑆/┨Write a first draft, revise, edit, improve, redo if necessary┣/
[966] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1CE1632D7BD5C84D51E174AF937CEBE30D15F93C87D2D44391133AC322BBE8D8
| - Brainstorm!. You need to organize your ideas first in a logical sequence of events.
[967] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 59AA1B62B176D6B1B07ADEE8A504EEBE642906FD0E021511EB182730CD85E304
| - Once you have somehow organized those ideas in your mind write a first draft.
[968] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 8E3E72FB8D0B678547827A1794160C21316BBA1F21ADBDC3BD865FD1DB09CDD2
| - Revise grammar, syntax and spelling. Keep in mind that the proper names of the releases, such as ${testing} or sid, should not be capitalized when referred to as code names. In order to check the spelling you can run the “spell” target. i.e. ⑆■┨make spell┣■
[969] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 90DE64A3A7D965619503B63C89E99D45F1B7087EC6B8F193287D66BAEA05CA0D
| - Improve your statements and redo any part if necessary.
[970] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: E8F16DF79930F43E41FB814C31764EF54242D8411524660893937C5A48A184BF
.bullet: true
| ⑆/┨Chapters┣/
[971] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C786A24C2CB874892F4BC20E315DFB82DD88C9AD551BDCFA83D73D724025F802
| Use the conventional numbering system for chapters and subtitles. e.g. 1, 1.1, 1.1.1, 1.1.2 ... 1.2, 1.2.1, 1.2.2 ... 2, 2.1 ... and so on. See markup below.
[972] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3C0E9186DDB2C3DC9C4D5DC327A9A57F80F47E8B5F01314D4D7254C26CF490EF
| If you have to enumerate a series of steps or stages in your description, you can also use ordinal numbers: First, second, third ... or First, Then, After that, Finally ... Alternatively you can use bulleted items.
[973] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2496FD78E4AF25D968DA0EBCDE21C6E7696F42828DD10B8A7934653F1DF0599D
.bullet: true
| ⑆/┨Markup┣/
[974] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C6C0A1FD3658D01EC11EB6A61EE1E54C55DE9E4B023F69624EBED1FC61929BC1
.has: links
.stow_link: http://www.sisudoc.org/
.stow_link: http://www.sisudoc.org/sisu/en/html/sisu_manual/markup.html
| And last but not least, live-manual uses ┥SiSU┝┤0├ to process the text files and produce a multiple format output. It is recommended to take a look at ┥SiSU's manual┝┤1├ to get familiar with its markup, or else type:
[975] code
.part: body
.is_of_type: block
.sha256: 505124636978BAD1E23CDBD028827E10E67B6164B01A3E07594A390F0F36ABF2
| ░$░sisu░--help░markup
[976] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 641131990CEBEE17D06F96C3FC58D0F36D46184637015D3C079DED17828F2E06
| Here are some markup examples that may prove useful:
[977] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DC9E22C20DC35C3E0008F18834638DA2877DB343471CDEAE0BDBB832B64B32CF
| - For emphasis/bold text:
[978] code
.part: body
.is_of_type: block
.sha256: A72416E2ADCE3D66CF8D707BE1F8DCF18E0774F7C307B79E435392A755A5E22C
| *{foo}*░or░!{foo}!
[979] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 61595FD1502968579A7AE104A9F2880498A650FF504F6AFF1B7F6A8DF36BEC69
| produces: ⑆*┨foo┣* or ⑆!┨foo┣!. Use it to emphasize certain key words.
[980] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 437AA729509D76C6BD3619B32CF214129BB76D52D92FDBB7AAD61BFDA38DD2D9
| - For italics:
[981] code
.part: body
.is_of_type: block
.sha256: DEF0527F015DC45F5EB0C647CAD32903FB26C186B967212E43540E04E9D4ABFD
| /{foo}/
[982] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B3518AE9811EAB6983C60093D9B50796C2083AED3A22F1609646AC3D2F9D6D2E
| produces: ⑆/┨foo┣/. Use them e.g. for the names of Debian packages.
[983] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: BB283248096FA10FBA5519A89E4D5ADF4EC5B2B2B3A4D779B7918100732C14B8
| - For monospace:
[984] code
.part: body
.is_of_type: block
.sha256: 575F7976E39491E63BF70D4FAFEB29A106CE498384D35D2A49F7D252DDD8301F
| #{foo}#
[985] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F5C6EE1D673D21B51FB9D216D9C191269F3E820BC86EB6BB0876FB1D3E8584C9
| produces: ⑆■┨foo┣■. Use it e.g. for the names of commands. And also to highlight some key words or things like paths.
[986] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 02705FAFF24CA6860C8F542DFB8D20F5157384A76A4B54DB56793D3AC58D9B0C
| - For code blocks:
[987] code
.part: body
.is_of_type: block
.sha256: D24F161E2FC3674647701633BF5A73CECEBDC8447100598BEB7E9E171C465B72
| ░code{
|
| ░░$░foo
| ░░#░bar
|
| ░}code
[988] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1F70DA180C4EFEBF09E8E052D32790F24016329F440B5C55BA66F8FA2F9D36EF
| produces:
[989] code
.part: body
.is_of_type: block
.sha256: F13504310C2660D2C546091B01CA391E6F60F5AC1B05B941B7318C92DFEAE86A
| ░$░foo
| ░#░bar
[990] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 3EE14AC8FDCA52CEC0D5BEB3668E5D9CA05B1040F5E1D5984A65563090D9EFB5
| Use ⑆■┨code{┣■ to open and ⑆■┨}code┣■ to close the tags. It is important to remember to leave a space at the beginning of each line of code.
[991] heading :2
.part: body
.last_descendant: 991
.ancestors: 1 0 0 0 0 991 0 0
.ancestors_collapsed: 1 0 0 991 0 0 0 0
.dom_status: 4 4 0 0 4 3 2 0 0
.dom_status_collapsed: 4 4 4 3 2 0 0 0 0
.heading_lev_collapsed: 3
.parent_lev: 4
.is_of_type: para
.sha256: 57D4A4211BEEF9637E39EBA711D1A038B9EB3E889C3E95E4A0AF6BC2EA13538C
.segment: style-guide
.heading_lev_anchor: guidelines-translators
.segment_epub: style-guide
.heading_ancestors_text: Live Systems Manual|Style guide|||Style guide|Guidelines for translators||
| Guidelines for translators
[992] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 728F8AB8DD86AB3C43FC42C9C7A4CD950C46954A4A6CC095876A429658E2A6A0
| This section deals with some general considerations to be taken into account when translating the contents of live-manual.
[993] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7D88CA13E43D6DF657C259D8BF693FD9778029A4BDFBA720FF79648EB651FD35
| As a general recommendation, translators should have read and understood the translation rules that apply to their specific languages. Usually, translation groups and mailing lists provide information on how to produce translated work that complies with Debian quality standards.
[994] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1B985BA983BD637F0D688E53C2C5DCCABB2C37FC04A7FF37450D208D7FE1EC5B
.has: links
| ⑆*┨Note:┣* Translators should also read ┥Contributing to this document┝┤#how-to-contribute├. In particular the section ┥Translation┝┤#translation├
[995] heading :3
.part: body
.last_descendant: 995
.ancestors: 1 0 0 0 0 0 995 0
.ancestors_collapsed: 1 0 0 0 995 0 0 0
.dom_status: 4 4 0 0 4 4 1 0 0
.dom_status_collapsed: 4 4 4 4 1 0 0 0 0
.heading_lev_collapsed: 4
.parent_lev: 5
.is_of_type: para
.sha256: 5B147F7AF249A0649BEBC4DCBE1EE27653694964DB978CFB1A3A6DAF2435A223
.segment: style-guide
.segment_epub: style-guide
.heading_ancestors_text: Live Systems Manual|Style guide|||Style guide|Guidelines for translators|Translation hints|
| Translation hints
[996] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6D4CA66D7828C00E4B0ECC78AC60AD7D8CDC7C750911E81E1504E711E7F0BDFF
.bullet: true
| ⑆/┨Comments┣/
[997] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 45BE05B5A81F9725A5B67513045C3FBD328B7C2E79A43ADD68EAB5E115D60B90
| The role of the translator is to convey as faithfully as possible the meaning of words, sentences, paragraphs and texts as written by the original authors into their target language.
[998] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: DBFCDE0B23B9467538C44600CB963F9EA96E28BA8B650DC9C8F11F919F5CBB74
| So they should refrain from adding personal comments or extra bits of information of their own. If they want to add a comment for other translators working on the same documents, they can leave it in the space reserved for that. That is, the header of the strings in the ⑆*┨po┣* files preceded by a number sign ⑆*┨#┣*. Most graphical translation programs can automatically handle those types of comments.
[999] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CF1E1E01C814A1E700BADC348D1129941F445AE83FABE8D57EE823B3DE2A6608
.bullet: true
| ⑆/┨TN, Translator's Note┣/
[1000] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B4ABC561DC4857FC2ED7E6AAD2E4C3D92B0EF01A5EFEC611B35A56B86F32696F
| It is perfectly acceptable however, to include a word or an expression in brackets in the translated text if, and only if, that makes the meaning of a difficult word or expression clearer to the reader. Inside the brackets the translator should make evident that the addition was theirs using the abbreviation “TN” or “Translator's Note”.
[1001] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: D0FE0F82EB7662112735B548FFACEC0D333AD0327A0ECB322DAB65602DF8004C
.bullet: true
| ⑆/┨Impersonal sentences┣/
[1002] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: ADD16658A0C6141C84D8FDB3FC869393376481D3FD91A79400E23F10F50D93AC
| Documents written in English make an extensive use of the impersonal form “you”. In some other languages that do not share this characteristic, this might give the false impression that the original texts are directly addressing the reader when they are actually not doing so. Translators must be aware of that fact and reflect it in their language as accurately as possible.
[1003] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: CC13F103FF05AF3741F18BF0847338A398AA2A32CA69E9657DAAF3120E04A230
.bullet: true
| ⑆/┨False friends┣/
[1004] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F8D6F49E2B09CDC8C0C51D788D4EDA72D34E371A3B17CC725F4D9976A7922AC0
| The trap of “false friends” explained before especially applies to translators. Double check the meaning of suspicious false friends if in doubt.
[1005] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2496FD78E4AF25D968DA0EBCDE21C6E7696F42828DD10B8A7934653F1DF0599D
.bullet: true
| ⑆/┨Markup┣/
[1006] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: C53501383F3C4668BE88415473CBBF4B9A41D15D5C3C13F8EFB894900E29E99D
| Translators working initially with ⑆*┨pot┣* files and later on with ⑆*┨po┣* files will find many markup features in the strings. They can translate the text anyway, as long as it is translatable, but it is extremely important that they use exactly the same markup as the original English version.
[1007] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 6457D042A6D0835CCDE22C36402831559BCFD1D0DB3C794C9062C1F13F4631DE
.bullet: true
| ⑆/┨Code blocks┣/
[1008] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: B5E1B829D2A9F4AF8C9664987D626B0624BD606AAA13A84C3CB02D471C698208
| Even though the code blocks are usually untranslatable, including them in the translation is the only way to score a 100% complete translation. And even though it means more work at first because it might require the intervention of the translators if the code changes, it is the best way, in the long run, to identify what has already been translated and what has not when checking the integrity of the .po files.
[1009] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9116ECDAF4A2ECBE6B0396AB14B30B42EDC874434DEB38634EEA4F45A1FC6C57
.bullet: true
| ⑆/┨Newlines┣/
[1010] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 7DEF9965F9F6AD469351C9B4CE8A38DCDBAC619629753481DD607F9BF4178535
| The translated texts need to have the exact same newlines as the original texts. Be careful to press the “Enter” key or type ⑆*┨\n┣* if they appear in the original files. These newlines often appear, for instance, in the code blocks.
[1011] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 315D6B3AFCE964F26E1AD8A3BDB6C2E7A224E4B838DD002BEBF7B2F9E4BC4FC2
| Make no mistake, this does not mean that the translated text needs to have the same length as the English version. That is nearly impossible.
[1012] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 12278699F524587AA859B9D17AFAFB46379DA3F64B6653F4AABE9832CBAA5400
.bullet: true
| ⑆/┨Untranslatable strings┣/
[1013] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2BAEE8CB8304AFC27E70DD8987A1F56BDAC58CD10BF1925D60D3DD833C2C25B3
| Translators should never translate:
[1014] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 219AD96CFA4A58CA0807A28FA5B18E875C84D7E51E3AAB9FD69B63203A0DD8B6
| - The code names of releases (which should be written in lowercase)
[1015] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: A0542C0F563E9E0943A6DC9351930CE8B727100BA5131213786A6F6AF38F49D0
| - The names of programs
[1016] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: F40F10CA886CA9E5017C52E47D5ABEEFA33BBBBBBA25A46A2DC303D641BF1CFD
| - The commands given as examples
[1017] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 9046FCE9858AA18F0B2ADA685BD5501321F0CB2CBD5C8BD7ECC1BEFE6BF4807D
| - Metadata (often between colons ⑆*┨:metadata:┣*)
[1018] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 1E2DA35F669831F16DA73B8A260EA2FA84C65F090F359C0D4D5C361A57E5513A
| - Links
[1019] para
.part: body
.ocn_off: true
.is_of_type: para
.sha256: 2F81D17AA7408BEB2B1AE1158BDDAAE703CC5BCCC81BBA080A642973A68E3483
| - Paths
}
@endnotes {
[0] heading :B
.part: empty
.section: empty
.parent: 1
.heading_lev_collapsed: 1
.dummy: true
.ocn_off: true
.is_of_type: para
| (skip) there are no Endnotes
}
@glossary {
[0] heading :B
.part: empty
.section: empty
.parent: 1
.heading_lev_collapsed: 1
.dummy: true
.ocn_off: true
.is_of_type: para
| (skip) there is no Glossary section
}
@bibliography {
[0] heading :B
.part: empty
.section: empty
.parent: 1
.heading_lev_collapsed: 1
.dummy: true
.ocn_off: true
.is_of_type: para
| (skip) there is no Bibliography
}
@bookindex {
[0] heading :B
.part: backmatter
.parent: 1
.heading_lev_collapsed: 1
.dummy: true
.ocn_off: true
.is_of_type: para
| (skip) there is no Book Index
}
@blurb {
[0] heading :B
.part: empty
.section: empty
.parent: 1
.heading_lev_collapsed: 1
.ocn_off: true
.is_of_type: para
| (skip) there is no Blurb section
}
|