Closed dslm4515 closed 3 years ago
If /bin/sh is a symlink to dash, LVM2 will not compile:
/bin/sh
make[1]: Leaving directory '/src/LVM2.2.02.187/daemons' [LN] man-generator.c [GEN] command-lines-input.h [GEN] command-count.h /bin/sh: 1: set: Illegal option -o pipefail [GEN] cmds.h /bin/sh: 1: set: Illegal option -o pipefail make[1]: *** No rule to make target 'command-lines-input.h', needed by 'dmsetup.o'. Stop. make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: set: Illegal option -o pipefail make[1]: Leaving directory '/src/LVM2.2.02.187/tools' make: *** [make.tmpl:364: tools.device-mapper] Error 2
Set /bin/sh as /bin/bash and build completes.
/bin/bash
If
/bin/sh
is a symlink to dash, LVM2 will not compile: