Gentoo Archives: gentoo-soc

From: Christos Kotsis <christo.kotsi@×××××.com>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] Project GSE: 26 of June - 30 of June & 03 of July weekly report
Date: Mon, 03 Jul 2017 23:26:21
Message-Id: d60bdc7c-6a42-6cb1-ce81-b0625d3ba9c5@gmail.com
1 ======================================================================================================================================================================================================================================================================
2 ======================================================================================================================================================================================================================================================================
3
4 My plan for 26 of June was:
5
6 -Enable the networking in the controller.
7
8 If I manage to enable networking, then:
9 -Test the version check script
10 -Write the fetch a new image module from the current scripts
11 -Write the fetch config.d module from the current scripts
12
13 By current scripts I mean the scripts that I had written in the past, but not as dracut modules.
14 Those scripts as of now are parts in the main init file.
15
16
17 I didn't work with the networking because I switched my objectives after the meeting with my mentor (Rafael Martins) today.
18 I choose to switch the objectives, since I am closing the builder part hence I don't want to leave any areas that require active work.
19 The new objectives were:
20 -Break down to function the main menu, since it's full on case statements and quite unreadable at some parts
21 -Create a new function that will work the loop menus
22 -Create a new function that will manage the cases
23 -Finish the distcc/pump mode on the chroot phase and make the cmdline ccache option to be written in the make.conf(chrooted pashe)
24 -Include variables to control the verbosity instead of making if statements.
25 This way a simply eval ${verbosity_var} will give the requested ouput. Example, for -q verbosity_var=">/dev/null 2>&1"
26 and for emerge emerge_var="-q". However for -v the verbosity_var will be null and at the same time a set -x will be enabled.
27 The emerge var will obviously be -v.
28
29 ======================================================================================================================================================================================================================================================================
30
31
32 My plan for 27 of June was:
33 -Enable the networking in the controller.
34
35 If I manage to enable networking, then:
36 -Test the version check script
37 -Write the fetch a new image module from the current scripts
38 -Write the fetch config.d module from the current scripts
39
40 By current scripts I mean the scripts that I had written in the past, but not as dracut modules.
41 Those scripts as of now are parts in the main init file.
42
43
44 I did not manage to bring network on the initramfs.
45
46 ======================================================================================================================================================================================================================================================================
47
48 My plan for 28 of June was:
49
50 -Include in the initramfs extra network tools, and see if I can bring the networking manually from a rescue shell.
51 -Fix the issues.info builder's log tools.
52 -Create a function to manage the issues instead of writing long manual entries
53 -Read from the above issues from the loop-reaction function instead of using the last failed command
54 If I manage to enable networking, then:
55 -Test the version check script
56 -Write the fetch a new image module from the current scripts
57 -Write the fetch config.d module from the current scripts
58
59 I could not establish network connection. I get a double IP warning all the time, however I have written the fetch new script, fetch config.d script.
60
61 ======================================================================================================================================================================================================================================================================
62
63 My plan for 29 of June was:
64 -Make a more general update script. This script has already been written in previous objectives, however it looks not general enough.
65 -Run the offline controller scripts, since I have trouble with the networking at the moment
66 -Export devices, size, fs, label, set path and set config.d directory for the cmdline hook
67 -Rw mount part, prepare mount points and chroot script for the pre-mount hook
68
69
70 The objectives were successful. Additionally the new main menu functions and their loops has been updated further. The code is reduced a lot and "press any key to continue" entries have been removed.
71
72 ======================================================================================================================================================================================================================================================================
73
74 My plan for 30 of June was:
75 -Rewrite the dracut network module to work for Gentoo. ( I changed it in the past, however it was not good )
76
77 I am putting only one objective, since this was not in my plans, hence there is no implementation made. However I must do this, since the dracut network module does not work.
78
79
80 It did rewrite the dracut network module, however the initramfs would give kernel panic. I guess I am initiating something or missing something. I'll check this on the weekend and see how it goes.
81
82 ======================================================================================================================================================================================================================================================================
83
84 My plan for 03 of July was:
85
86 - Finish the network module, if it's not been finished by the weekend
87 - Implement it in the rest of the controllers process.
88 - Network check
89 - Fetching new config.d directory
90 - Fetch version
91
92 For 03 of July I included during the weekend, one more extra feature. That is a new option for editing the configuration files from the command line.
93 The network module, still gives me some hard time, but I think it will be done in the next day.
94 ======================================================================================================================================================================================================================================================================