Skip to contentSkip to conversation

ARM: xz: do not try to use a ramdisk in defconfig

PATCH New Arnd Bergmann 2 participants 3 messages May 18, 2015 – May 20, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: xz: do not try to use a ramdisk in defconfig

The original zx defconfig file looks for a ./rootfs.cpio file, but that breaks with

scripts/gen_initramfs_list.sh: Cannot open 'initramfs.cpio.gz'

when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing.

---
I'm applying this directly to the next/defconfig branch to kernel the kernelci builds.

arch/arm/configs/zx_defconfig +0 -1
index d411cd6bdb7f..b200bb0fecdd 100644
@@ -13,7 +13,6 @@ CONFIG_RT_GROUP_SCHED=y
 CONFIG_NAMESPACES=y
 CONFIG_USER_NS=y
 CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
 CONFIG_SYSCTL_SYSCALL=y
 CONFIG_KALLSYMS_ALL=y
 CONFIG_EMBEDDED=y
#1 lore raw

PATCH 1/1 ARM: xz: do not try to use a ramdisk in defconfig

B.R.
Jun

2015-05-18 23:24 GMT+08:00 Arnd Bergmann <[email protected]>:

Quoted 10 lines

The original zx defconfig file looks for a ./rootfs.cpio file, but that breaks with

scripts/gen_initramfs_list.sh: Cannot open 'initramfs.cpio.gz'

when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing.

Quoted 5 lines

---
I'm applying this directly to the next/defconfig branch to kernel the kernelci builds.

Thanks for education. I learn it now :)

Jun

Quoted 13 lines
arch/arm/configs/zx_defconfig +0 -1
index d411cd6bdb7f..b200bb0fecdd 100644
@@ -13,7 +13,6 @@ CONFIG_RT_GROUP_SCHED=y
 CONFIG_NAMESPACES=y
 CONFIG_USER_NS=y
 CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
 CONFIG_SYSCTL_SYSCALL=y
 CONFIG_KALLSYMS_ALL=y
 CONFIG_EMBEDDED=y
#2 lore raw

PATCH 1/1 ARM: xz: do not try to use a ramdisk in defconfig

Quoted 11 lines · On Tuesday 19 May 2015 08:49:25 Jun Nie wrote:

2015-05-18 23:24 GMT+08:00 Arnd Bergmann <[email protected]>:

Quoted 10 lines

The original zx defconfig file looks for a ./rootfs.cpio file, but that breaks with

scripts/gen_initramfs_list.sh: Cannot open 'initramfs.cpio.gz'

when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing.

Quoted 7 lines
Quoted 5 lines

---
I'm applying this directly to the next/defconfig branch to kernel the kernelci builds.

Thanks for education. I learn it now

I've applied the patch now, and added "Acked-by: Jun Nie <[email protected]>".

Thanks,

Arnd