Skip to content

Commit 3584707

Browse files
calbrechtfpletz
authored andcommittedJun 26, 2017
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
1 parent 639b74e commit 3584707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/modules/system/boot/stage-1.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ let
135135
$out/bin/ash -c 'echo hello world' | grep "hello world"
136136
export LD_LIBRARY_PATH=$out/lib
137137
$out/bin/mount --help 2>&1 | grep -q "BusyBox"
138-
$out/bin/blkid --help 2>&1 | grep -q 'libblkid'
138+
$out/bin/blkid -V 2>&1 | grep -q 'libblkid'
139139
$out/bin/udevadm --version
140140
$out/bin/dmsetup --version 2>&1 | tee -a log | grep -q "version:"
141141
LVM_SYSTEM_DIR=$out $out/bin/lvm version 2>&1 | tee -a log | grep -q "LVM"

0 commit comments

Comments
 (0)
Please sign in to comment.