diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2010-05-31 08:17:03 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-05-31 10:07:34 +0200 |
commit | 51961c2105fd581c80e68433550fc8a4d09e2763 (patch) | |
tree | b90d825f653da1dbe4b8028361978e11b358a364 /rules/busybox.make | |
parent | ed83fc7c5ebaaddc56ebd21843d3a5091ac2eea6 (diff) | |
download | ptxdist-51961c2105fd581c80e68433550fc8a4d09e2763.tar.gz ptxdist-51961c2105fd581c80e68433550fc8a4d09e2763.tar.xz |
Install /etc/busybox.conf if BUSYBOX_FEATURE_SUID_CONFIG is enabled
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/busybox.make')
-rw-r--r-- | rules/busybox.make | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/busybox.make b/rules/busybox.make index 1616ab1d5..bf2eb2bfb 100644 --- a/rules/busybox.make +++ b/rules/busybox.make @@ -94,6 +94,9 @@ $(STATEDIR)/busybox.targetinstall: ifdef PTXCONF_BUSYBOX_FEATURE_SUID @$(call install_copy, busybox, 0, 0, 4755, -, /bin/busybox) +ifdef PTXCONF_BUSYBOX_FEATURE_SUID_CONFIG + @$(call install_alternative, busybox, 0, 0, 0644, /etc/busybox.conf) +endif else @$(call install_copy, busybox, 0, 0, 755, -, /bin/busybox) endif |