buildroot.git
9 years agosystem/device_table.txt: drop unused ifupdown post-up.d / pre-down.d directories
Peter Korsgaard [Thu, 25 Jun 2015 13:28:06 +0000 (15:28 +0200)]
system/device_table.txt: drop unused ifupdown post-up.d / pre-down.d directories

These are not used by the busybox or Debian ifupdown implementation. Instead
if-up.d is run after the per-interface up tasks (E.G. post-up) and
if-down.d is run before the per-interface down tasks (E.G. pre-down).

So drop them as they only cause confusion.

grep execute_all output/build/busybox-1.23.2/networking/ifupdown.c
static int execute_all(struct interface_defn_t *ifd, const char *opt)
        if (!execute_all(iface, "pre-up")) return 0;
        if (!execute_all(iface, "up")) return 0;
        if (!execute_all(iface, "down")) return 0;
        if (!execute_all(iface, "post-down")) return 0;

grep execute_script output/build/ifupdown-0.7.49/execute.c
int execute_scripts(interface_defn * ifd, execfn * exec, char *opt)
    if (!execute_scripts(iface, doit, "pre-up"))
    if (!execute_scripts(iface, doit, "up"))
    if (!execute_scripts(iface, doit, "down"))
    if (!execute_scripts(iface, doit, "post-down"))

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agox264: bump to version 20150223-2245-stable
David du Colombier [Thu, 11 Jun 2015 09:01:44 +0000 (11:01 +0200)]
x264: bump to version 20150223-2245-stable

Use the Git repository instead of the snapshots,
since they are not generated anymore.

Signed-off-by: David du Colombier <0intro@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoulogd: bump to version 2.0.5
Gustavo Zacarias [Wed, 24 Jun 2015 18:39:19 +0000 (15:39 -0300)]
ulogd: bump to version 2.0.5

Remove kernel headers check since it now implements local definitions to
keep working with newer versions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMakefile: Don't export VERBOSE unless V=1 (for CMake)
Cédric Marie [Tue, 23 Jun 2015 21:36:06 +0000 (23:36 +0200)]
Makefile: Don't export VERBOSE unless V=1 (for CMake)

CMake verbose mode is based on VERBOSE environment variable.
* If VERBOSE is exported but empty, only "Dependee ... is newer than
depender ..." messages are shown.
* If VERBOSE is exported and set (whatever the value), all compilation
commands are shown.

VERBOSE is currently systematically exported by Buildroot, even if it
is empty, in the root Makefile, which implies that the "light" verbose
mode - with "Dependee ... is newer than depender ..." messages - is
always enabled.

VERBOSE should only be exported when V=1, which is the standard way to
enable verbose mode in Buildroot.

Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: bump 4.8.x version
Peter Korsgaard [Wed, 24 Jun 2015 07:20:43 +0000 (09:20 +0200)]
gcc: bump 4.8.x version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogpsd: fix build with musl
Baruch Siach [Tue, 23 Jun 2015 17:21:20 +0000 (20:21 +0300)]
gpsd: fix build with musl

Add a patch adding missing include.

Fixes:
http://autobuild.buildroot.net/results/493/493ddaf63f41918d718b5c26e2db258c67dba0a6/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: add libgcc_s_resume fix
Thomas Petazzoni [Tue, 23 Jun 2015 17:04:58 +0000 (19:04 +0200)]
uclibc: add libgcc_s_resume fix

This commit adds a fix for building uClibc 0.9.33.2 and uClibc-ng
1.0.3 with gcc 5.1 on ARM, since we're about to add support for gcc
5.1.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosudo: add optional pam support
James Knight [Fri, 19 Jun 2015 17:19:12 +0000 (13:19 -0400)]
sudo: add optional pam support

Configure the sudo utility to support PAM if the framework is enabled.

[Peter: use install -D, reword commit message]
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopinentry: add patch to fix ncursesw include path
Gergely Imreh [Mon, 22 Jun 2015 08:28:09 +0000 (08:28 +0000)]
pinentry: add patch to fix ncursesw include path

Upstream pinentry seems to assume a fixed include path for ncursesw,
while still using pkg-config to check what that path should be.
This results in detecting the library during config failing to include
it correctly during build.

Fixes:
  http://autobuild.buildroot.org/results/d8d/d8d33efd16cc94dc9d9d4b2d7615a0abb5752ee4/
  http://autobuild.buildroot.org/results/c48/c4805785077e955c61f246d0e4d8416d8dbd10b1/
  http://autobuild.buildroot.org/results/144/14483d35ab5009e854c7ce86e26942fdefd5c1f0
and bunch of others.

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnspr: needs dynamic library support
Baruch Siach [Tue, 23 Jun 2015 10:47:55 +0000 (13:47 +0300)]
libnspr: needs dynamic library support

The only package selecting libnspr (libnss) requires dynamic library already.

