projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed6989
)
[package] also install rbash (#6927)
author
Florian Fainelli
<florian@openwrt.org>
Sat, 27 Mar 2010 13:55:07 +0000
(13:55 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sat, 27 Mar 2010 13:55:07 +0000
(13:55 +0000)
SVN-Revision: 20511
utils/bash/Makefile
patch
|
blob
|
history
diff --git
a/utils/bash/Makefile
b/utils/bash/Makefile
index e8075b7f95ae49407ce4ba078a82f3f80cec48b9..28bc3327cb5cb9d655af73316292034ea54ce71c 100644
(file)
--- a/
utils/bash/Makefile
+++ b/
utils/bash/Makefile
@@
-34,7
+34,6
@@
endef
define Build/Configure
$(call Build/Configure/Default, \
- --disable-restricted \
--without-bash-malloc \
--bindir=/bin \
)
@@
-53,11
+52,13
@@
define Package/bash/postinst
#!/bin/sh
grep bash $${IPKG_INSTROOT}/etc/shells || \
echo "/bin/bash" >> $${IPKG_INSTROOT}/etc/shells
+ echo "/bin/rbash" >> $${IPKG_INSTROOT}/etc/shells
endef
define Package/bash/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/bash $(1)/bin/
+ ln -sf bash $(1)/bin/rbash
endef
$(eval $(call BuildPackage,bash))