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
|
# ChangeLog for Gentoo Linux Installer
# Copyright 2005-2005 Gentoo Technologies, Inc.
# $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.429 2005/10/21 01:52:49 agaffney Exp $
*GLI-0.3 (17 Oct 2005)
20 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py, src/GLIArchitectureTemplate.py:
horrible tangled mess of code that is tarball unpacking subprogress display
add unpack progress to portage snapshot
19 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/templates/x86ArchitectureTemplate.py:
change call to 'grub' to use GLIUtility.exitsuccess()
add definition of 'build_mode' in _configure_lilo()
src/misc/updategtkfe, src/misc/updateglid:
fix so subshell is called in root shell
18 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/handlers/WebGLIHandler.py:
stage screen launches URI browser in sized window with various properties set
*GLI-0.2 (17 Oct 2005)
17 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/misc/updategtkfe:
updated to actually work
remove previous snapshot and extracted dir before downloading
src/misc/updateglid:
updated to actually work
src/templates/x86ArchitectureTemplate.py:
fixed bug where grub code was looking for 'root+root+file_name2'
16 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/handlers/WebGLIHandler.py:
URI browser
added mirror selection
src/GLIUtility.py:
ls via ssh strips off ending *
16 Oct 2005; Preston Cody <codeman@gentoo.org>
more updates to webgli. stage selection.
11 Oct 2005; Preston Cody <codeman@gentoo.org>
updated webgli with preliminary Network Mounts support.
9 Oct 2005; Preston Cody <codeman@gentoo.org>
GenDialog: string formatting and yes/no label fixes.
added WebGLI template for gliserv.py
added WebGLIHandler as well as a definition for it in gliserv.py
updates to the webgli files even though they won't be there for long.
Utility: remove exception for non-existant grppkgs.txt until the new livecd
goes public.
9 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/gliserv.py:
override dict to not be so anal
main server now loads separate module to handle requests
src/net/server/handlers/ProfileHandler.py, src/net/server/handler.py:
split out profile URLs into separate handler function
move handlers into subdirectory
add Welcome and Clients handlers
5 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py:
raise exception if password prompt received twice
2 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py:
removed rot13ify()
1 Oct 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/gliserv.py:
allow for param to be passed multiple times in GET
no XMLRPC functions return None
modify POST request parsing to only create a list if needed
fix GET request parsing so the list creation for multiple values works
src/net/client/gliclient.py:
various typo and type mismatch fixes
exit after exception
30 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/client/gliclient.py:
initial commit
pass MAC to XMLRPC functions
src/net/server/GLIServerProfile.py:
rename GLIClientsProfiles to GLIServerProfile
29 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/gliserv.py:
now handles POST requests
move majority of request handling code to common_handler() to reduce code
duplication
profile loading
client reg via XMLRPC goes into SharedInfo()
/showclients redesign
template fixes
allow handler functions to add/change headers
save profile
28 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/GLIClientsProfiles.py:
initial commit
src/net/server/template.html:
initial commit
src/net/server/gliserv.py:
add template mojo
26 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/net/server/gliserv.py:
XMLRPC mojo
22 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIArchitectureTemplate.py:
add code in _edit_config() to comment line where variable is defined
previously
insert new line under previous definition of variable if it exists
small _edit_config() cleanup
src/GLIStorageDevice.py:
add clear_partitions() function
new sizes for recommended partition layout
automatically calculate swap size for recommended layout
21 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/templates/x86ArchitectureTemplate.py:
fat16 mojo
20 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIStorageDevice.py:
prevent do_recommended() from being run twice
rewrite do_recommended() to be more robust
src/GLIArchitectureTemplate.py:
rework _edit_config() to not write duplicate entries
17 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIStorageDevice.py:
added do_recommended() function to automatically created 256M/1G/* layout
17 Sep 2005; Preston Cody <codeman@gentoo.org>
src/gli-dialog.py: added set_distcc to the list
GenDialog: added set_distcc. untested.
IP: added install_distcc flag.
AT: added install_distcc function based on the flag. runs after build_kernel
changed AT spawn command for distcc for nodeps.
16 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py:
add rot13ify() function
16 Sep 2005; Preston Cody <codeman@gentoo.org>
src/GenDialog.py
added a sentence of text. unchecking support added.
15 Sep 2005; Preston Cody <codeman@gentoo.org>
src/GLIUtility.py
added get_grp_pkgs_from_cd() to return a list of packages in GRP for FE menus
src/GenDialog.py
still working on extra_packages. transformed the list to new format.
added GRP indication to list. untested.
TODO lists updated.
src/fe/dialog/gli-dialog.py
spelling mistook.
14 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py:
get_snapshot_from_cd() returns '' instead of 'file://' if nothing found
5 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py:
add get_directory_listing_from_uri()
add http support to above
add ftp support to above
add scp support to above
src/GLIArchitectureTemplate.py:
"0" instead of 0 for key of single-element dict passed to _edit_config()
5 Sep 2005; Preston Cody <codeman@gentoo.org>
value_only -> only_value
3 Sep 2005; Preston Cody <codeman@gentoo.org>
gutted out all of etc_portage structure since it is now all handled by
etc_files
3 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIArchitectureTemplate.py:
install_packages() sends progress update notifications
src/templates/x86ArchitectureTemplate.py:
increase sleep to 5s between format tries
src/GLIClientController.py:
pass 'self' to AT instead of 'self._pretend'
2 Sep 2005; Preston Cody <codeman@gentoo.org>
logger -> logger.log in x86AT
1 Sep 2005; Preston Cody <codeman@gentoo.org>
added set_etc_portage to IP. debugging gli-d's support for it.
1 Sep 2005; Andrew Gaffney <agaffney@gentoo.org>
src/templates/x86ArchitectureTemplate.py:
switch to 3 tries for mkfs instead of looping waiting for dev node to exist
30 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIArchitectureTemplate.py:
add _portage_best_version() function and rework install_packages() to allow
for future X of Y tracking
Use best_visible instead of best_version
tracked down and fixed missing = causing empty install extra packages
use = when emerging also
quickpkg hokey pokey
run _get_packages_to_emerge() again with -pk
22 Aug 2005; Preston Cody <codeman@gentoo.org>
src/ArchTemplate: removed install_xorg_x11, and put the xorg.conf copying at
the end of install_packages.
added updateglid to /src/misc
updated all core files with new GPL notice and copyright statement.
21 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIUtility.py:
fix get_snapshot_from_cd() to look in /mnt/livecd/snapshots/ if it can't find
a snapshot in /mnt/cdrom/snapshots/
get_snapshot_from_cd() adds file:// at the beginning
change calls to extra package special case functions to 'self.blah'
21 Aug 2005; Preston Cody <codeman@gentoo.org>
src/ArchTemplate: changed "voodoo".
changed order of portage sync methods. made a fallback to webrsync if
normal emerge sync fails.
removed get_sources_from_cd because it is obsolete.
add special cases to install_packages. remove fatal exception on package
install failure b/c the box will still be bootable.
add install_xorg_x11. remove adding of xdm to runlevel. this will now be
handled in the FEs.
src/GenDialog: added a bunch of code for dealing with x11-based packages.
awaiting testing.
20 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIStorageDevice.py:
global try/except block around fs resizable detection code
src/GLIArchitectureTemplate.py, src/GLIClientController.py:
install-failed cleanup function
18 Aug 2005; Preston Cody <codeman@gentoo.org>
x86ArchTemplate: updated lilo code. separated out THREE commands. untested.
16 Aug 2005; Preston Cody <codeman@gentoo.org>
GLIGenDialog:
add drive choices for loaded configs.
force snapshot for dynamic_stage3
init the snapshoturi input to the cd snapshot if not already selected.
if dynamic_stage3, skip the make.conf step.
GLIUtility: add get_cd_snapshot_uri() for local snapshots.
this fixes parts 1,2,3,6 of bug 102747 for gli-dialog
16 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIArchitectureTemplate.py:
manually call MAKEDEV in stage3-dynamic code
copy /etc/inittab.old to /etc/inittab in chroot
src/GLIUtility.py:
add beginning of validate_uri() function
add file:/// support to validate_uri()
single quotes when setting livecd password
15 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIGenDialog.py:
change getmountpoint() to get_mountpoint()
src/misc/updategtkfe:
committed script to automatically download latest snapshot and run gtkfe
src/templates/x86ArchitectureTemplate.py:
fix _configure_lilo_add_windows() for IP -> GLISD stuff
src/GLIArchitectureTemplate.py:
give tmp_minor an initial value in mount_local_partitions so that the value
remain from the previous drive
14 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/templates/x86ArchitectureTemplate.py:
Fix _configure_lilo() for IP using GLISD stuff
src/GLIArchitectureTemplate.py:
install_cron_daemon() treats "none" specially
14 Aug 2005; Preston Cody <codeman@gentoo.org>
old patch from Steven Mertens to resolve bug #96642
numerous asthetic changes to GenDialog, no real functionality changes though.
strings renamed for global use if necessary.
fix all three parts of bug 102291
disable set_etc_portage until fully-written.
13 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIClientController.py:
lower-case http/ftp proxy envvars
12 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIClientController.py:
log end of pre_install steps to aid in debugging
src/templates/x86ArchitectureTemplate.py:
change set_flag(flag) to set_flag(flag, True)...*stab* *stab*
10 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIArchitectureTemplate.py
check to make sure that the device node we're wait for to exist isn't of
type 'free'
09 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIGenDialog.py:
convert install_packages to list in set_extra_packages()
check return code of checklist() call in "Manual" section
*actually* fix the first problem
08 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIUtility.py:
"source /etc/profile" does not ensure the ENV is correctly set up. Use "bash
-l" instead, to ensure a proper environment (important for CONFIG_PROTECT).
06 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
src/GLIArchitectureTemplate.py:
re-fix net.eth1+ symlink code...wtf is wrong with cvs?
04 Aug 2005; Andrew Gaffney <agaffney@gentoo.org>
Add CDATA support to SimpleXMLParser and add utility functions for it.
04 Aug 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Fix case where vixie-cron is specified as a full package atom, as we still
don't want to run 'crontab /etc/crontab' for it.
*GLI-0.1 (3 Aug 2005)
30 Jul 2005; Preston Cody <codeman@gentoo.org>
add scp to list of is_uri() so GenDialog doesn't complain.
fixed livecd-kernel bug in bootloader code.
fixed gendialog for dynamic_stage3 instead of "networkless"
change bootloader to allow for both initrd and initramfs.
fix IP for dynamic_stage3.
fix ArchTemplate for broken mountpoint creation. fix GenDialog part showing.
30 Jul 2005; Andrew Gaffney <agaffney@gentoo.org>
Added full scp:// URI support to get_uri() in GLIUtility
Remove "networkless" from dynamic stage3 if locic.
Remove print statement from scp:// code.
Change scp code to check for "assword: " instead of "Password:"
Fix post-install network code to create net.eth1+ symlink correctly
Check to make sure pkg can be split on / and some debugging code
Add 2>dev/null to emerge call in _get_packages_to_emerge()
SimpleXMLParser handles True/False/None correctly now
Comment out above fix
Add partitioning wait-for-device-to-exist code to mount_local_partitions
28 Jul 2005; Scott Myron <samyron@gentoo.org>
Removed a FIXME in the GLIClientConfiguration that is no
longer needed.
27 Jul 2005; Andrew Gaffney <agaffney@gentoo.org>
Default to x86 in ClientConfig
Typo in build-a-stage3 code.
Remove MAKEDEV call in build-a-stage3 postscript.
26 Jul 2005; Preston Cody <codeman@gentoo.org>
Rewrote init of IP for gli-d. Other GenDialog updates.
allow network_type to be None in CConfig.
24 Jul 2005; Andrew Gaffney <agaffney@gentoo.org>
Add _dynamic_stage3 option to IP.
Add check for that option to dynamic stage3 code in ArchTemplate.
Fix code to determine default route in get_eth_info() in GLIUtility.
Fix serialization of dns-servers in ClientConfig.
24 Jul 2005; Preston Cody <codeman@gentoo.org>
changed default values of cron/logger in IP.
moved GenDialog IP init out to the individual files. gli-dialog's version
will change quite a bit.
22 Jul 2005; Preston Cody <codeman@gentoo.org>
added ppcArchTemplate. blank now. working on yaboot.
modified ArchTemplate for amd64 and ppc custom kernels.
skeleton implementation of _configure_yaboot.
small fixes to other templates.
21 Jul 2005; Preston Cody <codeman@gentoo.org>
GenDialog updates. changed comment in IP.
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIInstallProfile.py:
Fix codeman's screwup of changing the service seperator to ',' in the parser
without changing it in the serialization code! Also document this in a
comment so you find it easier. Everybody needs to make sure they update
their install profiles!
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Fix casting of list to string and concat of None with string, as well as
commented prototype of checking that mounting actually worked (found a case
where mount can return success, but the mount won't be done).
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
src/templates/x86ArchitectureTemplate.py:
Remove TEMP UGLY HACK of time.sleep(5), and replace it with a while loop
checking for the device, and sleeping 1 second each time.
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
src/templates/x86ArchitectureTemplate.py:
Refactor install_bootloader code and _install_{grub,lilo} so that 'none' for
bootloader works again. Also rename _install_{grub,lilo} to
_configure_{grub,lilo} since they don't install the loaders anymore
themselves.
7 Jul 2005; Preston Cody <codeman@gentoo.org>
fix global USE flags to not include the arch types at the end.
updates to GenDialog and gli-d.
6 Jul 2005; Preston Cody <codeman@gentoo.org>
fixing bootloader code for no initrd and initrd->initramfs naming change.
6 Jul 2005; Andrew Gaffney <agaffney@gentoo.org>
Proper comments and parameters to GLIException in install_mta()
Allow optional exclusion of HTTP, FTP, and/or RSYNC mirrors in list_mirrors()
Add strip() to list_mirrors(), list_subarch_from_mirror() and
list_tarball_from_mirror() to eliminate blank last item.
5 Jul 2005; Andrew Gaffney <agaffney@gentoo.org>
Added stage3 generation code.
5 Jul 2005; Preston Cody <codeman@gentoo.org>
Added sleep(5) to partitioning code, temp got rid of the NOCOLOR in _emerge
Mild changes to GenDialog.
30 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Remove separate install step configure_rc_conf() since it's handled by
update_config_files()
Make a copy of newvalues in _edit_config() so quotes aren't added when the
function is called twice on the same file.
29 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Missing \ in sed in _get_packages_to_emerge()
Removed explicit emerging of hotplug and no longer add it to the runlevel.
Check in _quickpkg_deps() to ignore blank package names returned from
_get_packages_to_emerge()
28 Jun 2005; Preston Cody <codeman@gentoo.org>
fixed agaffney's missing = and extra : in x86AT. commented out crashing line
in the dialog.py gauge code.
28 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Add code to update_config_files() to go through etc_files and update stuff.
Check to see that _etc_files['make.conf'] exists in get_make_conf()
Only use float() in partition xml parsing code if type == "free"
28 Jun 2005; Preston Cody <codeman@gentoo.org>
finished almost all internationalization of GenDialog.
attempt at fixing rc.conf function. moved 3 generate functions out of
fe/gtk/RcDotConf and put them in Utility. fixed self bug.
added dialog.py to the fe/dialog directory so it actually gets used.
27 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Roll rc_conf and make_conf into master etc_files structure in InstallProfile.
27 Jun 2005; Preston Cody <codeman@gentoo.org>
fix extra entry in list_mirrors()
beginning internationalization runthrough.
26 Jun 2005; Preston Cody <codeman@gentoo.org>
added dialog.py to /src temporarily until it gets accepted upstream.
fix for unused value in form in dialog.py and changed heights.
fix GenDialog forms.
25 Jun 2005; Preston Cody <codeman@gentoo.org>
Changed hostname/domainname for new baselayout.
Changed _add_to_runlevel errors to logs.
Updated TODO list to show status of GenDialog
More updates to GenDialog including two checklists that probably won't work.
update IP to use comma-separated list instead of space separated for services.
24 Jun 2005; Preston Cody <codeman@gentoo.org>
Add dhcp_options to the CC, CConfig, and GenDialog. More overall changes to
GenDialog as it gets closer to completion.
22 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Modify get_eth_info() to take a full interface name (eth0 fex). float()
instead of int() in add_partition_device_partition() for minor (closes 96804)
21 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Changed setup_network_post to check for 'interfaces[interface][0] != "dhcp"'
instead of 'interfaces[interface][1]' since DHCP uses that field for its
options. setup_network_post() writes custom DHCP options to /etc/conf.d/net.
20 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Apply spawn() patch from #96644 (with minor changes). Make sure the return
value from all spawn() calls is checked with GLIUtility.exitsuccess(). Fix
small error with <pipe>.close() returning None. Fix space vs. tab issue.
Fix undefined variable 'output' issue in spawn().
20 Jun 2005; Preston Cody <codeman@gentoo.org>
More updates to GenDialog and gli-d.
19 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Modify list_mirrors() to return a list of mirror URL/name pairs.
19 Jun 2005; Preston Cody <codeman@gentoo.org>
Adding gli-dialog.py. Updates to GenDialog. Added function to GLIUtility to
get subarch.
16 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Backend partitioning will create disklabel is none exists. Installprofile
defaults to "" now instead of "msdos" for disklabel type. Fix for
mount_local_partitions() to remember device along with minor in the
parts_to_mount dict (closes #96319). mount_local_partitions() cleanups and
add else block to log unsupported netmount types to mount_network_shares()
15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Refactor kernel_compile common stuff, fix 2.4 build process.
src/fe/cli/clife.py:
Logging system.
src/GLIUtility.py, src/GLIStorageDevice.py:
Add comments about re-writes needed for boxes without sysfs.
15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
2.4 support (pull version data from /usr/src/linux/Makefile), incl.
'make dep' call for custom compile. build_mode support for prepare-only and
none types completed. custom compile function chains shell functions in
spawned script, to allow for catching all errors.
15 Jun 2005; Preston Cody <codeman@gentoo.org>
fixed up build_kernel in ArchTemplate for build_mode as well as in dialogfe
and GenDialog. other gendialog updates as well. kernel updates untested.
14 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIInstallProfile.py:
Change structure of etc-portage stuff. The serialization was broken before my
last commit, and I am the only person that's ever used it. The new schema is
as follows:
<etc-portage>
<file name="package.mask"/>
<file name="package.unmask">
<entry atom="sys-kernel/openmosix-sources"/>
</file>
<file name="package.use">
<entry atom="sys-libs/db">
-java
</entry>
<entry atom="dev-libs/cyrus-sasl">
-ldap
</entry>
</file>
</etc-portage>
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIInstallProfile.py:
Add new entry for gli-profile/kernel-build-method item. Add missing
serialize_etc_portage (temporary). Make serialize_make_conf always print the
keys in the same order.
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Clean up commenting used by _edit_config(), and fix bug where wrong comment
was repeatedly appended to make.conf.
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Put some Linux-2.6 specific code under a if statement. Store list of
successfully mounted swap device for using swapoff. Add proper error checking
to install_packages and install_filesystem_tools. Fixed namespace conflicts on
'file'. Clean up some redundant code (thanks to pychecker).'
13 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Fix typos: get_extended() instead of get_extended_partition(). Added
list_mirrors() and list_stage_tarballs_from_mirror() functions to GLIUtility.
Change _emerge("sync") call to direct call to spawn to avoid 'emerge -k sync'
12 Jun 2005; John N. Laliberte <allanonjl@gentoo.org>
GLIInstallProfile.py: add missing set for dhcp_options if a tuple is passed
in add_network_interface.
12 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIArchitectureTemplate.py:
ensure PORTAGE_TMPDIR/PORT_LOGDIR/PORTDIR_OVERLAY/PKGDIR exist prior to any
usage - this caused a failure for stage1/stage2 previously. swapoff for swap
space at end of install. Mount /dev, /dev/shm, /dev/pts and /sys during
prepare_chroot.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> +src/cli/clife.py,
+src/cli/README, +src/fe/installer-cli, +src/fe/installer-dialog,
+src/fe/installer-gtk:
Add new automated CLI frontend. Add scripts that are the intended means to
use each frontend.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIClientController.py:
Add null type to network config, for cases where the interface is already up
and should not be touched (netboot for example).
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
pcmcia is not a variable name for a call to _add_to_runlevel, it should be a
string!. Try to use binary packages if available by default.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
More error checking for _add_to_runlevel, to ensure that the init script
actually exists before we try to add it. set_services phase must take place
after the package installation, otherwise the init scripts might not exist.
Find the correct init script for the cron and logging daemons, and add that
instead of the package atom.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Fix up _edit_config so that it works if the file doesn't already exist. Fix
usage of 'file' to 'contents' for the variable name, as it shadows
__builtin__.file.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py:
Add MTA install code, and include MTA install phase. Ensure
PORT_LOGDIR/PORTDIR_OVERLAY are created in _emerge if needed. Add support
for 'none' kernel config for build_kernel phase. Put kernel_script in
/var/tmp instead of /root for build_kernel phase.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py:
Rename mta variables to match syslog/cron variables.
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py,
src/.cvsignore, src/fe/dialog/.cvsignore, src/fe/gtk/.cvsignore,
src/fe/net/client/.cvsignore, src/fe/net/server/.cvsignore,
src/templates/.cvsignore, src/tests/.cvsignore:
Refactor partition formatting again to include error checking. Allow 'none'
for kernel and bootloader specifications. Add .cvsignore files for .py[co].
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py:
Refactor _emerge to remove duplicate code. Refactor mkfs code in backend to
only have a single spawn call.
11 Jun 2005; Preston Cody <codeman@gentoo.org>
refixed samyron's fix of set_architecture_template.
11 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Move /tmp/spawn.sh and /tmp/post-install to /var/tmp since that should always
be executable.
10 Jun 2005; Scott Myron <samyron@gentoo.org>
Fixed one of the FIXME's in the ClientConfiguration. There is now some
error checking when you call set_architecture_template.
10 Jun 2005; Preston Cody <codeman@gentoo.org>
moved the mkfsopts input to the partition options menu instead of the during
the creation process. updated GenDialog to say it supports reiserfs v3.
9 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py,
src/GLIStorageDevice.py, fe/dialog/dialogfe.py:
Complete support for 'mkfsopts' parameter in main system and dialogfe.
Add support for other partition types to dialogfe.
Fix all usages of int(possible_big_number) to long(possible_bit_number) to
avoid integer overflows and wraparounds.
9 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Removed start/end from XML output and added mkfsopts to partitioning info.
'mkfsopts' parameter is now used and support for creating xfs, jfs, and
reiserfs is now in (patch from robbat2). Change '_parser' to 'self._parser'
in GLIClientConfiguration. Change from .1 and .9 to constants for
partitioning. Fix free space overwriting bug. Remove a few unused functions
from rewrite. Fix call to get_partition_at()
8 Jun 2005; Preston Cody <codeman@gentoo.org>
Updates to GenDialog and dialogfe.
7 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Typo (%$^&#$!) fix in GLIStorageDevice. Minor fix recommended by pychecker
6 Jun 2005; Preston Cody <codeman@gentoo.org>
more GenDialog updates to partitioning.
5 Jun 2005; Preston Cody <codeman@gentoo.org>
Indenting issue in GLISD/get_ordered_partition_list.
updates to GenDialog partitioning and added default UTC for timezone in IP.
5 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Added GLISD.get_model()
3 Jun 2005; Preston Cody <codeman@gentoo.org>
Added get_eth_devices() to GLIUtility. Updated netfe.py to newest version.
More updates to GenDialog :)
3 Jun 2005; Andrew Gaffney <agaffney@gentoo.org>
Added get_interface_realname() function.
2 Jun 2005; Preston Cody <codeman@gentoo.org>
Added auto-save of CConfig and copying to new /root after install.
yet even more GenDialog updates.
1 Jun 2005; Preston Cody <codeman@gentoo.org>
removed print statement from GLISD. more updates to GenDialog.
31 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Not being able to fetch the stage tarball is now an exception. Chroot wrapper
passes along exit code. Fix typo in GLIStorageDevice causing mountopts to be
loaded from XML as ['mountopts']. Changed 'data' to 'self.data' in a few
places in GLIClientConfiguration.
27 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Fix mount_local_partitions(), configure_fstab(), and
install_filesystem_tools() to use GLISD directly. A few more fixes for same.
A few more fixes for templates/x86Archtemplate
27 May 2005; Preston Cody <codeman@gentoo.org>
Removed more unused code from CConfig. Updated GLIGenDialog, but it is still
a work in progress.
24 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Changes in IP, GLISD, and templates/x86Archtemplate for IP using GLISD
directly. GLISD can now handle data imported from XML.
22 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Missing colon in GLIClientConfiguration. Add fix to GLIStorageDevice to
handle blank (no disklabel) disks.
20 May 2005; Preston Cody <codeman@gentoo.org>
HUGE Reorganization of the InstallProfile. All sections alphabetized, cleaned
up, documented, and separated out serialization and grouped all sections.
19 May 2005; Preston Cody <codeman@gentoo.org>
Reorganization of ClientConfiguration and gutting of unused functions.
Removed verbose option from CC. Moved import statement in IP and CConfig up.
18 May 2005; Preston Cody <codeman@gentoo.org>
Fix use of /mnt/gentoo instead of _chroot_dir in finishing_cleanup
17 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Fixed bug in finishing_cleanup(). Fix a late-night coding error in
partitioning. CC serializes install profile to disk and prepare_chroot()
copies it into /mnt/gentoo/root
16 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Moved URI parsing into new function parse_uri()
14 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Added XMLParser module.
13 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Fix is_realstring() and rewrite is_uri() to use a regex to parse the URI.
Minor fix to is_uri() regex to allow hyphens in hostname.
12 May 2005; Preston Cody <codeman@gentoo.org>
Updated finishing_cleanup for new unmounting method from agaffney.
12 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Fix GLILogger to use correct time format string. Fix _edit_config() to
properly comment out variables. Fix minor bug in finishing_cleanup(). Add
unicode support to is_realstring().
11 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Added --nocolor to all emerge calls. Fix is_eth_device to test for zero
return value instead of non-zero. Add code to output a traceback to the
install log in the event of a GLI or non-GLI exception. Use NOCOLOR=yes
instead of --nocolor.
10 May 2005; Preston Cody <codeman@gentoo.org>
Added GLIGenDialog.py to make a generic class for the dialog functions that
can be used by both dialogfe and the netfe/be. updated both for new filename.
date changes. 2004->2005.
10 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Removed 'quiet=True' from spawn() calls
10 May 2005; Preston Cody <codeman@gentoo.org>
Updated GLIUtility with patches from chotchki. Also added documentation
9 May 2005; Preston Cody <codeman@gentoo.org>
Added the function for set_etc_portage to ArchTemplate. no step for it yet.
Updated _edit_config in ArchTemplate, make_config, and various other fixes
from bug #89683, mostly touchups.
6 May 2005; Andrew Gaffney <agaffney@gentoo.org>
GLIStorageDevice cleanup patch from bug #91761
3 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Fixed timezone code to not link to /mnt/gentoo/usr/share/zoneinfo/blah. Fix
_edit_config(). Error logging casts 'error' to str
2 May 2005; Andrew Gaffney <agaffney@gentoo.org>
Exceptions received in CC are logged before being passed to the FE. Added
code to CC to handle exceptions *not* thrown by the installer itself.
1 May 2005; Andrew Gaffney <agaffney@gentoo.org>
get_max_mb_for_resize() returns -1 if not self.resizeable
30 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
More dirty rsync hacks :-/
29 Apr 2005; Preston Cody <codeman@gentoo.org>
Patches from chotchki (bug #90325) to improve CC networking. untested.
29 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Proxies patch from chotchki (bug #90147). Fixed == instead of = typos in
GLIStorageDevice (pointed out by chotchki). Fixed missing int()s. Split
'custom' sync option into 'none' and 'snapshot'. Minor fixes to
GLIStorageDevice as suggested by pychecker. Fix minor bug in
_get_packages_to_emerge(). Fix _quickpkg_deps() to call
_get_packages_to_emerge()
28 Apr 2005; Preston Cody <codeman@gentoo.org>
Added group-adding code to set_users in ArchTemplate
27 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Added post-install script code
23 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Fixed encapsulation issues in GLIClientController (bug #90141)
22 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Update resizing code in GLIStorageDevice
17 Apr 2005; Preston Cody <codeman@gentoo.org>
Update AUTHORS, NEWS, TODO. Added documentation to GLILogger.
17 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Reverted change to ArchTemplate and added support for commented line in old
code.
16 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Changed _edit_config() to modify value in-place instead of commenting out and
adding the new value to the end of the file.
15 Apr 2005; Preston Cody <codeman@gentoo.org>
Back. Did the docuementation thang for ArchTemplate and ClientConfiguration.
Also updated TODO list.
14 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Use blackace's one-liner to add comments for all function for use with
pythondoc.
13 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Moved 'end >= device_sectors' check out of loop to check for next partition's
start point (thanks to Marco Djukic). Fix >4 primary partitions on non-x86.
Partitioning code now tracks start/end of extended for placing logicals. End
point of logical is now adjusted along with start.
11 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Finish overhaul of backend partitioning code. Fixed all bugs that stood in
the way of partitioning from a blank disk. Add int() around access to minor
key in partition information due to new partition code leaving them as float.
10 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
tidy_partitions() function in GLIStorageDevice. Tweaks to tidy code
9 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Major GLIStorageDevice overhaul...all MB now instead of sectors.
8 Apr 2005; Scott Myron <samyron@gentoo.org>
Added support for DHCP options and MAC addresses in the InstallProfile.
3 Apr 2005; Andrew Gaffney <agaffney@gentoo.org>
Changed mountopts check to work for blank and whitespace. Pipe emerge through
sed to properly strip out junk.
2 Apr 2005; Preston Cody <codeman@gentoo.org>
fixed the way set_timezone works. added hotplug/coldplug for livecd-kernel
added --emptytree to stage2. fixed ethx not being added to runlevel defalt.
31 Mar 2005; Preston Cody <codeman@gentoo.org>
Fixed indent problem in GLICController
30 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Check for disklabel type "loop" and use the device name without a minor.
29 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Remove /tmp/compile_output.log and /var/log/install.log when install is
complete. Added code to (hopefully) keep 2nd thread running after install.
Patch from zahna for extra arguments to the kernel. Patch from zahna to add
get_eth_info() function. Remove most of content in amd64ArchTemplate and
make it inherit from x86Archtemplate. kernel_args -> bootloader_kernel_args
28 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Added 'append_log=True' to all spawn() calls using logfile=. Append to log
when unpacking tarball.
28 Mar 2005; Preston Cody <codeman@gentoo.org>
rewrote filesystem_tools. looks like it works so ripping out all the old
filesystem_tools code.
26 Mar 2005; Preston Cody <codeman@gentoo.org>
Changed the print statements to logging in the partitioning BE code.
the logger may need to be imported to the x86archtemplate. unknown yet.
Added the finishing_cleanup function.
added a fix to the logger from BenUrban
25 Mar 2005; Preston Cody <codeman@gentoo.org>
changed InstallProfile to remove is_uri check on kernel, stage, and portage
URIs. The blank uri check has been commented out.
ripped out error checking of set_services. this is done by _add_to_runlevel.
25 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
set_stage_tarball_uri() doesn't raise an exception on a blank string.
24 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
GRP-ish quickpkg code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in
the install profile if available. Commented out spawn() debugging prints
23 Mar 2005; Preston Cody <codeman@gentoo.org>
small changes to setup_network_post. moved adding to runlevel of net.x to
after the device gets symlinked. added domainname runlevel command.
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
minor fix (hopefully) to livecd-kernel code. Removed call to mkvardb in
livecd-kernel code as it's now done by catalyst. Switch _emerge() call to
spawn() call in livecd-kernel code to pass environment variables.
livecd-kernel code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in
the install profile if available.
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Added code to build_kernel() and emerge_kernel_sources() in ArchTemplate
to handle installing the livecd kernel into the new system.
22 Mar 2005; Preston Cody <codeman@gentoo.org>
should emerge hotplug and coldplug before adding them to runlevel.
21 Mar 2005; Preston Cody <codeman@gentoo.org>
took chroot out of grub_install command.
21 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Changed chroot wrapper code in spawn() to write the wrapper the python way
instead of the bash way to avoid quote conflicts. Added
'logfile=self._compile_logfile' to a number of spawn() calls. Added new
hash_password() function to GLIUtility. Remove command to 'rm /tmp/spawn.sh'
as it breaks the piping.
20 Mar 2005; Preston Cody <codeman@gentoo.org>
Added the amd64ArchitectureTemplate, mostly a copy of x86 without lilo.
20 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in
stage1() and stage2(). Added 'origminor' parameter to GLIStorageDevice and
GLIInstallProfile.
19 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Fixed a couple bugs in add_netmount() in GLIInstallProfile. spawn() outputs
to the actual tty8 with display_on_tty8 flag. Compile output logfile moved
into /mnt/gentoo in prepare_chroot()
18 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Add sigunmask.c contributed by d_m (on freenode) to counteract python's
retarted behavior regarding threads and signals. Add code to convert MB/%/*
to start/end sectors
17 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Add 2>&1 to cmd in spawn()
16 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Modified GLIUtility.exitsuccess() to work with return value from
commands.getstatusoutput instead of os.waitpid(). spawn() automatically
creates wrapper script for commands run inside chroot so multiple commands
and redirection can be used. Change exitsuccess() back. Added 'chmod a+x'
for the generated script from spawn()
16 Mar 2005; Preston Cody <codeman@gentoo.org>
Removed default values for stage tarball URI and portage tree URI from
InstallProfile. These should be set by the FEs. also added services step to
ArchTemplate and coldplug/hotplug runlevels to the genkernel step.
Possibly fixed CC DHCP bug with -n. (thx agaffney)
14 Mar 2005; Preston Cody <codeman@gentoo.org>
Small fix for setting the default gateway. Also added feature to dialogfe.
7 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Switched spawn() over to commands.getstatusoutput() instead of fork/waitpid
1 Mar 2005; Preston Cody <codeman@gentoo.org>
Fixed a bunch of true -> True typos. lots of em
only write new resolv.conf if there are dns servers listed.
1 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
Commented out 'display_on_tty8=True' in start_portmap()
18 Feb 2005; Preston Cody <codeman@gentoo.org>
added progress bar to dialogfe and fix logger bug in ArchTemplate.
18 Feb 2005; Andrew Gaffney <agaffney@gentoo.org>
Created GLISayWhat module. Renamed GLISayWhat to GLILocalization. Moved
lang parameter to __init__()
10 Feb 2005; Preston Cody <codeman@gentoo.org>
updates to TODO list.
6 Feb 2005; Andrew Gaffney <agaffney@gentoo.org>
Initial code for quickpkg GRP support. Fix loop to grab packages from
'emerge -p blah'
6 Feb 2005; Preston Cody <codeman@gentoo.org>
check for dhcp in the network stuff and emerge it if it is.
added quickpkg to TODO list
5 Feb 2005; Preston Cody <codeman@gentoo.org>
Changed the raising of 'warning' exceptions to a simple log of the error
so that the installer can continue.
3 Feb 2005; Preston Cody <codeman@gentoo.org>
Some big changes. First, changed most output to display_on_tty8.
Second, added log lines to all templates. Some smaller fixes such as typos.
Also did some cleanups of old commented lines.
1 Feb 2005; Andrew Gaffney <agaffney@gentoo.org>
Changed tty8 output to a fifo. Minor GLIStorageDevice fix thanks to BenUrban.
Undo change with fix. Escaping fix in GLIStorageDevice.py
31 Jan 2005; Preston Cody <codeman@gentoo.org>
more updates to TODO list. hopefully we'll soon start removing items instead
of adding them.
29 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Changed the way GLIStorageDevice.get_max_sectors_for_resize() works
27 Jan 2005; Preston Cody <codeman@gentoo.org>
updated TODO list. (again)
25 Jan 2005; Preston Cody <codeman@gentoo.org>
changed output of portmap start to display_on_tty8.
fixed bootloader for udev and multiple kernels
fixed custom kernel config (again)
22 Jan 2005; Preston Cody <codeman@gentoo.org>
changed default value of CC._enable_ssh to True because this is smart.
added code to allow custom kernel .config. may be unstable and break. sorry.
21 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
partition() now waits until after it checks for partition flags before delete
the partitions :P
19 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Updated TODO. swapon failure it temporarily not an error. swapon is an error
again. is_uri() check only performed on portage_tree_snapshot_uri if it isn't
blank.
19 Jan 2005; Preston Cody <codeman@gentoo.org>
Various fixes related to the add_users function. Still not yet finished.
Added things to the TODO list. Lets start using that!
18 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Added code to x86Template to format newly created partitions. Also added
some error checking code. GLIStorageDevice passes 'minor' with data to
InstallProfile. Added partition() call back in ArchTemplate. Fixed NFS
mounting code.
18 Jan 2005; Preston Cody <codeman@gentoo.org>
Took out unnecessary setting of random livecd root password. the cd already
sets it randomly.
15 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Took out an unneeded step from CC's run()
15 Jan 2005; Preston Cody <codeman@gentoo.org>
Attempt at detecting and adding windows partitions to lilo.
14 Jan 2005; Preston Cody <codeman@gentoo.org>
Added lilo code and cleaned up lilo code. also do_partitioning renamed to
partition. fixed misc exit_status => exitstatus typo.
11 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Added basic code for resizing filesystems with pyparted. Fixed code for
resizing ntfs and ext2/3.
10 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Fixed partition() in x86Template so that it scans through logicals and deletes
before deleting containing extended partition. Also clears partition table to
be safe before third pass.
08 Jan 2005; Preston Cody <codeman@gentoo.org>
Added mount_network_shares. not able to test it from this computer.
will test when i get back to school.
also added start_portmap to the client_controller as an always-do.
agaffney says this is needed for NFS mounts to work.
08 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Partial rewrite of partitioning code in x86Template. No longer shells out to
parted to perform actions, now uses all pyparted calls. Code "works" in a
test, but still needs lots of TLC. Also modified tests/install.py to work
with x86Template and GLIClientConfiguration.
07 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Initial move of partitioning code from ArchTemplate to x86Template.
07 Jan 2005; Preston Cody <codeman@gentoo.org>
Added grp_install and services to InstallProfile. forgot about the set_root_password
07 Jan 2005; Preston Cody <codeman@gentoo.org>
Fixed a few more edit_configs. fixed a chroot multicommand bug thanks to agaffney.
Test Install ran very well (skipping partitioning).
05 Jan 2005; Preston Cody <codeman@gentoo.org>
My mid-day update. rewrote mount_local_partitions for order of mounting. fixed prepare_chroot
rewrote configure_fstab and install_bootloader for new partition format. fixed a few _edit_configs.
some may still have eluded me.
05 Jan 2005; Preston Cody <codeman@gentoo.org>
Overhauled the entire ArchTemplate and did a lot of other misc fixes in order to test it.
Just finished mount_local_partitions in GLIArchitectureTemplate
05 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
Added get_num_sectors() to GLIStorageDevice.
04 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
GLIStorageDevice now tracks partition boundaries in sectors instead of cylinders.
Also now ignores <=100 sectors for free space. Removed remaining depends stuff
from GLIInstallProfile.
20 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
GLIStorageDevice returns "unknown" instead of "" for get_type()
19 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
Added get_extended_partition() to GLIStorageDevice. Rewrote get_logicals() to
actually work. Commented out resizability checking code for speed.
17 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
Switched to using dumpe2fs to determine free space left in ext2/3 filesystem in
GLIStorageDevice at the suggestion of plors
10 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
Added a function to GLIUtility to pull a value from a make.conf-style config
file. Minor type fix to GLIInstallProfile.py
09 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
Added code in GLIArchitectureTemplate.py to write netmounts into fstab. Separated
network mounts from partition data structure in GLIInstallProfile
27 Nov 2004; Andrew Gaffney <agaffney@gentoo.org>
Changed the way GLIStorageDevice.py determines the amount a ext2/3 filesystem
can be resized.
27 Oct 2004; Preston Cody <codeman@gentoo.org>
Added some of the final functions to GLIInstallTemplate.
Yes this project is still active despite rare use of the Changelog!
11 Jun 2004; Nathaniel McCallum <npmccallum@gentoo.org>
Added the GLIPartitionTools.py file. This is a temporary insertion of
partitioning tools that will eventually go into their own package.
27 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org>
Added InstallProfileTODO.txt. Added GLIClientConfiguration.py (contains run-time
for the program). Added __init__(install_profile, client_configuration) to
GLI.InstallProfile. This sets install_profile and client_configuration once so as
to avoid constantly passing stuff every time we call a method.
26 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org>
Added another private method to GLI.InstallTemplate. _edit_config() modifies config
files without messing up all the other stuff in them. This will be used for making
changes to make.conf, rc.conf, /etc/conf.d/net, etc...
25 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org>
Added GLI.InstallTemplate framework. This is not yet functional. However, it does
have a few basic things. I added two private methods. One is _depends(). This
will be used for dependency checking (ie. unpacking a tarball requires that
partitioning has been done). The other is _exec_in_chroot(). This is the exact
same syntax as os.system(), however, instead of being run in the liveCD
environment, it runs in the chroot. This requires a bit of fork() magic, so I
isolated the code. Hope to work more this week to get this class formed...
14 Feb 2004; Eric Sammer <esammer@gentoo.org>
Added SAX parsing. Made GLI.InstallProfile a subclass of xml.sax.ContentHandler for
obvious reasons. Switched kernel_modules and users to be lists instead of tuples
to allow for easier modification (mutable, rather than immutable objects). Updated
existing pydoc and added more. Implemented body of GLI.InstallProfile.parse().
Cleaned file format of GLI.py a bit. Fixed all accessors to use self references.
Added initial unit test code.
9 Feb 2004; Eric Sammer <esammer@gentoo.org>
Added initial changelog. Setting up the basic structure of the CVS repository
for the project. Added the UML class diagram in docs. Added a skeletal GLI
python module. Added misc files such news, authors, etc.
|