tn3399_openwrt/target/linux
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
..
apm821xx kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
ar71xx ar71xx: Fix gigabit switch support for Mikrotik RB951G-2HnD 2020-03-28 13:03:02 +01:00
arc770 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
archs38 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
armvirt kernel: move TEO governor to generic config 2020-03-17 00:51:48 +01:00
at91 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
bcm27xx kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
bcm47xx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
bcm53xx bcm53xx: sysupgrade: optimize building UBI image 2020-03-21 22:31:35 +01:00
bcm63xx treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
cns3xxx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
gemini gemini: Bump kernel to v5.4 2020-03-21 18:17:04 +01:00
generic kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
imx6 kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
ipq40xx ipq40xx: switch to 5.4 kernel 2020-03-28 13:03:02 +01:00
ipq806x kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: fix DTS partitions for Pogoplug E02 2020-03-27 17:12:46 +01:00
lantiq kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
layerscape treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
malta malta: Remove kernel 4.14 support 2020-03-12 09:28:23 +01:00
mediatek mediatke: add support for elecom-wrc-2533gent 2020-03-27 16:18:57 +01:00
mpc85xx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
mvebu treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
octeontx kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
omap treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
oxnas kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips treewide: omit IMAGE_SIZE argument from check-size 2020-03-21 20:02:55 +01:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
tegra treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 x86: fix padding in images 2020-03-28 13:03:02 +01:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile