Merge pull request #307479 from Stunkymonkey/self-inclusive-src-dell-command-configure
dell-command-configure: fix self inclusive src
This commit is contained in:
commit
1f149e08f8
@ -55,10 +55,11 @@ let
|
||||
pname = "dell-command-configure-unpacked-wrapper-lib";
|
||||
inherit version;
|
||||
|
||||
src = ./.;
|
||||
unpackPhase = ''
|
||||
cp ${./wrapper-lib.c} wrapper-lib.c
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
ls -al
|
||||
substitute wrapper-lib.c lib.c \
|
||||
--subst-var-by to "${unpacked}/srvadmin-hapi/opt/dell/srvadmin/etc/omreg.d/omreg-hapi.cfg"
|
||||
cc -fPIC -shared lib.c -o ${wrapperLibName}
|
||||
|
Loading…
Reference in New Issue
Block a user