autofs: fix map locations in auto.master

This commit is contained in:
Andrew J. Hesford 2020-01-20 12:58:06 -05:00 committed by Jürgen Buchmüller
parent 87d303a756
commit d91f7b5a8c
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'autofs' # Template file for 'autofs'
pkgname=autofs pkgname=autofs
version=5.1.6 version=5.1.6
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
make_build_args="DONTSTRIP=1" make_build_args="DONTSTRIP=1"
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin" configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
@ -33,6 +33,8 @@ pre_configure() {
pre_build() { pre_build() {
unset STRIP unset STRIP
# Fix path for map files
vsed -i "s@/etc/@/etc/autofs/@g" samples/auto.master
} }
post_install() { post_install() {