projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix indentation
[hvlinux.git]
/
stage3
/
pkg
/
rpcbind
diff --git
a/stage3/pkg/rpcbind
b/stage3/pkg/rpcbind
index
71a0b02
..
1c6c0bb
100644
(file)
--- a/
stage3/pkg/rpcbind
+++ b/
stage3/pkg/rpcbind
@@
-1,9
+1,15
@@
#!/bin/bash
#!/bin/bash
-hv
build_post
()
+hv
config_pre
()
{
{
- sed -i -e 's/^sunrpc/rpcbind/' /etc/services
+ cd ${LFS_TMP}/${PACKAGE}
+
+ sed -i '/servname/s:rpcbind:sunrpc:' src/rpcbind.c
+ sed -i '/error = getaddrinfo/s:rpcbind:sunrpc:' src/rpcinfo.c
+}
+hvbuild_post()
+{
install -v -m740 ${SCRDIR}/bootscripts/rpcbind /etc/rc.d/init.d
bootscript_add_rc3 rpcbind 10 75
}
install -v -m740 ${SCRDIR}/bootscripts/rpcbind /etc/rc.d/init.d
bootscript_add_rc3 rpcbind 10 75
}