# $HeadURL$ $LastChangedRevision$ ifndef FACILITY_CONSOLE_MK FACILITY_CONSOLE_MK = 1 # In pass #1: load recipe generators # In pass #0: load generated recipes # Variables mentioned both in pass#1 and pass#0. # Tell recipe generators what to generate recipes for ifeq ($(PCMS_PASS_NUM),1) # The real Makefile else ifeq ($(PCMS_PASS_NUM),0) all.facility: console.facility # We always configure the console, but only non-containers # get the console fonts configured. Okay, configuring console # fonts is the *only* thing this Makefile does, but that might # not always be the case. console.facility: touch $@ ifneq ($(HOST_HARDWARE_PROFILE),container) console.facility: console-fonts.fix endif console-fonts.fix: /etc/default/console-setup setupcon --font-only touch $@ /etc/default/console-setup: lineinfile --replace='^CHARMAP=.*' --text='CHARMAP="UTF-8"' --file=/etc/default/console-setup lineinfile --replace='^CODESET=.*' --text='CODESET="Lat2"' --file=/etc/default/console-setup lineinfile --replace='^FONTFACE=.*' --text='FONTFACE="TerminusBold"' --file=/etc/default/console-setup lineinfile --replace='^FONTSIZE=.*' --text='FONTSIZE="24x12"' --file=/etc/default/console-setup touch $@ endif # PCMS_PASS_NUM endif # FACILITY_CONSOLE_MK