aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
AgeCommit message (Collapse)Author
2014-01-16util-linux: add reset.1 manpage in update-alternativesMatthieu Crapet
Adding "doc-pkgs" to IMAGE_FEATURES (in an image recipe) reports a conflict with reset.1 file, present both in util-linux and ncurses-doc packages. <log> | Collected errors: | * check_data_file_clashes: Package util-linux-doc wants to install file /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/rootfs/usr/share/man/man1/reset.1 | But that file is already provided by package * ncurses-doc | * opkg_install_cmd: Cannot install package util-linux-doc. | WARNING: /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/run.do_rootfs.13877:1 exit 255 from | opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version install `cat $1` | ERROR: Function failed: do_rootfs (log file is located at /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/log.do_rootfs.13877) </log> Same issue already occured few months ago: Re: [OE-core] Clashing man pages https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg38590.html Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14util-linux: Add fstrim utilityMiLo
Add "util-linux-fstrim" package, containing /sbin/fstrim, for trimming unused sectors on SSDs. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-06util-linux: remove non PN based -dev packagesSaul Wold
All dev related items should be packaged in the core PN package not in seperate packages. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-12-10meta/*: remove unnecessary patchesChong Lu
The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-30util-linux: Remove obsolete configure optionsRichard Purdie
WARNING: QA Issue: util-linux-native: configure was passed unrecognised options: --enable-rdev --enable-init --enable-arch --with-fsprobe Remove obsolete configure options to silence warning. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-22util-linux: Package readprofile into it's own packageMark Hatle
readprofile was missing from the alternative configuration, which was causing readprofile to be packaged into the base util-linux. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-20util-linux: collect libs for related libxx-dev packageQiang Chen
Commit 91c0f9e3 moves library files to base_libdir for safe while symbol link libblkid.so, libmount.so and libuuid.so are placed in libdir, not base_libdir. Meanwhile, libblkid.la, libmount.la and libuuid.la are placed in libdir too. Thus they are missed by related develop package and collected by util-linux's develop package at last. Fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-20util-linux: Fix QA warnings about ALTERNATIVESLu Chong
Previously, EXTRA_OECONF would be overwritten by EXTRA_OECONF_class-native and EXTRA_OECONF_class-nativesdk. As a result, some applications such as `last', `mesg' and `reset' didn't get compiled. The patch rewrote EXTRA_OECONF_class-native, EXTRA_OECONF_class-nativesdk and EXTRA_OECONF variables to fix QA warnings. usr/share/man/man1/last.1.util-linux does not exist usr/share/man/man1/mesg.1.util-linux does not exist usr/bin/last.util-linux does not exist usr/bin/mesg.util-linux does not exist bin/reset does not exist Signed-off-by: Chong Lu <Chong.Lu@windriver.com> [YOCTO #5338] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-09-17util-linux: move su to /bin for lsb command check testHongxu Jia
In busybox, util-linux and shadow, su has been moved to /usr/bin/, but lsb cmdchk needs su in /bin. Move su to /bin could fix this issue. [YOCTO#5175] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30util-linux: package mkfs.cramfs and fsck.cramfsAndrea Adami
The recipe builds the two utils which are unpackaged. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-05util-linux: upgrade to 2.23.2Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-31util-linux: use u-a for suHongxu Jia
Use alternatives mechanism to prevent confliction of attempted installing su binary among busybox, shadow and util-linux. [YOCTO #4926] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-31util-linux: Update for swapoff being a separate binaryColin Walters
In older versions of util-linux, swapon and swapoff were the same binary, and it did runtime detection. But since v2.22 which is util-linux commit 6cf8d46ceefe9a7, they are separate binaries. This patch is necessary to make the util-linux version of swapoff work at all - currently in OE swapoff = swapon, which is clearly broken =) Probably most OE consumers use the busybox swapoff and hence this has gone unnoticed. Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27util-linux: fix PACKAGECONFIG optionsKoen Kooi
The ??= operator is too weak and it's setting a non-existent PACKAGECONFIG option ('libpam' instead of 'pam'). Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18Upstream-Status: Correct capitalizationSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09util-linux: Use PACKAGECONFIG to control pam and system config optionsSaul Wold
The PACKAGECONFIG will ensure consistent enabling and disabling of the pam and systemd related options for configure and the correct dependencies Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05util-linux: disable runuser by default since it depends on PAMSaul Wold
util-linux's configure checks for pam_misc.h and if it finds it will enable runuser, there was a case where it was found via shared state and then got rebuilt. This makes the build more deterministic. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-13util-linux: update to 2.23.1Jonathan Liu
Removed patches integrated upstream. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-04util-linux: Add support for older hostsMark Hatle
Older hosts don't support some of the features required by the latet util-linux. Add workarounds or revert changes to older versions to make it work. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29util-linux: Add ability to compile with nativesdkJason Wessel
Some of the tools in the util-linux are used for disk and text file operations in the nativesdk so as to get around different versions that may exist on the host system. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24util-linux: Update to 2.23Jonathan Liu
Remove license patch as it is integrated upstream. Add backports of upstream loopdev regression fixes. Updated uclibc-__progname-conflict.patch because it didn't apply. Added bash-completion and partx sub-packages. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-18util-linux: fix systemd service in multilibRoss Burton
Use ${PN} when specifing service files so that they continue to get packaged with multilib. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-11util-linux: use $PN in SYSTEMD_PACKAGESRoss Burton
Instead of using util-linux-uuidd in SYSTEMD_PACKAGES use ${PN}-uuidd, as in multilib configurations util-linux-uuidd doesn't exist. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-03util-linux: Use u-a for getoptMartin Jansa
* when enable busybox installs getopt to ${base_bindir} and util-linux to ${bindir}, so there is no file conflict, but because busybox implementation does not support --long used by lsb_release (which RDEPENDS on util-linux) we need to use util-linux getopt even when busybox defconfig has it enabled Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-26util-linux: split uuidd into it's own package, and enable for systemdRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-16util-linux: Update License Information (remove GPLv3 Licnese)Saul Wold
The upstream authors have updated the licenses of a couple subcomponents, these were GPLv3, but updated to be either GPLv2 or LGPLv2.1 accordingly. These changes make the util-linux package become completely non-GPLv3. Cleaned up some white space issue also [YOCTO #4014] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-07Resolve sysvinit and util-linux conflicting man pages.Jeffrey C Honig
[ CQID: WIND00404316 ] Use alternatives mechanism to prevent sysvlinux and util-linux man pages from causing conflicts. Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28util-linux: Add package for libmountMiLo
The libmount shared library was part of util-linux. This caused util-linux-mount to RDEPEND on util-linux, so including that would also drag in all of util-linux and all its recommendations. To break this circular dependency, add a libmount package that holds the libmount.so.* files, just like the other libraries built by util- linux. Signed-off-by: MiLo <milo-software@users.sourceforge.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-14util-linux: Remove -systemd packageKhem Raj
unit files are added to util-linux itself when selected Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28util-linux: Update to 2.22.2Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-07util-linux: moved 'reset' into own subpackageEnrico Scholz
The 'reset' tool from util-linux is a shell script calling 'tput' which is provided by 'ncurses'. To avoid a 'util-linux' -> 'ncurses' dependency, 'reset' is put into an own subpackage which can be installed on demand. Because most (all) systems are using 'busybux' which provides an alternative 'reset' implementation, this should not cause too much regressions. Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-06util-linux: Package systemd files correctlyKhem Raj
2.21 has some linking issues with gold on uclibc where mount program does not work. Its some sort of underlinking. 2.22 did not solve that problem completely either Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-06util-linux: rebase remove-lscpu patchSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-05util-linux: use u-a for ejectMartin Jansa
* 2.22.1 now builds eject which conflicts with eject from eject recipe in meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-03util-linux: Update to 2.22.1Saul Wold
Fix the configure-sbindir test, which was not working correctly add a patch to configure to correctly test if the prefixes are conatined in libdir so they don't duplicate. Removed aarch64 patch since it been merged into this version Rebased util-linux-ng-replace-siginterrupt.patch Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18util-linux: add AArch64 supportMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-26util-linux: Remove static libraries from -dev packagesPhil Blundell
Fixes the QA warnings: WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libblkid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libblkid-dev/lib/libblkid.a' WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libuuid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libuuid-dev/lib/libuuid.a' Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-26util-linux: Don't package chkdupexePhil Blundell
The chkdupexe utility is fairly worthless and drags perl in as a build dependency of the whole util-linux recipe. If anybody actually wants to use this script then we should package it separately, but for the time being let's just delete it. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24util-linux: Ensure that ${sbindir} is respectedPhil Blundell
The configure script uses a hard-coded value for ${usrsbin_execdir}, which is the path that we know as ${sbindir}. Adjust configure to take this from the environment if it's set there, and have do_configure() pass it in. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-18util-linux: Fix bloken swapoff symlinkAndrei Gherzan
There were 2 issues with this symlink. 1. Is was installed in base_bindidir but packaged in bindir. Fixed to be packaged in base_bindir 2. The symlink swapoff was created to point to swapon. The problem is that swapoff is an alternative so it would end up pointing to swapoff.util-linux which was an inexistent file. The fix is to create a symlink swapoff.util-linux to swapon.util-linux. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-20util-linux: register reset u-a to bindir like busybox doesMartin Jansa
* fixes http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/024586.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25util-linux: Update to 2.21.2Saul Wold
Remove patch that was corrected upstream Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-30util-linux: use new update-alternativesMark Hatle
In addition to switching to the new update-alternatives, it was discovered that the sln, shutdown, halt, reboot and related commands were never generated. Remove these from the list. (These appear to have been removed from util-linux some time ago.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-03util-linux: Update to 2.21.1Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-25util-linux: Example of pkg level INCOMPATIBLE_LICENSEElizabeth Flanagan
util-linux-lscpu provides an example of pkg level incompatible license. In this instance, we've set the license for this specific package as GPLv3. The other packages inherit the recipe LICENSE. What this allows is the package to not be included on install to the image. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-16util-linux: restore zlib and ncurses dependencies for nativePaul Eggleton
OE-Core commit 4a158b6ef125b555225472eefbe1ea226dc47c2c unintentionally removed the dependencies for util-linux-native on zlib-native and ncurses-native by getting append and virtclass-native overrides swapped around; later this was tidied up to remove the append (which did not change anything functionally). These libraries are required, so add them back in. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-03-14PR bump for all recipes that DEPEND on ncursesScott Garman
The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13util-linux: explicitly disable udevAndreas Oberritter
* util-linux auto-detects libudev for lsblk, so disable it, because it's not listed in DEPENDS. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-01util-linux: Fix build when NLS is disabledKhem Raj
AC_CHECK_DECLS generated defines should be checked with #if not #ifdef Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>