mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 09:16:21 +00:00
pass extra parameters to xz to compress initrd.cpio for Linux kernel (issue #127)
This commit is contained in:
parent
356e9307a2
commit
54cded7f59
11
Makefile
11
Makefile
@ -280,10 +280,15 @@ initrd.intermediate: initrd.cpio
|
||||
|
||||
# populate the coreboot initrd image from the one we built.
|
||||
# 4.4 doesn't allow this, but building from head does.
|
||||
$(call outputs,linux): initrd.cpio
|
||||
#$(call outputs,coreboot): $(build)/$(coreboot_dir)/initrd.cpio.xz
|
||||
#$(call outputs,linux): initrd.cpio
|
||||
coreboot.intermediate: $(build)/$(coreboot_dir)/initrd.cpio.xz
|
||||
$(build)/$(coreboot_dir)/initrd.cpio.xz: initrd.cpio
|
||||
xz --extreme < "$<" > "$@"
|
||||
xz \
|
||||
--check=crc32 \
|
||||
--lzma2=dict=1MiB \
|
||||
--extreme \
|
||||
< "$<" \
|
||||
> "$@"
|
||||
|
||||
# hack for the coreboot to find the linux kernel
|
||||
$(build)/$(coreboot_dir)/bzImage: $(call outputs,linux)
|
||||
|
@ -521,7 +521,7 @@ CONFIG_PAYLOAD_FILE="./bzImage"
|
||||
CONFIG_PAYLOAD_OPTIONS=""
|
||||
# CONFIG_PXE is not set
|
||||
CONFIG_LINUX_COMMAND_LINE="acpi=off console=ttyS0 console=tty"
|
||||
CONFIG_LINUX_INITRD=""
|
||||
CONFIG_LINUX_INITRD="./initrd.cpio.xz"
|
||||
# CONFIG_PAYLOAD_IS_FLAT_BINARY is not set
|
||||
|
||||
#
|
||||
|
@ -597,7 +597,7 @@ CONFIG_PAYLOAD_FILE="./bzImage"
|
||||
CONFIG_PAYLOAD_OPTIONS=""
|
||||
# CONFIG_PXE is not set
|
||||
CONFIG_LINUX_COMMAND_LINE=""
|
||||
CONFIG_LINUX_INITRD=""
|
||||
CONFIG_LINUX_INITRD="./initrd.cpio.xz"
|
||||
# CONFIG_PAYLOAD_IS_FLAT_BINARY is not set
|
||||
|
||||
#
|
||||
|
@ -143,7 +143,7 @@ CONFIG_ARCH_SUPPORTS_INT128=y
|
||||
# CONFIG_SYSFS_DEPRECATED is not set
|
||||
# CONFIG_RELAY is not set
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_INITRAMFS_SOURCE="../../initrd.cpio"
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
CONFIG_INITRAMFS_ROOT_UID=0
|
||||
CONFIG_INITRAMFS_ROOT_GID=0
|
||||
# CONFIG_RD_GZIP is not set
|
||||
|
Loading…
x
Reference in New Issue
Block a user