ncik
|
2013-06-22
, 17:13
|
Posts: 15 |
Thanked: 10 times |
Joined on Jun 2013
|
#351
|
The Following User Says Thank You to ncik For This Useful Post: | ||
|
2013-06-22
, 20:39
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#352
|
That reminds me of another remark :
in your cut down preinit_harmattan is only one problem (compared your version with original one), the early start up of usb network! You remember?
I have it commented out, but now as I write I believe a configurable option could be nice to have early telnet/ssh possibilty during harmattan as we have in nitdroid and nemo. But I do not know if it makes sense at all and how to fetch config values in preinit? Do you get me, juiceme? Or just talking bullsh.t?
For preinit_nitdroid I also would like to fetch config values from ubiboot.conf, but who cares? Only me probably and so I just edit the preinit_nitdroid directly. Maybe one day I will get it starting from p5 !?
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-06-23
, 11:15
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#353
|
Well yes you are right maybe that should be removed once and for all... Having that option in preinit messes up the VOIP and in Harmattan you cannot really access the device via SSH until fairly late stage of boot, it's better to get to the device via seral adapter and R&D mode*if that is required.
First thing that comes up my mind is tagging the place in the preinit with some nice symbol, something like G_IP_ADDRESS_TO_BE_ASSIGNED and then in ubiboot domain to run sed on the file and replace that with the desired address.
That would work just once, though as of course on the second run it had already been changed.
Having a bit more complex sed script, you could well have a marker there to signify the place of replacement so that is leaves the marker section there for subsequent runs.
Possible, but is it useful for many people?
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-06-23
, 18:28
|
Posts: 428 |
Thanked: 226 times |
Joined on Dec 2010
@ Philippines
|
#354
|
|
2013-06-24
, 08:28
|
Posts: 428 |
Thanked: 226 times |
Joined on Dec 2010
@ Philippines
|
#355
|
|
2013-06-25
, 06:11
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#356
|
Hi Friends,
I attempted to make my first Wiki Page. I used the Ubiboot Steps to make it. Please review and hope you like it. Feedback is most welcome (preferably via PM as I am not always online on the forums).
http://wiki.maemo.org/Ubiboot
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-06-25
, 16:43
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#357
|
The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2013-06-25
, 17:42
|
Posts: 428 |
Thanked: 226 times |
Joined on Dec 2010
@ Philippines
|
#358
|
The Following User Says Thank You to topet2k12001 For This Useful Post: | ||
|
2013-06-25
, 20:49
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#359
|
Taking a deeper look into the files compiled into the kernel, I have seen that you symlink /etc/passwd and /etc/group directly hardcoded from /mnt/2/etc/ passwd respective /mnt/2/etc/group.
This is what I wanted to avoid (to have the need for some harmattan files/dirs accessible on p2).
I edited /init (attached), but I am absolutely not sure if this will work.
When, at what time, the ubi system needs passwd and group?
If it is only when launching a shell, I think my small modification (peterleinchen 1) may work. But when it is already needed for starting /init itself, then I am doomed. In first case what about the maintenance mode: do we need it here also as it starts a shell (I have begun to modify: peterleinchen 2)?
Please take a look and let me know, please.
And i thought about changing the log location to /mnt/p1/boot/log (peterleinchen 3) as this location is visible to all operating systems and easily to access for everybody. I thought also about saving log to the selected OS /var/log location, but after rethinking discarded this idea. What do you think? (of course this needs to be fixed in all files then as well)
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-06-25
, 21:09
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#360
|
1. Actually the symlinks to /etc/passwd and /etc/group are not used for anything at all at the moment. The files are there just as I am trying to get SSHD to work. SSHD requires the entries to manage userids, and my idea here was to symlink those from the Harmattan side so that I could reuse the Harmattan credentials on ubiboot domain. This is maybe a futile idea anyway, so the files are totally excess as of current. (meaning, just do not care if the links point to nothing at all...)
The Following 2 Users Say Thank You to caveman For This Useful Post: | ||