mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-11-15 13:49:26 +00:00
* Update buildroot 2020.02.01 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix LN * Fix wpa Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix lint Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix-network Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix script Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
30 lines
970 B
Diff
30 lines
970 B
Diff
From: Maarten ter Huurne <maarten@treewalker.org>
|
|
Date: Mon, 15 Sep 2014 00:03:05 +0200
|
|
Subject: Change binary permission flags even if chown fails
|
|
|
|
Typically when creating a package, the build is not run as root, so
|
|
the chown will fail. But the chmod can still be done.
|
|
|
|
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
|
|
---
|
|
Makefile.in | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index 65549e9..3c12fdb 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -84,7 +84,8 @@ screen: $(OFILES)
|
|
|
|
install_bin: .version screen
|
|
$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
|
|
- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
|
+ -chown root $(DESTDIR)$(bindir)/$(SCREEN)
|
|
+ -chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
|
# This doesn't work if $(bindir)/screen is a symlink
|
|
rm -f $(DESTDIR)$(bindir)/screen
|
|
(cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
|
|
--
|
|
1.8.4.5
|
|
|