summaryrefslogtreecommitdiff
path: root/recipes/busybox/busybox.inc
AgeCommit message (Collapse)AuthorFiles
2010-06-03recipes: conform to OE packaging guidelines with RDEPENDS/RRECOMMENDSMartin Jansa1
* there is probably very few cases when it's needed without _${PN}, if you find one in attached patch, please enlighten me * usually we want those only for ${PN} not for all ${PACKAGES} ie ${PN}-dev, ${PN)-doc etc * there is a check for this in recipe-sanity.bclass * there is maybe few possible fixes also in bbclasses cpan-base.bbclass:RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" distutils-base.bbclass:RDEPENDS += "python-core" gtk-icon-cache.bbclass:RDEPENDS += "hicolor-icon-theme" image.bbclass:RDEPENDS += "${IMAGE_INSTALL} ${IMAGE_BOOT}" module.bbclass:RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules" ?opie_i18n.bbclass: rdepends = bb.data.getVar("RDEPENDS", d, 1) ?opie_i18n.bbclass: bb.data.setVar('RDEPENDS_%s' % x[0].lower(), pn, d) ?opie_i18n.bbclass: bb.data.setVar('RDEPENDS', rdepends, d) rubyextension.bbclass:RDEPENDS += "ruby" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson1
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson1
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-17busybox/syslogs: use update-alternatives for syslog selectionSteffen Sledz1
* u-a for init scripts of busybox-syslog, sysklogd, and rsyslog * syslog-ng needs to be integrated too! Signed-off-by: Steffen Sledz <sledz@dresearch.de> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-14busybox: Fix the -dbg package, bump INC_PRTom Rini1
busybox will link to busybox_unstripped then strip to produce busybox, giving us an empty -dbg package. At the end of do_compile, copy busybox_unstripped to busybox, so our striping happens as expected. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-04-22busybox: prevent postinst script from failingSergey Lapin1
recent addition in rootfs_ipk.bbclass which runs postinst scripts with -e option, while very useful, prevents busybox from configuring at image build time. It will be configured at first image boot if your file system is writable, but in case of e.g. squashfs, that will be fatal error. This commit prevents postinst to fail, so busybox will create all needed links at image build time.
2010-03-15busybox: update LICENSE to more specific GPLv2Denys Dmytriyenko1
2010-03-07busybox: use u-a for /etc/default/mountall (collision with ↵Martin Jansa1
util-linux-ng-mountall) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-02-26busybox: If FEATURE_SUID=y, ship a SUID busybox, bump PRTom Rini1
A number of applets will select FEATURE_SUID, and then not work unless the busybox binary is SUID. We switch from a "let the users decide" to "let the users opt-out". Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2010-02-14busybox: use .tar.bz2Bernhard Reutner-Fischer1
Switch to new-style checksums and remove all checksums for tarballs from checksums.ini Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-09busybox: trim superfluous trailing whitespace from .inc fileBernhard Reutner-Fischer1
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-01-13busybox: bump INC_PR to force postinst script run on targets after u-a fixupMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-03busybox-1.11.3: undefined reference __cpu_to_be16 fixed for busybox-staticSteffen Sledz1
A patch fixing this problem inside the linux kernel was not accepted. For details see: - http://lkml.org/lkml/2009/6/18/223 - http://patchwork.kernel.org/patch/31164/ Signed-off-by: Steffen Sledz <sledz@dresearch.de>
2009-06-17busybox: make udhcpc script work in absence of legacy net-toolsPhil Blundell1
2009-06-08busybox: Split syslog initscript into busybox-syslogMichael Smith1
The same is already done for httpd and udhcpd. This fixes Busybox deb upgrades: the prerm script was failing because the last command "/etc/init.d/syslog stop", added by the update-rc.d class, runs after the /bin/sh symlink has been removed. Many images expect busybox to contain the syslog initscript, so busybox RRECOMMENDS busybox-syslog. busybox-{syslog,httpd,udhcpd} now RDEPEND on busybox, for consistency with other packages in the recipe (e.g. busybox-mdev). Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-06-08busybox: fix udhcpc default script location when prefix is not "/usr"Michael Smith1
Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-06-05busybox: put mountall in its own packageKoen Kooi1
2009-06-05busybox: let update-alternatives create all symlinks, and use INC_PRMichael Smith1
Back in 2005, commit 5e01906b set this up; in f7f1ac27 the recipe was changed to keep all the links in the package. This changes it back, and also removes special treatment of the links for crond, httpd, udhcpd, hwclock, and udhcpc. Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-06-03busybox: allow building when prefix is "", not "/usr".Michael Smith1
There was code to handle this, but it needed a tweak to prevent copying a directory on top of itself. Other prefixes (besides /usr) may also work now, but this is untested. busybox will also build when base_sbindir is "/bin" instead of "/sbin". Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-03-23busybox: fix linuxrc link and put it in a seperate packageKoen Kooi1
* runtime tested on a beagleboard
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko1
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>