openwrt-mirror/target/linux/x86
Paul Spooren 6fcca31fc3 x86: fix padding in images
The previous rework of x86 image creation done in commit  cb007a7bf6
("x86: switch image generation to new code") broke the padding in
images.

 sda: p2 size 212992 extends beyond EOD, enabling native capacity
 sda: p2 size 212992 extends beyond EOD, truncated
 sd 0:0:0:0: [sda] Attached SCSI disk
 SQUASHFS error: squashfs_read_data failed to read block 0x2cc556
 unable to read id index table
 VFS: Cannot open root device "PARTUUID=ac5c9cd8-02" or unknown-block(8,2): error -5
 Please append a correct "root=" boot option; here are the available partitions:
 0800           19761 sda
  driver: sd
   0801           16384 sda1 ac5c9cd8-01

   0802            2865 sda2 ac5c9cd8-02

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

Tested with x86/64 with Docker (squashfs), qemustart (ext4/squashfs) and
virtualbox (ext4/squashfs).

Ref: FS#2935
Fixes: cb007a7bf6 ("x86: switch image generation to new code")
Suggested-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Paul Spooren <mail@aparcar.org>
[commit subject and description tweaks]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-28 13:03:02 +01:00
..
64 x86: remove obsolete legacy profiles 2020-03-21 10:36:00 +00:00
base-files x86: add preinit hook for bootloader upgrade 2020-03-01 21:36:00 +01:00
generic x86: remove obsolete legacy profiles 2020-03-21 10:36:00 +00:00
geode x86/geode: fixup FEATURE inheritance 2020-03-23 18:56:26 +00:00
image x86: fix padding in images 2020-03-28 13:03:02 +01: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: switch image generation to new code 2020-03-21 10:36:00 +00:00
modules.mk x86: avoid underscore in package name 2020-02-23 13:20:51 +01:00