ath25: fix initramfs image generation
Commit21f460a5db("ath25: fix duplicate LZMA compression") changed the way kernel images are generated, affecting initramfs images instead. Initramfs images were previously ELF images, and by mistake this change caused the raw kernel image to be used as a source. This caused them to be non-loadable by bootloaders. Restore the previous KERNEL_INITRAMFS recipe and adjust KERNEL_INITRAMFS_NAME to point at the correct source artifact. While at that, adjust KERNEL_INITRAMFS_SUFFIX to -kernel.elf, so it matches the suffix of non-initramfs kernel artifact. Fixes:21f460a5db("ath25: fix duplicate LZMA compression") Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
		 Lech Perczak
					Lech Perczak
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							611291383a
						
					
				
				
					commit
					9f5cbb6e8b
				
			| @@ -54,6 +54,9 @@ endef | |||||||
| define Device/Default | define Device/Default | ||||||
|   PROFILES = Default $$(DEVICE_NAME) |   PROFILES = Default $$(DEVICE_NAME) | ||||||
|   KERNEL := copy-kernel | lzma-kernel |   KERNEL := copy-kernel | lzma-kernel | ||||||
|  |   KERNEL_INITRAMFS = kernel-bin | ||||||
|  |   KERNEL_INITRAMFS_NAME := vmlinux-initramfs.elf | ||||||
|  |   KERNEL_INITRAMFS_SUFFIX := -kernel.elf | ||||||
|   IMAGES := sysupgrade.bin |   IMAGES := sysupgrade.bin | ||||||
|   FILESYSTEMS := squashfs |   FILESYSTEMS := squashfs | ||||||
| endef | endef | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user