]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
util-linux: one package per binary (pt 1: base_sbindir)
authorAndré Draszik <andre.draszik@jci.com>
Tue, 5 Feb 2019 02:32:33 +0000 (02:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Feb 2019 14:04:31 +0000 (14:04 +0000)
commit0548b8f39373dfe68c3e6aa0a6e52a3c93ad43cb
tree95a39c713ed7515c40054cde22bb78a3eae1ddc7
parent7676025942b5b4d1a6a059afb314b9863b10784a
util-linux: one package per binary (pt 1: base_sbindir)

Now that we have required infrastructure in place, we
can start creating one package per binary.

To make this process easier to follow, this is done
in steps, starting with binaries from base_sbindir.

Existing packages (and current dependency by main package):
* agetty
* blkid
* cfdisk <- RRECOMMENDS
* fdisk <- RRECOMMENDS
* fsck
* fstrim
* losetup <- RDEPENDS
* hwclock
* sulogin <- RDEPENDS
* swaponoff <- RDEPENDS
* switch-root <- RRECOMMENDS

New packages:
* blockdev
* ctrlaltdel
* mkswap
* nologin
* pivot-root
* swapon
* swapoff

swaponoff is empty now and simply depends on swapon swapoff

To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.

The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Existing packages that aren't in RDEPENDS / RRECOMMENDS
haven't been added to RRECOMMENDS for that reason.

[YOCTO #13058]

(From OE-Core rev: 97554a56f7d9fa82294b1316f143de3f37506fc7)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux.inc