nixos/boot/stage-1: fix failing nixos-rebuild switch because of blkid output

old version of blkid used to output version information including libblkid version
when invoked with --help parameter

new version does not output libblkid version when invoked with --help parameter

fix is to invoke blkid with -V parameter to output version including libblkid in both cases
This commit is contained in:
Christian Albrecht 2017-06-25 16:03:30 +02:00 committed by Franz Pletz
parent 639b74e7be
commit 3584707638
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -135,7 +135,7 @@ let
$out/bin/ash -c 'echo hello world' | grep "hello world"
export LD_LIBRARY_PATH=$out/lib
$out/bin/mount --help 2>&1 | grep -q "BusyBox"
$out/bin/blkid --help 2>&1 | grep -q 'libblkid'
$out/bin/blkid -V 2>&1 | grep -q 'libblkid'
$out/bin/udevadm --version
$out/bin/dmsetup --version 2>&1 | tee -a log | grep -q "version:"
LVM_SYSTEM_DIR=$out $out/bin/lvm version 2>&1 | tee -a log | grep -q "LVM"