Can't use ${VARIABLE} on config file with -Dvar=value
[Test Case]
set NFS server
- /export/test1
- /export/test2
- /export/test-wily ( has README file )
set NFS client
- insert "/test /etc/auto.test" on the bottom of /etc/auto.master
- insert "test autofs_nfs:/export/${TESTVAR}
- run "automount -DTESTVAR=test-wily --pid-file=/var/run/autofs.pid -d -f -v"
- go /test, run ll test
- can see whole subdirectories on /export, should see only files in /export/test-wily
[Regression Potential]
[Other Info]
I found that it's ok with result of "make" command.
but doesn't work with "debuild" command.
I changed override_dh_auto_build part on debian/rules to below
SRU Justification
[Impact]
Can't use ${VARIABLE} on config file with -Dvar=value
[Test Case]
set NFS server
- /export/test1
- /export/test2
- /export/test-wily ( has README file )
set NFS client nfs:/export/ ${TESTVAR} /var/run/ autofs. pid -d -f -v"
- insert "/test /etc/auto.test" on the bottom of /etc/auto.master
- insert "test autofs_
- run "automount -DTESTVAR=test-wily --pid-file=
- go /test, run ll test
- can see whole subdirectories on /export, should see only files in /export/test-wily
[Regression Potential]
[Other Info]
I found that it's ok with result of "make" command.
but doesn't work with "debuild" command.
I changed override_ dh_auto_ build part on debian/rules to below
----- dh_auto_ build:
CFLAGS= "$(CFLAGS) $(CPPFLAGS) -fgnu89-inline" \
LDFLAGS= "-Wl,-z, relro" \ <<
dh_auto_ build
override_
-----
then debuild, it works