Help - Zoeken - Gebruikers - Kalender
Volledige versie: MCNLive Kris BETA
MandrivaClub.NL > MCNLive > MCNLive: International
Pagina's: 1, 2, 3
HighKing
QUOTE(isadora @ Mar 24 2010, 07:58 AM) *
HighKing, what do you mean by "live halt"?

The halt script in /etc/rc.d/init.d. smile.gif
From the initrd-image, the original halt script gets renamed and a replacement is put in place because the original halt doesn't work correctly on a livecd. smile.gif
kris
QUOTE(HighKing @ Mar 23 2010, 07:55 PM) *
Ok we need to rethink something... after installing the live system to disk the live halt stays in place. This is wrong, but since the installer isn't ours we can't do much about that. How does One handle this? Does it use a custom halt script at all?

One idea that came to my mind is keeping the hmconfig script enabled after booting, and create a check in that script that checks if the system is live or installed and removes the live halt whenever running from an installed system. Then the hmconfig script can disable itself after the first boot from an installed system. I would prefer the installer to do this for us though... but I'm affraid that's not possible.


* I can remember that I edited the MDV live install script (on the old mcnlive), it's a perl script, to put the original halt back, but I'm not 100% sure, I 'think' that they do similiar things with MDV One and the live install. Someone with more time and a recent MDV One could have a look what halt scripts there are on the live system?
When we follow the same naming scheme, it could be solved.
* Another option would be to edit the original halt script in a way that all changes first check: is it a live system, then do ... blah blah. If not use the original code. Then we'd have one halt script, and all this mv and mv back isn't necessary.
* Your/our halt doesn't do any harm atm, if I'm not mistaken, even on an installed system.
HighKing
Ok, created a solution this afternoon.

The init script still replaces the halt script, but the back-up is now called "halt.hotmedia_backup" to make sure halt.orig is not taken already. wink2.gif
The hmconfig script now checks wether or not it is running live. If not, it checks wether or not the halt.hotmeida_backup file is there. If true, it removes the 'live' halt and puts the backed-up version back in place.

I removed all stuff related to disabling the hmconfig script and putting back the original halt from the remaster script. I hope to be releasing "beta 3" tomorrow. smile.gif
HighKing
And here it is! The third beta!
Kinda hoped to be releasing the first RC now, but since some big troubles were found in the second beta I thought it would be a good idea to do one quick beta before.

Download
Beta 3 can be directly downloaded from the mcnlive.info site at this point. The mirrors don't have it yet.

http://www.mcnlive.info/downloads/mcnlive-kris-beta3.iso
MD5: 073b4739443fb07389428b23364c2e18

Most significant changes since beta 2:
The new bootoption "nomount" is introduced to prevent the system to mount your local partition on boot. This option is in the menu as well to make your life a bit easyer. wink2.gif

Some more control over the halt script. The remaster script does not touch it anymore. The hmconfig script now checks if it is running "live" and removes the live halt if not. The init script now checks if the halt script is there already and doesn't replace it if our script is already there.

Fonts in KDE should look a lot better. smile.gif
RvP
Downloaden maar! (geschat 4 minuten)
HighKing
No comments on beta 3, so I guess this one is just perfect already? laugh.gif

Ok, I forgot to include the default.jpg Kris mentioned on beta 2:
QUOTE(kris @ Mar 22 2010, 12:31 PM) *
A small issue, we need a small background picture file with the name 'default.jpg' in /usr/share/mdk/backgrounds. Otherwise if a user installs gdm as login manager (I did for an XFCE system) the graphical login has a nasty problem.
This is on my list. It will be added in the next release. On my system it's just a simlink to a 1024x768 wallpaper so I guess it would be ok to simply create a symlink pointing to the "kris" wallpaper.

Second I forgot something in the remaster script. The remaster script on beta 3 doesn't touch the hmconfig script or the halt script anymore as those are handled by the hmconfig script during boot. The hmconfig script disables itself on the first boot after installation to harddisk.
This will be a problem when people try to create a remaster of an installed system: the hmconfig script will be disabled on the remaster as well.
This is easy to fix: We can make the remaster script enable the hmconfig script. This does not harm anything as it will disable itself on the next reboot. smile.gif

Any other issues found yet? lamer.gif
RvP
QUOTE(HighKing @ Mar 30 2010, 06:41 PM) *
Any other issues found yet? lamer.gif
Ho , ho, not everyone is as fast as our 'lightning' HighKing.
Easter is a more suitable period for my testing.
HighKing
icon_cheesygrin.gif
HighKing
Downloaded 20x and no-one found one issue? smile.gif
Guess it's time for the RC then. laugh.gif
RvP
[edit: reset NL to UK/US :]
Bugfree? no wonder?? or is it sponsored by Micro$of ??? banned.gif

Tomorrow I can work at it at home (day off !!!).
A whole day of playing, cracking and tracking (hacking? smile.gif )
HighKing
Psssst Ron, it's the English topic. wink2.gif
I'll just fix the minor issues I found in beta3 and try to upload RC1 this evening. smile.gif
Dit is een "Print" versie van onze forums. Om de volledige versie met meer informatie, afbeeldingen en opmaakte bekijken, a.u.b. klik hier.