Fixes:
http://autobuild.buildroot.net/results/296/296bc0fd888a43700d2ea020f8486932c5d37760/
http://autobuild.buildroot.net/results/a65/a65588aa91a87f9a3d8af2a485de2df3e30cfc19/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{10, 14}.x and 4.0.x series
Gustavo Zacarias [Tue, 23 Jun 2015 10:38:17 +0000 (07:38 -0300)]
linux-headers: bump 3.{10, 14}.x and 4.0.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/perl: Fix typos in HOSTCC specification
Albert Lee [Mon, 22 Jun 2015 22:10:12 +0000 (18:10 -0400)]
package/perl: Fix typos in HOSTCC specification

Signed-off-by: Albert Lee <trisk@omniti.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-buildroot: mark eglibc as deprecated
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:31 +0000 (16:33 +0200)]
toolchain-buildroot: mark eglibc as deprecated

eglibc is a dead project and has not been making any release since a
while, now that glibc is back and kicking. So let's deprecated our
eglibc support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: bump 7.9 series to 7.9.1
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:30 +0000 (16:33 +0200)]
gdb: bump 7.9 series to 7.9.1

Note that both gdb 7.9 and 7.9.1 fail to build in a chroot without
texinfo, due to the infamous makeinfo issue. This should be fixed
separately.

[Peter: fixup white space]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: switch to gcc 4.9 as the default version
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:29 +0000 (16:33 +0200)]
gcc: switch to gcc 4.9 as the default version

Now that we have added gcc 5.1, it's time to make gcc 4.9 the default
version used in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: add support for gcc 5.1
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:28 +0000 (16:33 +0200)]
gcc: add support for gcc 5.1

This commit adds support for gcc 5.1 in Buildroot. In terms of gcc
patches, compared to gcc 4.9.x:

 * Kept as is, sometimes after minor adjusments:

   100-uclibc-conf.patch
   301-missing-execinfo_h.patch
   810-arm-softfloat-libgcc.patch
   830-arm_unbreak_armv4t.patch
   840-microblaze-enable-dwarf-eh-support.patch
   850-libstdcxx-uclibc-c99.patch
   860-cilk-wchar.patch

 * Dropped:

   110-pr64896.patch
   111-pr65730.patch

 * Split in multiple parts:

   900-musl-support.patch

   The patches from Crosstool-NG for muls support are used instead of
   one single patch.

 * Renamed:

   910-gcc-poison-system-directories.patch to
   200-gcc-poison-system-directories.patch

   920-libgcc-remove-unistd-header.patch to
   201-libgcc-remove-unistd-header.patch

   Since the 9xx part of the series is now used by the various musl
   related patches.

We have tested the following configurations, with a minimal Busybox
system:

 * ARM, uClibc-ng
 * ARM, glibc
 * ARM, musl
 * x86, uClibc-ng and uClibc 0.9.33.2
 * x86, glibc
 * x86, musl

All of the configurations built fine. All the configurations boot fine
in Qemu, except x86/uClibc (either ng or 0.9.33.2), it segfaults when
running init:

devtmpfs: mounted
Freeing unused kernel memory: 300K (c1389000 - c13d4000)
init[1]: segfault at 0 ip b77708c1 sp bfa9bb0c error 4 in ld-uClibc-0.9.33.2.so[b776c000+6000]
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

We'll give some time for the uClibc developers to fix the problem
before taking other measures in Buildroot to exclude gcc 5.1 from a
x86/uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: bump uClibc-ng to 1.0.3
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:26 +0000 (16:33 +0200)]
uclibc: bump uClibc-ng to 1.0.3

This commit bumps uClibc-ng to the latest version, and drops the two
patches that have been merged upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython: bump to 2.7.10
Thomas Petazzoni [Tue, 16 Jun 2015 21:36:11 +0000 (23:36 +0200)]
python: bump to 2.7.10

Patches are simply refreshed, except
004-sysconfigdata-install-location.patch where a minor conflict
resolution was needed.

