The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / screen / 0007-install-always-chmod.patch
1 From: Maarten ter Huurne <maarten@treewalker.org>
2 Date: Mon, 15 Sep 2014 00:03:05 +0200
3 Subject: Change binary permission flags even if chown fails
4
5 Typically when creating a package, the build is not run as root, so
6 the chown will fail. But the chmod can still be done.
7
8 Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
9 ---
10  Makefile.in | 3 ++-
11  1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/Makefile.in b/Makefile.in
14 index 65549e9..3c12fdb 100644
15 --- a/Makefile.in
16 +++ b/Makefile.in
17 @@ -84,7 +84,8 @@ screen: $(OFILES)
18  
19  install_bin: .version screen
20         $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
21 -       -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
22 +       -chown root $(DESTDIR)$(bindir)/$(SCREEN)
23 +       -chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
24  # This doesn't work if $(bindir)/screen is a symlink
25         rm -f $(DESTDIR)$(bindir)/screen
26         (cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
27 -- 
28 1.8.4.5
29