Comment 0 for bug 1470687

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

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
  - 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

-----
override_dh_auto_build:
        CFLAGS="$(CFLAGS) $(CPPFLAGS) -fgnu89-inline" \
        LDFLAGS="-Wl,-z,relro" \ <<
        dh_auto_build
-----

then debuild, it works