openwrt/target/linux/x86
Petr Štetiar 97d86426e2 x86: fix unusable squashfs images by adding missing padding
It was reported, that after image generation rework
x86-64-generic-squashfs-rootfs.img image won't boot on XenServer x86_64
anymore:

 F2FS-fs (xvda): Magic Mismatch, valid(0xf2f52010) - read(0x84289960)
 F2FS-fs (xvda): Can't find valid F2FS filesystem in 1th superblock
 F2FS-fs (xvda): Magic Mismatch, valid(0xf2f52010) - read(0x4e8ee223)
 F2FS-fs (xvda): Can't find valid F2FS filesystem in 2th superblock
 List of all partitions:
 ca00            4207 xvda
  driver: vbd
 No filesystem could mount root, tried:
  ext3
  ext2
  ext4
  squashfs
  iso9660
  f2fs

 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(202,0)

So lets fix this by adding back padding which was introduced in commit
a17d9482f5 ("x86: image: fix small disk space in squashfs overlay").

Ref: FS#3036
Fixes: 258f070d1a ("x86: fix missing squashfs and ext4 rootfs images")
Fixes: cb007a7bf6 ("x86: switch image generation to new code")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-26 12:53:27 +02:00
..
64 x86: move packages selection to profiles 2020-04-20 18:55:30 +01:00
base-files x86: fix grub-bios-setup fail during sysupgrade 2020-04-09 12:51:10 +02:00
generic x86: select kmod-button-hotplug by default 2020-04-20 18:55:30 +01:00
geode x86: move packages selection to profiles 2020-04-20 18:55:30 +01:00
image x86: fix unusable squashfs images by adding missing padding 2020-04-26 12:53:27 +02:00
legacy x86: geode/legacy: fix missing watchdog core dependencies 2020-03-22 23:02:09 +01:00
patches-4.19 kernel: bump 4.19 to 4.19.90 2019-12-24 15:34:43 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.24 2020-03-09 20:43:53 +01:00
config-4.19 x86: Add missing kernel option CONFIG_X86_DECODER_SELFTEST 2020-02-22 16:34:57 +01:00
config-5.4 kernel: move TEO governor to generic config 2020-03-17 00:51:48 +01:00
Makefile x86: select kmod-button-hotplug by default 2020-04-20 18:55:30 +01:00
modules.mk x86: avoid underscore in package name 2020-02-23 13:20:51 +01:00