buildroot.git
13 years agomini2440_defconfig: use mainline kernel
Peter Korsgaard [Thu, 25 Aug 2011 20:47:04 +0000 (22:47 +0200)]
mini2440_defconfig: use mainline kernel

mini2440 has been supported in the mainline kernel since early 2009,
so use that instead of a custom tarball.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.19.x branch and cleanup
Gustavo Zacarias [Tue, 6 Sep 2011 13:36:53 +0000 (10:36 -0300)]
busybox: add 1.19.x branch and cleanup

Add busybox version 1.19.2 for the 1.19.x branch.
Remove deprecated 1.15.x branch.
Mark 1.16.x and 1.17.x branches deprecated as suggested by Thomas.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoleafpad: bump to 0.8.18
Frederic Bassaler [Thu, 11 Aug 2011 10:38:33 +0000 (12:38 +0200)]
leafpad: bump to 0.8.18

Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsoup: add option to enable HTTPS (SSL) support
Sven Neumann [Thu, 11 Aug 2011 09:57:41 +0000 (11:57 +0200)]
libsoup: add option to enable HTTPS (SSL) support

By selecting BR2_PACKAGE_LIBSOUP_SSL the gnutls package is selected
and libsoup will be compiled with SSL support.

[Peter: pass --with-libgcrypt-prefix so configure finds it]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: drop uuidd option
Peter Korsgaard [Tue, 6 Sep 2011 07:12:51 +0000 (09:12 +0200)]
e2fsprogs: drop uuidd option

e2fsprogs uuidd no longer builds with libuuid from util-linux 2.20,
and according to tytso the util-linux version should be used instead
when using libuuid from there, so drop the e2fsprogs option.

Reported-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: bump version
Peter Korsgaard [Mon, 5 Sep 2011 20:16:03 +0000 (22:16 +0200)]
util-linux: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokickoff 2011.11 development cycle
Peter Korsgaard [Mon, 5 Sep 2011 20:14:33 +0000 (22:14 +0200)]
kickoff 2011.11 development cycle

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonews.html: fix 2011.08 release date
Peter Korsgaard [Wed, 31 Aug 2011 12:23:26 +0000 (14:23 +0200)]
news.html: fix 2011.08 release date

Thanks to Michael S. Zick for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate for 2011.08
Peter Korsgaard [Wed, 31 Aug 2011 11:44:55 +0000 (13:44 +0200)]
Update for 2011.08

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 3.0.x stable version
Sven Neumann [Tue, 30 Aug 2011 15:34:23 +0000 (17:34 +0200)]
kernel-headers: bump 3.0.x stable version

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonews.html: add 2011.08-rc2 announcement link
Peter Korsgaard [Tue, 30 Aug 2011 12:46:00 +0000 (14:46 +0200)]
news.html: add 2011.08-rc2 announcement link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoipset: fixup kernel checks for external toolchains
Gustavo Zacarias [Wed, 17 Aug 2011 19:27:37 +0000 (16:27 -0300)]
ipset: fixup kernel checks for external toolchains

Add patch to kill kernel checks since we don't build the kernel
modules anyway.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoFix regression in Python build on 64 bits system
Maxime Ripard [Mon, 29 Aug 2011 15:56:44 +0000 (17:56 +0200)]
Fix regression in Python build on 64 bits system

Commit 009d8fceab4db7815502e4b0565fe0ef531d512c introduced
--enable-shared --disable-static options for the host autotools packages,
ultimately causing a regression on the host-python build, leading to
a number of critical modules not being built on the target python on
64 bits system. Introduce a quick fix for the release and before a deeper
fix.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoFix the CodeSourcery ARM 2009q3 toolchain use
Maxime Ripard [Mon, 29 Aug 2011 15:56:31 +0000 (17:56 +0200)]
Fix the CodeSourcery ARM 2009q3 toolchain use

The prefix is not set when selecting this toolchain, resulting in a
build failure.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate for 2011.08-rc2
Peter Korsgaard [Mon, 29 Aug 2011 09:21:17 +0000 (11:21 +0200)]
Update for 2011.08-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonews.html: add 2011.08-rc1 announcement link
Peter Korsgaard [Mon, 29 Aug 2011 07:32:15 +0000 (09:32 +0200)]
news.html: add 2011.08-rc1 announcement link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/crosstool-NG: update version to 1.12.1
Yann E. MORIN [Sat, 27 Aug 2011 21:07:43 +0000 (23:07 +0200)]
package/crosstool-NG: update version to 1.12.1

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/crosstool-NG: fix bundled config files
Yann E. MORIN [Sat, 27 Aug 2011 21:07:42 +0000 (23:07 +0200)]
toolchain/crosstool-NG: fix bundled config files

