aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/util-linux-ng/util-linux-ng.inc
AgeCommit message (Collapse)Author
2012-07-04util-linux-ng: update SRC_URI to kernel.org valid URIApelete Seketeli
This updates SRC_URI as the former kernel.org URI was no longer valid. This commit is the result of rebasing my patch 8007a4 from master. Signed-off-by: Apelete Seketeli <apelete@seleteli.net> Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
2011-02-12util-linux-ng: use u-a for /sbin/blockdevMartin Jansa
* resolves conflict with latest busybox Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2011-01-22util-linux-ng.inc: Remove udev from DEPENDSKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Mike Westerhof <mike@mwester.net>
2011-01-04util-linux-ng: Clean up native config bits.Tom Rini
We don't need the ncurses stuff for how we use this, so disable it (and bump INC_PR). In util-linux-ng_2.17.bb the override to add some bits to the native recipe was killing all of the other parts so change the syntax so it doesn't, and set PR=INC_PR (now that INC_PR is bumped). Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-12-24changed rm into rm -f to remove old libtool stuffFrans Meulenbroeks
this keeps things working even if the files are not there (e.g. because configure is ran twice) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-12-02util-linux-ng.inc, e2fsprogs.inc: Use update-alternatives for uuidd.Graham Gower
Util-linux-ng put uuidd in ${sbindir}, e2fsprogs put it in ${base_sbindir}. This change puts both in ${base_sbindir}. Fixes a conflict when DISTRO=micro. | Collected errors: | * check_data_file_clashes: Package util-linux-ng wants to install file /mnt/oe/tmp/rootfs/native-sdk-image/sbin/uuidd | But that file is already provided by package * e2fsprogs Signed-off-by: Graham Gower <graham.gower@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-10-30util-linux-ng: Make cal, script, flock use u-a, drop D_P = -1Martin Jansa
* cal and script were added to usrbinprogs_a in af3f52db17181108a45a0484a57e84495e865393, but u-a calls weren't added to postinst/prerm * drop D_P = -1, doesn't make much sense in .inc file Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-10-09util-linux-ng: fix DEPENDSKoen Kooi
* it picks up pam from staging if it's built, so add it to DEPENDS with DISTRO_FEATURES guard * remove bogus IMAGE_FEATURE check since u-l-ng is supposed to be used in images with or without udev Recipes are not allowed to make compile decisions based on the image that's going to get built, since that breaks package management severely. More to the point: What happens when you do 'bitbake util-linux-ng' and later do 'bitbake foo-image' where foo-image sets a different IMAGE_DEV_MANAGER? Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-10-06util-linux-ng: Don't depend on udev unless selected as IMAGE_DEV_MANAGERAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-09-30util-linux-ng: Make cal and script use u-aTom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-09-26util-linux-ng: reset rdepends on ncurses-toolsEric Bénard
* reset is a script which is using tput provided by ncurses-tools (which also provides reset) so util-linux-ng's reset command fails if ncurses-tools is not installed on the target * this patch creates a utils-linux-ng-reset package with RDEPENDS="ncurses-tools" Signed-off-by: Eric Bénard <eric@eukrea.com>
2010-09-13util-linux-ng: increase PREric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com>
2010-09-13util-linux-ng: fix broken symlinksEric Bénard
* # opkg files util-linux-ng | grep 'halt\|boot' | xargs file /usr/sbin/fastboot: broken symbolic link to `/usr/sbin/shutdown' /usr/sbin/halt: broken symbolic link to `shutdown' /usr/sbin/halt.util-linux-ng: broken symbolic link to `/usr/sbin/shutdown' /usr/sbin/fasthalt: broken symbolic link to `/usr/sbin/shutdown' /usr/sbin/reboot: broken symbolic link to `shutdown' /usr/sbin/reboot.util-linux-ng: broken symbolic link to `/usr/sbin/shutdown' * this patch close bug 5475 http://bugs.openembedded.org/show_bug.cgi?id=5475 From: Korey Lu <koreylu@gmail.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
2010-09-13util-linux-ng: add missing `update-alternatives --remove' in pkg_prermEric Bénard
* util-linux-ng installs alternative of hexdump, setsid and chrt in postinst, but doesn't remove them in prerm leading to broken simlinks * this patch closes bug 5476 http://bugs.openembedded.org/show_bug.cgi?id=5476 From: Korey Lu <koreylu@gmail.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
2010-09-13util-linux-ng: fix reset update-alternative vs busyboxEric Bénard
* we actually get the following log : update-alternatives: Error: cannot register alternative reset to /bin/reset since it is already registered to /usr/bin/reset * the fix is to have util-linux-ng install reset in /usr/bin Signed-off-by: Eric Bénard <eric@eukrea.com>
2010-09-11util-linux-ng: fix readprofile update-alternatives vs busyboxEric Bénard
* util-linux-ng installs readprofile in /sbin, busybox installs it in /usr/sbin which tiggers the following log when configuring the package : Configuring util-linux-ng-readprofile. update-alternatives: Error: cannot register alternative readprofile to /sbin/readprofile since it is already registered to /usr/sbin/readprofile Collected errors: * pkg_run_script: postinst script returned status 1. * opkg_configure: util-linux-ng-readprofile.postinst returned 1. * the fix is to have util-linux-ng install readprofile in /usr/sbin * this patch fix http://bugs.openembedded.org/show_bug.cgi?id=5474 as suggested by Tom Rini Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com> Tested-by: Philip Balister <philip@balister.org>
2010-08-23ncurses_5.7.bb,recipes: Make DEFAULT_PREFERENCEtesting_2010-08-23Khem Raj
* Select 5.7 if none pinned. * Bump PR for recipes which have ncurses dependency. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-08-20util-linux-ng: Fix vipw/vigr/reset/readprofile U-A's.Tom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-10recipes: bump PR/INC_PR for packages changed in ↵Martin Jansa
RDEPENDS/RRECOMMENDS/RSUGGESTS/RPROVIDES/RCONFLICTS/RREPLACES cleanup * only 769 from 1102 recipes were covered by automatic PR bump, list of remaining 333 recipes not using PR/INC_PR is available for manual PR add or INC_PR conversion - volunteers? http://build.shr-project.org/tests/jama/files.not.PR.bumped * just echo 'PR = "r1"' to recipes without any PR/INC_PR is not so good idea without manual check, because sometimes they rely on PR set in their .inc file and "r1" could make it go backwards Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-06-03recipes: conform to OE packaging guidelines with RDEPENDS/RRECOMMENDSMartin Jansa
* 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 Larson
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 Larson
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-18util-linux-ng.inc: Dont add -lintl when USE_NLS="no"Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-06util-linux-ng: Add gettext-native dependency explicitly due to override usageRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06util-linux-ng: Add missing gettext dependencyRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-04-23util-linux-ng: handle chrt through alternatives tooRoman I Khimov
Can be provided by busybox. Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-04-22util-linux-ng: handle setsid through alternatives tooRoman I Khimov
It can be provided by busybox. Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-04-12util-linux-ng-blkid: proper busybox blkid replacementSergey Lapin
/sbin/blkid is provided by both bisybox and util-linux-ng-blkid package, but at different paths. Busybox version does not accept any options (ignores), which partially leads to attempted access to /dev/mtdblock0 on OMAP architecture, which by itself leads to excess error messages from mtd layer due to different ECC methods (OMAP processor requirement for booting). If using util-linux-ng-blkid, plus a small patch to udev rules (http://markmail.org/message/454coplvll4vf3jf) this issue can be fixed.
2010-04-06util-linux-ng: ensure that LDFLAGS are clean on native buildRoman I Khimov
uclibc-based configurations fail to build util-linux-ng-native because of "-lintl". Fix LDFLAGS for native builds. Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-03-30util-linux-ng: enable reset commandMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-30util-linux-ng: swapoff is symlink to swaponMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-29util-linux-ng-native: add dependency on lzo-nativeDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2010-03-24util-linux-ng: add nativeMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
2010-03-11util-linux-ng: Correct vi errorMartyn Welch
Commit bbd436a98df5d4a439e519651c38fb48d81e5a78 appears to have added a via error to "pkg_prerm_${PN}": - update-alternatives --remove pivot_root pivot_root.${PN} + update-alternatives --remove pivot_root pivot_root.${PN}i Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-03-09util-linux-ng: provide libblkid/libuuid/fsck/blkid instead of e2fsprogsMarcin Juszkiewicz
This commit is next step after e2fsprogs lost libblkid, libuuid, fsck, blkid packages. Most applications/libraries now require u-l-ng versions of uuid/blkid libraries. Also I followed Debian in moving to u-l-ng components instead of e2fsprogs ones (fsck, blkid). Recipe got cleaned up and unified. Util-linux-ng 2.17 requires fallocate64 which is glibc 2.11+ so I disabled that functionality for now. Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-07util-linux-ng: missing PR bump after u-a changeMartin Jansa
2010-03-07util-linux-ng: use u-a for /etc/default/mountall (collision with ↵Martin Jansa
busybox-mountall) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-03-05util-linux-ng: use u-a on binaries that conflict with shadowKoen Kooi
2010-01-24e2fsprogs-libs, util-linux-ng: sort out libblkid move some moreKoen Kooi
* we're using libblkid from u-l-ng nowadays, but e-l was still install a .pc breaking apps checking for libblkid > 2.15
2009-10-23util-linux-ng: for chinook-compat let util-linux-ng compile with older libtoolHenning Heinold
*bump INC_PR
2009-08-19util-linux-ng: Fixed empty packages. Provide util-linux.Stanislav Brabec
2009-07-19e2fsprogs-libs: Add version 1.41.8 and dont provide libblkid and libuuid.Khem Raj
util-linux-ng: Add version 2.16 and provide libblkid and libuuid. Change the provider for libuuid and libblkid from e2fsprogs-libs to util-linux-ng.
2009-06-20util-linux-ng: only delete bogus symlink, not all swap* binaries for crazy ↵Koen Kooi
people that have sbindir == base_sbindir
2009-06-20util-linux-ng: fix packaging, u-a and replace hardcoded pathsKoen Kooi
* also switch to INC_PR to make Tom happy
2009-06-18util-linux-ng: fix packaging for prefix=''Phil Blundell
2009-06-06util-linux-ng: add e2fsprogs-libs to DEPENDS.Rolf Leggewie
2009-06-05util-linux-ng: put mountall in its own package, have it RRPLACE ↵Koen Kooi
busybox-mountall * this makes them parallel installable
2009-05-26e2fsprogs-libs, util-linux-ng, pidgin: Use unique variable names in ↵Stanislav Brabec
do_split_packages(): * see http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-May/011212.html for more
2009-05-18util-linux-ng: fix dep loopKoen Kooi
2009-05-18util-linux-ng: split out libs to avoid collision with e2fsprog-libsKoen Kooi