This repository has been archived by the owner. It is now read-only.

Remove hardcoded ext4 modprobe from initramfs #1037

Closed
MartijnBraam opened this Issue Dec 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@MartijnBraam
Member

MartijnBraam commented Dec 23, 2017

The initramfs has a modprobe for ext4 hardcoded that will never work since on all kernels ext4 is built-in instead of a module since the kernel has either no module loading enabled at all or in case of the mainline kernel it makes no sense to have it as module since it's always required.

ollieparanoid added a commit that referenced this issue Jan 18, 2018

mkinitfs: Fail on missing depends / better usability in general
* Fail if mkbootimg/uboot-tools are not installed, but creating a
  boot.img file / u-boot legacy image was requested via deviceinfo
  (fixes #312)
* Fail if /boot/dt.img is missing, but we have a qcdt device
* Fail if the dtb file specified in deviceinfo does not exist
* Fail if mkbootimg etc. exit with error code
* Don't try to add the ext4 module into the initramfs. We always
  compile it into the kernel. Instead, kconfig_check makes sure it
  is enabled now. (fixes #1037)
* Add a note that mopdprobe warnings can be ignored mostly

ollieparanoid added a commit that referenced this issue Jan 31, 2018

mkinitfs: Fail on missing depends / better usability in general (#1133)
* Fail if mkbootimg/uboot-tools are not installed, but creating a
  boot.img file / u-boot legacy image was requested via deviceinfo
  (fixes #312)
* Fail if /boot/dt.img is missing, but we have a qcdt device
* Fail if the dtb file specified in deviceinfo does not exist
* Fail if mkbootimg etc. exit with error code
* Don't try to add the ext4 module into the initramfs. We always
  compile it into the kernel. Instead, kconfig_check makes sure it
  is enabled now. (fixes #1037)
* Add a note that modprobe warnings can be ignored mostly

PureTryOut added a commit that referenced this issue Feb 21, 2018

mkinitfs: Fail on missing depends / better usability in general (#1133)
* Fail if mkbootimg/uboot-tools are not installed, but creating a
  boot.img file / u-boot legacy image was requested via deviceinfo
  (fixes #312)
* Fail if /boot/dt.img is missing, but we have a qcdt device
* Fail if the dtb file specified in deviceinfo does not exist
* Fail if mkbootimg etc. exit with error code
* Don't try to add the ext4 module into the initramfs. We always
  compile it into the kernel. Instead, kconfig_check makes sure it
  is enabled now. (fixes #1037)
* Add a note that modprobe warnings can be ignored mostly
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.