Răsfoiți Sursa

Enable console option in iPXE bootloaders

Antony Messerli 5 ani în urmă
părinte
comite
681b5f09a0

+ 1 - 0
roles/netbootxyz/files/ipxe/local/console.h

@@ -0,0 +1 @@
+#define	CONSOLE_FRAMEBUFFER	/* Graphical framebuffer console */

+ 1 - 0
roles/netbootxyz/files/ipxe/local/general.h

@@ -1,3 +1,4 @@
+#define CONSOLE_CMD		      /* Console command */
 #define DIGEST_CMD            /* Image crypto digest commands */
 #define DOWNLOAD_PROTO_HTTPS  /* Secure Hypertext Transfer Protocol */      
 #define IMAGE_COMBOOT         /* COMBOOT */

+ 1 - 0
roles/netbootxyz/files/ipxe/local/general.h.efi

@@ -1,3 +1,4 @@
+#define CONSOLE_CMD		      /* Console command */
 #define DIGEST_CMD            /* Image crypto digest commands */
 #define DOWNLOAD_PROTO_HTTPS  /* Secure Hypertext Transfer Protocol */      
 #define IMAGE_TRUST_CMD	      /* Image trust management commands */

+ 0 - 0
roles/netbootxyz/tasks/generate_disks


+ 1 - 0
roles/netbootxyz/tasks/generate_disks_arm.yml

@@ -6,6 +6,7 @@
         dest: "{{ ipxe_source_dir }}/src/config/local/{{ item }}"
       with_items:
         - colour.h
+        - console.h
         - crypto.h
 
     - name: Copy netboot.xyz general.h.efi iPXE config

+ 0 - 1
roles/netbootxyz/tasks/generate_disks_base.yml

@@ -56,7 +56,6 @@
       path: "{{ ipxe_source_dir }}/{{ item }}"
       state: touch
     with_items:
-      - src/config/local/console.h
       - src/config/local/umalloc.h
       - src/config/local/nap.h
       - src/config/local/timer.h

+ 1 - 0
roles/netbootxyz/tasks/generate_disks_efi.yml

@@ -6,6 +6,7 @@
       dest: "{{ ipxe_source_dir }}/src/config/local/{{ item }}"
     with_items:
       - colour.h
+      - console.h
       - crypto.h
 
   - name: Copy netboot.xyz general.h.efi iPXE config

+ 1 - 0
roles/netbootxyz/tasks/generate_disks_legacy.yml

@@ -6,6 +6,7 @@
       dest: "{{ ipxe_source_dir }}/src/config/local/{{ item }}"
     with_items:
       - colour.h
+      - console.h
       - crypto.h
       - general.h