[Peter: fixup .hash as pointed out by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Mon, 22 Jun 2015 06:38:18 +0000 (08:38 +0200)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqemu/configs: update to latest kernel
Gustavo Zacarias [Mon, 22 Jun 2015 20:16:20 +0000 (17:16 -0300)]
qemu/configs: update to latest kernel

Update most of the configs to the latest kernel version (4.1) except for
arm-nuri which is stuck.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/pinentry: fix build with Qt4
Yann E. MORIN [Mon, 22 Jun 2015 18:59:31 +0000 (20:59 +0200)]
package/pinentry: fix build with Qt4

Help configure find the correct moc, as the comment in m4/qt.m4 states:

    #configure tried to run $ac_cv_path_moc and the test didn't
    #succeed. If configure shouldn't have tried this one, set
    #the environment variable MOC to the right one before running
    #configure.

Fixes:
    http://autobuild.buildroot.org/results/06c/06c5c2762ec22271fec20a6d15548011e40875d1
    http://autobuild.buildroot.org/results/0d7/0d78a2ff8c952cd104794f5049b07216978fdf11
    http://autobuild.buildroot.org/results/af8/af8f7f588dfa64d82c98a4b42ec78fd17dde137c

Also fixes using the host moc:
    http://autobuild.buildroot.org/results/836/836962f23dcad77b145fcdfeffb40e38e64d6971

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobtrfs-progs: bump to version 4.1
Gustavo Zacarias [Mon, 22 Jun 2015 20:00:00 +0000 (17:00 -0300)]
btrfs-progs: bump to version 4.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimagemagick: bump to version 6.9.1-6
Gustavo Zacarias [Mon, 22 Jun 2015 19:17:03 +0000 (16:17 -0300)]
imagemagick: bump to version 6.9.1-6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotiff: security bump to version 4.0.4
Gustavo Zacarias [Mon, 22 Jun 2015 19:16:19 +0000 (16:16 -0300)]
tiff: security bump to version 4.0.4

Fixes:
CVE-2014-8128 - Check memory allocations for failure. Also check
multiplication overflow.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-bad: fix egl detection
Peter Korsgaard [Mon, 22 Jun 2015 19:42:54 +0000 (21:42 +0200)]
gst1-plugins-bad: fix egl detection

Some egl implementations needs special compiler flags or defines (E.G.
mesa3d for wayland needs to pass -DMESA_EGL_NO_X11_HEADERS to not try to
include X11 headers).  This is correctly included in the .pc file, but the
configure logic doesn't use pkg-config so help it along.

Likewise, some implementations may need to link against other libraries, so
also pass LIBS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-bad: add support for opengl
Benoît Thébaudeau [Thu, 28 May 2015 14:44:54 +0000 (16:44 +0200)]
gst1-plugins-bad: add support for opengl

Commit 83e29f2656a237e2c300d523776868837d3bc646 "gst1-plugins-bad: bump
version" (from 1.2.4 to 1.4.1) removed the configuration option for the
eglglessink plugin as a consequence of its removal in 1.3.1. However,
that commit did not add support for glimagesink, the plugin element to
be used as a replacement, which broke support for the EGL/GLES video
sink feature in Buildroot.

This new commit adds support for the OpenGL library and the
corresponding gl plugin, including the glimagesink element among others.

The plugin needs the library, but the library can also be used
separately in order to link custom plugins or applications against it.

The library needs at least one OpenGL API, one OpenGL platform and one
compatible window system. The implementations of these requirements that
Buildroot can currently provide are:
 - APIs: OpenGL, OpenGL ES 2.X,
 - platforms: GLX, EGL,
 - window systems: X11, Wayland, Dispmanx.

The wayland configure feature switch is shared between the corresponding
OpenGL library window system and the waylandsink plugin.

This has been tested with videotestsrc/omxmpeg4videodec/omxh264dec and
glimagesink on the Raspberry Pi, using OpenGL ES 2.X, EGL and Dispmanx.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 4.1
Gustavo Zacarias [Mon, 22 Jun 2015 13:11:05 +0000 (10:11 -0300)]
linux: bump default to version 4.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: add 4.1.x series
Gustavo Zacarias [Mon, 22 Jun 2015 13:11:04 +0000 (10:11 -0300)]
linux-headers: add 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: add 4.1.x choice for headers
Gustavo Zacarias [Mon, 22 Jun 2015 13:11:03 +0000 (10:11 -0300)]
toolchain: add 4.1.x choice for headers

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenvmtools: fix legal info
Gustavo Zacarias [Sun, 21 Jun 2015 11:25:03 +0000 (08:25 -0300)]
openvmtools: fix legal info

In ab71dff0 it was moved to SUBDIR, but this was never reflected for the
legal-info files, update this to fix:
http://autobuild.buildroot.net/results/836/8363943cc9c967713f585209408ea087a052a12d/

[Thomas: put OPENVMTOOLS_SUBDIR before OPENVMTOOLS_LICENSE_FILES, as
suggested by Yann.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/{mesa3d, mesa3d-headers}: bump version to 10.6.0
Bernd Kuhls [Mon, 15 Jun 2015 18:31:57 +0000 (20:31 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 10.6.0

Mesa3d 10.6 adds optional support for SHA-1:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=a24bdce46f95cbe9efd3b26f157d1eb36584861f

Adding "--without-sha1" will cause this failure during configure:

configure: error: Illegal value for --with-sha1: no

so I did not add the else-clause when no SHA-1 provider is enabled.

[Thomas: simplify else ifeq.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/feh: bump to version 2.13.1, add hash file
Petr Vorel [Tue, 16 Jun 2015 13:23:54 +0000 (15:23 +0200)]
package/feh: bump to version 2.13.1, add hash file

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gdb: gdb+expat build fix
Doug Kehn [Mon, 15 Jun 2015 21:55:19 +0000 (16:55 -0500)]
package/gdb: gdb+expat build fix

Commit 23413b51b2308225584b65c2fcd800ca8f7c56af added --with-expat
configure option and expat dependency when BR2_PACKAGE_EXPAT is
configured.  When cross-compiling, gdb configure fails because the host
system libexpat is referenced.

Configuring gdb with
--with-libexpat-prefix=$(STAGING_DIR)/usr
fixes the reference and allows gdb to build successfully.

Tested with arm-buildroot-linux-gnueabihf toolchain.

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gpm: change archive to lzma
Petr Vorel [Mon, 15 Jun 2015 22:57:22 +0000 (00:57 +0200)]
package/gpm: change archive to lzma

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-generic: support for lzma archives
Petr Vorel [Mon, 15 Jun 2015 22:57:21 +0000 (00:57 +0200)]
pkg-generic: support for lzma archives

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodirectfb: add an option for debugging support
Cédric Marie [Mon, 15 Jun 2015 20:02:45 +0000 (22:02 +0200)]
directfb: add an option for debugging support

DirectFB provides two options for debug:
* --enable-debug-support (default is yes)
* --enable-debug (default is no)
The first one provides the functions to print debug information. These
functions can be called inside DirectFB, or by an external DirectFB
driver in another package.
The second one enables verbose mode in DirectFB, using these functions.

Buildroot currently provides an option for the second one only. The
first one - which is necessary for the second one - is always enabled,
because this is the default value.

The new option (BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT) makes it possible
to disable debugging support (--disable-debug-support) in order to
build the library with no debug feature at all.

When debugging support is disabled, the target installation path of
drivers (/usr/lib/directfb-<version>) is suffixed with -pure. The
public library (/usr/lib/libdirectfb.so) remains unchanged.

Some external DirectFB drivers will install into
/usr/lib/directfb-<version>-pure in release mode. For that reason, it
is important that DirectFB can be configured to use this directory.

Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystem: make /bin/sh symlink use relative path
Matthew Starr [Tue, 16 Jun 2015 20:42:28 +0000 (15:42 -0500)]
system: make /bin/sh symlink use relative path

The symlink created by buildroot for /bin/sh is the full path to
a shell.  This does not match what busybox and other Linux
distributions do with using relative path symlinks. When handling
files on the host system this will point to the host system's shell
if present and not the target shell.

This is fixed by changing the /bin/sh symlink to use a relative path.

Fixes #8161.

[Thomas: minor fixups to the commit log suggested by Yann E. Morin.]

Signed-off-by: Matthew Starr <mstarr@hedonline.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-lxml: bump to 3.4.4
Yegor Yefremov [Tue, 16 Jun 2015 19:20:48 +0000 (21:20 +0200)]
python-lxml: bump to 3.4.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-video-vesa: bump to version 2.3.4
Bernd Kuhls [Tue, 16 Jun 2015 19:18:23 +0000 (21:18 +0200)]
package/x11r7/xdriver_xf86-video-vesa: bump to version 2.3.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xserver_xorg-server: bump to version 1.17.2
Bernd Kuhls [Tue, 16 Jun 2015 19:18:22 +0000 (21:18 +0200)]
package/x11r7/xserver_xorg-server: bump to version 1.17.2

Removed patches committed upstream:
http://cgit.freedesktop.org/xorg/xserver/commit/os/backtrace.c?h=server-1.17-branch&id=8b7e1f362bf6940eb863fd02395bf8155d10604b
http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/sdksyms.sh?h=server-1.17-branch&id=7a45d1684f626f3045305328c3aab85eed0673ea

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoagentpp: bump to 4.0.4
Luca Ceresoli [Wed, 17 Jun 2015 12:00:30 +0000 (14:00 +0200)]
agentpp: bump to 4.0.4

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosnmppp: bump to 3.3.5
Luca Ceresoli [Wed, 17 Jun 2015 12:00:29 +0000 (14:00 +0200)]
snmppp: bump to 3.3.5

Also add a hash file.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoa10disp: bump to version v0.6.1
Francois Perrad [Fri, 19 Jun 2015 19:13:22 +0000 (21:13 +0200)]
a10disp: bump to version v0.6.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosunxi-boards: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
Francois Perrad [Fri, 19 Jun 2015 19:13:21 +0000 (21:13 +0200)]
sunxi-boards: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoweston: bump to version 1.8.0
Vicente Olivert Riera [Thu, 18 Jun 2015 16:46:09 +0000 (18:46 +0200)]
weston: bump to version 1.8.0

- Bump to version 1.8.0
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowayland: bump to version 1.8.1
Vicente Olivert Riera [Thu, 18 Jun 2015 16:46:08 +0000 (18:46 +0200)]
wayland: bump to version 1.8.1

- Bump to version 1.8.1
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotor: bump to version 0.2.6.9
Vicente Olivert Riera [Thu, 18 Jun 2015 16:46:07 +0000 (18:46 +0200)]
tor: bump to version 0.2.6.9

- Bump to version 0.2.6.9
- Update hash file
- Adapt patch to new version

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: bump to version 9.4.4
Vicente Olivert Riera [Thu, 18 Jun 2015 16:46:06 +0000 (18:46 +0200)]
postgresql: bump to version 9.4.4

- Bump to version 9.4.4
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopinentry: bump to version 0.9.4
Vicente Olivert Riera [Thu, 18 Jun 2015 16:44:28 +0000 (18:44 +0200)]
pinentry: bump to version 0.9.4

- Bump to version 0.9.4
- Update hash file
- Remove upstreamed patches

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofluxbox: explicitly configure optional dependencies
James Knight [Fri, 19 Jun 2015 17:17:45 +0000 (13:17 -0400)]
fluxbox: explicitly configure optional dependencies

The following commit explicitly configures optional dependencies based
off the respective package selections for a given configuration.

In addition, this commit also cleans up some obsolete/incorrect
arguments. With the introduction of (at least) Fluxbox 1.3.7, the
'--with-imlib2-prefix' argument no longer exists. The argument
'--with-xpm-prefix' has never existed; it was accidentally committed
mimicking the configuration used to provide imlib2.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agognuradio: add processing blocks
Gwenhael Goavec-Merou [Fri, 10 Apr 2015 10:01:54 +0000 (12:01 +0200)]
gnuradio: add processing blocks

GNURadio provides a set of processing blocks like analog or digital
communication, filters, ...

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[build-tested only]
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 20 Jun 2015 11:32:52 +0000 (13:32 +0200)]
package/tvheadend: bump version

host-gettext is needed since
https://github.com/tvheadend/tvheadend/commit/bad281a9f5bbb8e7f968d400f8096908dfd798b9#diff-e2d5a00791bce9a01f99bc6fd613a39d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodnsmasq: bump to version 2.73
Gustavo Zacarias [Sat, 20 Jun 2015 12:56:16 +0000 (09:56 -0300)]
dnsmasq: bump to version 2.73

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agompfr: bump to version 3.1.3
Gustavo Zacarias [Sat, 20 Jun 2015 12:55:20 +0000 (09:55 -0300)]
mpfr: bump to version 3.1.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.4.x series
Gustavo Zacarias [Sat, 20 Jun 2015 12:29:12 +0000 (09:29 -0300)]
linux-headers: bump 3.4.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolvm2: bump to version 2.02.121
Vicente Olivert Riera [Thu, 18 Jun 2015 16:44:27 +0000 (18:44 +0200)]
lvm2: bump to version 2.02.121

- Bump to version 2.02.121
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolftp: bump to version 4.6.3a
Vicente Olivert Riera [Thu, 18 Jun 2015 16:44:25 +0000 (18:44 +0200)]
lftp: bump to version 4.6.3a

- Bump to version 4.6.3a
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: bump to version 2.4.4
Vicente Olivert Riera [Thu, 18 Jun 2015 16:44:24 +0000 (18:44 +0200)]
git: bump to version 2.4.4

- Bump to version 2.4.4
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Thu, 18 Jun 2015 06:10:21 +0000 (08:10 +0200)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pyinotify: bump to 0.9.6
Yegor Yefremov [Wed, 17 Jun 2015 19:28:23 +0000 (21:28 +0200)]
python-pyinotify: bump to 0.9.6

Remove hash file as the project doesn't provide manual tarballs
on GitHub.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua: bump to version 5.3.1
Francois Perrad [Wed, 17 Jun 2015 18:41:25 +0000 (20:41 +0200)]
lua: bump to version 5.3.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-tornado: bump to 4.2
Yegor Yefremov [Wed, 17 Jun 2015 19:28:22 +0000 (21:28 +0200)]
python-tornado: bump to 4.2

Add md5 from pypi.python.org.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotmux: bump to 2.0
Yegor Yefremov [Wed, 17 Jun 2015 19:28:21 +0000 (21:28 +0200)]
tmux: bump to 2.0

Add new location as tmux moved to GitHub.

Remove the patch as it was already merged upstream.
Remove related AUTORECONF as well.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozedboard: Upgrade to Linux xilinx-v2015.1 (3.18)
Jan Viktorin [Thu, 18 Jun 2015 16:27:57 +0000 (18:27 +0200)]
zedboard: Upgrade to Linux xilinx-v2015.1 (3.18)

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowireshark: bump to version 1.12.6
Vicente Olivert Riera [Thu, 18 Jun 2015 16:46:10 +0000 (18:46 +0200)]
wireshark: bump to version 1.12.6

- Bump to version 1.12.6
- Update hash file

The following vulnerabilities have been fixed in 1.12.6:

 - wnpa-sec-2015-19
   WCCP dissector crash. (Bug 11153)
 - wnpa-sec-2015-20
   GSM DTAP dissector crash. (Bug 11201)

[Thomas: indicate that this is a security related updated in the
commit log, as suggested by Gustavo.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibcurl: bump to version 7.43.0
Vicente Olivert Riera [Thu, 18 Jun 2015 16:44:26 +0000 (18:44 +0200)]
libcurl: bump to version 7.43.0

- Bump to version 7.43.0
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofluxbox: fix build against xlib_libXpm
James Knight [Thu, 18 Jun 2015 17:42:56 +0000 (13:42 -0400)]
fluxbox: fix build against xlib_libXpm

Explicitly configure XPM support based on the library selection provided
(BR2_PACKAGE_XLIB_LIBXPM). It has been observed on different hosts that
XPM support may or may not be included based off the state of the host's
system. One can validate XPM support is included in Fluxbox by using the
command `fluxbox -info`.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-netifaces: add hash file
Yegor Yefremov [Thu, 18 Jun 2015 16:50:53 +0000 (18:50 +0200)]
python-netifaces: add hash file

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agohdparm: bump to 9.48
Yegor Yefremov [Thu, 18 Jun 2015 16:50:12 +0000 (18:50 +0200)]
hdparm: bump to 9.48

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{12,18}.x series
Gustavo Zacarias [Thu, 18 Jun 2015 18:33:47 +0000 (15:33 -0300)]
linux-headers: bump 3.{12,18}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: new package
Clayton Shotwell [Tue, 2 Jun 2015 13:28:20 +0000 (08:28 -0500)]
audit: new package

[Thomas:
 - remove S01audit, which isn't completely compliant with the
   Buildroot style.
 - make the package available only on architectures for which the
   system call tables are available, and add some comments about this
   in the .mk file.]

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosetools: new package
Matt Weber [Tue, 2 Jun 2015 13:28:18 +0000 (08:28 -0500)]
setools: new package

[Thomas:
  - remove HOST_AUTORECONF = YES, since it is implied by AUTORECONF = YES.]

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqlite: Add host build support
Clayton Shotwell [Tue, 2 Jun 2015 13:28:17 +0000 (08:28 -0500)]
sqlite: Add host build support

Host sqlite is required by the host build of the setools package which
is required for SELinux support.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolftp: indicate why autoreconf is needed
Thomas Petazzoni [Wed, 17 Jun 2015 10:24:44 +0000 (12:24 +0200)]
lftp: indicate why autoreconf is needed

We no longer have any patch touching configure.ac/Makefile.am, so one
might wonder why we're autoreconfiguring the package. The reason is
that our libtool patch doesn't apply on the code provided by the lftp
tarball.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolftp: bump version to 4.6.2
Benoît Thébaudeau [Tue, 16 Jun 2015 14:06:25 +0000 (16:06 +0200)]
lftp: bump version to 4.6.2

0001-Remove-unused-libraries-path.patch has now been applied upstream,
so remove it from Buildroot.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openvmtools: introduce SUBDIR variable and update patches
Karoly Kasza [Wed, 17 Jun 2015 08:22:08 +0000 (10:22 +0200)]
package/openvmtools: introduce SUBDIR variable and update patches

The Open-vm-tools package is now distributed from GitHub and a new
subdirectory was introduced, which breaks the Buildroot process.

This patch adds the _SUBDIR variable in the Makefile and also updates
all distributed patches.

Fixes:

http://autobuild.buildroot.net/results/bfd10c8d454a2686ebb1c4afdb49c55e39a9dd67/

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gpm: add hash file
Petr Vorel [Mon, 15 Jun 2015 22:31:04 +0000 (00:31 +0200)]
package/gpm: add hash file

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/modem-manager: bump to version 1.4.8
Petr Vorel [Mon, 15 Jun 2015 21:12:08 +0000 (23:12 +0200)]
package/modem-manager: bump to version 1.4.8

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/network-manager: bump to version 1.0.2
Petr Vorel [Mon, 15 Jun 2015 21:11:48 +0000 (23:11 +0200)]
package/network-manager: bump to version 1.0.2

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoeudev: add enable/disable hwdb option
Yegor Yefremov [Mon, 15 Jun 2015 19:53:34 +0000 (21:53 +0200)]
eudev: add enable/disable hwdb option

This option enables/disables installation of the eudev hardware database,
which provides various extra properties for known devices.
Enabling this option adds ~5MB to the rootfs size.

The option is enabled by default in order to preserve old behavior.

[Peter: extend commit message]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-firmware: bump version
Yegor Yefremov [Mon, 15 Jun 2015 19:28:54 +0000 (21:28 +0200)]
linux-firmware: bump version

Remove wl18xx-conf.bin as it was already removed from
upstream repository.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibsoc: bump to 0.6.4
Yegor Yefremov [Mon, 15 Jun 2015 19:00:45 +0000 (21:00 +0200)]
libsoc: bump to 0.6.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomxml: add hash file
Baruch Siach [Mon, 15 Jun 2015 04:12:29 +0000 (07:12 +0300)]
mxml: add hash file

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openvmtools: move to GitHub
Karoly Kasza [Mon, 15 Jun 2015 08:47:48 +0000 (10:47 +0200)]
package/openvmtools: move to GitHub

The Open-vm-tools project is moved to GitHub.
Hash file removed.
Major version variable removed.

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: bump version
Yann E. MORIN [Sun, 14 Jun 2015 21:59:28 +0000 (23:59 +0200)]
package/libtirpc: bump version

Bump to version 0.3.1:
  - update our patches
  - rename patches for proper numbering
  - drop patch 0007, applied upstream

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/at91bootstrap3: download via custom git url
Angelo Compagnucci [Tue, 2 Jun 2015 08:46:20 +0000 (10:46 +0200)]
boot/at91bootstrap3: download via custom git url

This patch adds the option to download at91bootstrap3 from
a custom git URL. This is a requirement for all that boards
that use a custom at91bootstrap3 version.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/at91bootstrap3: bump to version 3.7.2
Angelo Compagnucci [Tue, 2 Jun 2015 08:46:19 +0000 (10:46 +0200)]
boot/at91bootstrap3: bump to version 3.7.2

This patch bumps at91bootstrap3 version to 3.7.2

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/at91bootstrap3: add license information
Angelo Compagnucci [Tue, 2 Jun 2015 08:46:18 +0000 (10:46 +0200)]
boot/at91bootstrap3: add license information

This patch adds licensing informations to at91bootstrap3

[Thomas:
 - change from "BSD-2c with endorsement clause" to "Atmel License",
   because the license of AT91Bootstrap is neither a BSD-2c nor a
   BSD-3c: it does not carry the second clause of the BSD-2c or BSD-3c
   licenses giving the condition of redistribution of the binary form.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoautomake: use whenever possible the ACLOCAL_HOST_DIR variable
Fabio Porcedda [Sun, 8 Feb 2015 10:40:56 +0000 (11:40 +0100)]
automake: use whenever possible the ACLOCAL_HOST_DIR variable

Use the ACLOCAL_HOST_DIR in the GTK_DOC_M4_INSTALL hook.

Move the ACLOCAL_HOST_DIR definition at the beginning so the definition
is ahead the utilization.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofs/iso9660: add support for grub2
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:48 +0000 (00:21 +0200)]
fs/iso9660: add support for grub2

After having extended the iso9660 support to allow isolinux as an
alternative to grub, this commit adds grub2 as a third
alternative. With the previous work done to support isolinux, adding
support for grub2 is fairly trivial.

[Thomas: set timeout to 10 seconds and not 5 seconds, in order to
match the configuration used for grub.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agogrub2: prepare and install El Torito image
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:47 +0000 (00:21 +0200)]
grub2: prepare and install El Torito image

In order to support ISO9660 bootable images that rely on Grub 2, this
commit modifies thr Grub 2 makefile to generate and install an El
Torito image. Such an image is simply produced by concatenating the
cdboot.img provided by Grub 2, and the Grub 2 image generated by
Buildroot using grub-mkimage.

Since this action is so simple and cost-free, we don't bother adding a
Grub 2 sub-option for that, and simply generate the El Torito image
unconditionally.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: add hybrid image support
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:46 +0000 (00:21 +0200)]
fs/iso9660: add hybrid image support

This commit adds a new option, which allows, when isolinux is used as
the bootloader, to generate an "hybrid" ISO image. Such images can
either be booted from CD-ROM or from USB keys. It simply uses the
isohybrid tool provided by syslinux.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: add isolinux support
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:45 +0000 (00:21 +0200)]
fs/iso9660: add isolinux support

After all the preparation commits, this commit finally adds the
iso9660 support itself. Besides adding a new Config.in entry, a little
bit of .mk code and the isolinux.cfg default configuration, not much
is needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: use 'depends on' instead of 'select' for bootloader
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:44 +0000 (00:21 +0200)]
fs/iso9660: use 'depends on' instead of 'select' for bootloader

In preparation to the introduction of the support for other
bootloaders than Grub, this commit switches from having the iso9660
support "select" the necessary bootloader to using a "depends on".

The main motivation is that the isolinux bootloader support will
really need to do a "depends on", due to the need of having a certain
option enabled, but this option being a kconfig "choice".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: introduce bootloader choice
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:43 +0000 (00:21 +0200)]
fs/iso9660: introduce bootloader choice

In preparation to the introduction for the support of other
bootloaders than Grub, this commit adds a "choice ... endchoice" block
with just the Grub option, and adds some conditionals in the
iso9660.mk code for the Grub specific parts.

Of course, for now those conditionals are a bit useless with just this
commit, but they become useful with the followup commits.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: introduce new variables
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:42 +0000 (00:21 +0200)]
fs/iso9660: introduce new variables

