Thanks your reply,
“inst.updates=hd:/sdb4:/images/updates.img ” was my writing error,sorry for that.
Actually, I used "inst.updates=hd:sdb4:/images/updates.img" as you said above, and the menu hasn't new category.
I have read :
pyanaconda/ui/categories/__init__.py
pyanaconda/ui/categories/system.py
After comparing with these files, I found that “hello-world-anaconda-addon/org_fedora_hello_world/categories/hello_world.py” are missing the following lines:
displayOnHubGUI="SummaryHub"
displayOnHubTUI="SummaryHub"
sortOrder = 100
displayOnHubGUI default value is none.
The comment in the code says that if this value is none, then this category will not be displayed.
SO I add these lines in
“hello-world-anaconda-addon/org_fedora_hello_world/categories/hello_world.py”.
but, when the installer runs, click Continue button in Welcome page(chosse language), there is a error message page,
and the More Info is shown:
/usr/lib64/python2.7/sit-packages/pyanaconda/ui/gui/hubs/__init__.py, line 132, in _createBox()
spoke=spokeClass(self.data, self.storage, self.payload, self.instclass)
……………………
TypeError: __init__() takes exactly 4 arguments (5 given)
Now, what should I do next ?
:(