[commit] r2294 - in trunk: user/console-tools vendors/Nintendo/DLDI vendors/Nintendo/common
dslinux_sonny_jim at dslinux.in-berlin.de
dslinux_sonny_jim at dslinux.in-berlin.de
Mon Jul 21 19:52:25 CEST 2008
Author: dslinux_sonny_jim
Date: Mon Jul 21 19:52:25 2008
New Revision: 2294
Log:
Adding boot scripts and fonts for consolechars
Modified:
trunk/user/console-tools/Makefile
trunk/vendors/Nintendo/DLDI/Makefile
trunk/vendors/Nintendo/common/rc.common
trunk/vendors/Nintendo/common/rc.defaults
Modified: trunk/user/console-tools/Makefile
==============================================================================
--- trunk/user/console-tools/Makefile (original)
+++ trunk/user/console-tools/Makefile Mon Jul 21 19:52:25 2008
@@ -30,6 +30,9 @@
src/fontfiletools/psfgettable /usr/bin
$(ROMFSINST) -e CONFIG_USER_CONSOLETOOLS_FONTFILETOOLS \
src/fontfiletools/psfstriptable /usr/bin
+ #Install .psf fonts if consolechars is enabled
+ $(ROMFSINST) -e CONFIG_USER_CONSOLETOOLS_SCREENFONTTOOLS \
+ consolefonts /usr/share/consolefonts
$(ROMFSINST) -e CONFIG_USER_CONSOLETOOLS_SCREENFONTTOOLS \
src/screenfonttools/consolechars /usr/bin
$(ROMFSINST) -e CONFIG_USER_CONSOLETOOLS_SCREENFONTTOOLS \
Modified: trunk/vendors/Nintendo/DLDI/Makefile
==============================================================================
--- trunk/vendors/Nintendo/DLDI/Makefile (original)
+++ trunk/vendors/Nintendo/DLDI/Makefile Mon Jul 21 19:52:25 2008
@@ -11,7 +11,7 @@
ROMFS_DIRS := boot dev proc sbin $(FATFS)/linux $(OPTDIR) tmp
-FS_DIRS := etc/rc.d home lib usr/bin usr/bin/coreutils usr/games usr/lib usr/share/udhcpc var/lock var/tmp var/run var/log var/mail var/www usr/share/man
+FS_DIRS := etc/rc.d home lib usr/bin usr/bin/coreutils usr/games usr/lib usr/share/udhcpc var/lock var/tmp var/run var/log var/mail var/www usr/share/man usr/share/consolefonts
TTYP_DEVICES = 0 1 2 3 4 5 6 7 8 9 a b c d e f
Modified: trunk/vendors/Nintendo/common/rc.common
==============================================================================
--- trunk/vendors/Nintendo/common/rc.common (original)
+++ trunk/vendors/Nintendo/common/rc.common Mon Jul 21 19:52:25 2008
@@ -13,6 +13,18 @@
echo "to create /etc/rc.conf to customise your dslinux installation."
fi
+if [ ! "$font" = "" ]
+then
+ if [ -e "$font" ]
+ then
+ echo "Changing font size to $font"
+ echo "Type 'consolechars -R' to revert"
+ /usr/bin/consolechars -f $font
+ else
+ echo "$font does not exist!"
+ fi
+fi
+
# /opt is BEFORE /usr/bin to speed up some applications
PATH=/bin:/sbin:/opt:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH
Modified: trunk/vendors/Nintendo/common/rc.defaults
==============================================================================
--- trunk/vendors/Nintendo/common/rc.defaults (original)
+++ trunk/vendors/Nintendo/common/rc.defaults Mon Jul 21 19:52:25 2008
@@ -145,4 +145,10 @@
# for ViewML.
export VIEWML_PROXY=""
+# Edit to change the font size automatically on boot
+# Only works on DLDI builds
+# For example:
+# font="/usr/share/consolefonts/alt-8x8.psf"
+font=""
+
# End of file.
More information about the dslinux-commit
mailing list