Bundled config files have architecture-specific values in them,
which may break if buildroot is configured with another architecture
that does not forcibly set these option.

For example, the bundled config files are for x86_64, and define:
    CT_ARCH_TUNE="generic"

This comes from the BR2_GCC_TARGET_TUNE config option (in buildroot) that
is set accordingly to the selected (arch,sub-arch).

But if someone configures buildroot for, say, generic ARM, then the
BR2_GCC_TARGET_TUNE config option is not set, and the crosstool-NG backend
Makefile believes it should not be pushed down to the crosstool-NG config
file.

BUT...

The crosstool-NG backend Makefile can not forcibly push BR2_GCC_TARGET_TUNE
down to the CT-NG config file. If BR2_GCC_TARGET_TUNE is empty, the user can
still set CT_ARCH_TUNE by running ctng-menuconfig.

The backend Makefile already passes such values only if they are set.

In the end, we can't push options as-is to the crosstool-NG config, but we
MUST provide sane bundled config files, which this patch does.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoncurses: remove explicit STRIPCMD
Peter Korsgaard [Fri, 26 Aug 2011 13:03:52 +0000 (15:03 +0200)]
ncurses: remove explicit STRIPCMD

Stripping is done globally in target-finalize these days.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoncurses: fix hanging installation due to old version of tic
Thomas De Schampheleire [Fri, 26 Aug 2011 13:01:41 +0000 (15:01 +0200)]
ncurses: fix hanging installation due to old version of tic

Closes #3685

During installation of ncurses, the 'tic' program from the host is used. In
some cases, this version of tic is too old for the data to be processed, and
the installation hangs indefinitely (already reported in July 2010, see [1])

With this patch, a static version of tic is built and used during the
installation step of target ncurses. This method is based on a similar fix
in Gentoo Linux (see [2] for the report and [3] for the solution).

[1] http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=249363#c25
[3] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/ncurses/ncurses-5.7-r2.ebuild

