Commit Graph

60 Commits (096b3759a98cdbbc710d8620e948eaa7ee2045ed)

Author SHA1 Message Date
John Crispin 096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
9 years ago
Felix Fietkau 09aad60610 x86: remove bogus bzImage copy that breaks initramfs+no-initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45114
9 years ago
Felix Fietkau 7427007193 x86: remove the olpc subtarget, it has been unmaintained for a long time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45083
9 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
9 years ago
Felix Fietkau 578aa97f8c x86: disable rts/cts for serial console in grub - fixes net48xx boot issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44753
9 years ago
Felix Fietkau c718d0b10c x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41763
10 years ago
Felix Fietkau f02e3a2a4a x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40444
10 years ago
Imre Kaloz cc49f7c6e9 move most of the x86 image generation options to the main file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39206
11 years ago
Felix Fietkau 09f4018b2e x86: Fix CONFIG_X86_GRUB_SERIAL=""
With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>

SVN-Revision: 37749
11 years ago
Florian Fainelli 6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
11 years ago
Jo-Philipp Wich 7399df1d69 x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults (#12821)
SVN-Revision: 35200
12 years ago
Felix Fietkau 46288bf98e x86: use $(strip) for the at_keyboard check
SVN-Revision: 34127
12 years ago
Felix Fietkau 0a9e05fb0e x86: only enable at_keyboard for the generic and kvm_guest subtargets to avoid hangs on alix2 and others (thx, russell)
SVN-Revision: 34126
12 years ago
Florian Fainelli 60ecd5fe04 merge the RDC R-321x target as a subtarget of x86
SVN-Revision: 33779
12 years ago
Felix Fietkau 1abbe676d1 x86: rename the iso file to openwrt-x86-generic.iso
SVN-Revision: 33641
12 years ago
Felix Fietkau 0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
12 years ago
Felix Fietkau a1bcd25082 x86: add grub2 iso support
SVN-Revision: 33639
12 years ago
Felix Fietkau 493b7c7f3c x86: avoid using grub prepare when using grub2
SVN-Revision: 33525
12 years ago
Felix Fietkau 52e8ee0666 x86: add support for building grub2 images
SVN-Revision: 33513
12 years ago
Felix Fietkau 6c02dd2b04 x86: rename gen_image_x86.sh to gen_image_grub.sh
SVN-Revision: 33510
12 years ago
Vasilis Tsiligiannis 8676e49d9d Allow gzipping of squashfs images with padded jffs2 partition
SVN-Revision: 30589
12 years ago
Vasilis Tsiligiannis ab09db09fc GZip only ext4 and padded images
SVN-Revision: 30588
12 years ago
Vasilis Tsiligiannis b4f51343c6 Make gzipping of images configurable via menuconfig
SVN-Revision: 30587
12 years ago
Jo-Philipp Wich 2fc3fe1d09 Make the grub timeout configurable on x86 targets
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

SVN-Revision: 29786
13 years ago
John Crispin dfc19a34b4 * adds support for Artec Thincan
Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>

SVN-Revision: 26919
13 years ago
Jo-Philipp Wich 76bfcee5ea gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26625
13 years ago
Imre Kaloz 4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
14 years ago
Andy Boyett 0f5d0f69ab image: use internal qemu-img for vmdk and vdi images drop host dependencies on qemu-utils and VirtualBox
SVN-Revision: 22553
14 years ago
Felix Fietkau 816a9b30f6 x86: build fully functional images on Mac OS X, now that grub is fixed
SVN-Revision: 21609
14 years ago
Nicolas Thill 2c82cf966c image/x86: fix typo when building on Mac OS X (closes: #7303)
SVN-Revision: 21401
14 years ago
Nicolas Thill 482ee200cb target/x86: use common config items for options shared between generic and olpc targets
SVN-Revision: 21364
14 years ago
Nicolas Thill 5403c59f57 images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
SVN-Revision: 21362
14 years ago
Nicolas Thill 3bca4b2094 package/grub: build a host grub and a target grub (#7269) - use the host grub binary for grub install, but with target stage files - disable SSP (-fno-stack-protector) & Compile Time Buffer Checks (-U_FORTIFY_SOURCE) if appropriate - create a target grub package
SVN-Revision: 21305
14 years ago
Nicolas Thill a64f53f482 target/x86: add to changes missed from [21246] preventing .vdi & .vmdk image generation
SVN-Revision: 21277
14 years ago
Nicolas Thill 99d4eee466 target/x86: various image changes * add a -combined suffix for grub+kernel+rootfs images and -rootfs for root filesystem only images * change ext from .image to .img * fix perms on VirtualBox .vdi image * gzip ext2 rootfs image as well
SVN-Revision: 21246
14 years ago
Nicolas Thill bd1fc43e6d target/x86: rearrange image Makefile, indent, reorder, simplify, change some ifeq/ifneq tests
SVN-Revision: 21245
14 years ago
Nicolas Thill 224db523da replace old quote stripping with calls to qstrip macro
SVN-Revision: 21242
14 years ago
Nicolas Thill e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
14 years ago
Jo-Philipp Wich 9ce3d38331 - clean up menu.lst template - make grub usage of vt0 selectable in menuconfig - choose appropriate default baudrate for soekris devices - fix generation of grub menu for iso images
SVN-Revision: 19681
14 years ago
Jo-Philipp Wich e0fc8fb6aa make console port editable through menuconfig, gzip ext2 images, add suitable defaults for Xen
SVN-Revision: 19612
14 years ago
Florian Fainelli a155e4fd53 add rootwait option to the kernel command line (#6209)
SVN-Revision: 18672
15 years ago
Imre Kaloz 93fe520994 change x86 image generation handling to treat only olpc specially
SVN-Revision: 18441
15 years ago
Florian Fainelli e49c2d7691 merge the olpc target with the x86 target, both tested and running
SVN-Revision: 18279
15 years ago
Imre Kaloz a9c958c2de make kernels use /etc/preinit by default
SVN-Revision: 15840
15 years ago
Jo-Philipp Wich 9209af2c00 Fix building of iso filesystem This fixes two errors when building iso filesystem:
a) dir root.grub/boot doesn't get created.
b) the creation of .image file by gen_image.sh which apparently is not needed
when building an iso.

Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 15682
15 years ago
Hauke Mehrtens 76fe41a8d3 The image was selected from a wrong location. Fixes bug #4618
SVN-Revision: 14948
15 years ago
Jo-Philipp Wich e0440fefb6 Use wildcards to copy grub stage files, will cover both i386-pc and i386-openwrt directory names
SVN-Revision: 13963
16 years ago
Jo-Philipp Wich 2273aadfb2 fix grub installation on target images, regression caused by multi-libc support
SVN-Revision: 13936
16 years ago
Steven Barth 5c95516f24 Use VBoxManage instead of obsolete vditool to generate VirtualBox images.
SVN-Revision: 13821
16 years ago
Florian Fainelli 45cc45cac5 Add support for creating VMware vmdk images #1317
SVN-Revision: 13158
16 years ago