Stijn Tintel
b422e1631e
scripts/gen_image_generic.sh: fail on errors
...
The script always exits with value 0, even if some of the commands fail.
This can potentially create broken, unbootable images, e.g. when
make_ext4fs fails due to TARGET_KERNEL_PARTSIZE being too small for the
kernel. Avoid this by failing the script when any command fails.
Acked-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
6 years ago
Stijn Tintel
6a8cbc08c0
scripts/gen_image_generic.sh: drop NOGRUB variable
...
It's not used since commit 816a9b30f6
.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Stijn Tintel
a576ed5437
scripts/gen_image_generic.sh: move from x86/image
...
The script can also be useful for other targets.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Jo-Philipp Wich
0ee9504911
all: replace genext2fs with make_ext4fs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45517
10 years ago
Jo-Philipp Wich
02e2548b84
x86: use PARTUUID instead explicitly specifying the device by default
...
This changes the x86 image generation to match x86_64, using the PARTUUID for
the rootfs instead of explicitly configuring the device.
It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2.
Tested in QEMU/KVM with VirtIO, VirtualBox and VMware.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44966
10 years ago
Felix Fietkau
ce4244c8af
x86: split generic image building into a separate script
...
SVN-Revision: 33511
12 years ago
Nicolas Thill
b6734d9753
target/x86: remove temporary files in image generation scripts
...
SVN-Revision: 21243
15 years ago
Florian Fainelli
e49c2d7691
merge the olpc target with the x86 target, both tested and running
...
SVN-Revision: 18279
15 years ago
Jens Muecke
a3d681bba5
Removing Grub for olpc (unnecessary) Adding Bootscript Some SD-Card fixes Config changes
...
SVN-Revision: 9712
17 years ago
Jens Muecke
b314ffdd3a
Initial OLPC target
...
SVN-Revision: 9457
17 years ago
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
17 years ago
Felix Fietkau
b71b54bb25
fix x86 boot filesystem allocation ( #1736 )
...
SVN-Revision: 7312
18 years ago
Felix Fietkau
738ca6f657
add optional padding for x86 grub images (useful for running jffs2 images in qemu)
...
SVN-Revision: 6359
18 years ago
Nicolas Thill
e0f251d25f
tweak grub install in x86 ext2 images
...
SVN-Revision: 5970
18 years ago
Felix Fietkau
75e5315f5f
clean up x86-2.6 partitioning stuff
...
SVN-Revision: 5705
18 years ago
Mike Baker
c3c4dfb57b
move target/image/platform to target/linux/platform/image platform directories are now self contained
...
SVN-Revision: 5669
18 years ago
Tim Yardley
22e8c9d05e
fix partition issue with x86, leveraging the default size on the second partition (all of the remaining drive) in order to get around size differences
...
SVN-Revision: 5293
18 years ago