Julien Floret [Sat, 2 Jul 2016 22:20:48 +0000 (00:20 +0200)]
isl: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:47 +0000 (00:20 +0200)]
imx-usb-loader: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:46 +0000 (00:20 +0200)]
heimdal: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:45 +0000 (00:20 +0200)]
gmp: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:44 +0000 (00:20 +0200)]
genimage: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:43 +0000 (00:20 +0200)]
fwup: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:42 +0000 (00:20 +0200)]
fontconfig: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:41 +0000 (00:20 +0200)]
file: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
[Thomas: remove host-file dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:40 +0000 (00:20 +0200)]
expat: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:39 +0000 (00:20 +0200)]
erlang-lager: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:38 +0000 (00:20 +0200)]
e2tools: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:37 +0000 (00:20 +0200)]
dtc: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:36 +0000 (00:20 +0200)]
doxygen: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:35 +0000 (00:20 +0200)]
cramfs: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:34 +0000 (00:20 +0200)]
cloog: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:32 +0000 (00:20 +0200)]
bdwgc: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien Floret [Sat, 2 Jul 2016 22:20:31 +0000 (00:20 +0200)]
axfsutils: add explicit dependencies for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 2 Jul 2016 22:20:29 +0000 (00:20 +0200)]
package/libgpg-error: update project URL
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Fri, 1 Jul 2016 09:01:19 +0000 (11:01 +0200)]
core/pkg-infra: download git submodules if the package wants them
Add a new package variable that packages can set to specify that they
need git submodules.
Only accept this option if the download method is git, as we can not get
submodules via an http download (via wget).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Aleksandar Simeonov <aleksandar@barix.com>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Tested-By: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Fri, 1 Jul 2016 09:01:18 +0000 (11:01 +0200)]
support/download/git: add support for submodules
Some git repositories may be split into a master repository and
submodules. Up until now, we did not have support for submodules,
because we were using bare clones, in which it is not possible to
update the list of submodules.
Now that we are using plain clones with a working copy, we can retrieve
the submdoules.
Add an option to the git download helper to kick the update of
submodules, so that they are only fetched for those packages that
require them. Also document the existing -q option at the same time.
Submodules have a .git file at their root, which contains the path to
the real .git directory of the master repository. Since we remove it,
there is no point in keeping those .git files either.
Note: this is currently unused, but will be enabled with the follow-up
patch that adds the necessary parts in the pkg-generic and pkg-download
infrastructures.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Fri, 1 Jul 2016 09:01:17 +0000 (11:01 +0200)]
support/download/git: do not use git archive, handle it manually
We currently use git-archive to generate the tarball. This is all handy
and dandy, but git-archive does not support submodules. In the follow-up
patch, we're going to handle submodules, so we would not be able to use
git-archive.
Instead, we manually generate the archive:
- extract the tree to the requested cset,
- get the date of the commit to store in the archive,
- store only numeric owners,
- store owner and group as 0 (zero, although any arbitrary value would
have been fine, as long as it's a constant),
- sort the files to store in the archive.
We also get rid of the .git directory, because there is no reason to
keep it in the context of Buildroot. Some people would love to keep it
so as to speed up later downloads when updating a package, but that is
not really doable. For example:
- use current Buildroot
- it would need foo-12345, so do a clone and keep the .git in the
generated tarball
- update Buildroot
- it would need foo-98765
For that second clone, how could we know we would have to first extract
foo-12345 ? So, the .git in the archive is pretty much useless for
Buildroot.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Fri, 1 Jul 2016 09:01:16 +0000 (11:01 +0200)]
support/download/git: do not use bare clones
Currently, we are using bare clones, so as to minimise the disk usage,
most notably for largeish repositories such as the one for the Linux
kernel, which can go beyond the 1GiB barrier.
However, this precludes updating (and thus using) the submodules, if
any, of the repositories, as a working copy is required to use
submodules (becaue we need to know the list of submodules, where to find
them, where to clone them, what cset to checkout, and all those is
dependent upon the checked out cset of the father repository).
Switch to using /plain/ clones with a working copy.
This means that the extra refs used by some forges (like pull-requests
for Github, or changes for gerrit...) are no longer fetched as part of
the clone, because git does not offer to do a mirror clone when there is
a working copy.
Instead, we have to fetch those special refs by hand. Since there is no
easy solution to know whether the cset the user asked for is such a
special ref or not, we just try to always fetch the cset requested by
the user; if this fails, we assume that this is not a special ref (most
probably, it is a sha1) and we defer the check to the archive creation,
which would fail if the requested cset is missing anyway.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Sat, 2 Jul 2016 15:29:52 +0000 (17:29 +0200)]
package/boost: add boot-type_erasure support
Until now this library wasn't handled by the Buildroot packaging,
so add a new config option to disable it when requested.
Also disable boost-type_erasure for the host variant to keep it as
minimal as possible.
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jerzy Grzegorek [Sat, 2 Jul 2016 15:06:18 +0000 (17:06 +0200)]
Config.in: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 16:21:31 +0000 (18:21 +0200)]
package/samba4: Change tmpfiles path
Per the documentation:
https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
The order of path by priorites is:
/etc/tmpfiles.d/*.conf
/run/tmpfiles.d/*.conf
/usr/lib/tmpfiles.d/*.conf
For the user to be able to override our tmpfiles easily, it's better to
place our files in /usr/lib/tmpfiles.d/
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jonathan Ben Avraham [Wed, 2 Mar 2016 07:40:41 +0000 (09:40 +0200)]
sphinxbase: new package
CMUSphinx toolkit is a speech recognition toolkit with various tools
used to build speech applications. CMU Sphinx toolkit has a number of
packages for different tasks and applications. The toolkit is designed
for use on mobile platforms.
Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il>
[Thomas:
- license is BSD-2c, not MIT
- add --without-lapack]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:15 +0000 (15:59 +0200)]
package/systemd: Sort menuconfig alphabetically
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:14 +0000 (15:59 +0200)]
systemd-bootchart: New package
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas:
- remove Config.in.legacy option
- rename the hash file to the correct name
- add license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:13 +0000 (15:59 +0200)]
package/systemd: Remove systemd-bootchart
Since systemd v230, bootchart has been removed from the source of
systemd and now lives in its own repository.
A new package will be added in the next commit.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:12 +0000 (15:59 +0200)]
package/systemd: Remove SYSTEMD_COMPAT option
Since v230 of systemd, the compat libraries have been fully removed.
https://github.com/systemd/systemd/commit/
4de282cf9324ab13d17ac334244d0d7cae2df37d
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: rewrap Config.in help text in Config.in.legacy and put the
option at the right place.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:11 +0000 (15:59 +0200)]
package/systemd: Default yes for networkd
It seems logical to enable a few options along with systemd when it's
the init system.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:10 +0000 (15:59 +0200)]
package/systemd: Default yes for timesyncd
It seems logical to enable a few options along with systemd when it's
the init system.
Also change the help as timesyncd is a daemon that implements an SNTP client.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:09 +0000 (15:59 +0200)]
package/systemd: Create user only when needed
We don't want to create a bunch of group and users that might not be
used, it's more elegant to create them when the associated features is
selected.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:08 +0000 (15:59 +0200)]
package/systemd: Add optional support for resolved
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:07 +0000 (15:59 +0200)]
package/systemd: Add optional support for myhostname
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Vicente Olivert Riera [Sat, 2 Jul 2016 13:32:15 +0000 (15:32 +0200)]
package/ffmpeg: cosmetic change for the mips fpu option
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Sat, 2 Jul 2016 13:32:13 +0000 (15:32 +0200)]
package/freerdp: add support for ffmpeg 3.0
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Waldemar Brodkorb [Mon, 13 Jun 2016 06:07:17 +0000 (08:07 +0200)]
dmalloc: fix static build
For example coldfire uses FLAT binaries, which are statically
build. Fixes following autobuild failure:
http://autobuild.buildroot.net/results/
cc4233a4c3f92275a4071c172330c920c35219ca/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: use an intermediate variable rather than duplicating code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
André Hentschel [Wed, 22 Jun 2016 17:00:16 +0000 (19:00 +0200)]
fftw: Disable combined threads when building with OpenMP support
Otherwise fftw fails to configure:
configure: error: --with-combined-threads incompatible with --enable-openmp
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 25 Jun 2016 07:49:13 +0000 (09:49 +0200)]
package/libdvdread: fix static compile by adding libdvdcss as dependency
If libdvdcss support was not found during configure libdvdread tries
to open libdvdcss.so nonetheless:
https://code.videolan.org/videolan/libdvdread/blob/master/src/dvd_input.c#L275
This will obviously fail in a static-only configuration. To fix the
problem add libdvdcss as hard dependency to this package.
Fixes
http://autobuild.buildroot.net/results/415/
41534b70a66c6297652f0944f9ecc7e780b26c45/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: replace += by =.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 2 Jul 2016 11:07:15 +0000 (13:07 +0200)]
package/libiio: libiio network backend needs threads
When libiio network backend is enabled, NEED_THREADS is set in the
build system and require a toolchain with treads support.
Fixes:
http://autobuild.buildroot.net/results/cfc/
cfc70094d8f4008f4e660250b1b90a35a2ab384d
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 22:06:11 +0000 (00:06 +0200)]
babeld: New package
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: use $(INSTALL) instead of install.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Sat, 2 Jul 2016 11:50:23 +0000 (08:50 -0300)]
memcached: bump to version 1.4.28
Removes the 64-bit atomic intrinsics constraint previously introduced.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Sat, 2 Jul 2016 11:46:20 +0000 (08:46 -0300)]
liboping: bump to version 1.9.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Sat, 2 Jul 2016 11:45:37 +0000 (08:45 -0300)]
configs/qemu: update aarch64 to linux 4.6.3
The console problem goes away with qemu 2.6.0 so it seems it's now a
requirement, update readme.txt accordingly.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Sat, 2 Jul 2016 11:45:36 +0000 (08:45 -0300)]
configs/pc_x86_64_{bios, efi}_defconfig: bump to linux 4.6.3
To match it's friendly qemu counterpart.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Sat, 2 Jul 2016 11:45:35 +0000 (08:45 -0300)]
configs/qemu: bump to linux 4.6.3
In order to keep them in sync with the new configs, and avoid shipping a
vulnerable kernel.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 2 Jul 2016 09:00:08 +0000 (11:00 +0200)]
package/libuio: fix build with musl
limits.h header is missing in attr.c, base.c and helper.c to provide
PATH_MAX.
Fixes:
http://autobuild.buildroot.net/results/702/
7023104e6018ea46c54073ddbe5119d0f66ae5a3
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Sat, 2 Jul 2016 09:00:07 +0000 (11:00 +0200)]
package/libuio: disable Werror
Disable -Werror to avoid build issues caused by warnings.
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Sat, 2 Jul 2016 09:00:06 +0000 (11:00 +0200)]
package/libuio: fix build with external intl library
When intl library is not provided by the libc, libuio forgets to link
with -lintl.
Fixes:
http://autobuild.buildroot.net/results/8f7/
8f715b4e9b826dac13f3d49da25576e6e1d79449
[Peter: simplify using LIBUIO_LIBS as suggested by Yann]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sat, 2 Jul 2016 11:18:18 +0000 (13:18 +0200)]
a20_ollinuxino: Accommodate U-Boot environment on SD-card
As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout
The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sat, 2 Jul 2016 11:17:07 +0000 (13:17 +0200)]
pcduino: Accommodate U-Boot environment on SD-card
As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout
The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sat, 2 Jul 2016 11:09:59 +0000 (13:09 +0200)]
orangepipc: Accommodate U-Boot environment on SD-card
As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout
The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Alexey Brodkin [Fri, 1 Jul 2016 20:01:57 +0000 (23:01 +0300)]
cubieboard2: Accommodate U-Boot environment on SD-card
According to current "include/configs/sunxi-common.h"
U-Boot environment is stored on SD-card with offset 544 kB
and its size is limited as 128 kB.
Given memory layout of sunxi boards:
1. SPL
2. U-Boot
3. U-Boot environment
4. Partitions
(see http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout for details)
we need to make sure the first real partition starts at least
with 544+128 kB offset. Adding a small safety gap let's put
the first partition with offset 1MB from the beginning of SD-card.
Otherwise current setup gets broken as soon as one saves U-Boot
environment with "saveenv" which basically overwrites FAT partition with
zImage and board no longer boots into Linux kernel.
[Peter: extend description, add padding to u-boot partition instead]
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Carlos Quijano <carlos@crqgestion.es>
Cc: Andi Shyti <andi@etezian.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Andy Shevchenko [Fri, 1 Jul 2016 18:56:19 +0000 (21:56 +0300)]
package/busybox: support spaces in module aliases in mdev
The new change which enabled automatic module loading on boot does not handle
the cases when module alias includes spaces. It prevents modules to be loaded
since script fails:
% find /sys/ -name modalias | xargs sort -u
sort: /sys/devices/platform/Fixed: No such file or directory
First alias in question is "platform:Fixed MDIO bus".
Amend the script to support above like cases.
Fixes: 07f46c2b6dae ("package/busybox: support automatic module loading with mdev")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:28 +0000 (23:51 +0200)]
package/systemd: Force enable blkid
Since systemd select BR2_PACKAGE_UTIL_LINUX_LIBBLKID, we can safely
force this option.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:27 +0000 (23:51 +0200)]
package/systemd: Add optional libxkbcommon support
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:24 +0000 (23:51 +0200)]
package/systemd: add optional support for qrencode
The support of qrencode depends of the journal gateway feature as it is
used to display the key used to seal the journal.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:23 +0000 (23:51 +0200)]
package/systemd: add optional support for libidn
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:22 +0000 (23:51 +0200)]
package/systemd: Disable IMA support
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:21 +0000 (23:51 +0200)]
package/systemd: Disable the test coverage
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:20 +0000 (23:51 +0200)]
package/systemd: add optional support for audit
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:18 +0000 (23:51 +0200)]
package/systemd: remove unnecessary make opts
These flags were originally needed to support uClibc in earlier releases.
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:17 +0000 (23:51 +0200)]
package/systemd: only create 'systemd-journal' group
systemd-journal is a group used for controlling user access to the
journal when used with tools like journalctl.
While we're at it, sort the users list to improve readability.
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:16 +0000 (23:51 +0200)]
package/systemd: use 'menuconfig'
systemd has a bunch of options now, so use 'menuconfig' to the group the
options in a submenu.
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:15 +0000 (23:51 +0200)]
package/systemd: add optional support for hibernation
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:14 +0000 (23:51 +0200)]
package/systemd: add optional support for polkit
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:13 +0000 (23:51 +0200)]
package/systemd: add optional support for coredump
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:12 +0000 (23:51 +0200)]
package/systemd: add optional support for localed
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:11 +0000 (23:51 +0200)]
package/systemd: add optional support for timedated
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:10 +0000 (23:51 +0200)]
package/systemd: add optional support for hostnamed
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:09 +0000 (23:51 +0200)]
package/systemd: add optional support for importd
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:08 +0000 (23:51 +0200)]
package/systemd: add optional support for machined
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:07 +0000 (23:51 +0200)]
package/systemd: add optional support for logind
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:06 +0000 (23:51 +0200)]
package/systemd: add optional support for rfkill
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:05 +0000 (23:51 +0200)]
package/systemd: add optional support for backlight
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:04 +0000 (23:51 +0200)]
package/systemd: add optional support for random-seed
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:03 +0000 (23:51 +0200)]
package/systemd: add optional support for firstboot
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:02 +0000 (23:51 +0200)]
package/systemd: add optional support for sysusers
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gabe Evans [Fri, 1 Jul 2016 21:51:01 +0000 (23:51 +0200)]
package/systemd: add optional support for tmpfiles
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jerzy Grzegorek [Sat, 2 Jul 2016 05:06:27 +0000 (07:06 +0200)]
package/valijson: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Jerzy Grzegorek [Sat, 2 Jul 2016 05:06:26 +0000 (07:06 +0200)]
package/libcoap: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Julien Floret [Sat, 2 Jul 2016 09:35:38 +0000 (11:35 +0200)]
jsmin: add menuconfig entry for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gilles Chanteperdrix [Tue, 14 Jun 2016 15:31:10 +0000 (17:31 +0200)]
reproducibility: override locale and timezone
And export BR2_REPRODUCIBLE for post-build / post-image scripts.
[Peter: Extend commit message,
move export together with our other exports,
add comment explaining why we override local/timezone]
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gilles Chanteperdrix [Tue, 14 Jun 2016 15:31:09 +0000 (17:31 +0200)]
reproducibility: introduce config knob
Making the builds reproducible involves turning off build timestamps,
which some users may find annoying. So make the reproducible builds
optional.
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 2 Jul 2016 09:28:10 +0000 (11:28 +0200)]
audit: bump to version 2.6.2
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sat, 2 Jul 2016 07:47:15 +0000 (09:47 +0200)]
package/{libsepol,libselinux}: fix build on ancient distros
Ancient distros (especially enterprise-grade still in use) do not accept
ln --relative.
Revert the upstream commit, since the problem it was trying to fix is
not applicable in the context of Buildroot (even with a merged /usr).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Adam Duskett <Aduskett@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 2 Jul 2016 08:37:01 +0000 (10:37 +0200)]
audit: add patch to fix EHWPOISON build issue
Fixes:
http://autobuild.buildroot.net/results/
2e147b60481cfb8960749a8e012ff8fa05568a2c/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 1 Jul 2016 22:24:55 +0000 (00:24 +0200)]
libsepol: add missing dependency on host-flex
Fixes:
http://autobuild.buildroot.net/results/
580037bd376188e18a4a58927c929d21e9b2b03c/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov [Wed, 22 Jun 2016 13:49:04 +0000 (15:49 +0200)]
python-scapy3k: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Charles Hardin [Sat, 21 May 2016 20:08:34 +0000 (13:08 -0700)]
package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo
>From the documentation on BR2_ENABLE_DEBUG, the intention is to get
a build with debug symbols and not a "debug build" since that can have
the unintended consequence of being a different code path then a
release build type definition.
Switch the "Debug" to "RelWithDebInfo" in the cmake package support
to accomodate getting the debug symbols and still be a release
build.
Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Fri, 1 Jul 2016 16:29:09 +0000 (18:29 +0200)]
package/Makefile.in: set variables for legacy f77 checks
For fortran detection, some projects check for fortran availability
using the FC/FCFLAGS variables, and others for the legacy F77/FFLAGS
ones.
So, make sure the legacy fortran F77 and FFLAGS variables are set in
TARGET_CONFIGURE_OPTS.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Benjamin Kamath [Fri, 1 Jul 2016 16:29:08 +0000 (18:29 +0200)]
package/Makefile.in: set TARGET_FCFLAGS variables
TARGET_FCFLAGS is already added to TARGET_CONFIGURE_OPTS, but was not
defined so far. This change fixes this.
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Benjamin Kamath <bkamath@spaceflight.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Fri, 1 Jul 2016 16:29:07 +0000 (18:29 +0200)]
package/gcc: wrap gfortran
gfortran supports all options supported by gcc, so it can and should be called
via the toolchain wrapper.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Andy Shevchenko [Fri, 1 Jul 2016 18:57:30 +0000 (21:57 +0300)]
package/busybox: enable ttyUSB[0-9] when using mdev
Some of our systems are using ttyUSB0 devices as a serial console.
Add them to mdev.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Joris Lijssens [Fri, 1 Jul 2016 16:32:22 +0000 (18:32 +0200)]
package/libuio: new package
Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
[Romain:
- fix autoreconf issue by using GETTEXTIZE and AUTORECONF
- fix issue with missing makeinfo
- move version number comment in .mk]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Thomas: add GPLv2 license, used for the programs.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Fri, 1 Jul 2016 16:03:33 +0000 (18:03 +0200)]
package/linux-headers: do not default to any version for custom headers
Currently, for a custom headers version, or for the same headers as the
kernel, wedefault to a "very old" version (i.e. 2.6.x in practice).
However, as Vivien explained, when using the same headers as the kernel,
and the kernel is set to use the default version (aka latest version
known to Buildroot) of the kernel, one would expect the headers are
automatically tracking the latest version. Off course, that expectation
is broken because of the above.
However, whatever version we default to, it will probably not be
correct, whether we default to the latest version or to the "very old"
version.
So, simply drop the specific default version, so the default is now the
latest version.
Note: that has the potential to break existing defconfig files that
relied on the "very old" version to be the default. Well, whatever,
they'll get a build failre quite early, and it is easy to fix.
Reported-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov [Wed, 29 Jun 2016 06:27:05 +0000 (08:27 +0200)]
python-xlutils: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov [Wed, 29 Jun 2016 06:27:04 +0000 (08:27 +0200)]
python-xlwt: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Mon, 27 Jun 2016 15:11:15 +0000 (16:11 +0100)]
package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option
BR2_TOOLCHAIN_BUILDROOT_WCHAR is only defined when uclibc is selected,
whereas BR2_USE_WCHAR is always defined. Due to this, we were disabling
quadmath support even with glibc or musl.
So, use BR2_USE_WCHAR to drive the gcc libquadmath option.
In addition, invert the logic of the condition to use positive logic,
and rework the comment to no longer mention gcc 4.6: libquadmath still
exists, and it still requires wchar support.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>