In preparation to the introduction of the support for other
bootloaders that Grub, this commit introduces two new variables:

 - ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH, which gives the full path to
   the bootloader configuration file

 - ROOTFS_ISO9660_BOOT_IMAGE, which gives the relative path of the
   main bootloader image, as needed by genisoimage's -b option.

There are no functional changes made, as the variables are for now
always set to the same value.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: support building a real iso9660 filesystem
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:41 +0000 (00:21 +0200)]
fs/iso9660: support building a real iso9660 filesystem

Until now, the iso9660 filesystem handling only supported using an
initrd/initramfs to store the root filesystem, which is very different
from what we do with the other filesystems.

This commit changes the iso9660 logic to also allow using directly an
iso9660 filesystem to store the root filesystem. A new option,
BR2_TARGET_ROOTFS_ISO9660_INITRD, is created to tell the iso9660 that
we want to use an initrd and not directly the root filesystem in
iso9660 format. This option defaults to 'y' to preserve the existing
behavior.

After this commit, we therefore have three possibilities:

 * BR2_TARGET_ROOTFS_ISO9660=y, with BR2_TARGET_ROOTFS_INITRAMFS and
   BR2_TARGET_ROOTFS_ISO9660_INITRD disabled. In this case, the
   iso9660 filesystem is directly the contents of the root filesystem
   (since is possible thanks to the Rockridge extensions that were
   already enabled using the -R option of genisoimage). Obviously, it
   means that the root filesystem is read-only.

 * BR2_TARGET_ROOTFS_ISO9660=y and BR2_TARGET_ROOTFS_INITRAMFS=y (the
   value of BR2_TARGET_ROOTFS_ISO9660_INITRD doesn't matter). In this
   case, the root filesystem is already linked into the kernel image
   itself, as an initramfs. So the iso9660 filesystem doesn't contain
   the root filesystem as is, but just the bootloader and the kernel
   image.

 * BR2_TARGET_ROOTFS_ISO9660=y, BR2_TARGET_ROOTFS_ISO9660_INITRD=y and
   BR2_TARGET_ROOTFS_INITRAMFS disabled. In this case, a separate
   initrd is used. The iso9660 filesystem only contains the
   bootloader, the kernel and the initrd.

In order to support the first case out of the box, root=/dev/sr0 is
added on the kernel command line in the example Grub configuration
file, so that the kernel knows where the root filesystem is
located. This argument is ignored when initrd/initramfs are used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: prepare cleaner kernel/initrd path handling
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:40 +0000 (00:21 +0200)]
fs/iso9660: prepare cleaner kernel/initrd path handling

