You are not logged in.

#1 2010-06-21 22:32:42

spookykid
Member
From: Portugal
Registered: 2006-07-23
Posts: 141

larch (SOLVED #1, SOLVED #2)

Hi all, I've been messing around larch 7.1 and now I have a fully bootable ISO smile. I'm in the process of customizing it and one of the things I want is to set the Terminus font when booting my new system right from the start after Grub. So like a normal arch installation I've added 'consolefont' (without quotes) to mkinitcpio.conf in the HOOKS line under larch's GUI (Larchify tab).
Everything seems ok (mkinitrd -p kernel26 gives no errors), but when booting my system I still get the plain boring default font until it get's to rc.conf CONSOLEFONT.
Can anyone tell me if adding consolefont to HOOKS under larch works?

Last edited by spookykid (2010-06-23 12:08:30)


There is no knowledge that is not power!

Offline

#2 2010-06-22 13:44:58

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: larch (SOLVED #1, SOLVED #2)

If you have a look at the consolefont install script (/lib/initcpio/install/consolefont), you will see that it gets its font by parsing /etc/rc.conf. This file is not used by larch, a new version is created in the overlay. The best way to handle this would probably be to write a new version of this hook, but I guess a quick fix for the moment would be to put your  "CONSOLEFONT=" line (also) in the file that is parsed by mkinitcpio - /home/larchbuild/etc/rc.conf, if you are using the default installation path. You would need to do this before running the larchify stage.
Hope that helps.

Offline

#3 2010-06-22 15:52:06

spookykid
Member
From: Portugal
Registered: 2006-07-23
Posts: 141

Re: larch (SOLVED #1, SOLVED #2)

Hi gradgrind,
thanks for your reply, seems to work smile I'd like to thank you for your wondefull work with larch 7.X GUI. Thank you for that.


There is no knowledge that is not power!

Offline

#4 2010-06-22 19:45:03

spookykid
Member
From: Portugal
Registered: 2006-07-23
Posts: 141

Re: larch (SOLVED #1, SOLVED #2)

Hi gradgrind,
I got other issue, when I login as root my .bashrc file isn't used (I've got it under overlay in /root/.bashrc) only if I log in with other user and then I su to root. In arch it works as expected, do you know if it's related to larch in any way?
Ohh and about gen-repo file? larch 7.1 doesn't have that script how can I make my own custom repo?
Thank you.

Last edited by spookykid (2010-06-23 01:57:46)


There is no knowledge that is not power!

Offline

#5 2010-06-23 10:18:18

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: larch (SOLVED #1, SOLVED #2)

That issue with /root/.bashrc sounds very strange. Is .bash_profile ok (it normally does '. $HOME/.bashrc')? Maybe you could investigate a bit more, it is certainly not an intended breakage.

The gen_repo script is indeed there, look in the scripts directory. I think there were also other ideas floating around in the forum, for example http://xyne.archlinux.ca/projects/makerepo.

Offline

#6 2010-06-23 12:07:55

spookykid
Member
From: Portugal
Registered: 2006-07-23
Posts: 141

Re: larch (SOLVED #1, SOLVED #2)

Hi gradgrind,
yes that was the problem I haven't got a .bash_profile file hmm.
Thanky you.


There is no knowledge that is not power!

Offline

Board footer

Powered by FluxBB