]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut.sh: Fix udevdir detection
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 3 Apr 2019 07:24:47 +0000 (15:24 +0800)
committerDaniel Molkentin <daniel@molkentin.de>
Fri, 19 Jul 2019 09:01:32 +0000 (11:01 +0200)
commitdddcb809459b7a75906d4b90cf7a5ac291dc74c1
treed1609034f8ae245ac203353170273efb03fd07f5
parentd10f6f8367b7ab0a4332a1264ce0b13c7f4850e6
dracut.sh: Fix udevdir detection

In commit [9d1b81c dracut.sh: improve udevdir and systemdutildir
fallback logic] , it checked a common binary `collect' to location
udevdir.

But upstream systemd drop binary `collect' since systemd v240
[https://github.com/systemd/systemd/commit/a168792c2d95695fd30c0371d4b3890a9df1eafb]

So check binary `ata_id' to instead.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
dracut.sh