The iso9660.mk modifies the menu.lst file from Grub to set the correct
initrd/kernel image locations. However, with the upcoming support of
other bootloaders for iso9660 filesystems, we need to modify a bit
this logic.

Instead of relying on the specific details of the grub menu.lst
syntax, we introduce the __KERNEL_PATH__ and __INITRD_PATH__ magic
keywords, which iso9660.mk will replace by the appropriate
values. They can therefore be used where needed in grub menu.lst, and
in similar configuration files of other bootloaders, as will be
supported in the following commits.

Also, in order to be consistent with the soon to be introduced support
for having the root filesystem itself as iso9660, this commit changes
the installation location of the initrd and kernel. Instead of being
/initrd and /kernel, they become /boot/initrd and
/boot/$(LINUX_IMAGE_NAME).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: get grub splash from $(TARGET_DIR)
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:39 +0000 (00:21 +0200)]
fs/iso9660: get grub splash from $(TARGET_DIR)

Instead of using directly the splash image from the Buildroot source
directory boot/grub, this commit changes the iso9660 logic to use the
splash image installed in $(TARGET_DIR)/boot/grub.

This effectively allows a user to use a custom splash image by
installing it to $(TARGET_DIR) through a rootfs overlay or using a
post-build script.

Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agofs/iso9660: change the location of the splash image
Thomas Petazzoni [Mon, 8 Jun 2015 22:21:38 +0000 (00:21 +0200)]
fs/iso9660: change the location of the splash image

In order to simplify the introduction of the support for using ISO9660
as the real root filesystem, this commit changes the location of the
grub splash image. This makes it match where the splash image is
located in $(TARGET_DIR), so that regardless of whether the
initrd/initramfs solution or the real iso9660 filesystem solution are
used, the splash image is installed at the same location.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>