Skip to content
Snippets Groups Projects
Commit f3f5bd8a authored by dalto's avatar dalto
Browse files

[initcpiocfg] Revert addition of setfont

parent 09ccdb4e
No related branches found
No related tags found
No related merge requests found
...@@ -37,16 +37,6 @@ def detect_plymouth(): ...@@ -37,16 +37,6 @@ def detect_plymouth():
return target_env_call(["sh", "-c", "which plymouth"]) == 0 return target_env_call(["sh", "-c", "which plymouth"]) == 0
def detect_setfont():
"""
Checks existence (runnability) of setfont in the target system.
@return True if setfont exists in the target, False otherwise
"""
# Used to only check existence of path /usr/bin/setfont in target
return target_env_call(["sh", "-c", "which setfont"]) == 0
class cpuinfo(object): class cpuinfo(object):
""" """
Object describing the current CPU's characteristics. It may be Object describing the current CPU's characteristics. It may be
...@@ -181,10 +171,6 @@ def find_initcpio_features(partitions, root_mount_point): ...@@ -181,10 +171,6 @@ def find_initcpio_features(partitions, root_mount_point):
files = [] files = []
binaries = [] binaries = []
if detect_setfont():
# Fixes "setfont: KDFONTOP: Function not implemented" error
binaries.append("setfont")
swap_uuid = "" swap_uuid = ""
uses_btrfs = False uses_btrfs = False
uses_zfs = False uses_zfs = False
...@@ -253,7 +239,7 @@ def find_initcpio_features(partitions, root_mount_point): ...@@ -253,7 +239,7 @@ def find_initcpio_features(partitions, root_mount_point):
else: else:
hooks.append("fsck") hooks.append("fsck")
return (hooks, modules, files, binaries) return hooks, modules, files, binaries
def run(): def run():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment