diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-08-19 19:47:54 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-08-19 19:47:54 +0000 |
commit | cc7cd41c0f6d33593d2255c9c30aff600475bb1c (patch) | |
tree | 17e7ec01b4bd160dd06e9cff957a3d27c8db95d4 | |
parent | 9e1ca1d4bed3fd4aff5a0267e568b3dcdd456285 (diff) |
util-linux-ng: Fixed empty packages. Provide util-linux.
-rw-r--r-- | recipes/util-linux-ng/util-linux-ng.inc | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc index 837ff70330..8a6bf30c22 100644 --- a/recipes/util-linux-ng/util-linux-ng.inc +++ b/recipes/util-linux-ng/util-linux-ng.inc @@ -8,7 +8,7 @@ AUTOTOOLS_STAGE_PKGCONFIG = "1" DEFAULT_PREFERENCE = "-1" -INC_PR = "r7" +INC_PR = "r8" # allows for a release candidate RC ?= "" @@ -18,17 +18,31 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${PV}/util-linux-n PACKAGES =+ "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-swaponoff util-linux-ng-losetup util-linux-ng-umount util-linux-ng-mount util-linux-ng-readprofile " PACKAGES_DYNAMIC = "libblkid*" +# Provide old util-linux names (several recipes still use DEPENDS or RDEPENDS = "util-linux"): +PROVIDES = "util-linux" +RPROVIDES_${PN} = "util-linux" +RPROVIDES_util-linux-ng-fdisk = "util-linux-fdisk" +RPROVIDES_util-linux-ng-cfdisk = "util-linux-cfdisk" +RPROVIDES_util-linux-ng-sfdisk = "util-linux-sfdisk" +RPROVIDES_util-linux-ng-swaponoff = "util-linux-swaponoff" +RPROVIDES_util-linux-ng-losetup = "util-linux-losetup" +RPROVIDES_util-linux-ng-umount = "util-linux-umount" +RPROVIDES_util-linux-ng-mount = "util-linux-mount" +RPROVIDES_util-linux-ng-readprofile = "util-linux-readprofile" + FILES_${PN}-doc += "/usr/share/misc/getopt/getopt-*.*" FILES_${PN} = "${bindir} ${sbindir} ${base_bindir} ${base_sbindir}" FILES_util-linux-ng-fdisk = "${base_sbindir}/fdisk.${PN}" FILES_util-linux-ng-cfdisk = "${base_sbindir}/cfdisk" -FILES_util-linux-ng-sfdisk = "${base_sbindir}/sfdisk" +# Moved to ${sbindir} in new versions: +FILES_util-linux-ng-sfdisk = "${base_sbindir}/sfdisk ${sbindir}/sfdisk" FILES_util-linux-ng-swaponoff = "${base_sbindir}/swapon.${PN} ${base_sbindir}/swapoff.${PN}" FILES_util-linux-ng-losetup = "${base_sbindir}/losetup.${PN}" FILES_util-linux-ng-mount = "${base_bindir}/mount.${PN} ${sysconfdir}/default/mountall" FILES_util-linux-ng-umount = "${base_bindir}/umount.${PN}" -FILES_util-linux-ng-readprofile = "${sbindir}/readprofile.${PN}" +# Moved to ${base_sbindir} by do_install: +FILES_util-linux-ng-readprofile = "${base_sbindir}/readprofile.${PN}" PACKAGES =+ "${PN}-mountall" FILES_${PN}-mountall = "${sysconfdir}/default/mountall" |