[Peter: Install into host, don't tweak path]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogrub: fix patch handling after AUTOTARGETS conversion
Peter Korsgaard [Fri, 26 Aug 2011 05:13:33 +0000 (07:13 +0200)]
grub: fix patch handling after AUTOTARGETS conversion

Closes #4093

AUTOTARGETS doesn't handle compressed patches, so the '400' patch did
not get applied.

Fix it by extracting the patch. With this, the '500' patch is no longer
needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomini2440_defconfig: fix getty config
Peter Korsgaard [Thu, 25 Aug 2011 15:29:40 +0000 (17:29 +0200)]
mini2440_defconfig: fix getty config

BR2_TARGET_GENERIC_GETTY_TTYSAC0 is no more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Wed, 24 Aug 2011 13:07:41 +0000 (15:07 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoconfigs: remove arm toolchain defconfigs
Peter Korsgaard [Wed, 24 Aug 2011 13:01:18 +0000 (15:01 +0200)]
configs: remove arm toolchain defconfigs

nptl is default nowadays, and configurations were pretty much random
anyway.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobinutils: only use 2.21.1 for uClibc 0.9.32 / snapshot
Peter Korsgaard [Wed, 24 Aug 2011 12:45:46 +0000 (14:45 +0200)]
binutils: only use 2.21.1 for uClibc 0.9.32 / snapshot

Earlier versions don't build with it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: add barebox-<n/x/menu>config and barebox-savedefconfig support
Jean-Christophe PLAGNIOL-VILLARD [Mon, 22 Aug 2011 19:28:48 +0000 (21:28 +0200)]
barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support

[Peter: only activate if barebox is enabled, fix deps]
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: add linux/linux26-savedefconfig support
Jean-Christophe PLAGNIOL-VILLARD [Mon, 22 Aug 2011 19:28:47 +0000 (21:28 +0200)]
linux: add linux/linux26-savedefconfig support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomtd: bump to 1.4.6
Yegor Yefremov [Mon, 22 Aug 2011 10:38:27 +0000 (12:38 +0200)]
mtd: bump to 1.4.6

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 3.0.x stable version
Sven Neumann [Thu, 18 Aug 2011 07:44:46 +0000 (09:44 +0200)]
kernel-headers: bump 3.0.x stable version

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: disallow 0.9.32 on sh
Peter Korsgaard [Mon, 15 Aug 2011 22:14:53 +0000 (00:14 +0200)]
uClibc: disallow 0.9.32 on sh

Build breaks during final uClibc build with 0.9.32.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobinutils: default to 2.21 on sh
Peter Korsgaard [Mon, 15 Aug 2011 22:13:20 +0000 (00:13 +0200)]
binutils: default to 2.21 on sh

uClibc currently doesn't build on sh with 2.21.1, similar to the mips
issue (92496e0).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: disallow 0.9.32 on avr32
Peter Korsgaard [Mon, 15 Aug 2011 17:16:03 +0000 (19:16 +0200)]
uClibc: disallow 0.9.32 on avr32

Build breaks during gcc-intermediate step with 0.9.32.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: ensure /dev mgmt option is in sync
Peter Korsgaard [Mon, 15 Aug 2011 10:43:22 +0000 (12:43 +0200)]
udev: ensure /dev mgmt option is in sync

These options should be in sync, both for consistency and because udev
needs devtmpfs enabled in the kernel.

We unfortunately cannot just select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
here, as that one selects udev - leading to recursion erors, so instead
we use depends on.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agousbmount: depend on udev rather than selecting it
Peter Korsgaard [Mon, 15 Aug 2011 10:11:58 +0000 (12:11 +0200)]
usbmount: depend on udev rather than selecting it

udev is much more than a library, so we shouldn't use select to silently
enable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibxml-parser-perl: fix install bug
Heiko Helmle [Fri, 12 Aug 2011 19:14:28 +0000 (21:14 +0200)]
libxml-parser-perl: fix install bug

This patch makes libxml-parser-perl behave on my system - though it looks
like it isn't necessary on all host OSses (on gentoo and opensuse it works
without, but on ubuntu lucid and Scientific 6 it fails without the patch).

Signed-off-by: Heiko Helmle <helman@gmx.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoFix the Python build when running Linux 3.*
Maxime Ripard [Fri, 12 Aug 2011 12:22:56 +0000 (14:22 +0200)]
Fix the Python build when running Linux 3.*

When compiling Python on a host running Linux 3.0, the sys.platform
constant is set at "linux3". A lot of code (inside the interpreter
itself, its build system and third party apps and libraries) relies on
it to be linux2 on a Linux system.

This leads to the build of the target python package to break.

This behaviour has been reported on the Python bugtracker but is not
fixed yet.

http://bugs.python.org/issue12326

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodirectfb: bump to version 1.4.13
Sven Neumann [Thu, 11 Aug 2011 10:44:07 +0000 (12:44 +0200)]
directfb: bump to version 1.4.13

There's an even newer stable release available (1.4.14), but it
has problems with cross-compilation that we are still resolving
on the directfb-dev mailing-list.

[Peter: rename ppc patch to match]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: fix install when locales are enabled
Peter Korsgaard [Fri, 12 Aug 2011 07:45:50 +0000 (09:45 +0200)]
util-linux: fix install when locales are enabled

util-linux uses mkinstalldirs to install .po files when locales are
enabled, but the definition of MKINSTALLDIRS comes from a tweaked
nls.m4 (based on the one from gettext).

When we autoreconf the package, we end up using the system (staging)
version of nls.m4, so MKINSTALLDIRS doesn't get defined.

Fix it by passing a definition of MKINSTALLDIRS to make during the
install steps.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: bump version
Jean-Christophe PLAGNIOL-VILLARD [Tue, 9 Aug 2011 17:38:01 +0000 (19:38 +0200)]
barebox: bump version

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: fix libintl linking if present
Peter Korsgaard [Tue, 9 Aug 2011 14:15:22 +0000 (16:15 +0200)]
util-linux: fix libintl linking if present

The configure script correctly detects presence of libintl, but it forgets
to link against it, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoti-utils: bump version and clean up
Yegor Yefremov [Mon, 8 Aug 2011 07:10:29 +0000 (09:10 +0200)]
ti-utils: bump version and clean up

[Peter: fixup whitespace, simplify target install]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: fix BR2_PACKAGE_UTIL_LINUX_UUIDD option
Sven Neumann [Mon, 8 Aug 2011 11:58:09 +0000 (13:58 +0200)]
util-linux: fix BR2_PACKAGE_UTIL_LINUX_UUIDD option

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobinutils: default to 2.21 on mips(el)
Peter Korsgaard [Mon, 8 Aug 2011 16:56:47 +0000 (18:56 +0200)]
binutils: default to 2.21 on mips(el)

uClibc currently doesn't build on mips(el) with 2.21.1.

For details, see:

http://lists.uclibc.org/pipermail/uclibc/2011-March/045026.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqemu_mipsel_malta_defconfig: use 2.6.38.8
Peter Korsgaard [Mon, 8 Aug 2011 07:54:57 +0000 (09:54 +0200)]
qemu_mipsel_malta_defconfig: use 2.6.38.8

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqemu_arm_versatile_defconfig: use 2.6.38.8
Peter Korsgaard [Mon, 8 Aug 2011 07:03:06 +0000 (09:03 +0200)]
qemu_arm_versatile_defconfig: use 2.6.38.8

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosheevaplug_defconfig: use 2.6.39.4
Peter Korsgaard [Mon, 8 Aug 2011 07:02:04 +0000 (09:02 +0200)]
sheevaplug_defconfig: use 2.6.39.4

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: bump 2.6.39.x stable version
Peter Korsgaard [Mon, 8 Aug 2011 07:00:44 +0000 (09:00 +0200)]
linux: bump 2.6.39.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 3.0.x stable version
Peter Korsgaard [Mon, 8 Aug 2011 06:58:40 +0000 (08:58 +0200)]
kernel-headers: bump 3.0.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/crosstool-NG: update bundled config files
Yann E. MORIN [Sun, 7 Aug 2011 20:37:58 +0000 (22:37 +0200)]
toolchain/crosstool-NG: update bundled config files

Update the crosstool-NG libc-specific config files to match the
new set of options coming with the updated crosstool-NG.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoochain/crosstool-NG: bump version
Yann E. MORIN [Sun, 7 Aug 2011 20:57:41 +0000 (22:57 +0200)]
toochain/crosstool-NG: bump version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxfont_font-misc-misc: remove mapfiles workaround
Peter Korsgaard [Sat, 6 Aug 2011 10:06:41 +0000 (12:06 +0200)]
xfont_font-misc-misc: remove mapfiles workaround

Not needed anymore after the recent pkg-config mapfiles fix.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsoup: bump to 2.32.2
Sven Neumann [Fri, 5 Aug 2011 08:52:27 +0000 (10:52 +0200)]
libsoup: bump to 2.32.2

Buildroot should use a stable release, not use an unstable development
version. Updating to the current stable branch (2.34) is not trivial,
so at least use the latest release from the stable 2.32 branch.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate for 2011.08-rc1
Peter Korsgaard [Thu, 4 Aug 2011 20:31:30 +0000 (22:31 +0200)]
Update for 2011.08-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-config: Add "mapdir" to sysroot handled variables
Michael J. Hammel [Sun, 24 Apr 2011 02:51:41 +0000 (20:51 -0600)]
pkg-config: Add "mapdir" to sysroot handled variables

Closes #3583, #3649

Fixes xfonts_font-adobe build failure.

Signed-off-by: Michael J. Hammel <mjhammel@graphics-muse.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Thu, 4 Aug 2011 20:03:37 +0000 (22:03 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-external: fix some typos CodeSoucery -> CodeSourcery
Thomas De Schampheleire [Tue, 2 Aug 2011 18:33:17 +0000 (20:33 +0200)]
toolchain-external: fix some typos CodeSoucery -> CodeSourcery

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinitramfs/init: make sure that 0, 1, 2 fds are available
Thomas Petazzoni [Thu, 4 Aug 2011 19:38:59 +0000 (21:38 +0200)]
initramfs/init: make sure that 0, 1, 2 fds are available

As the kernel doesn't automatically mount devtmpfs when an initramfs
is used, commit 424888e47431db738f5f9b3c6392435bfce7a842 has
introduced a small wrapper script that mounts devtmpfs before starting
the real init.

Unfortunately, the problem is that in this case, the init process runs
without any 0, 1 and 2 file descriptors, so none of the
messages/errors printed by the various initialization scripts can be
seen. This is due to the fact the init process relies on 0, 1 and 2
being opened by the kernel before init is started. However, as
/dev/console isn't present on the filesystem at the time the kernel
tries to open the console to create the 0, 1 and 2 file descriptors,
the kernel fails on this and prints the famous "Warning: unable to
open an initial console".

The proposed workaround is to actually open 0, 1 and 2 to /dev/console
in the wrapper script, right after mounting the devtmpfs filesystem,
and before starting the real init. The "Warning" from the kernel is
still shown, but at least the messages from the init scripts are
visible.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix <pkg>_DL_VERSION value
Thomas Petazzoni [Thu, 4 Aug 2011 19:34:24 +0000 (21:34 +0200)]
package: fix <pkg>_DL_VERSION value

993e51bc22f508fbaf39c5c49fd0595fc5c56013 introduced a <pkg>_DL_VERSION
in addition to <pkg>_VERSION. This variable, purely internal to the
package infrastructure, allows to store the *raw* version name, as
defined in the package .mk file. However, as this version string can
contain slashes, it is not appropriate to be part of the build
directory name of the package. This is why <pkg>_VERSION is defined to
be the same thing as <pkg>_DL_VERSION, except that slashes are
replaced by underscores.

However, the initial implementation didn't take into account the case
of host packages. So 763822e874fd8d39b591feaa9639f76183897fb7 was
committed to fix this. But unfortunately, this commit got it wrong
again: it forgot the case where <pkg>_VERSION is set, but not
HOST_<pkg>_VERSION. In this case, HOST_<pkg>_DL_VERSION remained
empty. This can be seen for example by building host-sstrip.

This problem has been noticed by Julien Boibessot
<julien.boibessot@free.fr>, who also helped in fixing the
issue. Thanks!

The fix is simply to ensure that <pkg>_DL_VERSION is properly set in
all cases: when HOST_<pkg>_VERSION is defined, when only <pkg>_VERSION
is defined, and when no version is defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomidori: bump to 0.3.6
Frederic Bassaler [Thu, 4 Aug 2011 19:02:44 +0000 (21:02 +0200)]
midori: bump to 0.3.6

midori 0.4.0 is out, but requires an additionnal dependency : vala
(maybe a more experienced person could add it?)

Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years ago'source' target should depend on 'dirs'
Thomas De Schampheleire [Wed, 27 Jul 2011 09:34:51 +0000 (11:34 +0200)]
'source' target should depend on 'dirs'

In the following command flow:
make distclean
make <board>_defconfig
make source

the dl directory would normally be created by the first wget download. If there are no such downloads, e.g. because you use a local download mirror (e.g. scp, file) or only use git/svn/hg/bzr repositories, the dl directory is not created automatically. This causes e.g. the 'pushd' command in the respective _DOWNLOAD commands to fail.

This patch adds a dependency to the 'dirs' target to 'source', fixing this scenario.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiw: bump to version 3.0
Gustavo Zacarias [Thu, 28 Jul 2011 20:14:02 +0000 (17:14 -0300)]
iw: bump to version 3.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosamba: bump to version 3.3.15
Gustavo Zacarias [Thu, 28 Jul 2011 20:14:03 +0000 (17:14 -0300)]
samba: bump to version 3.3.15

Bump samba to version 3.3.15 and add security patches for CVE-2011-2522
and CVE-2011-2694.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: bump to version 1.4.12
Gustavo Zacarias [Thu, 28 Jul 2011 20:14:01 +0000 (17:14 -0300)]
iptables: bump to version 1.4.12

Bump iptables to version 1.4.12 for linux kernel 3.0 support

[Peter: Rename patch]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsoup: add patch to fix CVE-2011-2054
Sven Neumann [Sun, 31 Jul 2011 20:18:39 +0000 (22:18 +0200)]
libsoup: add patch to fix CVE-2011-2054

Fixes a security hole that caused some SoupServer users to
unintentionally allow accessing the entire local filesystem when
they thought they were only providing access to a single directory.

This is the change from libsoup-2.34.3 backported to 2.32.2. It
doesn't include the changes to the test suite though.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: mark liboil + swfdec as deprecated
Peter Korsgaard [Thu, 4 Aug 2011 19:20:44 +0000 (21:20 +0200)]
package: mark liboil + swfdec as deprecated

They are dead upstream, and will be removed during 2011.11 cycle unless
someone speaks up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoorc: target install: cleanup unused files
Peter Korsgaard [Thu, 4 Aug 2011 19:15:40 +0000 (21:15 +0200)]
orc: target install: cleanup unused files

orcc is only needed when developing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoexternal toolchains: fix SuperH toolchain configuration
Thomas Petazzoni [Fri, 29 Jul 2011 22:00:37 +0000 (00:00 +0200)]
external toolchains: fix SuperH toolchain configuration

The CodeSourcery toolchain for SH2-A platforms provide largefile
support, inet RPC, wide char and threads, so adjust the configuration
accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenvpn: bump to 2.2.1
Yegor Yefremov [Wed, 3 Aug 2011 09:18:19 +0000 (11:18 +0200)]
openvpn: bump to 2.2.1

tmpdir issue was already fixed in 2.2.1 version, so
remove the patch

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 2.6.35.x / 2.6.39.x stable versions
Peter Korsgaard [Thu, 4 Aug 2011 18:32:54 +0000 (20:32 +0200)]
kernel-headers: bump 2.6.35.x / 2.6.39.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: bump to 173
Yegor Yefremov [Tue, 2 Aug 2011 08:00:16 +0000 (10:00 +0200)]
udev: bump to 173

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: add option for libmount
Peter Korsgaard [Fri, 29 Jul 2011 11:38:49 +0000 (13:38 +0200)]
util-linux: add option for libmount

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: mount/fsck needs libblkid
Peter Korsgaard [Fri, 29 Jul 2011 11:34:18 +0000 (13:34 +0200)]
util-linux: mount/fsck needs libblkid

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibroxml: drop -Werror from CFLAGS
Peter Korsgaard [Fri, 29 Jul 2011 07:52:59 +0000 (09:52 +0200)]
libroxml: drop -Werror from CFLAGS

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibroxml: bump version
Tristan Lelong [Fri, 29 Jul 2011 07:46:10 +0000 (09:46 +0200)]
libroxml: bump version

Closes #3997

Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removal
Peter Korsgaard [Fri, 29 Jul 2011 07:09:44 +0000 (09:09 +0200)]
toolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removal

As noticed by Thomas Petazzoni on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: drop BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependency
Peter Korsgaard [Fri, 29 Jul 2011 06:53:55 +0000 (08:53 +0200)]
util-linux: drop BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependency

Drop the dependency as it isn't really nice that other packages need
to select it, and kconf complains about it:

warning: (BR2_PACKAGE_E2FSPROGS && BR2_PACKAGE_USBMOUNT) selects
 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS which has unmet direct dependencies
 (!BR2_PACKAGE_BUSYBOX)

Instead ensure that only the libraries are built by default, so
busybox applets are still used unless explicitly configured.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: use libuuid from util-linux
Peter Korsgaard [Fri, 29 Jul 2011 06:49:48 +0000 (08:49 +0200)]
package: use libuuid from util-linux

And adjust users.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoautoconf: use dummy autopoint
Peter Korsgaard [Fri, 29 Jul 2011 06:39:02 +0000 (08:39 +0200)]
autoconf: use dummy autopoint

We currently don't build a host-gettext package, so when a package using
gettext is autoreconf'ed, we end up using autopoint from the host.

Autopoint unfortunately requires CVS, so if that isn't available autoreconf
fails.

From reading:

http://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html

It seems that we don't really need to rerun autopoint, so fix it by
passing autopoint=/bin/true instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: install to staging
Peter Korsgaard [Fri, 29 Jul 2011 06:36:55 +0000 (08:36 +0200)]
util-linux: install to staging

For libblkid / libuuid.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: ensure util-linux is built before e2fsprogs
Peter Korsgaard [Thu, 28 Jul 2011 21:26:29 +0000 (23:26 +0200)]
e2fsprogs: ensure util-linux is built before e2fsprogs

For libblkid.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: use libblkid / blkid from util-linux
Peter Korsgaard [Thu, 28 Jul 2011 15:58:50 +0000 (17:58 +0200)]
e2fsprogs: use libblkid / blkid from util-linux

e2fsprogs and util-linux both provide blkid / libblkid causing conflicts
if both are enabled. The preferred upstream (E.G. what is used by Debian)
is util-linux, so remove the options from e2fsprogs and make it use the
util-linux version instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: libblkid needs liibuuid
Peter Korsgaard [Thu, 28 Jul 2011 15:54:37 +0000 (17:54 +0200)]
util-linux: libblkid needs liibuuid

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: configure needs pkg-config
Peter Korsgaard [Thu, 28 Jul 2011 13:45:02 +0000 (15:45 +0200)]
e2fsprogs: configure needs pkg-config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: add options for debugfs/e2image/resize2fs utilities
Peter Korsgaard [Thu, 28 Jul 2011 13:04:09 +0000 (15:04 +0200)]
e2fsprogs: add options for debugfs/e2image/resize2fs utilities

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: don't build uuidd if not requested
Peter Korsgaard [Thu, 28 Jul 2011 12:55:59 +0000 (14:55 +0200)]
e2fsprogs: don't build uuidd if not requested

Rather than not installing it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: simplify Config.in
Peter Korsgaard [Thu, 28 Jul 2011 12:42:39 +0000 (14:42 +0200)]
e2fsprogs: simplify Config.in

No need for 'depends on' for all individual options when they already
are in a conditional section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: fix sub option typos
Peter Korsgaard [Thu, 28 Jul 2011 07:19:30 +0000 (09:19 +0200)]
util-linux: fix sub option typos

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Wed, 27 Jul 2011 22:01:47 +0000 (00:01 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiso9660: fix build after linux package change
Peter Korsgaard [Wed, 27 Jul 2011 21:26:36 +0000 (23:26 +0200)]
iso9660: fix build after linux package change

linux26 target is no more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check
Peter Korsgaard [Wed, 27 Jul 2011 19:08:21 +0000 (21:08 +0200)]
busybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check

It is already within an 'if BR2_PACKAGE_BUSYBOX' section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agousbmount fixes
Yegor Yefremov [Fri, 22 Jul 2011 14:58:19 +0000 (16:58 +0200)]
usbmount fixes

- create mounting points
- fix dependencies
- fix udev rules
- fix fs type detection

[Peter: fix Config.in deps, create usb7, only remove /media/usb?]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: drop BR2_PROGRAM_INVOCATION option
Peter Korsgaard [Wed, 27 Jul 2011 09:51:47 +0000 (11:51 +0200)]
uClibc: drop BR2_PROGRAM_INVOCATION option

Remove the BR option and enable the configuration setting in the
uClibc defconfigs.

The BR2_PROGRAM_INVOCATION option only adds very little overhead to
uClibc, and we have a number of packages needing it, so simply always
enable it - Simplifying the kconfig logic and the number of choices
users have to make.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: misc fixes
Peter Korsgaard [Wed, 27 Jul 2011 09:49:46 +0000 (11:49 +0200)]
util-linux: misc fixes

- We patch configure.ac, so we need to autoreconf
- configure uses pkg-config, so ensure the cross version is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: convert to autotarget and bump to 2.19.1
Yegor Yefremov [Fri, 22 Jul 2011 14:53:12 +0000 (16:53 +0200)]
util-linux: convert to autotarget and bump to 2.19.1

[Peter: fix deps, restructure, add unshare]
Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-external: sync toolchain options with the internal toolchain
Peter Korsgaard [Tue, 26 Jul 2011 13:28:19 +0000 (15:28 +0200)]
toolchain-external: sync toolchain options with the internal toolchain

The internal toolchain defaults to thread support enabled (and
most external toolchains have thread support as well), so enable
BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinotify-tools: Add new package
Mike Williams [Mon, 25 Jul 2011 21:46:55 +0000 (17:46 -0400)]
inotify-tools: Add new package

Adds support for inotify-tools, which are useful for scripting the
Linux inotify API.

[Peter: needs largefile support]
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: extras needs BR2_PROGRAM_INVOCATION
Peter Korsgaard [Tue, 26 Jul 2011 08:41:31 +0000 (10:41 +0200)]
udev: extras needs BR2_PROGRAM_INVOCATION

For usbutils.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: bump version and clean up
Yegor Yefremov [Fri, 22 Jul 2011 14:51:28 +0000 (16:51 +0200)]
udev: bump version and clean up

[Peter: fix Config.in deps, add host-pkg-config]
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove hal
Peter Korsgaard [Mon, 25 Jul 2011 21:06:29 +0000 (23:06 +0200)]
package: remove hal

Hal is deprecated upstream, our package has not seen any significant
work since it was added in 2007, nothing depends on it and it's blocking
a long-overdue udev update.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agohostapd: fix libnl linking with BR2_PREFER_STATIC_LIB
Peter Korsgaard [Mon, 25 Jul 2011 14:26:40 +0000 (16:26 +0200)]
hostapd: fix libnl linking with BR2_PREFER_STATIC_LIB

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>